/* ============================================================
   TAYSON NO1 — Professional Luxury Stylesheet
   Palette: Deep Navy + Gold/Platinum Accents + Glassmorphism
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg-primary:      #06091a;
    --bg-secondary:    #080d20;
    --bg-card:         rgba(255, 255, 255, 0.035);
    --bg-card-hover:   rgba(255, 255, 255, 0.07);

    --gold:            #c9a84c;
    --gold-light:      #e8c97a;
    --gold-dark:       #a07830;
    --gold-glow:       rgba(201, 168, 76, 0.35);
    --gold-glow-soft:  rgba(201, 168, 76, 0.12);

    --text-primary:    #f0f4ff;
    --text-secondary:  #8899bb;
    --text-muted:      #4a5568;

    --border:          rgba(201, 168, 76, 0.15);
    --border-hover:    rgba(201, 168, 76, 0.45);

    --glass-bg:        rgba(12, 18, 36, 0.65);
    --glass-border:    rgba(201, 168, 76, 0.18);
    --blur:            18px;

    --shadow-card:     0 8px 40px rgba(0, 0, 0, 0.55);
    --shadow-gold:     0 0 30px rgba(201, 168, 76, 0.25);

    --radius-sm:       8px;
    --radius-md:       16px;
    --radius-lg:       24px;

    --transition:      0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.18s ease;
    --transition-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);

    --font: 'Cairo', sans-serif;
    --header-h: 75px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none; /* custom cursor */
}

body.menu-open { overflow: hidden; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-logo {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--text-primary);
    animation: logoPulse 1.4s ease-in-out infinite;
}

.loader-logo span {
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow);
}

.loader-bar {
    width: 220px;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    background-size: 200% 100%;
    border-radius: 10px;
    animation: barShimmer 1.5s linear infinite;
    transition: width 0.4s ease;
}

.loader-text {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes barShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.08s linear, opacity var(--transition-fast);
    box-shadow: 0 0 10px var(--gold-glow);
    will-change: transform;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(201, 168, 76, 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, width 0.3s ease, height 0.3s ease,
                border-color 0.3s ease, opacity var(--transition-fast);
    will-change: transform;
}

.cursor-dot.hover, .cursor-ring.hover {
    transform: translate(-50%, -50%) scale(1.5);
}

.cursor-ring.hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.06);
    width: 50px;
    height: 50px;
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    z-index: 9000;
    transition: width 0.08s linear;
    box-shadow: 0 0 10px var(--gold-glow);
}

/* ============================================================
   LAYOUT CONTAINER
   ============================================================ */
.container {
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition),
                box-shadow var(--transition), backdrop-filter var(--transition);
}

#header.scrolled {
    background: rgba(6, 9, 26, 0.88);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-bottom-color: var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--text-primary);
    position: relative;
}

.logo span {
    color: var(--gold);
    text-shadow: 0 0 12px var(--gold-glow);
}

/* Nav links */
#main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

#main-nav a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
    position: relative;
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 14px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 2px;
    transition: width var(--transition);
}

#main-nav a:hover { color: var(--text-primary); }
#main-nav a:hover::after { width: calc(100% - 28px); }

/* Nav CTA button */
.btn-nav {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light)) !important;
    color: #06091a !important;
    padding: 9px 20px !important;
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: 0 0 16px var(--gold-glow-soft);
    transition: box-shadow var(--transition), transform var(--transition-fast) !important;
}

.btn-nav::after { display: none !important; }
.btn-nav:hover {
    box-shadow: 0 0 28px var(--gold-glow) !important;
    transform: translateY(-2px) !important;
    color: #06091a !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.35s ease, background 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--gold); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--gold); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-h);
    overflow: hidden;
}

/* Particles canvas */
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Animated background shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatShape 8s ease-in-out infinite;
    opacity: 0;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12), transparent 70%);
    top: -10%;
    right: -8%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.shape-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(56, 106, 200, 0.1), transparent 70%);
    bottom: 5%;
    left: -5%;
    animation-delay: -3s;
    animation-duration: 12s;
}

.shape-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08), transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -6s;
    animation-duration: 9s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -25px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--border);
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}

.hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.line-1 {
    color: var(--text-primary);
    display: block;
}

.highlight {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    min-height: 1.3em;
    position: relative;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--gold);
    margin-right: 4px;
    animation: blink 0.9s step-end infinite;
    vertical-align: middle;
    border-radius: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero > .container > .hero-content > p,
.hero p:not(.stat-label):not(.footer-tagline) {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* ============================================================
   BUTTONS (Global)
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    text-decoration: none;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition),
                border-color var(--transition), color var(--transition);
    will-change: transform;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
    color: #06091a;
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3);
}

.btn-glow-layer {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition);
    filter: blur(12px);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.5);
}

.btn-primary:hover .btn-glow-layer { opacity: 0.7; }

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
}

.arrow-icon {
    transition: transform var(--transition);
    font-size: 18px;
}

.btn-secondary:hover .arrow-icon { transform: translateX(-5px); }

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--gold-light);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    background: rgba(201, 168, 76, 0.08);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* Ripple Effect */
.ripple-btn { isolation: isolate; }

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 255, 255, 0.28);
    animation: rippleAnim 0.7s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   HERO STATS
   ============================================================ */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur));
    border-radius: var(--radius-lg);
    padding: 24px 48px;
    max-width: 560px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-val {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 6px;
}

