/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --bg-card: #15151f;
    --gold: #c9a84c;
    --gold-light: #e2c87a;
    --gold-dark: #a08030;
    --gold-glow: rgba(201, 168, 76, 0.3);
    --text-primary: #f0ece2;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --border: rgba(201, 168, 76, 0.15);
    --border-light: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 10px 40px rgba(201, 168, 76, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }

/* ===== Custom Cursor ===== */
.cursor-dot {
    width: 8px; height: 8px; background: var(--gold);
    border-radius: 50%; position: fixed; pointer-events: none; z-index: 99999;
    transition: transform 0.1s; mix-blend-mode: difference;
}
.cursor-outline {
    width: 40px; height: 40px; border: 1px solid var(--gold);
    border-radius: 50%; position: fixed; pointer-events: none; z-index: 99998;
    transition: transform 0.15s, width 0.3s, height 0.3s, border-color 0.3s;
    transform: translate(-50%, -50%);
}
.cursor-outline.hover {
    width: 60px; height: 60px; border-color: var(--gold-light);
    background: rgba(201, 168, 76, 0.05);
}
@media (max-width: 1024px) { .cursor-dot, .cursor-outline { display: none; } }

/* ===== Preloader ===== */
#preloader {
    position: fixed; inset: 0; background: var(--bg-primary);
    z-index: 100000; display: flex; align-items: center; justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-brain { width: 80px; height: 80px; margin: 0 auto 20px; }
.brain-svg { color: var(--gold); animation: brainPulse 2s ease-in-out infinite; }
.brain-path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: brainDraw 2s ease forwards; }
.brain-path-detail { stroke-dasharray: 200; stroke-dashoffset: 200; animation: brainDraw 2.5s ease forwards 0.5s; }
.preloader-text {
    font-family: var(--font-display); font-size: 1.4rem; color: var(--gold);
    letter-spacing: 3px; margin-bottom: 20px;
}
.preloader-bar {
    width: 200px; height: 2px; background: var(--bg-tertiary);
    border-radius: 2px; overflow: hidden; margin: 0 auto;
}
.preloader-progress {
    height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    animation: preloaderFill 1.4s ease forwards;
}
@keyframes brainDraw { to { stroke-dashoffset: 0; } }
@keyframes brainPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes preloaderFill { to { width: 100%; } }

