@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    /* Theme Colors: Light Enterprise */
    --color-bg-base: #f8fafc;
    /* Slate 50 */
    --color-bg-card: #ffffff;
    --color-primary-green: #059669;
    /* Emerald 600 */
    --color-primary-green-hover: #047857;
    /* Emerald 700 */
    --color-text-main: #0f172a;
    /* Slate 900 */
    --color-text-muted: #64748b;
    /* Slate 500 */
    --color-border-subtle: #e2e8f0;
    /* Slate 200 */
    --color-shadow-subtle: rgba(148, 163, 184, 0.1);

    /* Gradients (Subtle now) */
    --gradient-hero-bg: radial-gradient(circle at top center, #f1f5f9 0%, #f8fafc 100%);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-spacing: 6rem;
}

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

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Elements - Subtle Mesh/Glow */
.bg-mesh {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(at 0% 0%, hsla(158, 82%, 57%, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(158, 82%, 57%, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(158, 82%, 57%, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(158, 82%, 57%, 0.1) 0px, transparent 50%);
    filter: blur(80px);
    z-index: 0;
    animation: mesh-move 20s ease-in-out infinite alternate;
}

@keyframes mesh-move {
    0% {
        transform: scale(1);
    }

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

.bg-glow-1,
.bg-glow-2 {
    display: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    /* More standard SaaS radius */
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary-green);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Pulse Animation for CTA */
.btn-pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(5, 150, 105, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}

.btn-primary:hover {
    background-color: var(--color-primary-green-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px -3px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    color: var(--color-text-main);
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
}

.text-gradient {
    background: linear-gradient(120deg, #059669, #10b981, #34d399, #059669);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-subtle);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.logo-light {
    font-weight: 400;
}

.logo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 3px;
    background-color: var(--color-primary-green);
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary-green);
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero-bg);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-logo-large {
    width: 64px;
    height: 64px;
    background: #ecfdf5;
    /* Emerald 50 */
    border: 1px solid #d1fae5;
    /* Emerald 100 */
    border-radius: 16px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-primary-green);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #0f172a;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.hero-visual {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    /* Removed heavy rotation for cleaner flat SaaS look */
    perspective: 1000px;
}

.dashboard-mockup {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Stronger soft shadow */
    border: 1px solid var(--color-border-subtle);
    background: #fff;
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

/* Trust Section / Marquee */
.trust {
    padding: 3rem 0;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border-subtle);
    overflow: hidden;
}

.trust p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 4rem;
    animation: scroll 30s linear infinite;
}

.logo-grid {
    /* Removed old grid styles */
    display: contents;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.trust-logo {
    color: #94a3b8 !important;
    /* Lighter slate */
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.trust-logo:hover {
    color: var(--color-primary-green) !important;
    transform: scale(1.1);
}

/* Features Section */
.features {
    padding: var(--section-spacing) 0;
    background: var(--color-bg-base);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    /* Glass opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    /* Smooth corners */
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy spring */
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary-green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -5px rgba(5, 150, 105, 0.15);
    /* Emerald glow */
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.9);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-weight: 600;
}

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

/* How It Works */
.how-it-works {
    padding: var(--section-spacing) 0;
    background: #ffffff;
}

/* Timeline Container */
.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

/* Vertical Line (Static Background) */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
}

/* Dynamic Animated Line */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    width: 2px;
    background: var(--color-primary-green);
    height: 0;
    /* Animated via JS */
    z-index: 0;
    /* Strict Layer: Bottom */
    box-shadow: 0 0 10px var(--color-primary-green);
    /* Glowing tip effect */
}

/* Timeline Item */
.timeline-item {
    position: relative;
    z-index: 2;
    /* Strict Layer: Top */
    margin-bottom: 2.5rem;
    display: flex;
    width: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    perspective: 1000px;
    /* Enable 3D */
}

/* Horizontal Branch Line */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 17px;
    height: 2px;
    width: 0;
    background: var(--color-primary-green);
    z-index: 0;
    transition: width 0.4s ease 0.2s;
    /* Delay until item is visible */
}

/* Branch positioning */
.timeline-item:nth-child(odd)::after {
    right: 0;
}

.timeline-item:nth-child(even)::after {
    left: 0;
}

/* Visible Branch */
.timeline-item.visible::after {
    width: 40px;
}

/* Odd Items (Left) */
.timeline-item:nth-child(odd) {
    left: 0;
    justify-content: flex-end;
    padding-right: 40px;
    text-align: right;
    transform: translateY(50px) scale(0.9);
    /* Slide Up + Scale */
}

