/* ========================================
  RESET & BASE
======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme - Aquamarine Color Palette */
    --color-primary: #00d4aa;
    --color-primary-light: #00f0c0;
    --color-primary-dark: #00b894;
    --color-primary-glow: rgba(0, 212, 170, 0.15);
    --color-primary-glow-strong: rgba(0, 212, 170, 0.3);

    --color-bg: #0a0e17;
    --color-bg-light: #0f141f;
    --color-surface: rgba(255, 255, 255, 0.03);
    --color-surface-hover: rgba(255, 255, 255, 0.06);
    --color-surface-border: rgba(255, 255, 255, 0.08);
    --color-surface-border-hover: rgba(0, 212, 170, 0.2);

    --color-text: #ffffff;
    --color-text-secondary: #a0aec0;
    --color-text-muted: #64748b;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.05);

    --color-success: #00d4aa;
    --color-success-bg: rgba(0, 212, 170, 0.1);

    --color-whatsapp: #25d366;
    --color-whatsapp-hover: #128c7e;

    --font-primary: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.15);

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --container-padding: 24px;
    --nav-height: 72px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

/* ========================================
   FLOATING BUTTONS
======================================== */
.floating-btn {
    position: fixed;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 20px rgba(0, 212, 170, 0.2);
    transition: var(--transition-base);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 30px rgba(0, 212, 170, 0.3);
}

/* WhatsApp - RIGHT */
.btn-whatsapp {
    left: 24px;
    bottom: 24px;
    background: var(--color-whatsapp);
    animation: whatsapp-pulse 2s infinite;
}

.btn-whatsapp:hover {
    background: var(--color-whatsapp-hover);
    animation: none;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* Back to Top - LEFT */
.btn-top {
    right: 24px;
    bottom: 24px;
    background: rgba(0, 212, 170, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btn-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========================================
   CONTAINER
======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.95);
    border-bottom-color: var(--color-surface-border-hover);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    color: var(--color-primary-light);
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.4);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
    background: var(--color-surface);
}

.nav-link.active {
    color: var(--color-primary);
    background: var(--color-primary-glow);
    font-weight: 600;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    position: relative;
    transition: var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========================================
   HERO SECTION - WITH ANIMATED CANVAS BG
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
    background: var(--color-bg);
    /* Fix mobile shake - isolate rendering */
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Animated Canvas Background */
.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* Fix mobile shake */
    transform: translateZ(0);
    will-change: auto;
}

/* Glowing orbs */
.hero-glow {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-2 {
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.05) 0%, transparent 70%);
    animation: glowPulse 8s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Hero Content - Centered */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-4xl) 0;
    max-width: 800px;
    margin: 0 auto;
    /* Fix mobile shake - stable positioning */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-text {
    width: 100%;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--color-success-bg);
    color: var(--color-success);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(0, 212, 170, 0.2);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero Title */
.hero-title {
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--color-text);
}

.title-accent {
    color: var(--color-primary);
    text-shadow: 0 0 30px rgba(0, 212, 170, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.9;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3), 0 0 40px rgba(0, 212, 170, 0.1);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 170, 0.4), 0 0 50px rgba(0, 212, 170, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-surface-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-glow);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-right: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* ========================================
   SMOOTH HORIZONTAL WAVE LINES
   3 lines moving like jump rope / ocean waves
======================================== */
.hero-bottom-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    background: transparent;
    /* Fix mobile shake */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: auto;
}