/* ===== Navigation ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0; transition: all var(--transition);
}
.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-text {
    font-family: var(--font-display); font-size: 1.2rem;
    font-weight: 600; color: var(--text-primary);
}
.nav-links { display: flex; gap: 32px; }
.nav-link {
    color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
    position: relative; transition: color var(--transition);
}
.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
    height: 2px; background: var(--gold); transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cta {
    padding: 10px 24px; background: var(--gold); color: var(--bg-primary);
    border-radius: 50px; font-weight: 600; font-size: 0.85rem;
    transition: all var(--transition); letter-spacing: 0.5px;
}
.nav-cta:hover { background: var(--gold-light); color: var(--bg-primary); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.nav-dashboard {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: 10px; color: var(--text-secondary);
    transition: all var(--transition);
}
.nav-dashboard:hover { color: var(--gold); border-color: var(--gold); background: rgba(201, 168, 76, 0.1); }
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 30px; height: 24px; position: relative; z-index: 1001;
}
.nav-toggle span {
    display: block; width: 100%; height: 2px; background: var(--text-primary);
    position: absolute; left: 0; transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed; inset: 0; background: rgba(10, 10, 15, 0.98);
    z-index: 999; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.4s;
    backdrop-filter: blur(20px);
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu-inner { text-align: center; }
.mobile-link {
    display: block; font-family: var(--font-display); font-size: 2rem;
    color: var(--text-primary); padding: 16px 0; transition: color var(--transition);
}
.mobile-link:hover { color: var(--gold); }

@media (max-width: 1024px) {
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: block; }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
#heroCanvas {
    position: absolute; inset: 0; z-index: 1; opacity: 0.5;
}
.hero-particles {
    position: absolute; inset: 0; z-index: 2; opacity: 0.4;
}
.hero-gradient-overlay {
    position: absolute; inset: 0; z-index: 3;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.7) 100%),
        radial-gradient(ellipse at 20% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
}
.hero-content {
    position: relative; z-index: 10; text-align: center;
    max-width: 900px; padding: 0 24px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 20px; border: 1px solid var(--border);
    border-radius: 50px; font-size: 0.85rem; color: var(--gold);
    background: var(--glass); backdrop-filter: blur(10px);
    margin-bottom: 32px; letter-spacing: 1px;
    opacity: 0; animation: softFadeIn 1.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.8s forwards;
}
.badge-dot {
    width: 8px; height: 8px; background: var(--gold);
    border-radius: 50%; animation: softPulse 3s ease-in-out infinite;
}
@keyframes softPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}
@keyframes softFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes softFadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-title {
    font-family: var(--font-display); margin-bottom: 24px;
}
.title-line {
    display: block; overflow: hidden;
}
.title-line:first-child {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 400;
    color: var(--gold); letter-spacing: 4px; text-transform: uppercase;
    opacity: 0; animation: softFadeIn 1.6s cubic-bezier(0.25, 0.1, 0.25, 1) 1.2s forwards;
}
.title-name {
    font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700;
    line-height: 1.1; color: #ffffff;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
    opacity: 0; animation: softFadeIn 2s cubic-bezier(0.25, 0.1, 0.25, 1) 1.6s forwards;
}
.title-name:nth-child(3) {
    animation: softFadeIn 2s cubic-bezier(0.25, 0.1, 0.25, 1) 1.9s forwards;
}
.hero-subtitle {
    display: flex; align-items: center; gap: 20px;
    justify-content: center; margin-bottom: 24px;
    opacity: 0; animation: softFadeIn 1.6s cubic-bezier(0.25, 0.1, 0.25, 1) 2.4s forwards;
}
.subtitle-line {
    width: 0; height: 1px; background: var(--gold);
    animation: lineGrow 1.5s cubic-bezier(0.25, 0.1, 0.25, 1) 2.8s forwards;
}
@keyframes lineGrow { to { width: 60px; } }
.hero-subtitle p {
    font-size: clamp(1rem, 2vw, 1.3rem); color: rgba(240, 236, 226, 0.85);
    font-weight: 300; letter-spacing: 2px;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}
.hero-description {
    font-size: 1.05rem; color: rgba(240, 236, 226, 0.75); line-height: 1.8;
    max-width: 650px; margin: 0 auto 40px;
    text-shadow: 0 1px 15px rgba(0, 0, 0, 0.3);
    opacity: 0; animation: softFadeIn 1.6s cubic-bezier(0.25, 0.1, 0.25, 1) 2.8s forwards;
}
.hero-actions {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0; animation: softFadeIn 1.6s cubic-bezier(0.25, 0.1, 0.25, 1) 3.2s forwards;
}
.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 40px;
    opacity: 0; animation: softFadeIn 1.6s cubic-bezier(0.25, 0.1, 0.25, 1) 3.6s forwards;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-display); font-size: 2.5rem;
    font-weight: 700; color: var(--gold); display: inline;
}
.stat-suffix { font-family: var(--font-display); font-size: 2rem; color: var(--gold); }
.stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 10; text-align: center;
    opacity: 0; animation: softFadeIn 2s cubic-bezier(0.25, 0.1, 0.25, 1) 4.2s forwards;
}
.hero-scroll span { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 2px; display: block; margin-bottom: 8px; }
.scroll-line {
    width: 1px; height: 40px; background: var(--border); margin: 0 auto;
    position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
    background: var(--gold); animation: scrollDown 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes scrollDown { 0% { top: -100%; opacity: 0; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.hero-3d-element {
    position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
    width: 500px; height: 500px; z-index: 5; opacity: 0.5;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 50px; font-weight: 600;
    font-size: 0.95rem; cursor: pointer; border: none;
    transition: all var(--transition); letter-spacing: 0.5px;
    font-family: var(--font-body);
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-primary); position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    opacity: 0; transition: opacity var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); color: var(--bg-primary); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-secondary {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-outline {
    background: transparent; color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ===== Section Headers ===== */
