/* Global Reset & Variables */
:root {
    /* Brand Colors - Fresh & Professional (Cyber-Zen) */
    --color-primary: #7ECEC0;
    /* Mint Green - Core Energy */
    --color-primary-dark: #6BB5A8;
    /* Deep Mint - Depth/Stability (Optimized from #1A5F54) */
    --color-accent: #FFD03A;
    /* Sunshine Gold - Energy/Action */
    --color-warning: #FFD03A;
    /* Merged with Accent for consistency, or use specific warning if needed */

    /* Neutral Palette - Fresh & Clean */
    --color-bg-body: #E8F5F2;
    /* Cloud Mint (Optimized from #FAFAF9) */
    --color-bg-surface: #FFFFFF;
    /* Pure White Surface */
    --color-text-main: #2D3D38;
    /* Ink Grey (Softened Black) */
    --color-text-secondary: #5A6A65;
    /* Stone Grey */
    --color-border: #D0DDD8;
    /* Soft Mint Border */

    /* Typography - Professional & Tech */
    /* Removed Serif to match "Cyber-Zen" tech feel */
    --font-heading: 'Montserrat', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;
    --font-mono: 'DIN Pro', sans-serif;

    /* Spacing - Breathing Space */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;

    /* Section Padding - Deep Breath */
    --padding-section: 6rem;

    /* Effects - Soft & Floating */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 9999px;

    --shadow-sm: 0 4px 6px -1px rgba(45, 61, 56, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(45, 61, 56, 0.08);
    /* Softer shadow */
    --shadow-float: 0 20px 40px rgba(45, 61, 56, 0.08);
    --shadow-glow: 0 0 20px rgba(126, 206, 192, 0.3);

    --glass-bg: rgba(255, 255, 255, 0.85);
    /* More opaque for readability */
    --glass-border: 1px solid rgba(255, 255, 255, 0.8);
    --blur-strength: 12px;
}

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

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-body);
    -webkit-font-smoothing: antialiased;
}

/* Aurora Animation Background */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #E8F5F2 0%, #FAFAF9 100%);
}

.aurora-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(126, 206, 192, 0.4) 0%, rgba(126, 206, 192, 0) 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 208, 58, 0.3) 0%, rgba(255, 208, 58, 0) 70%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 181, 168, 0.3) 0%, rgba(107, 181, 168, 0) 70%);
    animation-delay: -10s;
    animation-duration: 15s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

.aurora-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

/* Typography Overrides */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

/* Fix Font Fallback */
.stat-item h3,
.testimonial-metric,
.step-number {
    font-family: 'Oswald', 'DIN Pro', sans-serif;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--color-text-main);
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {

    .hero .container,
    .problem-grid,
    .value-grid,
    .testimonial-grid,
    .steps-grid,
    .hero-comparison-box,
    .how-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        padding-top: 6rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Tablet Optimization */
@media (min-width: 600px) and (max-width: 900px) {

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

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrapper {
        order: -1;
        margin-bottom: 2rem;
    }
}

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

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

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

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1.5rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text-main);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-links a.active {
    color: var(--color-primary);
    font-weight: 700;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-round);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text-main);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ========== Gold CTA Button ========== */
.btn-gold {
    background: linear-gradient(135deg, #FFD03A 0%, #F5B800 100%);
    color: #1A1A1A;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 208, 58, 0.4);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #F5B800 0%, #E5A800 100%);
    box-shadow: 0 6px 20px rgba(255, 208, 58, 0.5);
    transform: translateY(-2px);
}

/* ========== FAQ Accordion Animation ========== */
details {
    transition: all 0.3s ease;
}

details summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details[open] {
    background: #f0f0f0;
}

details p {
    animation: fadeIn 0.3s ease;
}

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

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

/* ========== Floating CTA Button ========== */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #FFD03A 0%, #F5B800 100%);
    color: #1A1A1A;
    border-radius: var(--radius-round);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 208, 58, 0.5);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 208, 58, 0.6);
}

.floating-cta svg {
    width: 20px;
    height: 20px;
}

