/**
 * Valplaude Landing Page Styles
 * Premium dark theme with animations
 */

/* ===== Landing Page Variables ===== */
:root {
    --landing-bg: #000000;
    --landing-surface: #0a0a0a;
    --landing-surface-alt: #0f0f0f;
    --landing-border: rgba(255, 255, 255, 0.06);
    --landing-border-glow: rgba(59, 130, 246, 0.15);
    --landing-text: rgba(255, 255, 255, 0.92);
    --landing-text-muted: rgba(255, 255, 255, 0.55);
    --landing-accent: #FFFFFF;
    --landing-blue: #3B82F6;
    --landing-blue-light: #60A5FA;
    --landing-blue-glow: rgba(59, 130, 246, 0.35);
    --landing-glass: rgba(255, 255, 255, 0.03);
    --landing-glass-border: rgba(255, 255, 255, 0.08);
}

/* ===== Base Landing Styles ===== */
.landing-page {
    background: var(--landing-bg);
    color: var(--landing-text);
    min-height: 100vh;
    overflow-x: hidden;
}

.landing-page * {
    box-sizing: border-box;
}

/* ===== Container ===== */
.landing-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.landing-container-sm {
    max-width: 800px;
}

.landing-container-lg {
    max-width: 1400px;
}

/* ===== Navigation ===== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--landing-border);
    padding: 16px 0;
}

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

.landing-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--landing-accent);
    letter-spacing: -0.03em;
}

.landing-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--landing-accent);
    color: var(--landing-bg);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.landing-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #09090B 0%, #0a0a12 50%, #09090B 100%);
}

/* Animated gradient background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 800px 600px at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 600px 400px at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 500px 500px at 50% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    animation: hero-gradient-shift 20s ease-in-out infinite;
}

@keyframes hero-gradient-shift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, 1%) rotate(1deg);
    }

    50% {
        transform: translate(-1%, 2%) rotate(-1deg);
    }

    75% {
        transform: translate(-2%, -1%) rotate(0.5deg);
    }
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float-orb 15s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--landing-blue-glow) 0%, transparent 70%);
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--landing-blue-glow) 0%, transparent 70%);
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }

    75% {
        transform: translate(-30px, -10px) scale(1.02);
    }
}

/* Grid lines effect */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 20%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    animation: hero-glow 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes hero-glow {

    0%,
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--landing-blue-light);
    margin-bottom: 32px;
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.2);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(59, 130, 246, 0.15);
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--landing-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--landing-accent);
    color: var(--landing-bg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.1);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.hero-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--landing-text-muted);
}

/* ===== Section Base ===== */
.section {
    padding: 120px 24px;
    position: relative;
}

.section-dark {
    background: var(--landing-bg);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.section-alt {
    background: var(--landing-surface);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(99, 102, 241, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--landing-text-muted);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--landing-text-muted);
    line-height: 1.7;
}

/* ===== Problem Section ===== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--landing-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--landing-glass-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--landing-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12),
        0 0 60px rgba(59, 130, 246, 0.05);
    background: rgba(59, 130, 246, 0.03);
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-card:hover .problem-icon {
    color: var(--landing-blue-light);
}

.problem-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--landing-text-muted);
    transition: color 0.3s ease;
}

.problem-card-text {
    font-size: 0.95rem;
    color: var(--landing-text-muted);
    line-height: 1.6;
}

/* ===== Solution Section ===== */
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solution-text h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--landing-border);
}

.solution-list li:last-child {
    border-bottom: none;
}

.solution-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-list-text {
    font-size: 1rem;
    color: var(--landing-text);
}

.solution-visual {
    background: linear-gradient(135deg, var(--landing-glass) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--landing-glass-border);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.05);
}

.solution-mockup {
    aspect-ratio: 4/3;
    background: var(--landing-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-text-muted);
    font-size: 0.875rem;
}

/* ===== How It Works ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 48px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--landing-glass) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--landing-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--landing-accent);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    color: var(--landing-blue-light);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-description {
    font-size: 0.95rem;
    color: var(--landing-text-muted);
    line-height: 1.6;
}

/* ===== Features Bento Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.feature-card {
    background: var(--landing-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--landing-glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--landing-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12),
        0 0 80px rgba(59, 130, 246, 0.06);
    background: rgba(59, 130, 246, 0.04);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.large {
    grid-column: span 2;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--landing-blue-light);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--landing-text-muted);
    line-height: 1.6;
}

/* ===== Built For Section ===== */
.built-for-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.built-for-item {
    background: var(--landing-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--landing-glass-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.built-for-item:hover {
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12),
        0 0 50px rgba(59, 130, 246, 0.05);
    background: rgba(59, 130, 246, 0.04);
}

.built-for-item svg {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    color: var(--landing-text-muted);
    transition: color 0.3s ease;
}

.built-for-item:hover svg {
    color: var(--landing-blue-light);
}

.built-for-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== Pricing Section ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--landing-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--landing-glass-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12),
        0 0 80px rgba(59, 130, 246, 0.06);
    background: rgba(59, 130, 246, 0.03);
}

