        /* ------------------------------------------------------------
           GLOBAL — inherits the cool, vibrant palette from userpage 
           but transformed into an energetic, next‑gen welcome page
        ------------------------------------------------------------ */
        :root {
            --primary: #6366f1;
            --primary-rgb: 99, 102, 241;
            --primary-light: rgba(99, 102, 241, 0.12);
            --secondary: #a855f7;
            --secondary-rgb: 168, 85, 247;
            --accent: #ec4899;
            --accent-rgb: 236, 72, 153;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            
            --text-main: #0f172a;
            --text-muted: #475569;
            --text-inverse: #ffffff;
            --border: #e2e8f0;
            --bg: #ffffff;
            --bg-subtle: #fafcff;
            --glass-bg: rgba(255, 255, 255, 0.8);
            --glass-border: rgba(99, 102, 241, 0.12);
            --glass-shine: rgba(99, 102, 241, 0.2);
            
            --radius: 28px;
            --radius-sm: 18px;
            --shadow-sm: 0 6px 18px rgba(0,0,0,0.04);
            --shadow-md: 0 18px 40px -8px rgba(99,102,241,0.18);
            --shadow-lg: 0 30px 60px -10px rgba(99,102,241,0.22);
            --transition: 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
            
            --container-width: 1340px;
            --section-spacing: 8rem;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

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

        body {
            padding-top: 88px;
            overflow-x: hidden;
            font-family: 'Outfit', sans-serif;
            background-color: var(--bg);
            background-image: 
                radial-gradient(circle at 0% 30%, rgba(99,102,241,0.06) 0%, transparent 50%),
                radial-gradient(circle at 100% 70%, rgba(236,72,153,0.06) 0%, transparent 50%),
                radial-gradient(circle at 20% 90%, rgba(168,85,247,0.04) 0%, transparent 45%);
            color: var(--text-main);
            line-height: 1.5;
        }

        /* completely smooth, advanced ambient animation – 5 blobs moving independently */
        .ambient-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
            overflow: hidden;
        }

        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(110px);
            opacity: 0.22;
            animation: floatBlob 26s infinite alternate;
        }

        .blob-1 {
            top: -5%;
            left: -5%;
            width: 45vw;
            height: 45vw;
            background: var(--primary);
            animation-duration: 28s;
        }
        .blob-2 {
            bottom: -10%;
            right: -5%;
            width: 55vw;
            height: 55vw;
            background: var(--secondary);
            animation-delay: -6s;
            animation-duration: 34s;
        }
        .blob-3 {
            top: 30%;
            left: 40%;
            width: 40vw;
            height: 40vw;
            background: var(--accent);
            animation-delay: -12s;
            opacity: 0.18;
        }
        .blob-4 {
            top: 60%;
            left: 10%;
            width: 30vw;
            height: 30vw;
            background: #38bdf8;
            animation-delay: -20s;
            opacity: 0.14;
        }
        .blob-5 {
            top: 15%;
            right: 10%;
            width: 35vw;
            height: 35vw;
            background: #f472b6;
            animation-delay: -4s;
            opacity: 0.16;
        }

        @keyframes floatBlob {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(60px, -40px) scale(1.1); }
        }

        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 clamp(24px, 6vw, 48px);
            width: 100%;
        }

        /* glass morphism — refined, light, matches userpage aesthetic */
        .glass {
            background: var(--glass-bg);
            backdrop-filter: blur(14px) saturate(180%);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow-sm);
        }

        .glass-card {
            background: rgba(255,255,255,0.7);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255,255,255,0.5);
            box-shadow: 0 8px 28px -6px rgba(0,0,0,0.06);
            transition: transform var(--transition), box-shadow var(--transition);
            border-radius: var(--radius);
        }
        .glass-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: var(--glass-shine);
            background: rgba(255,255,255,0.8);
        }

        .badge {
            display: inline-flex;
            align-items: center;
            padding: 8px 22px;
            background: var(--primary-light);
            color: var(--primary);
            border-radius: 60px;
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: -0.01em;
            border: 1px solid rgba(99,102,241,0.2);
            backdrop-filter: blur(4px);
        }

        .badge i {
            margin-right: 8px;
            font-size: 1rem;
        }

        .display-text {
            font-size: 4.2rem;
            font-weight: 700;
            line-height: 1.05;
            letter-spacing: -0.022em;
        }

        .text-gradient {
            background: linear-gradient(145deg, var(--primary), var(--secondary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            background-size: 200% 200%;
            animation: textShimmer 8s ease infinite;
        }
        @keyframes textShimmer {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* navigation — elevated, floats, matches dashboard header */
        nav {
            padding: 18px 0;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255,255,255,0.7);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--glass-border);
        }
        .nav-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }
        .auth-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .logo-icon {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .logo span {
            font-size: 1.6rem;
            font-weight: 700;
            background: linear-gradient(145deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .nav-links {
            display: flex;
            gap: 1.5vw;
            list-style: none;
            font-weight: 500;
        }
        .nav-links a {
            text-decoration: none;
            color: var(--text-main);
            transition: color 0.2s;
            font-size: 1.05rem;
            white-space: nowrap;
        }
        .nav-links a:hover {
            color: var(--primary);
        }
        .btn {
            padding: 12px 26px;
            border-radius: 44px;
            border: none;
            font-weight: 600;
            font-size: 0.98rem;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: white;
            color: var(--text-main);
            border: 1px solid var(--border);
            text-decoration: none;
            white-space: nowrap;
        }
        .btn-primary {
            background: linear-gradient(145deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            box-shadow: 0 8px 20px rgba(99,102,241,0.4);
        }
        .btn-primary:hover {
            transform: scale(1.04);
            box-shadow: 0 14px 30px rgba(99,102,241,0.5);
        }
        .btn-outline {
            background: transparent;
            border: 1.5px solid rgba(99,102,241,0.3);
            backdrop-filter: blur(8px);
        }
        .btn-outline:hover {
            border-color: var(--primary);
            background: var(--primary-light);
        }
        .btn-large {
            padding: 16px 40px;
            font-size: 1.2rem;
        }

        /* ========== HERO section — big, bold, advanced ========= */
        .hero {
            padding: 5rem 0 4rem;
            position: relative;
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }
        .hero h1 {
            font-size: 5rem;
            font-weight: 800;
            line-height: 1.05;
            margin-bottom: 24px;
        }
        .hero p {
            font-size: 1.3rem;
            color: var(--text-muted);
            margin-bottom: 36px;
            max-width: 90%;
        }
        .hero-actions {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        /* advanced card-scene in hero — 3D layering, floating */
        .hero-visual {
            position: relative;
            min-height: 480px;
        }
        .floating-card {
            position: absolute;
            width: 280px;
            background: rgba(255,255,255,0.8);
            backdrop-filter: blur(18px);
            border: 1px solid rgba(255,255,255,0.6);
            border-radius: 32px;
            padding: 24px;
            box-shadow: 0 24px 50px -12px rgba(0,0,0,0.12);
            transition: transform 0.25s ease;
        }
        .card-1 {
            top: -20px;
            right: 20px;
            animation: float 8s infinite;
        }
        .card-2 {
            bottom: -10px;
            left: 0px;
            animation: float 9s infinite reverse;
        }
        .card-3 {
            top: 40%;
            left: 10%;
            width: 260px;
            background: white;
            animation: float 11s infinite;
        }
        .mock-avatar {
            width: 52px;
            height: 52px;
            border-radius: 18px;
            background: linear-gradient(145deg, #fbcfe8, #fce7f3);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            margin-bottom: 16px;
        }

        @keyframes float {
            0% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-14px) rotate(0.8deg); }
            100% { transform: translateY(0px) rotate(0deg); }
        }

        /* marquee — infinite, smooth */
        .marquee-section {
            padding: 5rem 0 2rem;
            background: transparent;
        }
        .marquee {
            display: flex;
            overflow: hidden;
            -webkit-mask: linear-gradient(90deg, transparent, white 8%, white 92%, transparent);
            mask: linear-gradient(90deg, transparent, white 8%, white 92%, transparent);
        }
        .marquee-content {
            display: flex;
            gap: 20px;
            animation: scroll 34s linear infinite;
            white-space: nowrap;
            padding: 0 20px;
        }
        .marquee-tag {
            padding: 12px 32px;
            background: white;
            border-radius: 80px;
            border: 1px solid var(--glass-border);
            font-weight: 500;
            color: var(--text-main);
            backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1.1rem;
            box-shadow: var(--shadow-sm);
        }
        .marquee-tag i {
            color: var(--primary);
        }

        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-100% - 20px)); }
        }

        /* Feature cards — 4‑col grid, refined */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(4,1fr);
            gap: 26px;
            margin-top: 60px;
        }
        .feature-icon {
            width: 64px;
            height: 64px;
            background: rgba(99,102,241,0.08);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 24px;
            border: 1px solid rgba(99,102,241,0.2);
        }

        /* visual / story cards — large, cinematic */
        .story-grid {
            display: grid;
            grid-template-columns: repeat(3,1fr);
            gap: 28px;
            margin-top: 60px;
        }
        .story-card {
            border-radius: 36px;
            overflow: hidden;
            position: relative;
            height: 460px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            background: #0f172a;
        }
        .story-card img, .story-card video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s;
            z-index: 0;
        }
        .story-card:hover img, .story-card:hover video {
            transform: scale(1.07);
        }
        .story-overlay {
            background: linear-gradient(to top, rgba(15,23,42,0.9) 20%, transparent);
            padding: 32px 28px;
            position: relative;
            z-index: 2;
            color: white;
        }

        /* FAQ — block layout */
        .faq-grid {
            display: block;
            margin-top: 24px;
        }
        .faq-block {
            margin-bottom: 16px;
            background: white;
            border-radius: 24px;
            border: 1px solid var(--glass-border);
            overflow: hidden;
            transition: border-color 0.2s;
        }
        .faq-block:hover { border-color: var(--primary); }
        .faq-item {
            padding: 20px 24px;
            display: block;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.2s;
        }
        .faq-item:hover { background: rgba(99,102,241,0.03); }
        .faq-answer {
            display: none;
            padding: 0 24px 20px;
            color: var(--text-muted);
            line-height: 1.6;
            font-size: 0.98rem;
        }
        .faq-block.active .faq-answer { display: block; }
        .faq-block.active .faq-plus { transform: rotate(45deg); }
        .faq-plus {
            background: var(--primary-light);
            border-radius: 50%;
            width: 34px;
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-weight: 600;
            flex-shrink: 0;
            transition: transform 0.2s;
        }

        /* Testimonials — block layout, stacked */
        .testimonial-scroll {
            display: block;
            padding: 20px 0 0;
            padding-left: env(safe-area-inset-left);
            padding-right: env(safe-area-inset-right);
        }
        .testimonial-item {
            display: block;
            margin-bottom: 24px;
            padding: 36px 38px;
            background: rgba(255,255,255,0.65);
            backdrop-filter: blur(12px);
            border-radius: 36px;
            border: 1px solid rgba(255,255,255,0.6);
        }

        /* footer refined */
        footer {
            background: rgba(248,250,252,0.8);
            backdrop-filter: blur(12px);
            border-top: 1px solid var(--glass-border);
            padding: 70px 0 max(40px, env(safe-area-inset-bottom));
            margin-top: 80px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 50px;
        }

        /* ========== RESPONSIVE — every screen ========== */
        .nav-toggle {
            display: none;
            width: 44px;
            height: 44px;
            align-items: center;
            justify-content: center;
            border: none;
            background: none;
            color: var(--text-main);
            font-size: 1.35rem;
            cursor: pointer;
            border-radius: 10px;
            transition: background 0.2s;
        }
        .nav-toggle:hover { background: var(--primary-light); }
        .nav-toggle:focus { outline: none; }
        .nav-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .mobile-nav {
            display: flex;
            visibility: hidden;
            position: fixed;
            top: 0;
            left: 0;
            width: 280px;
            height: 100vh;
            height: 100dvh;
            background: rgba(255,255,255,0.98);
            backdrop-filter: blur(20px);
            box-shadow: 4px 0 24px rgba(0,0,0,0.12);
            z-index: 1000;
            padding: max(env(safe-area-inset-top), 12px) 12px max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
            flex-direction: column;
            justify-content: flex-start;
            gap: 2px;
            overflow-y: auto;
            transform: translateX(-100%);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .mobile-nav.active {
            visibility: visible;
            transform: translateX(0);
        }
        .mobile-nav a {
            display: flex;
            align-items: center;
            flex: 0 0 auto;
            margin: 1px 0;
            padding: 8px 12px;
            color: var(--text-main);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            border-radius: 8px;
            transition: background 0.2s;
        }
        .mobile-nav a:hover, .mobile-nav a:focus { background: var(--primary-light); color: var(--primary); }
        .mobile-nav .nav-close-wrap {
            display: flex;
            width: 100%;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            padding: 0;
        }
        .nav-overlay {
            display: block;
            visibility: hidden;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.4);
            z-index: 999;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .nav-overlay.active {
            visibility: visible;
            opacity: 1;
        }

        @media (max-width: 1200px) {
            .main { padding-left: 20px; padding-right: 20px; }
            .hero-grid, .feature-grid, .story-grid, .footer-grid, .faq-grid { grid-template-columns: 1fr; }
            #about .glass-card { grid-template-columns: 1fr !important; padding: 40px 28px !important; }
            .steps-grid { grid-template-columns: 1fr !important; max-width: 100%; }
            #vibes .vibes-grid { grid-template-columns: repeat(2, 1fr) !important; }
            #team [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
            .awards-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }
            .hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
            .display-text { font-size: clamp(1.8rem, 4.5vw, 3rem); }
            .nav-links { display: none; }
            .nav-toggle { display: flex; }
            .auth-actions { display: none; }
        }

        @media (max-width: 992px) {
            .main { padding-left: 20px; padding-right: 20px; }
            .hero { padding: 3.5rem 0 3rem; }
            .hero p { font-size: 1.15rem; max-width: 100%; }
            .hero-actions { flex-wrap: wrap; gap: 12px; }
            .hero-actions .btn { min-height: 48px; }
            .hero-visual { min-height: 360px; }
            .floating-card { width: 240px; padding: 20px; }
            .story-card { height: 380px; }
            .step-card { padding: 32px 28px !important; }
            section.container { padding-top: 3rem; padding-bottom: 3rem; }
            footer { padding: 50px 0 30px; margin-top: 50px; }
            .footer-grid { gap: 36px; }
            .footer-bottom { flex-wrap: wrap; gap: 16px; margin-top: 40px; padding-top: 24px; }
        }

        @media (max-width: 768px) {
            body { padding-top: 72px; }
            .container { padding-left: 25px; padding-right: 25px; }
            nav { padding: 14px 0; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
            .main { padding-left: 20px; padding-right: 20px; }
            .logo span { font-size: 1.35rem; }
            .logo-icon { width: 36px; height: 36px; }
            .auth-actions { gap: 8px; }
            .auth-actions .btn { padding: 10px 18px; font-size: 0.9rem; min-height: 44px; }
            .hero { padding: 2.5rem 0 2rem; }
            .hero h1 { font-size: clamp(1.85rem, 7vw, 2.8rem); margin-bottom: 18px; }
            .hero p { font-size: 1.05rem; margin-bottom: 24px; }
            .hero-actions { flex-direction: column; width: 100%; }
            .hero-actions .btn { width: 100%; justify-content: center; }
            .hero-text [style*="margin-top: 40px"] { margin-top: 28px !important; gap: 16px 24px !important; font-size: 0.9rem; }
            .hero-visual { min-height: 280px; }
            .floating-card { width: 200px; padding: 16px; font-size: 0.9rem; }
            .card-3 { width: 180px; }
            .marquee-section { padding: 3rem 0 1.5rem; }
            .marquee-tag { padding: 10px 24px; font-size: 0.95rem; }
            .feature-grid { margin-top: 36px; gap: 20px; }
            .feature-icon { width: 56px; height: 56px; font-size: 1.5rem; }
            #features h3 { font-size: 1.5rem !important; }
            #steps section.container { padding: 3rem 0 !important; }
            #steps h2 { font-size: 1.85rem !important; }
            #vibes section.container { padding: 3rem 0 !important; }
            #vibes h2 { font-size: 1.85rem !important; }
            #vibes [style*="gap: 24px"] { gap: 18px !important; }
            #vibes .glass-card { padding: 24px 18px !important; }
            #vibes h3 { font-size: 1.15rem !important; }
            #vibes .glass-card p { font-size: 0.95rem !important; margin-bottom: 12px !important; }
            #vibes .glass-card > div:first-child { width: 64px !important; height: 64px !important; margin-bottom: 14px !important; border-radius: 18px !important; }
            #vibes .glass-card > div:first-child i { font-size: 1.5rem !important; }
            #about .glass-card { padding: 32px 24px !important; }
            #about h2 { font-size: 1.75rem !important; }
            #team section.container { padding: 3rem 0 !important; }
            #team h2 { font-size: 1.85rem !important; }
            #stories > div { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
            #stories p { max-width: 100% !important; }
            .story-grid { margin-top: 36px; gap: 20px; }
            .story-card { height: 320px; border-radius: 24px; }
            .story-overlay h3 { font-size: 1.4rem !important; }
            #faq section.container { padding: 2rem 0 4rem !important; }
            #faq h2 { font-size: 1.75rem !important; }
            .faq-grid { margin-top: 24px; gap: 12px; }
            .faq-item { padding: 18px 20px !important; }
            .testimonial-scroll { padding-left: 32px; padding-right: 32px; }
            .testimonial-item { min-width: min(300px, calc(100vw - 104px)); padding: 28px 24px; }
            section[style*="padding-bottom: 6rem"] .glass-card { padding: 48px 28px !important; }
            section[style*="padding-bottom: 6rem"] .glass-card img { width: 52px !important; height: 52px !important; margin-bottom: 16px !important; }
            section[style*="padding-bottom: 6rem"] h2 { font-size: 1.9rem !important; margin-bottom: 18px !important; }
            section[style*="padding-bottom: 6rem"] .glass-card > p { font-size: 1.1rem !important; margin-bottom: 28px !important; }
            section[style*="padding-bottom: 6rem"] .btn { min-height: 46px !important; padding: 14px 36px !important; font-size: 1.1rem !important; }
            .testimonial-item p { font-size: 1.1rem !important; }
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
            .footer-brand p { max-width: 100%; }
            .footer-bottom p { font-size: 0.85rem; }
        }

        @media (max-width: 640px) {
            .container { padding-left: 32px; padding-right: 32px; }
            nav { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
            .step-card { padding: 28px 24px !important; }
            #vibes .vibes-grid { gap: 20px !important; }
            .main { padding-left: 20px; padding-right: 20px; }
            .hero h1 { font-size: 1.75rem; }
            .hero-actions .btn-large { padding: 14px 24px; font-size: 1rem; }
            #features section.container { padding: 2.5rem 0 !important; }
            .display-text { font-size: 1.6rem !important; }
            #steps [style*="gap: 28px"] { gap: 20px !important; }
            #vibes [style*="gap: 24px"] { gap: 16px !important; }
            #vibes .glass-card { padding: 20px 16px !important; }
            #vibes h3 { font-size: 1.1rem !important; }
            #vibes .glass-card p { font-size: 0.9rem !important; margin-bottom: 12px !important; }
            #vibes .glass-card a { font-size: 0.9rem !important; }
            #vibes .glass-card > div:first-child { width: 56px !important; height: 56px !important; margin-bottom: 12px !important; border-radius: 16px !important; }
            #vibes .glass-card > div:first-child i { font-size: 1.35rem !important; }
            .pricing-card { padding: 32px 24px !important; }
            .awards-grid { gap: 6px !important; padding: 0 !important; }
            .awards-grid i { font-size: 1.25rem !important; margin-bottom: 4px !important; }
            .awards-grid h4 { font-size: 0.75rem !important; margin-bottom: 2px !important; letter-spacing: -0.5px; }
            .awards-grid p { font-size: 0.65rem !important; letter-spacing: -0.2px; line-height: 1.2 !important; }
            #faq section.container > div { grid-template-columns: 1fr !important; gap: 32px !important; }
            .footer-grid { grid-template-columns: 1fr; text-align: center; }
            .footer-brand { display: flex; flex-direction: column; align-items: center; }
            .footer-bottom { flex-direction: column; text-align: center; }
        }

        @media (max-width: 480px) {
            body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
            .container { padding-left: 25px; padding-right: 25px; }
            nav { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
            .logo span { font-size: 1.2rem; }
            .main { padding-left: 20px; padding-right: 20px; }
            .auth-actions .btn { padding: 12px 16px; min-width: 44px; font-size: 0; }
            .auth-actions .btn i { font-size: 1rem; margin: 0; }
            .testimonial-scroll { padding-left: 32px; padding-right: 32px; }
            .hero { padding: 2rem 0 1.5rem; }
            .hero h1 { font-size: 1.6rem; margin-bottom: 14px; }
            .badge { padding: 6px 16px; font-size: 0.8rem; }
            .hero-text .badge img { width: 16px; height: 16px; }
            .hero-visual { min-height: 220px; }
            .floating-card { width: 160px; padding: 12px; font-size: 0.8rem; }
            .floating-card h4 { font-size: 0.95rem !important; }
            .card-1 { right: 0; }
            .card-3 { width: 150px; left: 0; }
            .marquee-tag { padding: 8px 18px; font-size: 0.85rem; }
            .feature-icon { width: 48px; height: 48px; font-size: 1.25rem; }
            #features h3 { font-size: 1.35rem !important; }
            #features [style*="grid-template-columns: repeat(4)"] { grid-template-columns: 1fr !important; gap: 16px !important; }
            #features [style*="display: grid"][style*="repeat(4)"] ~ div { grid-template-columns: 1fr !important; gap: 16px !important; }
            #steps .glass-card { padding: 28px 20px !important; }
            #steps h3 { font-size: 1.35rem !important; }
            #vibes [style*="gap: 24px"] { gap: 14px !important; }
            #vibes .glass-card { padding: 16px 14px !important; }
            #vibes h3 { font-size: 1rem !important; margin-bottom: 6px !important; }
            #vibes .glass-card p { font-size: 0.82rem !important; margin-bottom: 10px !important; }
            #vibes .glass-card a { font-size: 0.82rem !important; }
            #vibes .glass-card > div:first-child { width: 48px !important; height: 48px !important; margin-bottom: 10px !important; border-radius: 12px !important; }
            #vibes .glass-card > div:first-child i { font-size: 1.15rem !important; }
            #about .glass-card { padding: 24px 18px !important; }
            #about h2 { font-size: 1.5rem !important; }
            #team .glass-card { padding: 28px 20px !important; }
            .story-card { height: 280px; border-radius: 20px; }
            .testimonial-item { padding: 20px 16px !important; margin-bottom: 16px !important; }
            .testimonial-item p { font-size: 1rem !important; margin-bottom: 16px !important; }
            .testimonial-item i { font-size: 1.5rem !important; margin-bottom: 10px !important; }
            .testimonial-item img { width: 40px !important; height: 40px !important; }
            .glass-card[style*="padding: 50px"] { padding: 28px 20px !important; }
            .awards-grid { gap: 24px !important; }
            #faq h2 { font-size: 1.5rem !important; }
            section[style*="padding-bottom: 4rem"] { padding: 2rem 0 !important; }
            section[style*="padding-bottom: 4rem"] h2 { font-size: 1.75rem !important; }
            section[style*="padding-bottom: 4rem"] form { flex-direction: column; width: 100%; }
            section[style*="padding-bottom: 4rem"] input { min-width: 100% !important; }
            section[style*="padding-bottom: 6rem"] { padding: 2.5rem 28px !important; }
            section[style*="padding-bottom: 6rem"] .glass-card { padding: 36px 24px !important; }
            section[style*="padding-bottom: 6rem"] .glass-card img { width: 48px !important; height: 48px !important; margin-bottom: 14px !important; }
            section[style*="padding-bottom: 6rem"] h2 { font-size: 1.6rem !important; margin-bottom: 16px !important; }
            section[style*="padding-bottom: 6rem"] .glass-card > p { font-size: 1rem !important; margin-bottom: 24px !important; }
            section[style*="padding-bottom: 6rem"] .btn { min-height: 44px !important; padding: 12px 28px !important; font-size: 1.05rem !important; }
            section[style*="padding-bottom: 6rem"] .glass-card > div:last-child { font-size: 0.8rem !important; margin-top: 16px !important; }
            footer { padding: 36px 0 24px; margin-top: 36px; }
            .footer-bottom p { font-size: 0.8rem; line-height: 1.4; }
        }

        @media (max-width: 380px) {
            .main { padding-left: 20px; padding-right: 20px; }
            .hero h1 { font-size: 1.45rem; }
            .hero-actions .btn-large { padding: 12px 20px; font-size: 0.95rem; }
            .floating-card { width: 140px; padding: 10px; }
            .story-card { height: 260px; }
            .testimonial-item { min-width: 100%; }
            section[style*="padding-bottom: 6rem"] .glass-card { padding: 28px 20px !important; }
            section[style*="padding-bottom: 6rem"] .glass-card img { width: 40px !important; height: 40px !important; margin-bottom: 12px !important; }
            section[style*="padding-bottom: 6rem"] h2 { font-size: 1.4rem !important; margin-bottom: 12px !important; }
            section[style*="padding-bottom: 6rem"] .glass-card > p { font-size: 0.95rem !important; margin-bottom: 20px !important; }
            section[style*="padding-bottom: 6rem"] .btn { min-height: 42px !important; padding: 10px 24px !important; font-size: 0.95rem !important; }
            #vibes .glass-card { padding: 14px 12px !important; }
            #vibes h3 { font-size: 0.95rem !important; }
            #vibes .glass-card > div:first-child { width: 42px !important; height: 42px !important; }
            #vibes .glass-card > div:first-child i { font-size: 1rem !important; }
        }

/* Gallery Specific CSS */
        .gallery-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 24px 60px;
        }
        .gallery-title {
            text-align: center;
            margin-bottom: 12px;
        }
        .gallery-title h1 { font-size: 2.2rem; font-weight: 700; }
        .gallery-title .badge {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary);
            padding: 6px 16px;
            border-radius: 60px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 16px;
        }
        .gallery-subtitle {
            text-align: center;
            color: var(--text-muted);
            font-size: 1.05rem;
            margin-bottom: 36px;
            max-width: 560px;
            margin-left: auto;
            margin-right: auto;
        }
        .template-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 28px;
            justify-content: center;
        }
        .template-tab {
            padding: 10px 18px;
            border: none;
            border-radius: var(--radius-sm);
            background: white;
            color: var(--text-muted);
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            font-family: inherit;
            border: 1px solid var(--border);
        }
        .template-tab:hover {
            background: var(--primary-light);
            color: var(--primary);
            border-color: transparent;
        }
        .template-tab.active {
            background: var(--primary);
            color: white;
            border-color: transparent;
        }
        .template-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }
        .template-card {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid var(--border);
            background: white;
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: var(--shadow);
        }
        .template-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary);
        }
        .template-card-placeholder {
            width: calc(100% - 16px);
            margin: 8px 8px 0;
            padding-top: 70%;
            background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
            border-radius: 14px;
            position: relative;
            overflow: hidden;
        }
        .template-iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 400%;
            height: 400%;
            max-width: none !important;
            max-height: none !important;
            border: none;
            transform: scale(0.25);
            transform-origin: top left;
            pointer-events: none;
            background: white;
        }
        .template-card-label {
            position: absolute;
            top: 18px;
            left: 18px;
            background: rgba(0,0,0,0.6);
            color: #fff;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        .template-card-title {
            padding: 12px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-main);
        }
        .template-card-preview {
            padding: 0 12px 12px;
            font-size: 0.85rem;
            color: var(--primary);
            font-weight: 600;
        }
        .template-card-preview i { margin-right: 6px; font-size: 0.8rem; }
        .template-card.hidden-by-filter { display: none; }

        @media (max-width: 640px) {
            .template-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
            .gallery-title h1 { font-size: 1.75rem; }
            .gallery-container { padding: 24px 20px 48px; }
        }
/* Global Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 100, 0.3);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 100, 100, 0.5);
}
