/* ============================================
   Growth Prophet — Landing Page Styles
   ============================================ */

/* --- Landing Body --- */
.landing-body {
    background: #09090b;
    color: #fafafa;
    overflow-x: hidden;
}

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

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

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

.landing-nav.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fafafa;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fafafa;
}

.nav-link-login {
    color: #d4d4d8 !important;
}

.nav-btn-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.nav-btn-cta:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
    top: 100px;
    right: -100px;
    opacity: 0.25;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.hero-content {
    position: relative;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

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

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: #fafafa;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #a1a1aa;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
}

.btn-hero-primary:hover {
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.6);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    color: #d4d4d8;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.btn-hero-secondary:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fafafa;
    letter-spacing: -0.5px;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: #71717a;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Hero Visual (Dashboard Mockup) --- */
.hero-visual {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero-visual-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    border-radius: 24px;
    pointer-events: none;
}

.hero-mockup {
    position: relative;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 60px -15px rgba(0, 0, 0, 0.5),
        0 0 80px -20px rgba(99, 102, 241, 0.15);
}

.mockup-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #27272a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3f3f46;
}

.mockup-dots span:first-child {
    background: #ef4444;
}

.mockup-dots span:nth-child(2) {
    background: #f59e0b;
}

.mockup-dots span:last-child {
    background: #22c55e;
}

.mockup-url {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: #71717a;
    font-weight: 500;
}

.mockup-content {
    padding: 24px 28px 20px;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.mockup-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 4px;
}

.mockup-subtitle {
    font-size: 0.8rem;
    color: #71717a;
    font-weight: 400;
}

.mockup-stats-row {
    display: flex;
    gap: 24px;
}

.mockup-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.mockup-stat-label {
    font-size: 0.7rem;
    color: #71717a;
}

.mockup-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fafafa;
}

.mockup-stat-value.accent {
    color: #818cf8;
}

.mockup-stat-value.success {
    color: #4ade80;
}

.mockup-chart {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.mockup-chart-svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: 120px 0;
    position: relative;
}

.section-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #818cf8;
    margin-bottom: 16px;
    text-align: center;
}

.section-heading {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: #fafafa;
}

.section-subheading {
    text-align: center;
    color: #a1a1aa;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -15px rgba(99, 102, 241, 0.15);
}

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

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

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.9rem;
    color: #a1a1aa;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Feature card mini chart */
.feature-visual {
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 120px;
    padding: 16px 0;
}

.mini-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.3), rgba(99, 102, 241, 0.6));
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
    min-height: 8px;
}

.mini-bar.highlight {
    background: linear-gradient(to top, #6366f1, #818cf8);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.feature-card:hover .mini-bar {
    background: linear-gradient(to top, rgba(99, 102, 241, 0.4), rgba(99, 102, 241, 0.7));
}

.feature-card:hover .mini-bar.highlight {
    background: linear-gradient(to top, #6366f1, #a78bfa);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
    padding: 120px 0;
    position: relative;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    /* allow wrapping on smaller screens */
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 36px;
    width: 100%;
    flex: 1;
    /* allow shrinking while sharing width */
    max-width: 360px;
    /* fit 3 cards gracefully inside 1200px container */
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card .btn-pricing-cta {
    margin-top: auto;
    /* push button to bottom */
}

.pricing-card-pro {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, rgba(9, 9, 11, 0) 40%);
}

.pricing-card-pro:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 60px -20px rgba(99, 102, 241, 0.25);
    transform: translateY(-4px);
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 4px;
    /* adjusted */
    flex-wrap: wrap;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #a1a1aa;
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fafafa;
    letter-spacing: -2px;
    line-height: 1;
}

.pricing-period {
    font-size: 0.9rem;
    color: #71717a;
    font-weight: 500;
    margin-left: 2px;
}

.pricing-desc {
    color: #a1a1aa;
    font-size: 0.9rem;
    margin-top: 12px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.pricing-toggle .toggle-label {
    font-size: 1rem;
    color: #a1a1aa;
    font-weight: 500;
}

.pricing-toggle .switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.pricing-toggle .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.pricing-toggle .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.pricing-toggle input:checked+.slider {
    background-color: #6366f1;
}

.pricing-toggle input:checked+.slider:before {
    transform: translateX(24px);
}

.discount-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 6px;
    vertical-align: middle;
}

.billed-annually-note {
    font-size: 0.75rem;
    color: #71717a;
    display: block;
    min-height: 18px;
    /* reserve space */
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #d4d4d8;
}

.btn-pricing-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.3);
}

.btn-pricing-cta:hover {
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.landing-footer {
    padding: 60px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-tagline {
    color: #71717a;
    font-size: 0.85rem;
    margin-top: 12px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fafafa;
    margin-bottom: 4px;
}

.footer-col a {
    color: #71717a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #d4d4d8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 24px;
}

.footer-bottom p {
    color: #52525b;
    font-size: 0.8rem;
    text-align: center;
}

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

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

/* Stagger feature cards */
.feature-card:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(4) {
    transition-delay: 0.3s;
}

.feature-card:nth-child(5) {
    transition-delay: 0.4s;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

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

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-value {
        font-size: 1.3rem;
    }

    .section-heading {
        font-size: 2rem;
    }

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

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

    .nav-links a:not(.nav-btn-cta) {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .mockup-header {
        flex-direction: column;
        gap: 16px;
    }

    .mockup-stats-row {
        justify-content: flex-start;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-amount {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
}