.stat-number {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
    margin: 0 16px;
    flex-shrink: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    animation: indicatorFloat 2.5s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(201, 168, 76, 0.45);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--gold);
    border-radius: 2px;
    animation: wheelScroll 1.8s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes indicatorFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(-8px); opacity: 0.6; }
}

@keyframes wheelScroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--border);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 10px;
    box-shadow: 0 0 12px var(--gold-glow);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition),
                box-shadow var(--transition), background var(--transition);
    box-shadow: var(--shadow-card);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.2);
}

/* Card glow top */
.card-glow-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.glass-card:hover .card-glow-top { opacity: 1; }

/* Card bottom line */
.card-bottom-line {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25), transparent);
}

/* Icon wrapper */
.icon-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
}

.icon {
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 50%;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
    transition: background var(--transition), border-color var(--transition),
                transform var(--transition);
}

.glass-card:hover .icon {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--gold);
    transform: scale(1.1) rotate(5deg);
}

.icon-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.glass-card:hover .icon-ring {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
    animation: rotateSlow 6s linear infinite;
}

@keyframes rotateSlow {
    to { transform: rotate(360deg); }
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    text-align: center;
}

.card p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.055) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

/* About visual */
.about-visual { position: relative; }

.about-frame {
    position: relative;
    padding: 6px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(201,168,76,0.25), transparent 60%);
}

.about-orb {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
    top: -60px;
    right: -60px;
    border-radius: 50%;
    pointer-events: none;
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Code Block */
.about-code-block {
    background: rgba(6, 9, 26, 0.92);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card), 0 0 30px rgba(201, 168, 76, 0.1);
    font-size: 14px;
    font-family: 'Courier New', Courier, monospace;
    position: relative;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid var(--border);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red    { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green  { background: #27c93f; }

.code-filename {
    font-size: 12px;
    color: var(--text-secondary);
    margin-right: auto;
    letter-spacing: 1px;
}

.code-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    direction: ltr;
}

.code-line {
    line-height: 1.8;
    white-space: pre-wrap;
    animation: codeFadeIn 0.5s ease forwards;
    opacity: 0;
}

.code-line:nth-child(1) { animation-delay: 0.1s; }
.code-line:nth-child(2) { animation-delay: 0.2s; }
.code-line:nth-child(3) { animation-delay: 0.3s; }
.code-line:nth-child(4) { animation-delay: 0.4s; }
.code-line:nth-child(5) { animation-delay: 0.5s; }
.code-line:nth-child(6) { animation-delay: 0.6s; }
.code-line:nth-child(7) { animation-delay: 0.7s; }
.code-line:nth-child(8) { animation-delay: 0.8s; }

@keyframes codeFadeIn {
    to { opacity: 1; }
}

.code-indent { padding-right: 24px; }

.ck { color: #c792ea; }    /* keyword: purple */
.cv { color: #82aaff; }    /* variable: blue */
.cs { color: #c3e88d; }    /* string: green */
.cn { color: #f78c6c; }    /* number: orange */
.cf { color: #82aaff; }    /* function: blue */
.code-output { color: #546e7a; font-style: italic; }

/* About text */
.about-text .section-tag { display: inline-block; }

.about-text h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    margin: 16px 0 20px;
    line-height: 1.3;
}

.highlight-text {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text > p {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), background var(--transition),
                transform var(--transition-fast);
    backdrop-filter: blur(8px);
}

.about-feature-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateX(-6px);
}

.feature-check {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 14px;
    transition: background var(--transition), box-shadow var(--transition);
}

.about-feature-item:hover .feature-check {
    background: rgba(201, 168, 76, 0.28);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.35);
}

.about-feature-item span {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 44px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-icon-wrap {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 4px;
    transition: transform var(--transition);
}

.contact-card:hover .contact-icon-wrap {
    transform: scale(1.15) rotate(-5deg);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-btn {
    margin-top: 8px;
    padding: 12px 28px;
    font-size: 14px;
}

/* Featured contact card */
.featured-contact {
    border-color: rgba(201, 168, 76, 0.4) !important;
    background: rgba(201, 168, 76, 0.06) !important;
    transform: scale(1.04);
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.15), var(--shadow-card) !important;
}

.featured-contact:hover {
    transform: scale(1.04) translateY(-10px) !important;
    box-shadow: 0 0 60px rgba(201, 168, 76, 0.25), var(--shadow-card) !important;
}

.contact-badge {
    position: absolute;
    top: -14px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    color: #06091a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 50px;
    white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: 48px 0 32px;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.footer-logo span {
    color: var(--gold);
    text-shadow: 0 0 12px var(--gold-glow);
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--gold-light); }

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   FLOATING ANIMATION (decorative elements)
   ============================================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    #main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 9, 26, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #main-nav.open { transform: translateX(0); }

    #main-nav a {
        font-size: 22px;
        padding: 14px 32px;
    }

    #main-nav a::after { display: none; }

    .btn-nav {
        font-size: 18px !important;
        padding: 14px 36px !important;
    }
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual { order: -1; }

    .hero-stats {
        padding: 20px 28px;
        gap: 0;
    }
}

@media (max-width: 600px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 28px 24px;
    }

    .stat-divider {
        width: 80%;
        height: 1px;
        margin: 0;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .featured-contact { transform: scale(1); }
    .featured-contact:hover { transform: translateY(-10px) !important; }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn { width: 100%; max-width: 300px; }
}

/* ============================================================
   ACCESSIBILITY: Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html { scroll-behavior: auto; }

    .shape, .about-orb, .scroll-indicator,
    .cursor-dot, .cursor-ring { display: none !important; }

    body { cursor: auto !important; }
}