.pricing-card.featured {
    border-color: rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--landing-blue) 0%, #8B5CF6 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.pricing-period {
    color: var(--landing-text-muted);
    font-size: 1rem;
}

.pricing-description {
    color: var(--landing-text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--landing-border);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    color: #22C55E;
    flex-shrink: 0;
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 14px 24px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pricing-cta-primary {
    background: var(--landing-accent);
    color: var(--landing-bg);
}

.pricing-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.pricing-cta-secondary {
    background: transparent;
    color: var(--landing-accent);
    border: 1px solid var(--landing-border);
}

.pricing-cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--landing-text-muted);
    font-size: 0.875rem;
}

/* ===== Testimonials ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    perspective: 1000px;
}

.testimonial-card {
    background: var(--landing-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--landing-glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--landing-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(59, 130, 246, 0.12);
    background: rgba(59, 130, 246, 0.04);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover::after {
    opacity: 1;
}

/* Staggered floating animation for testimonials */
.testimonial-card:nth-child(1) {
    animation: testimonial-float 6s ease-in-out infinite;
    animation-delay: 0s;
}

.testimonial-card:nth-child(2) {
    animation: testimonial-float 6s ease-in-out infinite;
    animation-delay: -2s;
}

.testimonial-card:nth-child(3) {
    animation: testimonial-float 6s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes testimonial-float {

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

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

.testimonial-card:hover {
    animation-play-state: paused;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #FBBF24;
    transition: transform 0.2s ease;
}

.testimonial-card:hover .testimonial-stars svg {
    animation: star-twinkle 0.6s ease-in-out;
}

.testimonial-card:hover .testimonial-stars svg:nth-child(1) {
    animation-delay: 0s;
}

.testimonial-card:hover .testimonial-stars svg:nth-child(2) {
    animation-delay: 0.1s;
}

.testimonial-card:hover .testimonial-stars svg:nth-child(3) {
    animation-delay: 0.2s;
}

.testimonial-card:hover .testimonial-stars svg:nth-child(4) {
    animation-delay: 0.3s;
}

.testimonial-card:hover .testimonial-stars svg:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes star-twinkle {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--landing-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--landing-blue) 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.testimonial-info h4 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--landing-text-muted);
}

/* ===== Why Choose Section ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-item {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-item:hover {
    background: rgba(59, 130, 246, 0.05);
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--landing-blue-light);
    transition: all 0.3s ease;
}

.why-item:hover .why-icon {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

.why-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-description {
    font-size: 0.875rem;
    color: var(--landing-text-muted);
}

.why-highlight {
    margin-top: 48px;
    text-align: center;
    padding: 32px;
    background: var(--landing-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--landing-glass-border);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.06);
}

.why-highlight p {
    font-size: 1.25rem;
    color: var(--landing-text-muted);
}

.why-highlight strong {
    color: var(--landing-accent);
}

/* ===== FAQ Section ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--landing-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-question-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--landing-text);
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--landing-text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer-text {
    font-size: 1rem;
    color: var(--landing-text-muted);
    line-height: 1.7;
}

/* ===== Final CTA Section ===== */
.cta-section {
    text-align: center;
    padding: 120px 24px;
    background: linear-gradient(180deg, var(--landing-surface) 0%, var(--landing-bg) 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 40%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--landing-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.landing-footer {
    padding: 48px 24px;
    border-top: 1px solid var(--landing-border);
    text-align: center;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--landing-text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--landing-text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--landing-accent);
}

.footer-copy {
    color: var(--landing-text-muted);
    font-size: 0.8rem;
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

/* Stagger animation for grid items */
.stagger-animation>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-animation.visible>*:nth-child(1) {
    transition-delay: 0s;
}

.stagger-animation.visible>*:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-animation.visible>*:nth-child(3) {
    transition-delay: 0.2s;
}

.stagger-animation.visible>*:nth-child(4) {
    transition-delay: 0.3s;
}

.stagger-animation.visible>*:nth-child(5) {
    transition-delay: 0.4s;
}

.stagger-animation.visible>*:nth-child(6) {
    transition-delay: 0.5s;
}

.stagger-animation.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.large {
        grid-column: span 1;
    }

    .problem-grid,
    .built-for-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .solution-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .solution-content img {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 20px;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .step::after {
        display: none;
    }

    .features-grid,
    .problem-grid,
    .built-for-grid,
    .why-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-card.featured::before {
        top: -10px;
    }

    .landing-nav-inner {
        padding: 0 20px;
    }

    .solution-text h2 {
        text-align: center !important;
    }

    .solution-list li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        padding: 14px 28px;
        font-size: 0.9375rem;
    }

    .pricing-card {
        padding: 28px;
    }
}

/* ===== Image Lightbox ===== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    overflow: auto;
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 10px;
    line-height: 1;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

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