/* =====================================================
   PromptGet — Premium Landing CSS
   Rich Charcoal · Soft Dark Blue-Gray · Muted Indigo
   ===================================================== */

:root {
    /* ── Backgrounds ───────────────────────────────── */
    --bg-body: #05050A;
    /* Rich Charcoal                    */
    --bg-surface: #090C10;
    /* Between body and card            */
    --bg-card: #0D1117;
    /* Soft Dark Blue-Gray              */
    --bg-glass: rgba(255, 255, 255, 0.035);

    /* ── Text ──────────────────────────────────────── */
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --text-tertiary: #6B7280;

    /* ── Premium Color Accents ─────────────────────── */
    /*   Indigo  — primary brand glow                  */
    --aurora-1: #4F46E5;
    /*   Violet    — warm contrast accent              */
    --aurora-2: #4338CA;
    /*   Rose    — energy / CTA highlight              */
    --aurora-3: #6366F1;
    /*   Blue  — deep cool tone                        */
    --aurora-4: #3B82F6;

    /* Glow halos */
    --aurora-glow: rgba(79, 70, 229, 0.22);
    --aurora-glow-2: rgba(67, 56, 202, 0.14);
    --aurora-glow-3: rgba(99, 102, 241, 0.12);

    /* ── Borders ───────────────────────────────────── */
    --border: #1F2937;
    --border-highlight: rgba(255, 255, 255, 0.10);
    --border-glow: rgba(79, 70, 229, 0.30);

    /* ── Typography ────────────────────────────────── */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* ── Radii ─────────────────────────────────────── */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* ── Shadows ───────────────────────────────────── */
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 40px rgba(124, 111, 247, 0.18),
        0 0 80px rgba(240, 168, 74, 0.08);
}

/* =====================================================
   Reset & Base
   ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none;
}

html {
    scroll-behavior: auto;
    overflow-x: hidden;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* =====================================================
   Custom Sleek Scrollbar
   ===================================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    /* Looser line height for breathing room */
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
    /* Slight tracking for body */
}

/* Page Specific Backgrounds */
.page-landing {
    background: radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.08), transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.05), transparent 60%),
        var(--bg-body) !important;
}

.page-gallery {
    background: radial-gradient(circle at 20% 30%, rgba(45, 212, 191, 0.06), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(79, 70, 229, 0.06), transparent 50%),
        var(--bg-body) !important;
}

.page-trending {
    background: radial-gradient(circle at 80% 20%, rgba(240, 98, 146, 0.06), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(240, 168, 74, 0.05), transparent 50%),
        var(--bg-body) !important;
}

/* =====================================================
   Typography
   ===================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    /* Tighter tracking for headings */
    font-weight: 700;
    line-height: 1.15;
}

.display-text {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #c7c7e0 60%, #9090c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.75;
}

.gradient-accent {
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--aurora-1);
    background: rgba(79, 70, 229, 0.09);
    border: 1px solid rgba(79, 70, 229, 0.22);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

/* =====================================================
   Layout
   ===================================================== */
.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

main {
    flex: 1;
}

/* =====================================================
   Background Effects (Optimized for Performance)
   ===================================================== */
.aurora-bg {
    display: none;
    /* Disabled heavy blur animations due to severe lag. Static bg used instead. */
}

/* Noise texture overlay */
body::before {
    display: none;
    /* SVG noise filter causes extreme GPU lag. Disabled. */
}

/* Grid pattern */
.hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    z-index: 0;
    pointer-events: none;
}

/* =====================================================
   Navigation — Glassmorphism with scroll effect
   ===================================================== */
