:root {
    /* DARK THEME (DEFAULT) */
    --bg-dark: #0a0a12;
    --bg-card: #14141f;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --border-color: rgba(255, 255, 255, 0.05);
    --primary: #00f2ff;
    /* Cyan Neon */
    --nav-accent-green: #22c55e;
    --secondary: #7000ff;
    /* Purple Neon */
    --accent-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --header-bg: rgba(10, 10, 18, 0.8);
    --header-scrolled: rgba(10, 10, 18, 0.95);
    --btn-primary-bg: rgba(255, 255, 255, 0.1);
    --btn-primary-border: rgba(255, 255, 255, 0.2);
    --btn-primary-hover-bg: white;
    --btn-primary-hover-text: black;
    --hero-overlay: radial-gradient(circle at 20% 20%, rgba(112, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 242, 255, 0.15) 0%, transparent 40%);
    --card-good-bg: rgba(20, 20, 31, 0.8);
    --feature-bg: rgba(255, 255, 255, 0.02);
    --feature-hover: rgba(255, 255, 255, 0.05);
    --footer-bg: radial-gradient(circle at center, #1a1a2e 0%, var(--bg-dark) 70%);
}

[data-theme="light"] {
    --bg-dark: #f0f2f5;
    --bg-card: #ffffff;
    --text-main: #1a1a2e;
    --text-muted: #555566;
    --border-color: rgba(0, 0, 0, 0.05);
    --primary: #00b8c2;
    /* Darker Cyan for visibility on light */
    --nav-accent-green: #16a34a;
    --secondary: #6200e6;
    /* Slightly darker purple */
    --accent-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --header-bg: rgba(255, 255, 255, 0.8);
    --header-scrolled: rgba(255, 255, 255, 0.95);
    --btn-primary-bg: rgba(0, 0, 0, 0.05);
    --btn-primary-border: rgba(0, 0, 0, 0.1);
    --btn-primary-hover-bg: #000;
    --btn-primary-hover-text: white;
    --hero-overlay: radial-gradient(circle at 20% 20%, rgba(112, 0, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 242, 255, 0.05) 0%, transparent 40%);
    --card-good-bg: rgba(255, 255, 255, 1);
    --feature-bg: rgba(0, 0, 0, 0.02);
    --feature-hover: rgba(0, 0, 0, 0.05);
    --footer-bg: #e0e2e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* UTILS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.p-4 {
    padding: 1.5rem;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--btn-primary-bg);
    border: 1px solid var(--btn-primary-border);
    color: var(--text-main);
}

.btn-primary:hover {
    background: var(--btn-primary-hover-bg);
    color: var(--btn-primary-hover-text);
}

.btn-glow {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    border: none;
    font-size: 1.1rem;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.6);
}

.btn.large {
    padding: 16px 40px;
    font-size: 1.4rem;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s;
}

.btn-icon:hover {
    color: var(--primary);
    transform: rotate(15deg);
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link-accent {
    color: var(--nav-accent-green);
}

.nav-link-accent:hover,
.nav-link-accent.active {
    color: var(--nav-accent-green);
    opacity: 1;
}

.nav-link-accent.active {
    font-weight: 700;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    /* .header-controls remains visible, so theme toggle works */
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--hero-overlay);
    animation: pulseBg 10s infinite alternate;
}

@keyframes pulseBg {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    text-align: left;
    display: inline-block;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.hero-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
    font-weight: 500;
}

.hero-features li::before {
    content: '👉';
    position: absolute;
    left: 0;
    filter: hue-rotate(150deg);
    /* Shift emoji color slightly */
}

/* Secondary Button Upgrade */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 242, 255, 0.05);
}

.hero-footer {
    margin-top: 4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* SECTIONS */
.section {
    padding: 100px 0;
}

/* Section qui suit immédiatement un hero : moins d’espace en haut */
.section-after-hero {
    padding-top: 2.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* COMPARISON CARDS */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    /* Ensure content stretches if needed */
}

.value-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(145deg, var(--bg-card), rgba(255, 255, 255, 0.01));
}

.value-card .icon-check {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    display: inline-block;
    background: rgba(0, 242, 255, 0.1);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}


.card:hover {
    transform: translateY(-5px);
}