.section-label {
    display: inline-block; font-size: 0.8rem; font-weight: 600;
    color: var(--gold); letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 16px; position: relative; padding-left: 40px;
}
.section-label::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 28px; height: 1px; background: var(--gold);
}
.section-title {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; line-height: 1.2; margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--text-secondary); max-width: 600px;
}
.section-header {
    text-align: center; margin-bottom: 64px;
}
.section-header .section-label::before { display: none; }
.section-header .section-label { padding-left: 0; }
.section-header .section-subtitle { margin: 0 auto; }

/* ===== About Section ===== */
.about-section { background: var(--bg-secondary); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.about-image-wrapper { position: relative; }
.image-frame {
    position: relative; border-radius: var(--radius);
    overflow: hidden; aspect-ratio: 3/4;
    border: 1px solid var(--border);
}
.image-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-card));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 16px;
}
.placeholder-icon { font-size: 5rem; color: var(--gold); opacity: 0.4; }
.image-placeholder span { color: var(--text-muted); font-size: 0.9rem; }
.image-decoration {
    position: absolute; top: -20px; left: -20px; right: 20px; bottom: 20px;
    border: 1px solid var(--border); border-radius: var(--radius); z-index: -1;
}
.image-badge {
    position: absolute; bottom: -20px; right: -20px;
    width: 120px; height: 120px; background: var(--gold);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-gold);
}
.badge-content { text-align: center; color: var(--bg-primary); }
.badge-number { font-family: var(--font-display); font-size: 2rem; font-weight: 700; display: block; }
.badge-text { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.about-lead {
    font-size: 1.2rem; color: var(--text-primary); font-weight: 400;
    line-height: 1.8; margin-bottom: 20px;
}
.about-text { color: var(--text-secondary); margin-bottom: 16px; }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.feature-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 16px; border-radius: var(--radius-sm);
    background: var(--glass); border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.feature-item:hover { border-color: var(--border); transform: translateX(8px); }
.feature-icon {
    width: 48px; height: 48px; min-width: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(201, 168, 76, 0.1); border-radius: 12px;
    color: var(--gold); font-size: 1.2rem;
}
.feature-item h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.85rem; color: var(--text-secondary); }

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-col { max-width: 400px; margin: 0 auto; }
}

/* ===== Services Section ===== */
.services-section { overflow: hidden; }
.floating-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -200px; animation: floatShape 20s ease infinite; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation: floatShape 15s ease infinite reverse; }
.shape-3 { width: 300px; height: 300px; top: 50%; left: 50%; animation: floatShape 25s ease infinite 5s; }
@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 50px) scale(0.95); }
    75% { transform: translate(30px, 20px) scale(1.05); }
}
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 36px; position: relative;
    overflow: hidden; transition: all var(--transition);
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--border); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: var(--gold); background: linear-gradient(135deg, var(--bg-card), rgba(201, 168, 76, 0.05)); }
.featured-badge {
    position: absolute; top: 16px; right: 16px;
    padding: 4px 12px; background: var(--gold); color: var(--bg-primary);
    font-size: 0.7rem; font-weight: 700; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 1px;
}
.service-icon-wrapper { position: relative; margin-bottom: 24px; width: fit-content; }
.service-icon {
    width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    background: rgba(201, 168, 76, 0.1); border-radius: 16px;
    color: var(--gold); font-size: 1.5rem;
    transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--gold); color: var(--bg-primary); }