.nav-landing {
    position: fixed;
    top: 15px;
    left: 20px;
    right: 20px;
    padding: 12px 0;
    z-index: 100;
    background: rgba(11, 15, 20, 0.6);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-landing.scrolled {
    top: 10px;
    padding: 8px 0;
    background: rgba(7, 10, 15, 0.8);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(79, 70, 229, 0.1);
}

/* =====================================================
   Page Switcher — Sticky Floating Pill
   ===================================================== */
.page-switcher {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    display: flex;
    justify-content: center;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    pointer-events: none;
    /* Let clicks pass through container */
}

.page-switcher-inner {
    pointer-events: auto;
    /* Re-enable clicks for the pill itself */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    background: rgba(11, 15, 20, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.page-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.page-switcher-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.page-switcher-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #4F46E5, #6366F1);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
    font-weight: 600;
}

/* =====================================================
   Page Transitions — Smooth Fade
   ===================================================== */
@keyframes page-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes page-fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

body.page-enter {
    animation: page-fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

body.page-exit {
    animation: page-fade-out 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* =====================================================
   Skeleton Loading Screens
   ===================================================== */
@keyframes skeleton-pulse {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg,
            rgba(31, 41, 55, 0.6) 25%,
            rgba(55, 65, 81, 0.4) 50%,
            rgba(31, 41, 55, 0.6) 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.8s ease-in-out infinite;
    border-radius: 12px;
}

.skeleton-card {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.skeleton-text {
    height: 14px;
    border-radius: 8px;
    margin-top: 10px;
}

.skeleton-text-sm {
    height: 10px;
    width: 60%;
    border-radius: 6px;
    margin-top: 8px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.brand {
    grid-column: 2; /* Move logo to center column */
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.2s;
}

.brand:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.brand-icon {
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(79, 70, 229, 0.4));
}

.brand-text {
    font-family: var(--font-display);
    background: linear-gradient(135deg, #fff 0%, #e0e0fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    grid-column: 3; /* Push links to right column */
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all 0.2s;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--aurora-1), var(--aurora-2));
    border-radius: 2px;
    transition: width 0.3s;
}

.nav-item:hover {
    color: white;
}

.nav-item:hover::after {
    width: 30px;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Hero Content Entrance Animations */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .pill-badge {
    animation-delay: 0.1s;
}

.hero-content .hero-title {
    animation-delay: 0.2s;
}

.hero-content .subtitle {
    animation-delay: 0.3s;
}

.hero-content .pro-tip-container {
    animation-delay: 0.4s;
}

.hero-content .cta-row {
    animation-delay: 0.5s;
}

.hero-content .hero-meta {
    animation-delay: 0.6s;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(67, 56, 202, 0.08));
    border: 1px solid rgba(79, 70, 229, 0.28);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--aurora-1);
    width: fit-content;
    font-weight: 600;
    letter-spacing: 0.02em;
    animation: badge-pulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.12);
    }

    50% {
        box-shadow: 0 0 36px rgba(79, 70, 229, 0.30);
    }
}

.pill-badge i {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 0.8;
    }
}

.hero-title {
    font-size: clamp(3.5rem, 7.5vw, 6rem);
    line-height: 1.0;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-title .line-1 {
    background: linear-gradient(135deg, #fff 0%, #d0d0f0 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    animation: text-shine 5s linear infinite;
}

@keyframes text-shine {
    to {
        background-position: 200% center;
    }
}

.hero-title .line-2 {
    background: linear-gradient(135deg, var(--aurora-1) 0%, var(--aurora-2) 50%, var(--aurora-3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.6em;
    display: block;
    margin-top: 12px;
    letter-spacing: -0.02em;
}

/* Pro Tip */
.pro-tip-container {
    margin: 0;
}

.pro-tip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(79, 70, 229, 0.07);
    color: #e0e7ff;
    /* Lighter text for better contrast */
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    border: 1px solid rgba(79, 70, 229, 0.25);
    line-height: 1.5;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pro-tip i {
    font-size: 0.95rem;
    color: var(--aurora-1);
    /* Keep icon colorful */
    flex-shrink: 0;
}

/* CTA Row */
.cta-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-aurora {
    position: relative;
    padding: 14px 34px;
    background: linear-gradient(135deg, var(--aurora-1) 0%, var(--aurora-3) 50%, var(--aurora-1) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.35), 0 0 0 0 rgba(67, 56, 202, 0.15);
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-aurora::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--aurora-2) 0%, var(--aurora-3) 60%, var(--aurora-1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-aurora span {
    position: relative;
    z-index: 1;
}

.btn-aurora:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.45), 0 0 60px rgba(67, 56, 202, 0.18);
}

.btn-aurora:hover::before {
    opacity: 1;
}

.btn-aurora:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-glass {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Softer default border */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.hero-stars {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars-row {
    display: flex;
    gap: 2px;
}

.stars-row i {
    color: #fbbf24;
    font-size: 0.85rem;
}

.hero-meta-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.hero-meta-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
}

.copy-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 0.82rem;
    font-family: var(--font-mono);
}

/* =====================================================
   Hero Visual — 3D Cards
   ===================================================== */
.hero-visual {
    position: relative;
    height: 580px;
    opacity: 0;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.floating-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1200px;
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: stack-float 8s ease-in-out infinite;
}

@keyframes stack-float {

    0%,
    100% {
        transform: translateY(0) rotateY(-8deg) rotateX(4deg);
    }

    50% {
        transform: translateY(-12px) rotateY(-6deg) rotateX(5deg);
    }
}

.floating-card-stack:hover {
    transform: rotateY(-4deg) rotateX(2deg);
}

.float-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-highlight);
    background: var(--bg-card);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s;
}

.float-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.float-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.float-card:hover img {
    transform: scale(1.05);
}

@keyframes float-card-1 {

    0%,
    100% {
        transform: translate(-50%, -50%) translateZ(60px) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateZ(60px) translateY(-15px);
    }
}

.card-1 {
    width: 300px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(60px);
    z-index: 3;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(45, 212, 191, 0.12);
    animation: float-card-1 6s ease-in-out infinite;
}

@keyframes float-card-2 {

    0%,
    100% {
        transform: translate(-50%, -50%) translateZ(0px) rotate(-16deg) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateZ(0px) rotate(-16deg) translateY(-10px);
    }
}

.card-2 {
    width: 250px;
    height: 340px;
    top: 28%;
    left: 16%;
    transform: translate(-50%, -50%) translateZ(0px) rotate(-16deg);
    z-index: 2;
    opacity: 0.75;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: float-card-2 7s ease-in-out infinite 1s;
}

@keyframes float-card-3 {

    0%,
    100% {
        transform: translate(-50%, -50%) translateZ(-60px) rotate(16deg) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateZ(-60px) rotate(16deg) translateY(-12px);
    }
}

.card-3 {
    width: 250px;
    height: 340px;
    top: 68%;
    left: 76%;
    transform: translate(-50%, -50%) translateZ(-60px) rotate(16deg);
    z-index: 1;
    opacity: 0.55;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    animation: float-card-3 5.5s ease-in-out infinite 0.5s;
}

.hero-wrapper:hover .card-2 {
    transform: translate(-65%, -50%) translateZ(20px) rotate(-22deg);
    opacity: 0.85;
}

.hero-wrapper:hover .card-3 {
    transform: translate(-35%, -50%) translateZ(-30px) rotate(22deg);
    opacity: 0.65;
}

/* Card glow orb */
.card-glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.22) 0%, rgba(67, 56, 202, 0.10) 60%, transparent 80%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(48px);
    animation: orb-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orb-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* =====================================================
   Scroll Reveal Animations
   ===================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal="scale"] {
    transform: scale(0.9) translateY(20px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

[data-reveal-delay="100"] {
    transition-delay: 0.1s;
}

[data-reveal-delay="200"] {
    transition-delay: 0.2s;
}

[data-reveal-delay="300"] {
    transition-delay: 0.3s;
}

[data-reveal-delay="400"] {
    transition-delay: 0.4s;
}

[data-reveal-delay="500"] {
    transition-delay: 0.5s;
}

/* =====================================================
   Marquee
   ===================================================== */
.marquee-section {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    overflow: hidden;
    position: relative;
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-body), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-body), transparent);
}

