/**
 * vibe-working.ai - Landing Page Styles
 * A bold, dark, glassmorphism-heavy design
 */

/* ===========================================
   SCROLL SEQUENCE STYLES
   Frame-by-frame video animation on scroll
   =========================================== */

.scroll-hero
{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #0a0a0f;
}

/* Loading indicator */
.scroll-loading
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    font-family: var(--poly-font-sans);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

/* Scroll Nav (inside scroll-hero) */
.scroll-nav
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    font-family: var(--poly-font-sans);
}

.scroll-nav .nav-brand
{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

.scroll-nav .logo-img
{
    height: 28px;
    width: auto;
}

.scroll-nav .logo-icon
{
    font-size: 1.5rem;
    color: var(--poly-accent-primary);
}

.scroll-nav .nav-links
{
    display: flex;
    gap: 2rem;
}

.scroll-nav .nav-link
{
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.scroll-nav .nav-link:hover
{
    color: #fff;
}

.scroll-nav .nav-btn
{
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px);
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.scroll-nav .nav-btn:hover
{
    background: rgba(255, 255, 255, 0.3);
}

/* Canvas covers entire section */
#scroll-canvas
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero content with 3D perspective */
.scroll-content
{
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    perspective: 1000px;
    padding: 0 5%;
    z-index: 10;
}

/* Header container for 3D transforms */
.scroll-header
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    transform-style: preserve-3d;
}

.scroll-pill-label
{
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.scroll-headline
{
    font-family: var(--poly-font-display);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.05;
    max-width: 900px;
    color: #fff;
}

.scroll-highlight
{
    color: rgba(255, 255, 255, 0.6);
}

.scroll-tagline
{
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
}

/* Client logos row */
.scroll-logos
{
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.scroll-logo-item
{
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* Hero image container with 3D */
.scroll-image-container
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1000px;
    width: 80%;
    max-width: 1200px;
    z-index: 5;
    pointer-events: none;
}

.scroll-hero-image
{
    opacity: 0;
    transform: translateZ(600px);
    transform-style: preserve-3d;
}

.scroll-hero-image img,
.scroll-hero-image .video-wrapper
{
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.scroll-hero-image .hero-video
{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Outro section (after scroll sequence) */
.scroll-outro
{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--poly-bg-secondary);
    color: var(--poly-text-primary);
    padding: 5%;
    text-align: center;
    gap: 1rem;
}

.scroll-outro h1
{
    font-family: var(--poly-font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
}

.scroll-outro p
{
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================================
   RESPONSIVE - Scroll Sequence
   =========================================== */

@media (max-width: 768px)
{
    .scroll-nav
    {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .scroll-nav .nav-links
    {
        width: 100%;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .scroll-nav .nav-btn
    {
        margin-top: 0.25rem;
    }

    .scroll-content
    {
        top: 18%;
        padding: 0 7%;
    }

    .scroll-image-container
    {
        width: 92%;
    }

    .scroll-headline
    {
        font-size: 2rem;
    }

    .scroll-logos
    {
        gap: 1rem;
    }

    .scroll-logo-item
    {
        font-size: 0.65rem;
    }

    .scroll-image-container
    {
        width: 90%;
    }
}

@media (max-width: 540px)
{
    .scroll-nav
    {
        padding: 0.85rem 1rem;
    }

    .scroll-nav .nav-link
    {
        font-size: 0.75rem;
    }

    .scroll-nav .nav-btn
    {
        width: 100%;
        text-align: center;
    }

    .scroll-headline
    {
        font-size: 1.75rem;
    }

    .scroll-tagline
    {
        font-size: 0.75rem;
    }

    .scroll-image-container
    {
        width: 96%;
    }
}

/* ===========================================
   BASE & LAYOUT
   =========================================== */

html
{
    scroll-behavior: smooth;
}

:root
{
    --poly-bg-primary: #345e85;
    /* Calm Deep Blue */
    --poly-bg-secondary: #0a0a0f;
    --poly-text-primary: #ffffff;
    --poly-text-secondary: rgba(255, 255, 255, 0.9);
    --poly-accent-primary: #00e5ff;
    /* Cyan/Teal highlight */

    --poly-font-sans: 'Inter', sans-serif;
    --poly-font-display: 'Outfit', sans-serif;

    --poly-window-radius: 40px;
    --poly-pill-radius: 100px;

    /* Spacing & Layout */
    --poly-max-width: 1400px;
    --poly-header-height: 80px;
}

body
{
    font-family: var(--poly-font-sans);
    background: var(--poly-bg-secondary);
    color: var(--poly-text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    /* Removed flex centering to allow scroll sections */
}

.container
{
    max-width: var(--poly-max-width);
    margin: 0 auto;
    padding: 0 var(--poly-space-6);
}

/* ===========================================
   ANIMATED BACKGROUND
   =========================================== */

.bg-gradient
{
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.25), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.15), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(168, 85, 247, 0.12), transparent);
    animation: gradientShift 15s ease-in-out infinite alternate;
}

@keyframes gradientShift
{
    0%
    {
        opacity: 1;
        transform: scale(1);
    }

    100%
    {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.bg-noise
{
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.bg-grid
{
    position: fixed;
    inset: 0;
    z-index: -1;
    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 80% 50% at center, black, transparent);
}

/* ===========================================
   HEADER
   =========================================== */

.header
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--poly-z-fixed);
    padding: var(--poly-space-4) 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--poly-glass-border);
}

.header-inner
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo
{
    display: flex;
    align-items: center;
    gap: var(--poly-space-2);
    text-decoration: none;
    color: var(--poly-text-primary);
}

.logo-icon
{
    font-size: 1.5rem;
    color: var(--poly-accent-primary);
}

.logo-text
{
    font-family: var(--poly-font-display);
    font-weight: 600;
    font-size: var(--poly-text-lg);
}

.logo-ai
{
    color: var(--poly-accent-primary);
}

.header-cta
{
    color: var(--poly-text-secondary);
    text-decoration: none;
    font-size: var(--poly-text-sm);
    font-weight: 500;
    transition: color var(--poly-transition-fast);
}

.header-cta:hover
{
    color: var(--poly-accent-primary);
}

/* ===========================================
   IMMERSIVE WRAPPER & NAV PILL
   =========================================== */

.immersive-wrapper
{
    position: relative;
    width: 100%;
    max-width: 1600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Floating Nav Pill */
.hero-nav-pill
{
    position: absolute;
    top: 40px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--poly-pill-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.nav-brand
{
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-family: var(--poly-font-display);
}

.nav-links
{
    display: flex;
    gap: 24px;
}

.nav-link
{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover
{
    color: #fff;
}

.nav-btn
{
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.2s;
}

.nav-btn:hover
{
    background: rgba(255, 255, 255, 0.25);
}

/* ===========================================
   HERO WINDOW
   =========================================== */

.hero-window
{
    position: relative;
    width: 100%;
    height: 90vh;
    max-height: 900px;
    border-radius: var(--poly-window-radius);
    overflow: hidden;
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-bg-image
{
    position: absolute;
    inset: 0;
    background: url('hero-bg.png') center/cover no-repeat;
    transition: transform 0.5s ease-out;
}

/* Overlay gradient for text readability */
.hero-window::after
{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.2) 60%,
            rgba(0, 0, 0, 0.6) 100%);
}

.hero-content-overlay
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 80px;
    z-index: 10;
    color: #fff;
}

.hero-text-block
{
    margin-bottom: 40px;
}

.pill-label
{
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-headline
{
    font-family: var(--poly-font-display);
    font-size: 5rem;
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -2px;
}

.text-highlight
{
    color: rgba(255, 255, 255, 0.7);
}

.hero-footer-row
{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}

.hero-desc
{
    max-width: 500px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions
{
    display: flex;
    gap: 16px;
}

.btn-pill-white
{
    padding: 14px 32px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-pill-glass
{
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-pill-white:hover,
.btn-pill-glass:hover
{
    transform: translateY(-2px);
}

/* Visual Carousel Arrows */
.carousel-arrow
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.carousel-arrow:hover
{
    background: rgba(0, 0, 0, 0.5);
}

.prev
{
    left: 30px;
}

.next
{
    right: 30px;
}

/* Hide Old Sections for Now */
.features,
.social-proof,
.cta-section,
.footer
{
    display: none;
}

/* ===========================================
   HERO SECTION
   =========================================== */

.hero
{
    padding: calc(var(--poly-header-height) + var(--poly-space-20)) 0 var(--poly-space-20);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--poly-space-16);
    align-items: center;
}

.hero-badge
{
    display: inline-flex;
    align-items: center;
    gap: var(--poly-space-2);
    padding: var(--poly-space-2) var(--poly-space-4);
    background: var(--poly-glass-bg);
    border: 1px solid var(--poly-glass-border);
    border-radius: var(--poly-radius-full);
    font-size: var(--poly-text-sm);
    color: var(--poly-text-secondary);
    margin-bottom: var(--poly-space-6);
}

.badge-dot
{
    width: 8px;
    height: 8px;
    background: var(--poly-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse
{

    0%,
    100%
    {
        opacity: 1;
    }

    50%
    {
        opacity: 0.4;
    }
}

.hero-title
{
    font-family: var(--poly-font-display);
    font-size: var(--poly-text-5xl);
    font-weight: 800;
    line-height: var(--poly-leading-tight);
    letter-spacing: var(--poly-tracking-tight);
    margin-bottom: var(--poly-space-6);
}

.title-line
{
    display: block;
}

.strike
{
    position: relative;
    color: var(--poly-text-muted);
}

.strike::after
{
    content: '';
    position: absolute;
    left: -5%;
    right: -5%;
    top: 50%;
    height: 4px;
    background: var(--poly-error);
    transform: rotate(-2deg);
    border-radius: 2px;
}

.hero-subtitle
{
    font-size: var(--poly-text-xl);
    color: var(--poly-text-secondary);
    line-height: var(--poly-leading-relaxed);
    margin-bottom: var(--poly-space-8);
    max-width: 540px;
}

.hero-subtitle strong
{
    color: var(--poly-text-primary);
}

/* ===========================================
   FORM STYLES
   =========================================== */

.hero-form,
.cta-form
{
    max-width: 480px;
}

.input-group
{
    display: flex;
    gap: var(--poly-space-3);
    padding: var(--poly-space-2);
    background: var(--poly-glass-bg);
    border: 1px solid var(--poly-glass-border);
    border-radius: var(--poly-radius-lg);
    transition: border-color var(--poly-transition-fast), box-shadow var(--poly-transition-fast);
}

.input-group:focus-within
{
    border-color: var(--poly-accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.input-group input
{
    flex: 1;
    background: transparent;
    border: none;
    padding: var(--poly-space-3) var(--poly-space-4);
    font-size: var(--poly-text-base);
    color: var(--poly-text-primary);
    outline: none;
}

.input-group input::placeholder
{
    color: var(--poly-text-muted);
}

.input-group input.error
{
    color: var(--poly-error);
}

.btn-primary
{
    display: inline-flex;
    align-items: center;
    gap: var(--poly-space-2);
    padding: var(--poly-space-3) var(--poly-space-6);
    background: var(--poly-gradient-accent);
    border: none;
    border-radius: var(--poly-radius-md);
    font-size: var(--poly-text-base);
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: transform var(--poly-transition-fast), box-shadow var(--poly-transition-fast);
    white-space: nowrap;
}

.btn-primary:hover
{
    transform: translateY(-2px);
    box-shadow: var(--poly-shadow-glow);
}

.btn-primary:active
{
    transform: translateY(0);
}

.btn-primary:disabled
{
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-icon
{
    transition: transform var(--poly-transition-fast);
}

.btn-primary:hover .btn-icon
{
    transform: translateX(3px);
}

.form-hint
{
    margin-top: var(--poly-space-3);
    font-size: var(--poly-text-sm);
    color: var(--poly-text-muted);
}

/* ===========================================
   HERO VISUAL - FLOATING CARDS
   =========================================== */

.hero-visual
{
    position: relative;
    height: 400px;
}

.floating-card
{
    position: absolute;
    padding: var(--poly-space-4) var(--poly-space-5);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--poly-radius-lg);
    animation: float 6s ease-in-out infinite;
    box-shadow: var(--poly-shadow-lg);
}

.floating-card:hover
{
    border-color: var(--poly-accent-primary);
    transform: scale(1.02);
}

.card-1
{
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2
{
    top: 40%;
    right: 5%;
    animation-delay: -2s;
}

.card-3
{
    bottom: 10%;
    left: 20%;
    animation-delay: -4s;
}

@keyframes float
{

    0%,
    100%
    {
        transform: translateY(0px);
    }

    50%
    {
        transform: translateY(-15px);
    }
}

.card-icon
{
    font-size: 1.5rem;
    margin-bottom: var(--poly-space-2);
}

.card-label
{
    font-weight: 600;
    font-size: var(--poly-text-sm);
    margin-bottom: var(--poly-space-1);
}

.card-status
{
    font-size: var(--poly-text-xs);
    color: var(--poly-text-secondary);
}

/* ===========================================
   FEATURES SECTION
   =========================================== */

.features
{
    padding: var(--poly-space-20) 0;
}

.features-grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--poly-space-6);
}

.feature-card
{
    padding: var(--poly-space-8);
    transition: transform var(--poly-transition-base), box-shadow var(--poly-transition-base);
}

.feature-card:hover
{
    transform: translateY(-4px);
    box-shadow: var(--poly-shadow-lg);
}

.feature-icon
{
    font-size: 2rem;
    margin-bottom: var(--poly-space-4);
}

.feature-card h3
{
    font-size: var(--poly-text-lg);
    font-weight: 600;
    margin-bottom: var(--poly-space-3);
}

.feature-card p
{
    font-size: var(--poly-text-sm);
    color: var(--poly-text-secondary);
    line-height: var(--poly-leading-relaxed);
}

/* ===========================================
   SOCIAL PROOF
   =========================================== */

.social-proof
{
    padding: var(--poly-space-12) 0;
    text-align: center;
    border-top: 1px solid var(--poly-glass-border);
    border-bottom: 1px solid var(--poly-glass-border);
}

.proof-label
{
    font-size: var(--poly-text-sm);
    color: var(--poly-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--poly-tracking-wide);
    margin-bottom: var(--poly-space-6);
}

.proof-logos
{
    display: flex;
    justify-content: center;
    gap: var(--poly-space-10);
    flex-wrap: wrap;
}

.proof-logo
{
    font-size: var(--poly-text-lg);
    font-weight: 600;
    color: var(--poly-text-tertiary);
    opacity: 0.6;
}

/* ===========================================
   CTA SECTION
   =========================================== */

.cta-section
{
    padding: var(--poly-space-24) 0;
}

.cta-card
{
    padding: var(--poly-space-16);
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-card h2
{
    font-family: var(--poly-font-display);
    font-size: var(--poly-text-3xl);
    font-weight: 700;
    margin-bottom: var(--poly-space-4);
}

.cta-card p
{
    font-size: var(--poly-text-lg);
    color: var(--poly-text-secondary);
    margin-bottom: var(--poly-space-8);
}

.cta-form .input-group
{
    max-width: 400px;
    margin: 0 auto;
}

/* ===========================================
   FOOTER
   =========================================== */

.footer
{
    padding: var(--poly-space-8) 0;
    border-top: 1px solid var(--poly-glass-border);
}

.footer-inner
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand
{
    color: var(--poly-text-tertiary);
    font-size: var(--poly-text-sm);
}

.footer-brand a
{
    color: var(--poly-accent-primary);
    text-decoration: none;
}

.footer-brand a:hover
{
    text-decoration: underline;
}

.footer-links
{
    display: flex;
    gap: var(--poly-space-6);
}

.footer-links a
{
    color: var(--poly-text-muted);
    font-size: var(--poly-text-sm);
    text-decoration: none;
    transition: color var(--poly-transition-fast);
}

.footer-links a:hover
{
    color: var(--poly-text-secondary);
}

/* ===========================================
   MODAL
   =========================================== */

.modal
{
    position: fixed;
    inset: 0;
    z-index: var(--poly-z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--poly-space-6);
}

.modal[hidden]
{
    display: none;
}

.modal-backdrop
{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content
{
    position: relative;
    padding: var(--poly-space-10);
    text-align: center;
    max-width: 400px;
    animation: modalIn 0.3s var(--poly-transition-spring);
}

@keyframes modalIn
{
    from
    {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to
    {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-icon
{
    font-size: 3rem;
    margin-bottom: var(--poly-space-4);
}

.modal-content h3
{
    font-size: var(--poly-text-2xl);
    font-weight: 600;
    margin-bottom: var(--poly-space-2);
}

.modal-content p
{
    color: var(--poly-text-secondary);
    margin-bottom: var(--poly-space-6);
}

.btn-secondary
{
    padding: var(--poly-space-3) var(--poly-space-8);
    background: var(--poly-bg-elevated);
    border: 1px solid var(--poly-glass-border);
    border-radius: var(--poly-radius-md);
    font-size: var(--poly-text-base);
    font-weight: 500;
    color: var(--poly-text-primary);
    cursor: pointer;
    transition: background var(--poly-transition-fast);
}

.btn-secondary:hover
{
    background: var(--poly-bg-tertiary);
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 1024px)
{
    .hero .container
    {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle
    {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-form
    {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual
    {
        display: none;
    }

    .features-grid
    {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px)
{
    .hero-title
    {
        font-size: var(--poly-text-4xl);
    }

    .features-grid
    {
        grid-template-columns: 1fr;
    }

    .input-group
    {
        flex-direction: column;
    }

    .btn-primary
    {
        width: 100%;
        justify-content: center;
    }

    .footer-inner
    {
        flex-direction: column;
        gap: var(--poly-space-4);
        text-align: center;
    }

    .proof-logos
    {
        gap: var(--poly-space-6);
    }
}

/* ===========================================
   GSAP ANIMATION SUPPORT
   =========================================== */

/* Strike-through animation variable */
.strike
{
    --strike-width: 0%;
}

.strike::after
{
    width: var(--strike-width);
    left: -2%;
    right: auto;
}

/* Card glow effect */
.card-glow
{
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.3),
            rgba(139, 92, 246, 0.2),
            rgba(168, 85, 247, 0.3));
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity 0.3s ease;
}

.floating-card:hover .card-glow
{
    opacity: 0.6;
}

/* 3D perspective for cards */
.floating-card
{
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

/* ===========================================
   SHIMMER & HOLOGRAPHIC EFFECTS
   =========================================== */

/* Gradient text shimmer */
.shimmer-active
{
    background: linear-gradient(90deg,
            #fff 0%,
            #a78bfa 20%,
            #fff 40%,
            #6366f1 60%,
            #fff 80%,
            #a78bfa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer
{
    0%
    {
        background-position: 200% center;
    }

    100%
    {
        background-position: -200% center;
    }
}

/* Holographic card border */
.holo-border
{
    position: relative;
}

.holo-border::before
{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25),
            rgba(99, 102, 241, 0.5),
            rgba(139, 92, 246, 0.5),
            rgba(255, 255, 255, 0.25));
    background-size: 300% 300%;
    animation: holoShift 5s ease infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes holoShift
{

    0%,
    100%
    {
        background-position: 0% 50%;
    }

    50%
    {
        background-position: 100% 50%;
    }
}

/* Enhanced button glow pulse */
.btn-primary
{
    position: relative;
    overflow: hidden;
}

.btn-primary::before
{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before
{
    transform: translateX(100%);
}

/* Magnetic button wrapper styles */
.btn-primary,
.btn-secondary
{
    will-change: transform;
}

/* CTA card enhanced glow state */
.cta-card
{
    transition: box-shadow 0.5s ease;
}

/* Feature card 3D tilt ready */
.feature-card
{
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

/* Reveal animation states (initial hidden) */
.gsap-reveal
{
    opacity: 0;
    transform: translateY(30px);
}

/* Smooth scroll anchor offset */
html
{
    scroll-padding-top: var(--poly-header-height);
}