.card-bad {
    border-left: 4px solid #ff4444;
}

.card-good {
    border-left: 4px solid var(--primary);
    background: var(--card-good-bg);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.check-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.highlight-box {
    margin-top: 2rem;
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

/* PAGE FONCTIONNALITÉS (tool-digital-signage) */
.tool-intro {
    font-size: 1rem;
    color: var(--text-muted);
}

.tool-intro p {
    margin-bottom: 1rem;
}

.tool-intro-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.tool-pill-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Cartes par bloc */
.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    box-shadow: var(--card-shadow);
}

.tool-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tool-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-card-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.tool-card-icon--primary {
    background: linear-gradient(135deg, var(--primary), rgba(0, 242, 255, 0.7));
    color: white;
}

.tool-card-icon--secondary {
    background: linear-gradient(135deg, var(--secondary), rgba(112, 0, 255, 0.7));
    color: white;
}

.tool-card-icon--rocket {
    background: linear-gradient(135deg, var(--nav-accent-green), #16a34a);
    color: white;
}

.tool-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.tool-card-body {
    padding: 1.5rem 1.5rem;
}

.tool-card-body .tool-lead {
    margin-bottom: 1.25rem;
}

.tool-sub {
    margin-bottom: 1.5rem;
}

.tool-sub:last-child {
    margin-bottom: 0;
}

.tool-sub-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.tool-sub-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    flex-shrink: 0;
}

.tool-sub-icon svg {
    width: 16px;
    height: 16px;
}

.tool-sub .check-list {
    margin-top: 0;
}

.tool-lead {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.tool-card--roadmap .tool-card-body {
    padding-top: 0.5rem;
}

.tool-card--roadmap .check-list {
    margin-bottom: 0;
}

/* Bloc En résumé */
.tool-summary {
    background: linear-gradient(145deg, var(--bg-card), rgba(0, 242, 255, 0.04));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
}

.tool-summary-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.tool-summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 242, 255, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-summary-icon svg {
    width: 22px;
    height: 22px;
}

.tool-summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.tool-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
    margin-top: 1rem;
}

.tool-summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.tool-summary-item-icon {
    display: inline-flex;
    color: var(--primary);
}

.tool-summary-item-icon svg {
    width: 20px;
    height: 20px;
}

.tool-summary-footer {
    margin-top: 1.25rem;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .tool-intro-pills {
        flex-direction: column;
        align-items: center;
    }

    .tool-summary-grid {
        grid-template-columns: 1fr;
    }

    .tool-card-header {
        flex-wrap: wrap;
    }
}

/* STEPS */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3rem;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
    transition: background 0.3s;
}

