/* Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --bg-primary:    #021526;
    --bg-secondary:  #03346E;
    --bg-card:       rgba(3, 52, 110, 0.45);
    --bg-card-hover: rgba(3, 52, 110, 0.65);
    --bg-elevated:   rgba(110, 172, 218, 0.06);

    --accent:        #6EACDA;
    --accent-soft:   rgba(110, 172, 218, 0.12);
    --accent-glow:   transparent;
    --accent-strong: rgba(110, 172, 218, 0.6);

    --cream:         #E2E2B6;
    --cream-soft:    rgba(226, 226, 182, 0.15);
    --cream-glow:    transparent;

    --text-primary:  #E2E2B6;
    --text-secondary: #9ec5db;
    --text-muted:    rgba(110, 172, 218, 0.55);

    --border:        rgba(110, 172, 218, 0.10);
    --border-hover:  rgba(110, 172, 218, 0.25);
    --border-accent: rgba(110, 172, 218, 0.30);

    /* Type */
    --font-main: 'Aptos', 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

    /* Space */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 72px;

    /* Corners */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 100px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 220ms;
    --duration-medium: 400ms;
    --duration-slow: 700ms;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-smooth);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

/* Utility */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 64px);
}

.section {
    padding: var(--space-xl) 0;
}

.section-label {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 1.5px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-title em {
    font-style: italic;
    color: var(--accent);
}

.section-subtitle {
    font-family: var(--font-main);
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

.section-divider {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 0;
}


/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all var(--duration-medium) var(--ease-smooth);
    border-bottom: 1px solid var(--border);
    background: rgba(2, 21, 38, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.nav-inner {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    transition: all var(--duration-fast) var(--ease-smooth);
    border-radius: var(--radius-sm);
    padding: 4px 2px;
}

.nav-logo:hover {
    opacity: 0.8;
    
}

.nav-logo .accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    position: relative;
    transition: all var(--duration-fast) var(--ease-smooth);
    padding: 6px 4px;
    border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
    color: var(--cream);
    text-shadow: 0 0 20px var(--accent-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: var(--radius-full);
    transition: width var(--duration-medium) var(--ease-out);
    box-shadow: 0 0 8px var(--accent-glow);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--border-accent);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    transition: all var(--duration-fast) var(--ease-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    
    box-shadow: 0 6px 24px var(--accent-glow);
}

.nav-cta .dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease-smooth);
}

.nav-toggle:hover {
    background: var(--accent-soft);
}

.nav-toggle .bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--duration-medium) var(--ease-out);
    transform-origin: center;
}

.nav-toggle-cb:checked ~ .nav .nav-toggle .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle-cb:checked ~ .nav .nav-toggle .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle-cb:checked ~ .nav .nav-toggle .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    transform: translateY(-100%);
    transition: transform var(--duration-slow) var(--ease-out);
}

.nav-toggle-cb:checked ~ .mobile-menu {
    transform: translateY(0);
}

.mobile-menu .mobile-link {
    font-family: var(--font-main);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--duration-medium) var(--ease-out);
    padding: 8px 20px;
    border-radius: var(--radius-md);
}

.mobile-menu .mobile-link:hover {
    color: var(--accent);
    background: var(--accent-soft);
}

.nav-toggle-cb:checked ~ .mobile-menu .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.nav-toggle-cb:checked ~ .mobile-menu .mobile-link:nth-child(1) { transition-delay: 0.15s; }
.nav-toggle-cb:checked ~ .mobile-menu .mobile-link:nth-child(2) { transition-delay: 0.25s; }
.nav-toggle-cb:checked ~ .mobile-menu .mobile-link:nth-child(3) { transition-delay: 0.35s; }
.nav-toggle-cb:checked ~ .mobile-menu .mobile-link:nth-child(4) { transition-delay: 0.45s; }

/* Hero */
.hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(12px);
}

.hero-eyebrow::before {
    content: '—';
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title .italic {
    font-style: italic;
    color: var(--accent);
}

.hero-description {
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 440px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(12px);
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    opacity: 0;
    transform: translateY(12px);
}

/* Buttons */
.btn-primary {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), #5a9bc7);
    color: var(--bg-primary);
    padding: 15px 36px;
    border-radius: var(--radius-full);
    transition: all var(--duration-fast) var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    position: relative;
}

.btn-primary:hover {
    
    box-shadow:
        0 8px 25px var(--accent-glow),
        0 0 40px var(--accent-soft);
    filter: brightness(1.1);
}



.btn-secondary {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 15px 8px;
    transition: all var(--duration-fast) var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-full);
}

.btn-secondary:hover {
    color: var(--cream);
    
    text-shadow: 0 0 16px var(--accent-glow);
}

.btn-secondary .arrow {
    transition: transform var(--duration-fast) var(--ease-smooth);
    font-size: 16px;
}

.btn-secondary:hover .arrow {
    transform: translateX(5px);
}

/* Photo */
.hero-photo {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: start;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
}