.wave-container {
    width: 200%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.interlocking-wave {
    fill: none;
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

/* Wave 1 - Main wave */
.wave-1 {
    stroke: rgba(0, 212, 170, 0.8);
    filter: drop-shadow(0 0 6px rgba(0, 212, 170, 0.5));
    animation: waveX-Left 8s linear infinite;
}

/* Wave 2 - Secondary wave */
.wave-2 {
    stroke: rgba(0, 240, 192, 0.6);
    filter: drop-shadow(0 0 5px rgba(0, 240, 192, 0.4));
    animation: waveX-Left 6s linear infinite;
    animation-delay: -2s;
}

/* Wave 3 - Tertiary wave */
.wave-3 {
    stroke: rgba(0, 184, 148, 0.5);
    filter: drop-shadow(0 0 4px rgba(0, 184, 148, 0.3));
    animation: waveX-Left 10s linear infinite;
    animation-delay: -4s;
}

/* Wave animation - smooth horizontal movement */
@keyframes waveX-Left {
    0% { 
        transform: translate3d(0, 0, 0); 
    }
    100% { 
        transform: translate3d(-50%, 0, 0); 
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ========================================
   SECTIONS GENERAL
======================================== */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    background: var(--color-primary-glow);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: var(--space-sm) auto 0;
}

/* ========================================
   ABOUT SECTION - MODERN DESIGN WITH PHOTO
======================================== */
.about {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Photo Side */
.about-photo-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo-container {
    position: relative;
    width: 320px;
    height: 400px;
}

.about-photo-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    z-index: 2;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: var(--transition-slow);
}

.about-photo-frame:hover .about-photo {
    transform: scale(1.05);
}

.about-photo-glow {
    position: absolute;
    inset: -4px;
    border-radius: calc(var(--radius-xl) + 4px);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark), var(--color-primary));
    opacity: 0.3;
    z-index: 1;
    filter: blur(15px);
    animation: photoGlow 4s ease-in-out infinite;
}

@keyframes photoGlow {
    0%, 100% { opacity: 0.3; filter: blur(15px); }
    50% { opacity: 0.5; filter: blur(20px); }
}

.about-photo-border {
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 3;
    pointer-events: none;
}

.about-photo-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg);
    border: 1px solid var(--color-surface-border-hover);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    z-index: 4;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 20px rgba(0, 212, 170, 0.1);
    white-space: nowrap;
}

.about-photo-badge i {
    font-size: 1rem;
}

.about-photo-dots {
    position: absolute;
    top: -30px;
    right: -30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    z-index: 0;
}

.about-photo-dots span {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: dotPulse 3s ease-in-out infinite;
}

.about-photo-dots span:nth-child(1) { animation-delay: 0s; }
.about-photo-dots span:nth-child(2) { animation-delay: 0.2s; }
.about-photo-dots span:nth-child(3) { animation-delay: 0.4s; }
.about-photo-dots span:nth-child(4) { animation-delay: 0.6s; }
.about-photo-dots span:nth-child(5) { animation-delay: 0.8s; }
.about-photo-dots span:nth-child(6) { animation-delay: 1.0s; }
.about-photo-dots span:nth-child(7) { animation-delay: 1.2s; }
.about-photo-dots span:nth-child(8) { animation-delay: 1.4s; }

@keyframes dotPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* Content Side */
.about-content-side {
    text-align: right;
}

.about-header {
    margin-bottom: var(--space-2xl);
}

.about-header .section-tag {
    margin-bottom: var(--space-md);
}

.about-header .section-title {
    margin-bottom: var(--space-lg);
    text-align: right;
}

.about-intro {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.9;
    max-width: 100%;
    margin-bottom: var(--space-2xl);
    text-align: right;
}

/* About Cards Grid */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.about-card {
    background: var(--color-surface);
    border: 1px solid var(--color-surface-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.about-card:hover {
    border-color: var(--color-surface-border-hover);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 170, 0.1);
    transform: translateY(-6px);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-glow);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 1.4rem;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.about-card:hover .about-card-icon {
    background: var(--color-primary);
    color: var(--color-bg);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.4);
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.about-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* About Info Cards */
.about-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 100%;
    margin: 0 auto;
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-surface-border);
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
    text-align: right;
}

.info-card:hover {
    border-color: var(--color-surface-border-hover);
    box-shadow: var(--shadow-md), 0 0 20px rgba(0, 212, 170, 0.1);
    transform: translateY(-2px);
}

.info-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.info-icon i {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.info-label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-value {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text);
}

/* ========================================
   EXPERIENCE SECTION
======================================== */
.experience {
    background: var(--color-bg-light);
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: var(--space-xl);
    padding-bottom: var(--space-3xl);
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 24px;
}

.marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-bg-light);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
    flex-shrink: 0;
    transition: var(--transition-base);
}

.timeline-item:hover .marker-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px var(--color-primary-glow-strong);
}

.marker-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--color-border), transparent);
    margin-top: 8px;
}

.timeline-content {
    flex: 1;
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-surface-border);
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.timeline-content:hover {
    border-color: var(--color-surface-border-hover);
    box-shadow: var(--shadow-md), 0 0 20px rgba(0, 212, 170, 0.1);
    transform: translateX(-4px);
}

.timeline-header {
    margin-bottom: var(--space-md);
}

.timeline-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 6px;
}