.marquee-content {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s;
}

.marquee-item:hover {
    border-color: rgba(45, 212, 191, 0.3);
    color: var(--text-primary);
}

.marquee-item span {
    color: var(--aurora-1);
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =====================================================
   Stats Section
   ===================================================== */
.stats-section {
    padding: 100px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.stat-item {
    background: var(--bg-card);
    padding: 48px 36px;
    text-align: center;
    position: relative;
    transition: background 0.3s;
}

.stat-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-item:hover::after {
    opacity: 0.04;
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff, var(--aurora-1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =====================================================
   Features Bento Grid
   ===================================================== */
.features-section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, #fff, #8888a8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    min-height: 260px;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.bento-card:hover {
    border-color: rgba(79, 70, 229, 0.28);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(79, 70, 229, 0.12);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(67, 56, 202, 0.04) 60%, var(--bg-card) 100%);
    min-height: 540px;
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    font-size: 28px;
    margin-bottom: 24px;
    display: block;
}

.bento-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 22px;
}

.bento-card h3 {
    font-size: 1.35rem;
    color: white;
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Code Preview */
.code-preview {
    background: #000;
    padding: 20px 24px;
    border-radius: 14px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.8;
}

.token-1 {
    color: var(--aurora-2);
    font-weight: 600;
}

.token-2 {
    color: var(--aurora-1);
}

/* Feature tag pills */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.feature-tag {
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

/* =====================================================
   How It Works Section
   ===================================================== */
.how-section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.how-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.6% + 28px);
    right: calc(16.6% + 28px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--aurora-1), var(--aurora-2), transparent);
    opacity: 0.3;
}

.step-item {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
}

.step-item:hover {
    border-color: rgba(79, 70, 229, 0.3);
    transform: translateY(-6px);
}

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: white;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.step-item h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 12px;
}

.step-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =====================================================
   SEO Content Block
   ===================================================== */
.seo-section {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.seo-inner {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.seo-inner h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff, #8888a8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-inner p {
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* =====================================================
   Footer
   ===================================================== */
.footer-minimal {
    padding: 72px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Stronger border for separation */
    text-align: center;
    background: rgba(5, 5, 10, 0.45);
    /* High transparency for image matching */
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    position: relative;
}

.footer-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--aurora-1), var(--aurora-2), var(--aurora-3), transparent);
    opacity: 0.55;
}