/* Even Items (Right) */
.timeline-item:nth-child(even) {
    left: 50%;
    justify-content: flex-start;
    padding-left: 40px;
    text-align: left;
    transform: translateY(50px) scale(0.9);
    /* Slide Up + Scale */
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Marker (Dot/Icon container) */
.timeline-marker {
    position: absolute;
    top: 0;
    width: 34px;
    height: 34px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    /* Strict Layer: Top of Item */
    /* Ensure above line */
    color: #cbd5e1;
    font-weight: 700;
    /* Bold Numeral */
    /* Bold Numeral */
    font-size: 1rem;
    box-shadow: 0 0 0 6px #ffffff;
    /* Thicker "mask" against line */
    transition: all 0.4s ease;
}

/* Marker positioning */
.timeline-item:nth-child(odd) .timeline-marker {
    right: -17px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -17px;
}

/* Active Marker */
.timeline-item.visible .timeline-marker {
    border-color: var(--color-primary-green);
    background: #ecfdf5;
    color: var(--color-primary-green);
    transform: scale(1.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(5, 150, 105, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}

/* Content Card */
.timeline-content {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border-subtle);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 450px;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-green);
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.2s;
    /* Delay start */
}

.timeline-item.visible .timeline-content h3 {
    opacity: 1;
    transform: translateY(0);
    color: var(--color-primary-green);
    /* Highlight text */
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.3s;
    /* Stagger after H3 */
}

.timeline-item.visible .timeline-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive: Collapse to single column */
@media (max-width: 768px) {
    .timeline {
        padding-left: 0;
    }

    /* Move line to left */
    .timeline::before,
    .timeline-line {
        left: 30px;
        transform: none;
    }

    /* Reset Item Width and Position */
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 70px;
        /* Space for line/marker */
        padding-right: 0;
        text-align: left;
        justify-content: flex-start;
        transform: translateY(30px);
        /* Reset animation to simple fade up */
    }

    /* Reset Marker Position */
    .timeline-marker,
    .timeline-item:nth-child(odd) .timeline-marker,
    .timeline-item:nth-child(even) .timeline-marker {
        left: 13px;
        /* Center on the line at 30px: 30px - 17px = 13px */
        right: auto;
    }

    /* Reset Content */
    .timeline-content {
        max-width: 100%;
    }

    /* Hide Branches */
    .timeline-item::after {
        display: none;
    }

    /* Animation Reset */
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        filter: blur(0);
        /* Remove blur */
        transform: translateY(30px);
    }

    .timeline-item.visible {
        transform: translateY(0);
        filter: blur(0);
    }

    /* Reset Text Animation for Mobile (Immediate) */
    .timeline-content h3,
    .timeline-content p {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Benefits Grid */
.benefits {
    padding: var(--section-spacing) 0;
    background: var(--color-bg-base);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    border-color: #e2e8f0;
}

.benefit-check {
    color: var(--color-primary-green);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-check {
    transform: scale(1.2);
}

/* FAQ Section */
.faq {
    padding: var(--section-spacing) 0;
    background: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px var(--color-shadow-subtle);
    border-color: #cbd5e1;
}

.faq-item[open] {
    box-shadow: 0 4px 6px -1px var(--color-shadow-subtle);
    border-color: var(--color-primary-green);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary-green);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    color: var(--color-primary-green);
    border-bottom: 1px solid #f1f5f9;
}

.faq-content {
    padding: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    background: #ffffff;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* CTA Section */
.cta {
    padding: var(--section-spacing) 0;
}

/* Pricing Section */
.pricing {
    padding: var(--section-spacing) 0;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
    /* Ensure equal height */
    /* Align cards vertically */
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    border-radius: 16px;
    padding: 2rem;
    /* Reduced from 2.5rem */
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-green);
}

/* Popular Card Highlight (Default) */
.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--color-primary-green);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.1);
    z-index: 10;
}

/* Spotlight Effect Logic */
/* 1. When hovering grid, reset the default 'Popular' card to normal */
.pricing-grid:hover .pricing-card.popular {
    transform: scale(1);
    border: 1px solid var(--color-border-subtle);
    box-shadow: none;
    z-index: 1;
}

/* 2. When hovering ANY card, make it 'Popular' */
.pricing-grid .pricing-card:hover {
    transform: scale(1.05) !important;
    border: 2px solid var(--color-primary-green) !important;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.1) !important;
    z-index: 10;
    transition: all 0.3s ease;
}

/* Button Interaction logic needs to follow the card state */
/* Reset Popular button to outline when grid is hovered (but card not hovered) */
.pricing-grid:hover .pricing-card.popular:not(:hover) .btn-primary {
    background: transparent;
    color: var(--color-primary-green);
    border: 2px solid var(--color-primary-green);
    box-shadow: none;
}