.timeline-title h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.timeline-badge {
    padding: 3px 10px;
    background: var(--color-success-bg);
    color: var(--color-success);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.timeline-org {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.timeline-date {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-list li {
    position: relative;
    padding-right: 20px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.4);
}

/* ========================================
   SKILLS SECTION
======================================== */
.skills {
    background: var(--color-bg);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.skill-card {
    background: var(--color-surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-surface-border);
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    border-color: var(--color-surface-border-hover);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 170, 0.1);
    transform: translateY(-6px);
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.skill-card-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.skill-card:hover .skill-card-icon {
    background: var(--color-primary-light);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
}

.skill-card-icon i {
    font-size: 1.2rem;
}

.skill-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
}

.skill-card-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.skill-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 5px 12px;
    background: var(--color-surface-hover);
    border: 1px solid var(--color-surface-border);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}

.tag:hover {
    background: var(--color-primary-glow);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.1);
}

/* ========================================
   EDUCATION SECTION
======================================== */
.education {
    background: var(--color-bg-light);
    position: relative;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.edu-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-2xl);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-surface-border);
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.edu-card:hover {
    border-color: var(--color-surface-border-hover);
    box-shadow: var(--shadow-md), 0 0 20px rgba(0, 212, 170, 0.1);
    transform: translateY(-4px);
}

.edu-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.edu-card:hover .edu-icon {
    background: var(--color-primary-light);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
}

.edu-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edu-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-primary-glow);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    align-self: flex-start;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.edu-degree {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 4px;
}

.edu-school {
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.edu-faculty {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.edu-location {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.edu-location i {
    margin-left: 4px;
    font-size: 0.75rem;
    color: var(--color-primary);
}

/* Languages */
.lang-section {
    max-width: 600px;
    margin: 0 auto;
}

.lang-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--color-text);
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.lang-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-surface-border);
    backdrop-filter: blur(10px);
}

.lang-flag {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.lang-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text);
}

.lang-level {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.lang-bar {
    display: block;
    width: 80px;
    height: 6px;
    background: var(--color-surface-border);
    border-radius: 3px;
    overflow: hidden;
}

.lang-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.lang-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-info {
    background: var(--color-bg);
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-surface-border);
    transition: var(--transition-base);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    border-color: var(--color-surface-border-hover);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 170, 0.1);
    transform: translateY(-6px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    font-size: 1.3rem;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.contact-card:hover .contact-icon {
    background: var(--color-primary-light);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text);
}

.contact-card span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.3;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.footer-brand .logo-text {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--color-text);
}

.footer-nav {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.footer-nav a:hover {
    color: var(--color-primary);
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-base);
}

.footer-nav a:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 1rem;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-copyright .heart {
    color: #ef4444;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer-copyright .brand-name {
    color: var(--color-primary);
    font-weight: 700;
}

/* ========================================
   ANIMATIONS
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero-content {
        padding: var(--space-3xl) 0;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about-photo-side {
        order: -1;
    }

    .about-photo-container {
        width: 280px;
        height: 350px;
    }

    .about-content-side {
        text-align: center;
    }

    .about-header .section-title {
        text-align: center;
    }

    .about-intro {
        text-align: center;
    }

    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .edu-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --container-padding: 20px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .btn-top {
        right: 16px;
        bottom: 16px;
    }

    .btn-whatsapp {
        left: 16px;
        bottom: 16px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(10, 14, 23, 0.98);
        flex-direction: column;
        padding: var(--space-xl);
        gap: 0;
        transition: right 0.3s ease;
        border-top: 1px solid var(--color-border);
        backdrop-filter: blur(20px);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: var(--space-md) 0;
        font-size: 1.1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--color-border);
        color: var(--color-text);
    }

    .nav-link.active::after {
        display: none;
    }

    .hero-content {
        padding: var(--space-3xl) 0;
    }

    .hero-desc {
        max-width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-photo-container {
        width: 260px;
        height: 320px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-info {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .lang-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        gap: var(--space-md);
    }

    .timeline-content:hover {
        transform: none;
    }

    .edu-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        gap: var(--space-md);
    }

    .footer-nav a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-divider {
        height: 30px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .about-photo-container {
        width: 220px;
        height: 280px;
    }

    .about-card {
        padding: var(--space-lg);
    }

    .about-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
        flex-direction: column;
        gap: var(--space-xs);
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    :root {
        --container-padding: 16px;
    }

    .title-line {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 8px 14px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .btn-top {
        right: 12px;
        bottom: 12px;
    }

    .btn-whatsapp {
        left: 12px;
        bottom: 12px;
    }

    .about-card h3 {
        font-size: 1rem;
    }

    .about-card p {
        font-size: 0.85rem;
    }

    .about-photo-container {
        width: 200px;
        height: 250px;
    }
}