/* DEROX Design System */
:root {
    /* Colors */
    --bg-color: #0B0B0B;
    --primary-accent: #E10600;
    --primary-dark: #b91f1f;
    --secondary-accent: #FFD700;
    --text-main: #F2F2F2;
    --text-muted: #A0A0A0;
    --card-bg: #1A1A1A;
    --overlay-dark: rgba(11, 11, 11, 0.85);
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Let body handle overflow — no per-section overflow */

h1, h2, h3, h4, h5, h6, p, span, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-style: normal;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--text-main);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.95;
    margin-bottom: 24px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-logo {
    height: 50px;
    width: auto;
    animation: pulseLoader 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--primary-accent);
    border-radius: 3px;
    animation: barFill 1.2s ease-in-out forwards;
}

/* =========================================
   PARTICLES CANVAS
   ========================================= */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* =========================================
   CURSOR GLOW
   ========================================= */
#cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 6, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

#cursor-glow.active {
    opacity: 1;
}

/* =========================================
   KEYFRAME ANIMATIONS
   ========================================= */
@keyframes pulseLoader {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
}

@keyframes barFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes lineGrow {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    position: relative;
    z-index: 2;
}

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

.uppercase {
    text-transform: uppercase;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-50 {
    margin-top: 50px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--primary-accent);
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.15em;
    border: 2px solid var(--primary-accent);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
    transform: translateY(-3px);
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero .cta-group {
    justify-content: flex-start;
}

@media (max-width: 600px) {
    .cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .cta-group .btn {
        width: 100%;
    }
}

/* Section Spacing */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero {
    border-top: none;
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for cards */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.25s; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 11, 11, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.hidden {
    transform: translateY(-100%);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
}

.inline-logo {
    height: 1em;
    width: auto;
    vertical-align: middle;
    margin: 0 2px;
    display: inline-block;
}

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

.nav-links a {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn-sm)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-sm):hover::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

/* Small Button in Nav */
.btn-sm {
    padding: 10px 24px;
    background-color: transparent;
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent);
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.btn-sm:hover {
    background-color: var(--primary-accent);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
}

.btn-nav-primary {
    background-color: var(--primary-accent);
    color: var(--text-main);
}

.btn-nav-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    text-align: left;
    overflow: hidden;
    padding: 120px 0 80px 0;
    background-color: #E30613;
}

.hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-bg-overlay {
    display: none;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.9;
    margin-bottom: 24px;
    color: #0B0B0B;
    text-transform: uppercase;
    font-weight: 700;
    font-style: normal;
    letter-spacing: -0.04em;
    text-shadow: none;
    max-width: 100%;
}

.hero .subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #0B0B0B;
    font-weight: 500;
    max-width: 600px;
    margin: 0 0 16px 0;
    opacity: 0.9;
}

.hero .closing {
    font-size: 1rem;
    font-style: normal;
    color: #0B0B0B;
    margin-bottom: 32px;
    font-weight: 500;
}

/* Hero Buttons */
.hero .btn-primary {
    background-color: #0B0B0B;
    border-color: #0B0B0B;
    color: #FFFFFF;
}

.hero .btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero .btn-secondary {
    border-color: #0B0B0B;
    color: #0B0B0B;
}

.hero .btn-secondary:hover {
    background-color: rgba(18, 18, 18, 0.1);
    border-color: #000000;
    color: #000000;
}

/* Hero Image */
.hero-image-wrapper {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.hero-phone-img {
    max-height: 520px;
    width: auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 900px) {
    .hero-image-wrapper {
        display: none;
    }
}

/* =========================================
   SEGMENTATION
   ========================================= */
.segmentation .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.segmentation .card {
    background: var(--card-bg);
    padding: 40px;
    border-left: 4px solid var(--primary-accent);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.segmentation .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(225, 6, 0, 0.1);
}

.segmentation h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 20px;
    line-height: 1;
}

.feature-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--secondary-accent);
    font-size: 1.2rem;
}