.hero-photo-frame {
    width: min(100%, 390px);
    aspect-ratio: 3 / 4;
    padding: 14px;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(110, 172, 218, 0.16), rgba(226, 226, 182, 0.08)),
        var(--bg-card);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

/* Visual */
.hero-visual {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.95);
}

.hero-visual canvas {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
}

/* Stats */
.hero-meta {
    display: flex;
    gap: 20px;
    margin-top: 56px;
    opacity: 0;
    transform: translateY(12px);
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 22px 28px;
    background: var(--bg-card);
    border: none;
    border-radius: var(--radius-lg);
    min-width: 140px;
    transition: all var(--duration-medium) var(--ease-smooth);
}

.meta-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.25),
        0 0 20px var(--accent-soft);
}

.meta-value {
    font-family: var(--font-main);
    font-size: 36px;
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
}

.meta-label {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Marquee */
.marquee-section {
    padding: 26px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    background: rgba(3, 52, 110, 0.2);
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: scroll-marquee 35s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all var(--duration-fast) var(--ease-smooth);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.marquee-item:hover {
    color: var(--cream);
    background: var(--accent-soft);
}

.marquee-item .icon {
    width: 18px;
    height: 18px;
    opacity: 0.8;
    transition: all var(--duration-fast) var(--ease-smooth);
}

.marquee-item:hover .icon {
    opacity: 1;
}

.marquee-item .dot {
    width: 3px;
    height: 3px;
    background: var(--text-muted);
    border-radius: 50%;
}

.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(270deg, var(--bg-primary), transparent);
}

@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* About */
.about-content-simple {
    max-width: 680px;
    margin-top: 8px;
}

.about-content-simple .bio {
    font-family: var(--font-main);
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--space-lg);
}

.about-content-simple .bio strong {
    color: var(--cream);
    font-weight: 600;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: start;
}

.about-image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--duration-medium) var(--ease-smooth);
}

.about-image-wrapper:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: -40px;
    font-family: var(--font-main);
    font-size: 100px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.12;
    background: linear-gradient(135deg, var(--bg-card), rgba(3, 52, 110, 0.3));
}

.about-text {
    padding-top: 20px;
}

.about-text .bio {
    font-family: var(--font-main);
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--space-lg);
}

.about-text .bio strong {
    color: var(--cream);
    font-weight: 600;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.highlight-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--duration-medium) var(--ease-smooth);
    cursor: default;
}

.highlight-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.25),
        0 0 24px var(--accent-soft);
}

.highlight-card .h-icon {
    font-size: 24px;
    margin-bottom: 12px;
    display: block;
}

.highlight-card h4 {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 6px;
}

.highlight-card p {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Experience */
.experience-list {
    display: flex;
    flex-direction: column;
}

.experience-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    transition: all var(--duration-fast) var(--ease-smooth);
}

.experience-item:first-child {
    border-top: 1px solid var(--border);
}

.experience-item:hover {
    background: var(--bg-elevated);
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: var(--radius-lg);
}

.experience-date {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 4px;
}

.experience-content h3 {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 4px;
}

.experience-content .company {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 12px;
}

.experience-content p {
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all var(--duration-fast) var(--ease-smooth);
}

.tag:hover {
    color: var(--accent);
    border-color: var(--border-accent);
    background: var(--accent-soft);
    
    box-shadow: 0 4px 12px var(--accent-soft);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 894px;
}

.project-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-medium) var(--ease-smooth);
    display: flex;
    flex-direction: column;
    min-height: 335px;
}

.project-card:hover {
    border-color: var(--border-hover);
    
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35),
        0 0 40px var(--accent-soft);
}

/* Images */
.project-card-bg {
    position: relative;
    width: 100%;
    height: 166px;
    overflow: hidden;
    z-index: 0;
    flex-shrink: 0;
}

.project-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover .project-card-bg img {
    transform: none;
}

.project-card-bg--fitness img {
    object-position: center 42%;
}

/* Overlay */
.project-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 21, 38, 0.15) 0%,
        rgba(2, 21, 38, 0.5) 40%,
        rgba(2, 21, 38, 0.92) 75%,
        rgba(3, 52, 110, 0.45) 100%
    );
    z-index: 1;
}