.service-glow {
    position: absolute; inset: -10px; background: var(--gold-glow);
    border-radius: 50%; filter: blur(20px); opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover .service-glow { opacity: 0.5; }
.service-card h3 {
    font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 12px;
}
.service-card > p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 20px; }
.service-features { list-style: none; margin-bottom: 20px; }
.service-features li {
    padding: 6px 0; color: var(--text-secondary); font-size: 0.85rem;
    display: flex; align-items: center; gap: 10px;
}
.service-features i { color: var(--gold); font-size: 0.7rem; }
.service-price {
    font-family: var(--font-mono); font-size: 0.9rem;
    color: var(--gold); font-weight: 600; padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* ===== Experience / Timeline ===== */
.experience-section { background: var(--bg-secondary); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--border), var(--gold));
    transform: translateX(-50%);
}
.timeline-item {
    display: flex; align-items: flex-start; margin-bottom: 48px;
    position: relative; opacity: 0; transform: translateY(30px);
    transition: all 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item:nth-child(odd) { padding-right: calc(50% + 40px); justify-content: flex-end; text-align: right; }
.timeline-item:nth-child(even) { padding-left: calc(50% + 40px); }
.timeline-marker {
    position: absolute; left: 50%; transform: translateX(-50%);
    z-index: 2;
}
.marker-dot {
    width: 16px; height: 16px; background: var(--bg-primary);
    border: 3px solid var(--gold); border-radius: 50%;
    transition: all var(--transition);
}
.timeline-item:hover .marker-dot { background: var(--gold); box-shadow: 0 0 20px var(--gold-glow); }
.timeline-content {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); padding: 24px;
    transition: all var(--transition);
}
.timeline-content:hover { border-color: var(--border); transform: scale(1.02); }
.timeline-date {
    font-size: 0.75rem; color: var(--gold); font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
}
.timeline-content h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 8px 0 4px; }
.timeline-content h4 { font-size: 0.9rem; color: var(--gold); font-weight: 500; margin-bottom: 8px; }
.timeline-content p { font-size: 0.85rem; color: var(--text-secondary); }

@media (max-width: 768px) {
    .timeline-line { left: 20px; }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 60px; padding-right: 0; justify-content: flex-start; text-align: left;
    }
    .timeline-marker { left: 20px; }
}

/* ===== Brain / Philosophy Section ===== */
.brain-section {
    min-height: 80vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
}
#brainCanvas { position: absolute; inset: 0; z-index: 1; opacity: 0.6; }
.brain-overlay {
    position: relative; z-index: 2; width: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.85), rgba(10, 10, 15, 0.7));
}
.brain-content { max-width: 700px; padding: 80px 0; }
.brain-content p {
    color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8;
    margin-bottom: 40px;
}
.philosophy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.philosophy-card {
    padding: 24px; border-radius: var(--radius-sm);
    background: var(--glass); border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px); text-align: center;
    transition: all var(--transition);
}
.philosophy-card:hover { border-color: var(--border); transform: translateY(-4px); }
.philosophy-card i { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }
.philosophy-card h4 { font-size: 1rem; margin-bottom: 8px; }
.philosophy-card p { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0; }

@media (max-width: 640px) { .philosophy-cards { grid-template-columns: 1fr; } }