.card-text {
    margin-top: 30px;
    font-weight: 500;
    color: var(--text-main);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* =========================================
   SIMULATOR
   ========================================= */
.simulator {
    background-color: var(--bg-color);
}

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

.simulator .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.simulator h2 {
    margin-bottom: 15px;
}

.simulator .lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.feature-points .point {
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.feature-points .point:hover {
    border-left-color: var(--primary-accent);
}

.feature-points h3 {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.feature-points p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Mockup Styles */
.mockup-container {
    background: radial-gradient(circle at center, rgba(30, 30, 30, 1) 0%, rgba(0, 0, 0, 0) 70%);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.simulator-mockup-img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.simulator-mockup-img:hover {
    transform: scale(1.03) translateY(-5px);
}

/* =========================================
   CONTROL SECTION
   ========================================= */
.control .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.traffic-light-ui {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.station-card {
    background: var(--card-bg);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.station-card:hover {
    transform: translateX(5px);
}

.station-name {
    font-weight: 700;
    font-family: var(--font-heading);
    width: 40%;
}

.station-card .light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    box-shadow: 0 0 5px currentColor;
    animation: glowPulse 2s ease-in-out infinite;
}

.station-card.green { border-left-color: #2ECC71; }
.station-card.green .light { background-color: #2ECC71; color: #2ECC71; }
.station-card.green .status { color: #2ECC71; }

.station-card.yellow { border-left-color: var(--secondary-accent); }
.station-card.yellow .light { background-color: var(--secondary-accent); color: var(--secondary-accent); }
.station-card.yellow .status { color: var(--secondary-accent); }

.station-card.red { border-left-color: var(--primary-accent); }
.station-card.red .light { background-color: var(--primary-accent); color: var(--primary-accent); }
.station-card.red .status { color: var(--primary-accent); }

.status {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    width: 80px;
    text-align: right;
}

.clean-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
}

.clean-list li::before {
    content: '';
    color: var(--primary-accent);
    position: absolute;
    left: 0;
}

/* =========================================
   FLEXIBILITY
   ========================================= */
.flexibility .split-options {
    gap: 30px;
}

.option-card {
    background: var(--card-bg);
    padding: 40px;
    text-align: left;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(225, 6, 0, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.option-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.option-card.highlight {
    background: linear-gradient(135deg, var(--card-bg) 0%, #252525 100%);
    border: 1px solid #333;
}

.option-card h3 {
    margin-bottom: 15px;
}

.option-card p {
    margin-bottom: 25px;
    color: var(--text-muted);
}

.icon-row {
    font-size: 2rem;
    color: var(--text-main);
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

/* =========================================
   EQUATION / PERFORMANCE
   ========================================= */
.equation {
    background-color: var(--bg-color);
    position: relative;
}

.equation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(214, 40, 41, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

.equation h2 {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.cycle-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.cycle-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.big-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    display: block;
    font-weight: 700;
    text-transform: uppercase;
}

.arrow {
    font-size: 1.5rem;
    color: var(--primary-accent);
    display: block;
}

.cycle-img {
    width: 60%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cycle-img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.features-mini {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.pill {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.pill:hover {
    border-color: var(--primary-accent);
    background: rgba(225, 6, 0, 0.05);
}

/* =========================================
   EDGE / AI / SOCIAL
   ========================================= */
.edge .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.edge .card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.edge .card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-header h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quote {
    font-style: normal;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.questions li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
}

.questions li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--secondary-accent);
    font-weight: 700;
}

/* =========================================
   FULL FEATURES GRID
   ========================================= */
.full-features {
    padding: 100px 0;
    background-color: var(--bg-color);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.4s ease;
}

.feature-card:hover::after {
    width: 100%;
}

.feature-card:hover {
    background: #1f1f1f;
    transform: translateY(-4px);
    border-color: rgba(225, 6, 0, 0.2);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-main);
    font-family: var(--font-heading);
    line-height: 1.3;
}

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

/* =========================================
   FOOTER
   ========================================= */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.footer h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
    text-align: center;
}

.footer .sub-footer {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.footer-link {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    color: var(--text-main);
}

.footer-links-container {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.separator {
    color: var(--text-muted);
    opacity: 0.5;
    font-size: 0.8rem;
}


/* =========================================
   TERMS & PRIVACY
   ========================================= */
.terms-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--bg-color);
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.terms-content .last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: normal;
}

.terms-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.terms-content p,
.terms-content li {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.7;
}

.terms-content strong {
    color: var(--text-main);
}

.highlight-box {
    background: rgba(214, 41, 41, 0.1);
    border-left: 4px solid var(--primary-accent);
    padding: 20px;
    color: var(--text-main) !important;
    font-weight: 500;
}

.legal-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   PLANS PAGE
   ========================================= */
.plans-section {
    padding-top: 150px;
    min-height: 80vh;
}

.plans-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.plan-column {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.plan-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.plan-column h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.1;
}

.plan-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 5px;
}

.plan-column.basic {
    border-top: 4px solid var(--text-muted);
}

.plan-column.premium {
    border-top: 4px solid var(--primary-accent);
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.plan-card-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s;
}

.plan-card-placeholder:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
    color: var(--text-main);
}

.plan-card-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.plan-card-link {
    display: block;
    text-decoration: none;
}

.plan-card-link:hover .plan-card-img {
    transform: translateY(-5px);
    border-color: var(--primary-accent);
    box-shadow: 0 15px 40px rgba(225, 6, 0, 0.15);
}

/* Plans Comparison */
.plan-features-list {
    margin-bottom: 30px;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-muted);
}

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

.feature-item.excluded {
    color: var(--text-muted);
    opacity: 0.6;
}

.feature-item.excluded i {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.feature-item.included {
    color: var(--text-main);
}

.feature-item.key-feature {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
}

.feature-item.key-feature.included {
    color: var(--text-main);
    border: 1px solid rgba(242, 242, 242, 0.2);
}

.feature-item.key-feature.included i {
    color: var(--text-main);
    font-size: 1.4rem;
}

.feature-item.key-feature.excluded {
    text-decoration: line-through;
    opacity: 0.5;
}

.feature-item.included i {
    color: var(--primary-accent);
    font-size: 1.2rem;
}

/* =========================================
   RESPONSIVE - Tablet and below (1024px)
   ========================================= */
@media (max-width: 1024px) {
    .hero-image-wrapper {
        display: none;
    }

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

/* =========================================
   RESPONSIVE - Medium (900px)
   ========================================= */
@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .segmentation .grid-2,
    .simulator .grid-2,
    .control .grid-2,
    .edge .grid-2,
    .flexibility .split-options {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .cycle-container {
        grid-template-columns: 1fr !important;
        gap: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    /* Navigation Mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        background: rgba(11, 11, 11, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 60px 40px;
        gap: 25px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-links .btn-sm {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .segmentation .card {
        padding: 30px;
    }

    .card-text {
        margin-top: 20px;
        padding-top: 15px;
    }

    .simulator .grid-2 {
        gap: 40px;
    }

    .simulator .lead {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .feature-points .point {
        margin-bottom: 20px;
    }

    .simulator-mockup-img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .mockup-container {
        padding: 10px;
    }

    .station-card {
        padding: 12px 15px;
    }

    .station-name {
        font-size: 0.9rem;
    }

    .status {
        font-size: 0.7rem;
        width: 70px;
    }

    .clean-list li {
        margin-left: 5px;
        font-size: 0.95rem;
    }

    .option-card {
        padding: 30px;
    }

    .icon-row {
        font-size: 1.6rem;
    }

    .cycle-item {
        width: 100%;
        max-width: 300px;
    }

    .cycle-img {
        width: 80%;
    }

    .pill {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .edge .card {
        padding: 30px;
    }

    .full-features {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 2px;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .plans-section {
        padding-top: 120px;
    }

    .plans-section h1 {
        font-size: 2rem;
    }

    .plans-split {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .plan-column {
        padding: 30px;
    }

    /* Hide particles on mobile */
    #particles-canvas {
        display: none;
    }

    /* Hide cursor glow on mobile */
    #cursor-glow {
        display: none;
    }
}

/* =========================================
   RESPONSIVE - Small mobile (600px)
   ========================================= */
@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 50px 0;
    }

    .hero {
        padding: 90px 0 50px 0;
    }

    .btn {
        padding: 14px 24px;
        font-size: 12px;
        width: 100%;
    }

    .cta-group {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }

    .cta-group .btn {
        width: 100%;
    }

    .logo img {
        height: 24px;
    }

    .nav-links {
        width: 80%;
        padding: 50px 30px;
    }

    .segmentation .card {
        padding: 25px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .footer {
        padding: 50px 0 25px;
    }

    .copyright {
        font-size: 0.75rem;
    }

    .footer-links-container {
        flex-direction: column;
        gap: 10px;
    }

    .separator {
        display: none;
    }

    .plans-section {
        padding-top: 100px;
        min-height: auto;
    }

    .plan-column {
        padding: 25px;
    }

}

/* =========================================
   RESPONSIVE - Extra small (400px)
   ========================================= */
@media (max-width: 400px) {
    .btn {
        padding: 12px 20px;
        font-size: 11px;
    }
}