/* ========== Pricing Card Enhancement ========== */
.pricing-card-recommended {
    position: relative;
    background: linear-gradient(135deg, rgba(126, 206, 192, 0.05) 0%, rgba(255, 255, 255, 1) 100%) !important;
    border: 3px solid var(--color-primary) !important;
}

.pricing-card-recommended::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

/* ========== Hero Section ========== */
.hero {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-tag {
    display: inline-block;
    background: rgba(126, 206, 192, 0.15);
    color: var(--color-primary-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-round);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
}

/* ========== Sections ========== */
.section-padding {
    padding: var(--padding-section) 0;
}

.text-center {
    text-align: center;
}

/* ========== Glass Panel ========== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ========== Value Cards & Grids ========== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.value-card .list-check {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* Ensure solution section headers are white, but allow specific text colors */
.solution-section h2,
.solution-section h3:not([class*="text-"]) {
    color: white !important;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
    border-color: var(--color-primary);
}

/* ========== Interactive Cards - Cursor & Hover ========== */
.glass-panel,
.value-card,
.step-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.glass-panel:hover {
    box-shadow: var(--shadow-float);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ========== List Check ========== */
.list-check {
    list-style: none;
}

.list-check li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ========== How Grid ========== */
.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* ========== Steps Grid ========== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--color-bg-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ========== Pricing Grid ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* ========== Comparison Table ========== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
    background: rgba(126, 206, 192, 0.1);
    font-weight: 600;
}

.comparison-table .highlight {
    background: rgba(126, 206, 192, 0.08);
}

/* ========== CTA Footer ========== */
.cta-footer {
    background: linear-gradient(135deg, #1A5F54 0%, #11443d 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-footer h2 {
    color: white;
}

/* ========== Text Utilities ========== */
.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.text-warning {
    color: var(--color-warning);
}

.text-secondary {
    color: var(--color-text-secondary);
}

.text-dark {
    color: var(--color-text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* ========== Accessibility - Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .aurora-blob {
        animation: none;
    }
}

/* ========== Mobile Responsive Enhancements ========== */
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .glass-panel {
        padding: 1.5rem;
    }

    /* Scenario cards stack on mobile */
    .glass-panel[style*="grid-template-columns: 1fr 2fr"] {
        display: block !important;
    }

    .glass-panel[style*="grid-template-columns: 1fr 2fr"]>div {
        border-right: none !important;
        padding-right: 0 !important;
        margin-bottom: 1.5rem;
    }

    .steps-grid,
    .pricing-grid,
    .how-grid {
        grid-template-columns: 1fr;
    }
}
/* ========== Annual Plan Section ========== */
.plan-toggle {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 5px;
    display: inline-flex;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.toggle-option {
    padding: 12px 30px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    color: var(--color-text-secondary);
    user-select: none;
}

.toggle-option.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(126, 206, 192, 0.3);
}

.toggle-option.active[data-target="client"] {
    background: linear-gradient(135deg, var(--color-accent), #f9bd24);
    box-shadow: 0 4px 15px rgba(255, 208, 58, 0.3);
}

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

.month-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    text-align: left;
}

.month-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Client Theme Accents */
.client-view .month-card::before {
    background: linear-gradient(90deg, var(--color-accent), #f9bd24);
}

.month-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(126, 206, 192, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.client-view .month-card:hover {
    box-shadow: 0 20px 40px rgba(255, 208, 58, 0.15);
}

.month-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(0,0,0,0.04);
    position: absolute;
    top: 15px;
    right: 20px;
    font-family: var(--font-mono);
}

.month-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
}

.month-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.month-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(126, 206, 192, 0.1);
    color: var(--color-primary-dark);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    align-self: flex-start;
}

.client-view .month-badge {
    background: rgba(255, 208, 58, 0.15);
    color: #bfa026; /* Darker Gold for text readability */
}

.plan-view {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.plan-view.active {
    display: block;
}

/* Specific styling for the section headers inside the toggle content */
.intro-text-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: rgba(255,255,255,0.4);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.6);
}

.intro-text-box h3 {
    font-size: 1.75rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.intro-text-box p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}