/* ===== Booking Section ===== */
.booking-section {
    background: var(--bg-secondary); position: relative; overflow: hidden;
}
.booking-bg-accent {
    position: absolute; top: -200px; right: -200px; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Layout: sidebar + main */
.booking-layout {
    display: grid; grid-template-columns: 320px 1fr; gap: 32px;
    max-width: 1100px; margin: 0 auto;
}

/* Doctor Sidebar */
.booking-sidebar { position: sticky; top: 100px; }
.booking-doctor-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 20px; padding: 32px; text-align: center;
    transition: border-color var(--transition);
}
.booking-doctor-card:hover { border-color: var(--border); }
.booking-doc-img {
    width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--gold); margin: 0 auto 16px; display: block;
    box-shadow: 0 0 30px rgba(201,168,76,0.15);
}
.booking-doctor-card h3 {
    font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px;
}
.booking-doc-title { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.booking-doc-rating {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light);
}
.rating-stars { color: var(--gold); font-size: 0.85rem; }
.rating-stars i { margin: 0 1px; }
.booking-doc-rating span { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; }
.booking-doc-details { text-align: left; }
.bdd-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; font-size: 0.8rem; color: var(--text-secondary);
}
.bdd-item i { color: var(--gold); width: 16px; text-align: center; font-size: 0.75rem; }
.booking-trust {
    display: flex; flex-direction: column; gap: 8px; margin-top: 16px;
}
.trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.7rem; color: var(--text-muted);
}
.trust-item i { color: #4caf50; font-size: 0.65rem; }

/* Main Booking Area */
.booking-main {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 20px; padding: 40px;
}

/* Progress Bar */
.booking-progress { margin-bottom: 40px; }
.bp-track {
    height: 3px; background: var(--bg-tertiary); border-radius: 3px;
    margin-bottom: 16px; overflow: hidden;
}
.bp-fill {
    height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 3px; transition: width 0.6s cubic-bezier(0.25,0.1,0.25,1);
}
.bp-steps { display: flex; justify-content: space-between; }
.bp-step {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    opacity: 0.4; transition: all var(--transition);
}
.bp-step.active { opacity: 1; }
.bp-step.completed { opacity: 0.7; }
.bp-dot {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; color: var(--text-muted); transition: all var(--transition);
}
.bp-step.active .bp-dot {
    border-color: var(--gold); color: var(--gold);
    background: rgba(201,168,76,0.1); box-shadow: 0 0 15px rgba(201,168,76,0.15);
}
.bp-step.completed .bp-dot { border-color: var(--gold); background: var(--gold); color: var(--bg-primary); }
.bp-step span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px; }

/* Step Content */
.booking-step-content { display: none; }
.booking-step-content.active { display: block; animation: bookFadeIn 0.5s cubic-bezier(0.25,0.1,0.25,1); }
@keyframes bookFadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.bsc-header { margin-bottom: 28px; }
.bsc-header h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 6px; }
.bsc-header p { color: var(--text-muted); font-size: 0.9rem; }

/* Service Options - Premium Cards */
.service-options { display: flex; flex-direction: column; gap: 12px; }
.service-option input { display: none; }
.option-card {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 20px; border: 1px solid var(--border-light);
    border-radius: 14px; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25,0.1,0.25,1);
    position: relative; overflow: hidden;
}
.option-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--gold); opacity: 0; transition: opacity 0.3s;
}
.option-card:hover { border-color: rgba(201,168,76,0.3); background: rgba(255,255,255,0.01); transform: translateX(4px); }
.service-option input:checked + .option-card {
    border-color: var(--gold); background: rgba(201,168,76,0.04);
    box-shadow: 0 4px 20px rgba(201,168,76,0.08);
}
.service-option input:checked + .option-card::before { opacity: 1; }
.oc-icon {
    width: 48px; height: 48px; min-width: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(201,168,76,0.08); border-radius: 12px;
    color: var(--gold); font-size: 1.1rem; transition: all 0.3s;
}
.service-option input:checked + .option-card .oc-icon { background: var(--gold); color: var(--bg-primary); }
.oc-body { flex: 1; }
.oc-body h4 { font-size: 0.95rem; margin-bottom: 2px; }
.oc-body p { font-size: 0.78rem; color: var(--text-muted); }
.oc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 80px; }
.oc-duration { font-size: 0.7rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.oc-duration i { font-size: 0.6rem; }
.oc-price { font-family: var(--font-mono); font-size: 0.95rem; color: var(--gold); font-weight: 600; }

/* Calendar */
.datetime-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.calendar-wrapper {
    background: var(--bg-secondary); border-radius: 14px;
    padding: 24px; border: 1px solid var(--border-light);
}
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-month { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.cal-nav {
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-light); border-radius: 10px; background: transparent;
    color: var(--text-secondary); cursor: pointer; transition: all var(--transition);
}
.cal-nav:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); }
.calendar-weekdays {
    display: grid; grid-template-columns: repeat(7, 1fr); text-align: center;
    margin-bottom: 10px;
}
.calendar-weekdays span { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-day {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; font-size: 0.82rem; cursor: pointer;
    transition: all 0.2s; border: none; background: transparent;
    color: var(--text-primary); font-weight: 500;
}
.cal-day:hover:not(.disabled):not(.empty) { background: rgba(201,168,76,0.1); color: var(--gold); }
.cal-day.active { background: var(--gold); color: var(--bg-primary); font-weight: 700; box-shadow: 0 4px 12px rgba(201,168,76,0.3); }
.cal-day.disabled { color: var(--text-muted); opacity: 0.2; cursor: default; }
.cal-day.today { border: 2px solid var(--gold); }
.cal-day.empty { cursor: default; }

.time-slots-wrapper h4 { font-family: var(--font-display); margin-bottom: 16px; font-size: 1rem; }
.time-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.time-slot {
    padding: 12px 8px; text-align: center; border: 1px solid var(--border-light);
    border-radius: 10px; cursor: pointer; font-size: 0.85rem; font-weight: 500;
    transition: all 0.2s; background: transparent; color: var(--text-primary);
    font-family: var(--font-mono);
}
.time-slot:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.04); }
.time-slot.active { background: var(--gold); color: var(--bg-primary); border-color: var(--gold); font-weight: 700; box-shadow: 0 4px 12px rgba(201,168,76,0.2); }
.no-date-selected { color: var(--text-muted); font-size: 0.85rem; grid-column: 1/-1; text-align: center; padding: 40px 0; }