.footer-logo {
    margin-bottom: 28px;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    transition: opacity 0.2s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-logo img {
    height: 28px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all 0.2s;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.07);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.footer-social a:hover {
    background: rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.35);
    color: var(--aurora-1);
    transform: translateY(-2px);
}

.footer-copy {
    color: var(--text-tertiary);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
}

/* =====================================================
   Image Marquee (Mobile)
   ===================================================== */
.mobile-marquee {
    display: none;
}

.image-marquee-content {
    gap: 14px;
    animation-duration: 20s;
}

.marquee-image-item {
    width: 170px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
    position: relative;
    transition: border-color 0.2s;
}

.marquee-image-item:hover {
    border-color: var(--border-highlight);
}

.marquee-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.marquee-image-item:hover img {
    transform: scale(1.08);
}

/* =====================================================
   Responsive — Tablet
   ===================================================== */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        align-items: center;
    }

    .pill-badge {
        margin: 0 auto;
    }

    .hero-meta {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 280px;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .steps-grid::before {
        display: none;
    }
}

/* =====================================================
   Responsive — Mobile
   ===================================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Nav */
    .nav-landing {
        padding: 14px 0;
        background: rgba(5, 5, 8, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        position: fixed;
    }

    .nav-item {
        display: none;
    }

    .nav-links .btn-glass {
        display: flex;
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    /* Hero */
    .hero-wrapper {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 3rem;
    }

    .cta-row {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn-aurora,
    .btn-glass {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-meta {
        flex-direction: column;
        gap: 10px;
    }

    .hero-meta-divider {
        display: none;
    }

    /* Marquee */
    .desktop-marquee {
        display: none;
    }

    .mobile-marquee {
        display: block;
        padding: 20px 0;
    }

    /* Stats */
    .stats-section {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        padding: 32px 20px;
    }

    /* Features */
    .features-section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
        min-height: auto;
    }

    .bento-card {
        padding: 28px;
        min-height: auto;
    }

    /* Steps */
    .how-section {
        padding: 80px 0;
    }

    /* Footer */
    .footer-links {
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        padding: 24px 16px;
    }
}

/* =====================================================
   Mobile — Gallery / Trending Pages
   ===================================================== */
@media (max-width: 768px) {

    /* Nav — hide desktop links, compact branding */
    .nav-landing {
        padding: 10px 0;
    }

    .nav-landing.scrolled {
        padding: 8px 0;
    }

    .nav-links {
        display: none;
    }

    .brand img {
        height: 28px;
    }

    /* Page Switcher — bottom pill, fits mobile */
    .page-switcher {
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }

    .page-switcher-inner {
        padding: 4px;
    }

    .page-switcher-btn {
        padding: 9px 22px;
        font-size: 0.82rem;
    }

    /* Hero — compact spacing */
    .hero {
        padding: 40px 0 24px !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .badge-pill {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    /* Search — full width, smaller */
    .search-container {
        max-width: 100%;
    }

    .search-container input {
        padding: 14px 16px 14px 48px;
        font-size: 0.9rem;
        border-radius: 14px;
    }

    .search-icon {
        left: 18px;
        font-size: 1rem;
    }

    /* Trending tags */
    .trending-tags {
        gap: 6px;
        font-size: 0.8rem;
    }

    .tag-pill {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    /* Stats banner */
    .stats-banner {
        gap: 16px !important;
        font-size: 0.85rem;
    }

    /* Skeleton grid */
    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Footer */
    .footer-minimal {
        padding: 40px 0 80px;
    }

    .footer-minimal .container {
        gap: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-copy {
        font-size: 0.75rem;
    }

    /* Add bottom padding for page-switcher clearance */
    main.container {
        padding-bottom: 80px;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .page-switcher-btn {
        padding: 8px 16px;
        font-size: 0.78rem;
        gap: 6px;
    }

    .search-container input {
        padding: 12px 14px 12px 42px;
        font-size: 0.85rem;
    }
}

/* =====================================================
   Scroll Reveal Animations
   ===================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    /* More dramatic distance */
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Slower, premium easing */
}

[data-reveal="left"] {
    transform: translateX(-50px) scale(0.98);
}

[data-reveal="right"] {
    transform: translateX(50px) scale(0.98);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

[data-reveal-delay="100"] {
    transition-delay: 100ms;
}

[data-reveal-delay="200"] {
    transition-delay: 200ms;
}

[data-reveal-delay="300"] {
    transition-delay: 300ms;
}

[data-reveal-delay="400"] {
    transition-delay: 400ms;
}

[data-reveal-delay="500"] {
    transition-delay: 500ms;
}

/* Enhanced Button Pulse */
@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(79, 70, 229, 0.6);
    }

    100% {
        box-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
    }
}

.btn-aurora {
    animation: glow-pulse 3s infinite;
}

/* =====================================================
   Pagination Controls
   ===================================================== */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 0 60px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: transparent;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}