/*
Theme Name: Noviterm Core
Theme URI: https://noviterm.ai
Author: Antigravity Agent
Author URI: https://google.com
Description: A clean, bright, professional AI theme for Noviterm.
Version: 2.0.0
License: Proprietary
*/

:root {
    /* -- PALETTE: Corporate Light -- */
    --color-bg-deep: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-bg-card: #FFFFFF;

    --color-accent-cyan: #0891B2;
    --color-accent-cyan-light: #ECFEFF;
    --color-accent-green: #059669;
    --color-accent-green-light: #ECFDF5;
    --color-accent-blue: #0A84FF;

    --color-text-main: #0F172A;
    --color-text-muted: #64748B;
    --color-text-light: #94A3B8;
    --color-border: #E2E8F0;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* -- RESET & BASE -- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
}

p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0E7490;
}

img {
    max-width: 100%;
    height: auto;
}

/* -- UTILITIES -- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.center {
    text-align: center;
}

/* -- BUTTONS -- */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent-cyan);
    border: 2px solid var(--color-accent-cyan);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #0E7490;
    border-color: #0E7490;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    background: transparent;
    color: var(--color-text-main);
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--color-text-main);
    background: var(--color-bg-alt);
    transform: translateY(-2px);
}

/* -- HEADER -- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    padding: 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.logo span {
    color: var(--color-accent-cyan);
}

.site-logo {
    mix-blend-mode: multiply;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.main-navigation a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: var(--color-text-main);
}

/* -- FOOTER -- */
.site-footer {
    background: var(--color-bg-alt);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
    margin-top: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.site-footer a {
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--color-accent-cyan);
}

/* -- WORDPRESS ALIGNMENT CLASSES -- */
.aligncenter {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.wp-block-image.aligncenter,
.wp-block-image.aligncenter img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.has-text-align-center {
    text-align: center;
}

.wp-block-buttons.is-layout-flex {
    justify-content: center;
}

/* -- GUTENBERG LAYOUT FIXES -- */
.wp-block-group__inner-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ============================== */
/* FRONT PAGE STYLES              */
/* ============================== */

/* -- SECTIONS GENERAL -- */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    letter-spacing: -0.03em;
}

.section-eyebrow {
    text-align: center;
    color: var(--color-accent-cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.section-desc {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

/* ========================= */
/* HERO SECTION — Light      */
/* ========================= */
.hero-section {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--color-bg-alt) 100%);
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.12;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(8, 145, 178, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* ========================= */
/* HERO VIDEO SECTION        */
/* ========================= */
.hero-video-section {
    background: #FFFFFF;
    padding: 0 0 4rem 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.video-container {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.hero-loop-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    /* Soft fade mask on edges to blend seamlessly with background */
    -webkit-mask-image: radial-gradient(ellipse 95% 95% at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(ellipse 95% 95% at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-accent-cyan) 0%, #06B6D4 50%, var(--color-accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-weight: 400;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Legacy parallax support — kept for backward compat if needed */
.parallax-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    overflow: hidden;
}

.parallax-overlay {
    display: none;
}

.parallax-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ========================= */
/* PROBLEM SECTION — Light   */
/* ========================= */
.problem-section {
    background: var(--color-bg-alt);
    padding: 6rem 0;
}

.problem-analogy {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 2.5rem;
    background: var(--color-bg-deep);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent-cyan);
    box-shadow: var(--shadow-sm);
}

.problem-analogy p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.problem-analogy strong {
    color: var(--color-text-main);
}

.problem-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-bg-deep);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-accent-cyan);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ========================= */
/* HOW IT WORKS — 3-Step     */
/* ========================= */
.how-it-works-section {
    background: linear-gradient(rgba(248, 250, 252, 0.85), rgba(248, 250, 252, 0.95)), url('../images/how_it_works_bg.jpg') center/cover no-repeat fixed;
    padding: 6rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    background: var(--color-bg-deep);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    border-color: var(--color-accent-cyan);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent-cyan-light);
    color: var(--color-accent-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========================= */
/* TECHNOLOGY — Light Cards  */
/* ========================= */
.tech-section {
    background: var(--color-bg-alt);
    padding: 6rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background: var(--color-bg-deep);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    border-left: 3px solid var(--color-accent-cyan);
    transition: all 0.3s ease;
}

.tech-item:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.tech-icon {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-accent-cyan);
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.8rem;
    background: var(--color-accent-cyan-light);
    border-radius: 4px;
}

.tech-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tech-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ========================= */
/* RESULTS / STATS — Light   */
/* ========================= */
.results-section {
    background: var(--color-bg-deep);
    padding: 6rem 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.result-card {
    background: var(--color-bg-deep);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent-cyan);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.result-card:hover::before {
    opacity: 1;
}

.result-card.accent-green::before {
    background: var(--color-accent-green);
}

.result-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent-cyan);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.result-card.accent-green .result-value {
    color: var(--color-accent-green);
}

.result-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Legacy dark stats — hidden but kept for compat */
.dark-stats-section {
    display: none;
}

/* ========================= */
/* ZIGZAG SECTION             */
/* ========================= */
.zigzag-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center !important;
    background: var(--color-bg-alt);
    overflow: hidden;
    padding: 0;
}

.zigzag-section>.wp-block-group__inner-container {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1025px) {
    .zigzag-section {
        flex-direction: row;
    }

    .zigzag-section>.wp-block-group__inner-container {
        flex-direction: row;
        width: 100%;
        max-width: 1400px;
        justify-content: center;
    }
}

.zigzag-content {
    flex: 1;
    padding: 5rem 4rem;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.zigzag-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
    line-height: 1.1;
}

.zigzag-content p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.zigzag-image-wrapper {
    flex: 1;
    position: relative;
    min-height: 500px;
    width: 100%;
}

.zigzag-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 15% 100%,
            0% 83.33%, 15% 66.66%,
            0% 50%, 15% 33.33%,
            0% 16.66%);
}