/* Content */
.project-body {
    position: relative;
    z-index: 2;
    padding: 26px 27px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-category {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    background: rgba(2, 21, 38, 0.6);
    backdrop-filter: blur(6px);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    width: fit-content;
    border: 1px solid var(--border);
}

.project-body h3 {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.project-body p {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.project-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.project-link {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    transition: all var(--duration-fast) var(--ease-smooth);
}

.project-link:hover {
    color: var(--accent);
    background: var(--accent-soft);
    border-color: var(--border-accent);
    
    box-shadow: 0 4px 16px var(--accent-soft);
}

.project-link svg {
    width: 14px;
    height: 14px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-item {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--duration-medium) var(--ease-smooth);
    cursor: default;
    position: relative;
    overflow: hidden;
}



.skill-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.skill-item .skill-icon {
    font-size: 36px;
    margin-bottom: 14px;
    display: block;
    position: relative;
    z-index: 1;
    transition: all var(--duration-fast) var(--ease-smooth);
}

.skill-item .skill-icon img {
    width: 36px;
    height: 36px;
    margin: 0 auto;
    transition: all var(--duration-fast) var(--ease-smooth);
}

.skill-item h4 {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.skill-item p {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Certs */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--duration-medium) var(--ease-smooth);
    position: relative;
}

.cert-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.cert-badge {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 8px;
}

.cert-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-info {
    flex: 1;
}

.cert-info h4 {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.cert-issuer {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 8px;
}

.cert-desc {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.cert-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

/* Contact */
.contact-section {
    text-align: center;
}

.contact-section .section-title {
    max-width: 600px;
    margin: 0 auto var(--space-md);
}

.contact-section .section-subtitle {
    max-width: 480px;
    margin: 0 auto var(--space-xl);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--duration-medium) var(--ease-smooth);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
}


.contact-card.static {
    cursor: default;
}
.contact-card.static:hover {
    border-color: var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    box-shadow: none;
}

.contact-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    color: var(--cream);
    
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.25),
        0 0 24px var(--accent-soft);
}

.contact-card svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

/* Form */
.contact-form-wrapper {
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    transition: all var(--duration-fast) var(--ease-smooth);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-soft), 0 0 0 3px var(--accent-soft);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 140px;
    border-radius: var(--radius-md);
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-left .footer-name {
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-right {
    display: flex;
    gap: 20px;
}

.footer-social {
    color: var(--text-muted);
    transition: all var(--duration-fast) var(--ease-smooth);
    padding: 8px;
    border-radius: var(--radius-sm);
}

.footer-social:hover {
    color: var(--accent);
    background: var(--accent-soft);
    
    box-shadow: 0 4px 16px var(--accent-soft);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Animations */
.reveal {
    opacity: 0;
    animation: slideUpReveal 800ms var(--ease-out) forwards;
}

@keyframes slideUpReveal {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-stagger > * {
    opacity: 0;
    animation: slideUpReveal 600ms var(--ease-out) forwards;
}

.reveal-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { animation-delay: 0.10s; }
.reveal-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.reveal-stagger > *:nth-child(4) { animation-delay: 0.20s; }
.reveal-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.reveal-stagger > *:nth-child(6) { animation-delay: 0.30s; }
.reveal-stagger > *:nth-child(7) { animation-delay: 0.35s; }
.reveal-stagger > *:nth-child(8) { animation-delay: 0.40s; }

/* Entrance */
body .hero-eyebrow {
    animation: slideUp 650ms var(--ease-out) 0.1s forwards;
}
body .hero-title .line:nth-child(1) {
    animation: slideUp 650ms var(--ease-out) 0.2s forwards;
}
body .hero-title .line:nth-child(2) {
    animation: slideUp 650ms var(--ease-out) 0.35s forwards;
}
body .hero-description {
    animation: slideUp 650ms var(--ease-out) 0.5s forwards;
}
body .hero-actions {
    animation: slideUp 650ms var(--ease-out) 0.65s forwards;
}
body .hero-meta {
    animation: slideUp 650ms var(--ease-out) 0.8s forwards;
}
body .hero-photo {
    animation: scaleIn 900ms var(--ease-out) 0.45s forwards;
}
body .hero-visual {
    animation: scaleIn 900ms var(--ease-out) 0.4s forwards;
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    to { opacity: 1; transform: scale(1); }
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.5s var(--ease-smooth);
}

.preloader-brand {
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.02em;
}

.preloader-brand .accent {
    color: var(--accent);
}

.preloader-bar-track {
    width: 120px;
    height: 3px;
    background: var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--cream));
    border-radius: var(--radius-full);
    animation: load-bar 1.6s var(--ease-in-out) forwards;
}

@keyframes load-bar {
    0% { width: 0%; }
    100% { width: 100%; }
}

.preloader-text {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

/* Pages */
.page-header {
    padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
    text-align: left;
}

.page-header .page-title {
    font-family: var(--font-main);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.page-header .page-title em {
    font-style: italic;
    color: var(--accent);
}

.page-header .page-subtitle {
    font-family: var(--font-main);
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions { justify-content: center; }
    .hero-meta { justify-content: center; }
    .hero-photo {
        justify-content: center;
        width: 100%;
    }
    .hero-photo-frame {
        max-width: 340px;
        aspect-ratio: 4 / 5;
    }
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    .about-grid { grid-template-columns: 1fr; }
    .about-image-wrapper {
        max-width: 360px;
        margin: 0 auto;
    }
    .experience-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card:nth-child(1) { grid-row: auto; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .certs-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .hero-title { font-size: clamp(36px, 10vw, 52px); }
    .hero-meta {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .about-highlights { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .skills-grid { grid-template-columns: 1fr; }
    .certs-grid { grid-template-columns: 1fr; }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
