/* ══════════════════════════════════════════════
           DESIGN SYSTEM — "OBSIDIAN RAVE"
           Palette: Obsidian Void + Electric Violet + Cyan Pulse + Champagne Gold
           Typography: Syne (display) + Plus Jakarta Sans (body)
           ══════════════════════════════════════════════ */

        :root {
            /* Backgrounds */
            --bg-void: #08080F;
            --bg-surface: #12121A;
            --bg-elevated: #1C1C28;

            /* Borders */
            --border-subtle: rgba(255,255,255,0.06);
            --border-hover: rgba(139, 92, 246, 0.4);

            /* Text */
            --text-primary: #F0EFF4;
            --text-secondary: #8B8A94;
            --text-muted: #5A5A66;

            /* Accents */
            --violet: #8B5CF6;
            --cyan: #06B6D4;
            --gold: #D4A843;
            --success: #10B981;

            /* Typography */
            --font-display: 'Syne', sans-serif;
            --font-body: 'Plus Jakarta Sans', sans-serif;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        html { scroll-behavior: smooth; }

        body {
            font-family: var(--font-body);
            background-color: var(--bg-void);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* ── Ambient Background Glows ── */
        .glow-top {
            position: fixed;
            top: -30%;
            left: 50%;
            transform: translateX(-50%);
            width: 140vw;
            height: 80vh;
            background: radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.04) 40%, transparent 70%);
            z-index: 0;
            pointer-events: none;
        }

        /* ── Navigation ── */
        .nav {
            position: fixed;
            top: 0; left: 0; right: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            background: rgba(8, 8, 15, 0.7);
            backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid var(--border-subtle);
            z-index: 1000;
        }

        .nav-logo {
            font-family: var(--font-display);
            font-size: 22px;
            font-weight: 800;
            color: var(--text-primary);
            text-decoration: none;
            letter-spacing: -0.5px;
        }
        .nav-logo em {
            font-style: normal;
            background: linear-gradient(135deg, var(--violet), var(--cyan));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .nav-links { display: flex; align-items: center; gap: 32px; }

        /* Hamburger */
        .hamburger {
            display: none; cursor: pointer; background: none; border: none;
            width: 32px; height: 24px; position: relative; z-index: 1001;
        }
        .hamburger span {
            display: block; width: 100%; height: 2px; background: var(--text-primary);
            position: absolute; left: 0; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
        }
        .hamburger span:nth-child(1) { top: 0; }
        .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
        .hamburger span:nth-child(3) { bottom: 0; }
        .hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
        .hamburger.active span:nth-child(2) { opacity: 0; }
        .hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

        /* Mobile Menu */
        .mobile-menu {
            display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(8,8,15,0.95); backdrop-filter: blur(24px);
            z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
        }
        .mobile-menu.open { display: flex; }
        .mobile-menu a {
            color: var(--text-primary); text-decoration: none; font-family: var(--font-display);
            font-size: 28px; font-weight: 700; padding: 16px 0; letter-spacing: -0.5px;
            transition: color 0.2s; opacity: 0; transform: translateY(20px);
            animation: menuFadeIn 0.4s forwards;
        }
        .mobile-menu a:nth-child(1) { animation-delay: 0.05s; }
        .mobile-menu a:nth-child(2) { animation-delay: 0.1s; }
        .mobile-menu a:nth-child(3) { animation-delay: 0.15s; }
        .mobile-menu a:nth-child(4) { animation-delay: 0.2s; }
        .mobile-menu a:nth-child(5) { animation-delay: 0.25s; }
        .mobile-menu a:nth-child(6) { animation-delay: 0.3s; }
        .mobile-menu a:hover { color: var(--violet); }
        .mobile-menu .btn-cta {
            margin-top: 16px; font-size: 18px; padding: 16px 40px;
        }
        @keyframes menuFadeIn {
            to { opacity: 1; transform: translateY(0); }
        }

        /* Testimonials */
        .testimonials { position: relative; z-index: 1; padding: 120px 5%; }
        .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1300px; margin: 0 auto; }
        .testimonial-card {
            background: var(--bg-surface); border: 1px solid var(--border-subtle);
            border-radius: 20px; padding: 36px; position: relative; overflow: hidden;
        }
        .testimonial-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
            background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
            opacity: 0; transition: opacity 0.3s;
        }
        .testimonial-card:hover::before { opacity: 1; }
        .testimonial-stars { color: var(--gold); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
        .testimonial-text { color: var(--text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
        .testimonial-author { display: flex; align-items: center; gap: 12px; }
        .testimonial-avatar {
            width: 44px; height: 44px; border-radius: 50%;
            background: linear-gradient(135deg, var(--violet), var(--cyan));
            display: flex; align-items: center; justify-content: center;
            font-family: var(--font-display); font-weight: 800; font-size: 16px; color: white;
        }
        .testimonial-info h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
        .testimonial-info p { color: var(--text-muted); font-size: 13px; }
        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.2s;
        }
        .nav-links a:hover { color: var(--text-primary); }

        .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: linear-gradient(135deg, var(--violet), #6366F1);
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            border-radius: 8px;
            transition: transform 0.2s, box-shadow 0.2s;
            border: none;
            cursor: pointer;
        }
        .btn-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: transparent;
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            border-radius: 8px;
            border: 1px solid var(--border-subtle);
            transition: all 0.2s;
        }
        .btn-outline:hover {
            border-color: var(--violet);
            background: rgba(139, 92, 246, 0.08);
        }

        /* ── Hero Section ── */
        .hero {
            position: relative;
            padding: 200px 5% 120px;
            text-align: center;
            max-width: 1200px;
            margin: 0 auto;
            z-index: 1;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.2);
            border-radius: 100px;
            font-size: 13px;
            font-weight: 600;
            color: var(--violet);
            margin-bottom: 32px;
            letter-spacing: 0.5px;
        }
        .hero-badge .dot {
            width: 6px; height: 6px;
            background: var(--violet);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .hero h1 {
            font-family: var(--font-display);
            font-size: 80px;
            font-weight: 800;
            line-height: 1.0;
            letter-spacing: -3px;
            margin-bottom: 28px;
        }
        .hero h1 .gradient {
            background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-sub {
            font-size: 20px;
            color: var(--text-secondary);
            max-width: 680px;
            margin: 0 auto 48px;
            line-height: 1.6;
        }

        .hero-cta {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .hero-cta .btn-cta {
            padding: 16px 32px;
            font-size: 16px;
            animation: ctaGlow 3s ease-in-out infinite;
        }
        @keyframes ctaGlow {
            0%, 100% { box-shadow: 0 4px 20px rgba(139,92,246,0.3); }
            50% { box-shadow: 0 4px 40px rgba(139,92,246,0.6), 0 0 60px rgba(139,92,246,0.15); }
        }
        .hero-cta .btn-outline {
            padding: 16px 32px;
            font-size: 16px;
        }

        /* ── Hero Image ── */
        .hero-image-wrapper {
            position: relative;
            max-width: 1100px;
            margin: 80px auto 0;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--border-subtle);
            box-shadow: 0 32px 80px rgba(139, 92, 246, 0.15), 0 0 0 1px rgba(139,92,246,0.1);
        }
        .hero-image-wrapper img {
            width: 100%;
            display: block;
        }
        .hero-image-wrapper::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 40%;
            background: linear-gradient(to top, var(--bg-void), transparent);
            pointer-events: none;
        }

        /* ── Trust Bar ── */
        .trust-bar {
            position: relative;
            z-index: 1;
            border-top: 1px solid var(--border-subtle);
            border-bottom: 1px solid var(--border-subtle);
            background: var(--bg-surface);
            padding: 48px 5%;
        }
        .trust-bar-inner {
            display: flex;
            justify-content: center;
            gap: 64px;
            max-width: 1200px;
            margin: 0 auto;
            flex-wrap: wrap;
        }
        .trust-item { text-align: center; }
        .trust-item h4 {
            font-family: var(--font-display);
            font-size: 36px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--violet), var(--cyan));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .trust-item p {
            font-size: 13px;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-top: 4px;
        }

        /* ── Services / toolkit Section ── */
        .toolkit {
            position: relative;
            z-index: 1;
            padding: 120px 5%;
            max-width: 1300px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }
        .section-header .label {
            font-size: 13px;
            font-weight: 600;
            color: var(--violet);
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 16px;
            display: block;
        }
        .section-header h2 {
            font-family: var(--font-display);
            font-size: 52px;
            font-weight: 800;
            letter-spacing: -2px;
            line-height: 1.1;
        }
        .section-header p {
            color: var(--text-secondary);
            font-size: 18px;
            margin-top: 16px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Bento Grid */
        .bento {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 20px;
        }

        .bento-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: 20px;
            padding: 40px;
            position: relative;
            overflow: hidden;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
        }

        .bento-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(139,92,246,0.5), transparent);
            opacity: 0;
            transition: opacity 0.4s;
        }

        .bento-card:hover {
            transform: translateY(-6px);
            border-color: rgba(139, 92, 246, 0.3);
            box-shadow: 0 20px 60px rgba(139, 92, 246, 0.1);
        }
        .bento-card:hover::before { opacity: 1; }

        .bento-card.span-7 { grid-column: span 7; }
        .bento-card.span-5 { grid-column: span 5; }
        .bento-card.span-4 { grid-column: span 4; }
        .bento-card.span-6 { grid-column: span 6; }
        .bento-card.span-8 { grid-column: span 8; }

        .bento-card .card-label {
            font-size: 12px;
            font-weight: 600;
            color: var(--violet);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 16px;
        }

        .card-icon {
            width: 44px; height: 44px; border-radius: 12px;
            background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.15);
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 12px;
        }
        .card-icon svg { width: 22px; height: 22px; }
        .bento-card h3 {
            font-family: var(--font-display);
            font-size: 26px;
            font-weight: 800;
            letter-spacing: -0.5px;
            margin-bottom: 12px;
            line-height: 1.2;
        }

        .bento-card .card-desc {
            color: var(--text-secondary);
            font-size: 15px;
            line-height: 1.7;
            flex-grow: 1;
        }

        .bento-card .card-image {
            width: calc(100% + 80px);
            margin: 24px -40px -40px;
            border-top: 1px solid var(--border-subtle);
            border-radius: 0 0 20px 20px;
            overflow: hidden;
        }
        .bento-card .card-image img {
            width: 100%;
            display: block;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .bento-card:hover .card-image img {
            transform: scale(1.03);
        }

        /* ── Portfolio Proof Section ── */
        .proof {
            position: relative;
            z-index: 1;
            padding: 120px 5%;
            max-width: 1300px;
            margin: 0 auto;
        }

        .proof-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .proof-card {
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--border-subtle);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
            cursor: pointer;
        }
        .proof-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 60px rgba(139, 92, 246, 0.12);
        }
        .proof-card img {
            width: 100%;
            display: block;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .proof-card:hover img {
            transform: scale(1.05);
        }

        /* ── CTA Section ── */
        .cta-section {
            position: relative;
            z-index: 1;
            padding: 120px 5%;
            text-align: center;
        }
        .cta-box {
            max-width: 800px;
            margin: 0 auto;
            padding: 80px 60px;
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: 24px;
            position: relative;
            overflow: hidden;
        }
        .cta-box::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
        }
        .cta-box h2 {
            font-family: var(--font-display);
            font-size: 44px;
            font-weight: 800;
            letter-spacing: -1.5px;
            margin-bottom: 16px;
        }
        .cta-box p {
            color: var(--text-secondary);
            font-size: 18px;
            margin-bottom: 40px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        /* ── Footer ── */
        .site-footer {
            position: relative; z-index: 1;
            border-top: 1px solid var(--border-subtle);
            padding: 80px 5% 40px;
            max-width: 1300px; margin: 0 auto;
        }
        .footer-grid {
            display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
            margin-bottom: 48px;
        }
        .footer-brand .footer-logo {
            font-family: var(--font-display); font-size: 22px; font-weight: 800;
            color: var(--text-primary); margin-bottom: 16px;
        }
        .footer-brand .footer-logo em {
            font-style: normal;
            background: linear-gradient(135deg, var(--violet), var(--cyan));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .footer-brand p {
            color: var(--text-secondary); font-size: 14px; line-height: 1.6;
            max-width: 300px; margin-bottom: 20px;
        }
        .footer-social { display: flex; gap: 12px; }
        .footer-social a {
            width: 36px; height: 36px; border-radius: 8px;
            background: var(--bg-surface); border: 1px solid var(--border-subtle);
            display: flex; align-items: center; justify-content: center;
            color: var(--text-secondary); text-decoration: none; font-size: 14px;
            transition: all 0.2s;
        }
        .footer-social a:hover {
            border-color: var(--violet); color: var(--violet);
            background: rgba(139,92,246,0.08);
        }
        .footer-col h4 {
            font-family: var(--font-display); font-size: 13px; font-weight: 700;
            color: var(--text-primary); text-transform: uppercase; letter-spacing: 2px;
            margin-bottom: 20px;
        }
        .footer-col a {
            display: block; color: var(--text-muted); text-decoration: none;
            font-size: 14px; padding: 4px 0; transition: color 0.2s;
        }
        .footer-col a:hover { color: var(--text-secondary); }
        .footer-bottom {
            border-top: 1px solid var(--border-subtle); padding-top: 24px;
            display: flex; justify-content: space-between; align-items: center;
        }
        .footer-copy { color: var(--text-muted); font-size: 13px; }

        /* ── Responsive ── */
        @media (max-width: 1024px) {
            .hero h1 { font-size: 56px; }
            .bento-card.span-7, .bento-card.span-5,
            .bento-card.span-4, .bento-card.span-8 { grid-column: span 6; }
            .bento-card.span-6 { grid-column: span 6; }
            .proof-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .hero h1 { font-size: 40px; letter-spacing: -1.5px; }
            .hero-sub { font-size: 17px; }
            .section-header h2 { font-size: 36px; }
            .bento { grid-template-columns: 1fr; }
            .bento-card.span-7, .bento-card.span-5,
            .bento-card.span-4, .bento-card.span-6,
            .bento-card.span-8 { grid-column: span 1; }
            .proof-grid { grid-template-columns: 1fr; }
            .trust-bar-inner { gap: 32px; }
            .nav-links { display: none; }
            .hamburger { display: block; }
            .testimonial-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
            .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
        }

        /* ── Scroll Animations ── */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 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; }
        .reveal-delay-5 { transition-delay: 0.5s; }

        /* Hero entrance animation */
        .hero-badge, .hero h1, .hero-sub, .hero-cta, .hero-image-wrapper {
            animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
        }
        .hero-badge { animation-delay: 0.1s; }
        .hero h1 { animation-delay: 0.2s; }
        .hero-sub { animation-delay: 0.35s; }
        .hero-cta { animation-delay: 0.5s; }
        .hero-image-wrapper { animation-delay: 0.7s; }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Floating glow animation */
        .glow-top {
            animation: glowDrift 8s ease-in-out infinite alternate;
        }
        @keyframes glowDrift {
            0% { transform: translateX(-50%) translateY(0); }
            100% { transform: translateX(-50%) translateY(20px); }
        }

        /* Animated Waves */
        .wave-divider {
            position: relative; width: 100%; overflow: hidden;
            height: 80px; margin-top: -40px; z-index: 2;
        }
        .wave-divider svg {
            position: absolute; bottom: 0; width: 200%; height: 100%;
            animation: waveFlow 8s linear infinite;
        }
        .wave-divider svg:nth-child(2) {
            animation: waveFlow 12s linear infinite reverse;
            opacity: 0.3;
        }
        @keyframes waveFlow {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .hero-waves {
            position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
            overflow: hidden; z-index: 1;
        }
        .hero-waves svg {
            position: absolute; bottom: 0; width: 200%; height: 100%;
        }
        .hero-waves .wave-1 { animation: waveFlow 6s linear infinite; opacity: 0.15; }
        .hero-waves .wave-2 { animation: waveFlow 10s linear infinite reverse; opacity: 0.08; }
        .hero-waves .wave-3 { animation: waveFlow 14s linear infinite; opacity: 0.05; }