@media (max-width: 640px) { .datetime-picker { grid-template-columns: 1fr; } }

/* Booking Form */
.booking-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
    padding: 13px 16px; background: var(--bg-secondary);
    border: 1px solid var(--border-light); border-radius: 10px;
    color: var(--text-primary); font-family: var(--font-body); font-size: 0.88rem;
    transition: all 0.3s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; }
.checkbox-label {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
    font-size: 0.82rem; color: var(--text-secondary);
}
.checkbox-label input[type="checkbox"] { margin-top: 3px; accent-color: var(--gold); }
.text-link { color: var(--gold); text-decoration: underline; }

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Confirmation */
.confirmation-wrapper { text-align: center; }
.confirmation-success { margin-bottom: 24px; }
.cs-icon {
    width: 72px; height: 72px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(201,168,76,0.1); border-radius: 50%;
    font-size: 1.8rem; color: var(--gold);
    box-shadow: 0 0 40px rgba(201,168,76,0.1);
}
.confirmation-success h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 6px; }
.confirmation-success p { color: var(--text-muted); font-size: 0.9rem; }
.confirmation-details {
    background: var(--bg-secondary); border-radius: 14px;
    padding: 24px; text-align: left; border: 1px solid var(--border-light);
}
.confirmation-details .detail-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; border-bottom: 1px solid var(--border-light);
}
.confirmation-details .detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text-muted); font-size: 0.82rem; }
.detail-value { font-weight: 600; color: var(--text-primary); font-size: 0.9rem; }
.confirmation-note {
    display: flex; align-items: flex-start; gap: 10px; margin-top: 20px;
    padding: 16px; background: rgba(201,168,76,0.04);
    border: 1px solid var(--border); border-radius: 10px;
    font-size: 0.8rem; color: var(--text-secondary); text-align: left;
}
.confirmation-note i { color: var(--gold); margin-top: 2px; }
.confirmation-note strong { color: var(--gold); }

.booking-navigation {
    display: flex; justify-content: space-between; margin-top: 32px; gap: 16px;
    padding-top: 24px; border-top: 1px solid var(--border-light);
}
.booking-navigation .btn-primary { margin-left: auto; }

/* Booking Responsive */
@media (max-width: 900px) {
    .booking-layout { grid-template-columns: 1fr; }
    .booking-sidebar { position: static; }
    .booking-doctor-card { display: flex; gap: 20px; text-align: left; padding: 20px; }
    .booking-doc-img { width: 70px; height: 70px; margin: 0; }
    .booking-doc-rating { justify-content: flex-start; }
    .booking-doc-details { display: none; }
    .booking-trust { flex-direction: row; flex-wrap: wrap; }
    .booking-main { padding: 24px; }
    .bp-step span { display: none; }
}
@media (max-width: 640px) {
    .service-options { gap: 10px; }
    .option-card { padding: 14px; }
    .oc-meta { display: none; }
}