/* Force Solid Button on Hovered Card */
.pricing-grid .pricing-card:hover .btn-primary,
.pricing-grid .pricing-card:hover .btn-outline {
    background: var(--color-primary-green) !important;
    color: white !important;
    border-color: var(--color-primary-green) !important;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

.popular-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-primary-green);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.pricing-header .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -1px;
}

.pricing-header .price span {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    /* Push button to bottom */
}

.pricing-features li {
    display: flex;
    align-items: center;
    /* Fixed typo 'centers' */
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    font-size: 0.9rem;
    /* Reduced from 0.95rem */
    line-height: 1.4;
}

.pricing-features li i {
    color: var(--color-primary-green);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    /* Prevent icon shrinking */
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary-green);
    color: var(--color-primary-green);
    display: block;
    /* Full width */
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    /* Match inputs */
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

/* Primary Button in Pricing */
.pricing-card .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    /* Match outline */
}

/* Responsive Pricing */
@media (max-width: 768px) {
    .pricing-card.popular {
        transform: none;
        /* Reset scale on mobile */
        z-index: 0;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

.cta-card {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    /* Solid Green Gradient */
    border-radius: 20px;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Sign Up / Free Trial Section */
/* Sign Up / Free Trial Section */
.signup-section {
    padding: var(--section-spacing) 0;
    background: #f1f5f9;
}

.signup-container {
    max-width: 600px;
    margin: 0 auto;
}

.signup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.signup-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.signup-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.signup-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid var(--color-border-subtle);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    /* Rounded inputs */
    font-size: 1rem;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.phone-group {
    display: flex;
    gap: 0.5rem;
}

.country-select {
    width: 80px;
    padding: 0.75rem 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.form-footer-text {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.5;
}

.form-footer-text a {
    color: var(--color-primary-green);
    text-decoration: underline;
}



.expert-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-primary-green);
    font-weight: 600;
    text-decoration: none;
}

.expert-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.cta .btn-primary {
    background: #ffffff;
    color: var(--color-primary-green);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: #ffffff;
    border-top: 1px solid var(--color-border-subtle);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: #0f172a;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #94a3b8;
    border-top: 1px solid var(--color-border-subtle);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .nav-links {
        display: none;
    }

    .steps-container {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Animations / Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grids automatically */
.feature-grid .feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

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

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

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

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

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

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

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

.steps-container .step-card:nth-child(1) {
    transition-delay: 0.1s;
}

.steps-container .step-card:nth-child(2) {
    transition-delay: 0.2s;
}

.steps-container .step-card:nth-child(3) {
    transition-delay: 0.3s;
}

.steps-container .step-card:nth-child(4) {
    transition-delay: 0.4s;
}

.benefits-grid .benefit-item:nth-child(1) {
    transition-delay: 0.1s;
}

.benefits-grid .benefit-item:nth-child(2) {
    transition-delay: 0.2s;
}

.benefits-grid .benefit-item:nth-child(3) {
    transition-delay: 0.3s;
}

.benefits-grid .benefit-item:nth-child(4) {
    transition-delay: 0.4s;
}

/* Stagger delays for grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

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





.expert-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-primary-green);
    font-weight: 600;
    text-decoration: none;
}

.expert-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.cta .btn-primary {
    background: #ffffff;
    color: var(--color-primary-green);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: #ffffff;
    border-top: 1px solid var(--color-border-subtle);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: #0f172a;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #94a3b8;
    border-top: 1px solid var(--color-border-subtle);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .nav-links {
        display: none;
    }

    /* Force Single Column Grids */
    .feature-grid,
    .benefits-grid,
    .pricing-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .pricing-card {
        max-width: 100%;
    }

    .footer-grid {
        gap: 2rem;
    }
}

/* Animations / Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grids automatically */
.feature-grid .feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

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

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

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

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

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

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

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



.benefits-grid .benefit-item:nth-child(1) {
    transition-delay: 0.1s;
}

.benefits-grid .benefit-item:nth-child(2) {
    transition-delay: 0.2s;
}

.benefits-grid .benefit-item:nth-child(3) {
    transition-delay: 0.3s;
}

.benefits-grid .benefit-item:nth-child(4) {
    transition-delay: 0.4s;
}

/* Stagger delays for grids */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

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

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

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

/* Reviews Section */
.reviews {
    padding: var(--section-spacing) 0;
    background: var(--color-bg-base);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border-subtle);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-green);
}

.review-quote {
    font-size: 1.1rem;
    color: var(--color-text-main);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}