.zigzag-cta-tab {
    position: absolute;
    top: 20%;
    right: 0;
    background: var(--color-accent-cyan);
    color: white;
    padding: 1rem 0.5rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px 0 0 4px;
    transition: background 0.3s ease;
}

.zigzag-cta-tab:hover {
    background: #0E7490;
}

@media (max-width: 1024px) {
    .zigzag-section {
        flex-direction: column;
    }

    .zigzag-content {
        padding: 3rem 2rem;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .zigzag-image-wrapper {
        min-height: 350px;
    }

    .zigzag-image {
        clip-path: none;
    }
}

/* ========================= */
/* DASHBOARD / ACCORDION     */
/* ========================= */
.dashboard-section {
    background-color: var(--color-bg-deep);
    padding: 6rem 0;
    position: relative;
}

.dashboard-container {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-visual {
    flex: 1;
    position: relative;
    padding: 1rem;
}

.dashboard-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    background: #FFF;
    display: block;
    transition: all 0.3s ease;
}

.dashboard-content {
    flex: 1;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-text-main);
}

.dashboard-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.tab-trigger {
    padding: 0.75rem 0 0.75rem 1.5rem;
    border-left: 3px solid var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.tab-trigger:hover {
    opacity: 0.8;
}

.tab-trigger.active {
    border-left-color: var(--color-accent-cyan);
    opacity: 1;
}

.tab-trigger h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--color-text-main);
    transition: color 0.3s ease;
}

.tab-trigger.active h4 {
    color: var(--color-accent-cyan);
}

.tab-trigger p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.tab-trigger.active p {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .dashboard-container {
        flex-direction: column-reverse;
    }

    .dashboard-visual {
        position: relative;
        top: 0;
        transform: none;
        padding: 1rem;
    }

    .dashboard-tabs {
        gap: 2rem;
        margin-top: 1rem;
        padding-bottom: 2rem;
    }

    .tab-trigger {
        opacity: 1;
        border: none;
        padding: 0.75rem 0;
    }
}

/* ========================= */
/* TEAM SECTION               */
/* ========================= */
.team-section {
    background: var(--color-bg-alt);
    padding: 5rem 0;
    text-align: center;
}

.team-section .section-title {
    margin-bottom: 1rem;
}

.team-section .section-desc {
    margin-bottom: 2rem;
}

.team-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--color-accent-cyan-light);
    color: var(--color-accent-cyan);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.team-cta:hover {
    background: var(--color-accent-cyan);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ========================= */
/* COMPARISON TABLE           */
/* ========================= */
.comparison-section {
    background: var(--color-bg-deep);
    padding: 6rem 0;
}

.comparison-table {
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 2px solid var(--color-border);
    color: var(--color-text-main);
}

.comparison-table th:last-child {
    color: var(--color-accent-cyan);
}

.comparison-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    vertical-align: top;
}

.comparison-table td:last-child {
    color: var(--color-text-main);
    font-weight: 500;
}

.comparison-table tr:hover td {
    background: var(--color-bg-alt);
}

/* ========================= */
/* CONTACT — Light            */
/* ========================= */
.contact-section {
    background: var(--color-bg-alt);
    padding: 6rem 0;
    text-align: center;
}

.contact-section .section-title {
    margin-bottom: 1rem;
}

.contact-section p {
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 2rem auto;
}

/* ========================= */
/* FOOTER — Dark Theme        */
/* ========================= */
.site-footer.dark-theme {
    background-color: #09090b;
    color: #fafafa;
}


/* ========================= */
/* RESPONSIVE                 */
/* ========================= */

/* -- MOBILE MENU SECRETS -- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.header-nav-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-nav-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 1000;
        transform: translateY(-10px);
    }

    .header-nav-container.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .main-navigation a {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .header-actions {
        flex-direction: column;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .problem-stats-grid,
    .steps-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 8rem 0 4rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .container {
        width: 92%;
    }
}