/* ===== Testimonials ===== */
.testimonials-section { overflow: hidden; }
.testimonials-slider { position: relative; max-width: 700px; margin: 0 auto; }
.testimonial-card {
    display: none; text-align: center; padding: 40px;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius);
    animation: fadeIn 0.5s ease;
}
.testimonial-card.active { display: block; }
.testimonial-stars { color: var(--gold); margin-bottom: 24px; font-size: 1.2rem; }
.testimonial-stars i { margin: 0 2px; }
.testimonial-text {
    font-family: var(--font-display); font-size: 1.2rem; font-style: italic;
    line-height: 1.8; color: var(--text-primary); margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.author-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(201, 168, 76, 0.1); display: flex; align-items: center;
    justify-content: center; font-weight: 700; color: var(--gold); font-size: 0.85rem;
}
.author-name { display: block; font-weight: 600; font-size: 0.9rem; }
.author-date { font-size: 0.75rem; color: var(--text-muted); }
.testimonial-nav {
    display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px;
}
.testimonial-btn {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: 50%; background: transparent;
    color: var(--text-secondary); cursor: pointer; transition: all var(--transition);
}
.testimonial-btn:hover { border-color: var(--gold); color: var(--gold); }
.testimonial-dots { display: flex; gap: 8px; }
.testimonial-dots .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border); cursor: pointer; transition: all var(--transition);
}
.testimonial-dots .dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ===== Contact Section ===== */
.contact-section { background: var(--bg-secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-lead { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 32px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-card {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); transition: all var(--transition);
}
.contact-card:hover { border-color: var(--border); transform: translateX(8px); }
.contact-card-icon {
    width: 48px; height: 48px; min-width: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(201, 168, 76, 0.1); border-radius: 12px;
    color: var(--gold); font-size: 1.1rem;
}
.contact-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-card p { font-size: 0.85rem; color: var(--text-secondary); }
.contact-card a { color: var(--gold); }
.contact-hours { padding: 24px; background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.contact-hours h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--gold); }
.hours-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    font-size: 0.9rem;
}
.hours-grid span:nth-child(odd) { color: var(--text-secondary); }
.hours-grid span:nth-child(even) { text-align: right; font-weight: 600; }
.map-wrapper {
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border-light); height: 100%; min-height: 500px;
}
.map-wrapper iframe { height: 100%; }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .map-wrapper { min-height: 350px; }
}

/* ===== Footer ===== */
.footer {
    position: relative; padding: 80px 0 30px;
    background: var(--bg-primary);
}
.footer-wave {
    position: absolute; top: -1px; left: 0; right: 0;
    color: var(--bg-secondary); line-height: 0;
}
.footer-wave svg { width: 100%; height: 80px; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid var(--border-light);
}
.footer-logo {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.footer-logo span { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-primary); }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; color: var(--gold); }
.footer-links a {
    display: block; color: var(--text-secondary); font-size: 0.85rem;
    padding: 4px 0; transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); transform: translateX(4px); }
.footer-bottom {
    text-align: center; padding-top: 30px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Modal ===== */
.modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); }
.modal-content {
    position: relative; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 48px; text-align: center; max-width: 400px; width: 90%;
}
.modal-icon { font-size: 4rem; color: var(--gold); margin-bottom: 20px; }
.modal-content h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; }
.modal-content p { color: var(--text-secondary); margin-bottom: 24px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 40px; height: 1px; }
    .booking-wrapper { padding: 24px; }
    .booking-steps { gap: 8px; }
    .step-info { display: none; }
    .step-connector { width: 20px; }
    .hero-3d-element { display: none; }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ===== Selection ===== */
::selection { background: var(--gold); color: var(--bg-primary); }