.step-content h3 {
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* COMPATIBILITY / SOFTWARE */
.graphic-focus {
    background: var(--bg-dark);
    /* Ensure background is defined */
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.software-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 2rem 0;
}

.soft {
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.big-statement {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 2rem;
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
}

.workflow-visual {
    background: var(--bg-card);
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

/* FEATURES GRID */
.dark-alt {
    background: rgba(0, 0, 0, 0.02);
    /* Slight contrast */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-card {
    background: var(--feature-bg);
    padding: 30px;
    border-radius: 16px;
    transition: background 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    background: var(--feature-hover);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.roadmap {
    text-align: center;
    padding: 30px;
    border: 1px dashed var(--border-color);
    border-radius: 20px;
}

.roadmap-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.roadmap-tags span {
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* TARGETS */
.targets-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 3rem 0;
}

.target-item {
    background: var(--bg-card);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

/* FOOTER */
.footer {
    padding: 3rem 0 2rem;
    background: var(--footer-bg);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.footer-col .footer-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-col .footer-link:hover {
    color: var(--primary);
}

.footer-line {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.footer-col-editor {
    justify-content: flex-start;
}

.footer-editor {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.footer-editor .footer-link {
    font-size: inherit;
}

.footer-copy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.8;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }
}

/* ANIMATION HELPERS */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-scroll].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Animations scroll – page Fonctionnalités (variantes) */
.tool-card[data-scroll],
.tool-summary[data-scroll] {
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tool-intro-pills[data-scroll] {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.tool-pill[data-scroll] {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

@media (max-width: 768px) {

    .comparison-grid,
    .split-layout,
    .steps-container,
    .grid-3 {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .step-connector {
        display: none;
    }
}

.pricing-section {
    padding-top: 0;
}

/* HARDWARE CARDS GRID */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.hardware-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.hardware-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.hardware-header {
    background: rgba(0, 242, 255, 0.05);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.hardware-header h4 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.2rem;
}

.hardware-header .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.hardware-price {
    display: inline-block;
    background: var(--bg-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary);
    border: 1px solid var(--border-color);
    margin-top: 10px;
}

.hardware-body {
    padding: 20px;
    flex-grow: 1;
}

.spec-item {
    margin-bottom: 15px;
}

.spec-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}

.spec-value {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* HARDWARE TABLE (compact) */
.hardware-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.hardware-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.hardware-table th {
    text-align: left;
    padding: 0.65rem 1rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.hardware-table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    vertical-align: top;
}

.hardware-table tbody tr:last-child td {
    border-bottom: none;
}

.hardware-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.hardware-table td:first-child {
    color: var(--text-main);
    font-weight: 500;
}

.hardware-table td:nth-child(2) {
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.hw-icon {
    margin-right: 0.35rem;
    font-size: 1rem;
}

.hw-row-highlight td:first-child {
    color: var(--secondary);
}

.hw-row-highlight td:nth-child(2) {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .hardware-table th,
    .hardware-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* COMPACT GRID FOR ARCHITECTURE */
.grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 1.5rem;
}

.card-compact {
    padding: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s, border-color 0.3s;
}

.card-compact:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.card-compact h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.card-compact p {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.card-compact .architecture-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .grid-compact {
        grid-template-columns: 1fr;
    }
}

/* PRICING TABLE STYLES */
.pricing-container {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.table-responsive {
    overflow-x: auto;
    /* Ensure no vertical scrollbar appears by accident */
    overflow-y: hidden;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Ensure it doesn't squish too much on mobile */
}

.pricing-table th {
    text-align: left;
    padding: 20px;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--border-color);
}

.pricing-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .pricing-table tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.price-main {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.2rem;
}

.price-unit {
    color: var(--primary);
    font-weight: 700;
}

.highlight-row {
    background: rgba(0, 242, 255, 0.03);
}

[data-theme="light"] .highlight-row {
    background: rgba(0, 184, 194, 0.05);
    /* Adjusted for light mode visibility */
}

.active {
    color: var(--primary) !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TOGGLE SWITCH STYLES */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 2rem 0 1rem;
}

.toggle-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.3s;
    font-weight: 500;
}

.toggle-label.active {
    color: var(--primary);
    font-weight: 700;
}

.switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.switch input {
    display: none;
}

.slider {
    background-color: var(--bg-card);
    bottom: 0;
    cursor: pointer;

    .badge-pill {
        background: rgba(0, 242, 255, 0.1);
        color: var(--primary);
        padding: 8px 20px;
        border-radius: 50px;
        font-weight: 700;
        border: 1px solid rgba(0, 242, 255, 0.2);
        font-size: 0.9rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        display: inline-block;
    }

    .intro-card {
        background: linear-gradient(180deg, rgba(20, 20, 31, 0.6) 0%, rgba(20, 20, 31, 0.3) 100%);
        border: 1px solid var(--border-color);
        border-radius: 24px;
        padding: 50px;
        margin: 2rem 0 4rem;
        position: relative;
        backdrop-filter: blur(10px);
    }

    .intro-card .icon-bulb {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        display: block;
        animation: floatIcon 6s ease-in-out infinite;
    }

    .intro-card .lead {
        font-size: 1.3rem;
        color: var(--text-main);
        margin-bottom: 1.5rem;
        font-weight: 500;
    }

    .intro-card p {
        font-size: 1.1rem;
        color: var(--text-muted);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.8rem;
    }

    @keyframes floatIcon {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-10px);
        }
    }

    right: 0;
    top: 0;
    transition: .4s;
    border: 1px solid var(--border-color);
}

.slider:before {
    background-color: var(--text-muted);
    bottom: 4px;
    content: "";
    height: 24px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 24px;
}

input:checked+.slider {
    background-color: rgba(0, 242, 255, 0.1);
    border-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(26px);
    background-color: var(--primary);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* CONTACT FORM */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}