/* ===================================
   CSS Variables - Color Palette
   =================================== */
:root {
    --color-darkest: #0B132B;
    --color-dark: #1C2541;
    --color-medium: #3A506B;
    --color-accent: #5BC0BE;
    --color-accent-dark: #338482;
    --color-light: #6FFFE9;
    --color-white: #FFFFFF;
    --color-off-white: #F8F9FA;
    --color-gray-light: #E9ECEF;
    --color-gray: #6C757D;
    --color-gray-dark: #252628;

    --max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --transition: all 0.3s ease;
}

/* ===================================
   Spec v3 brand/layout layer
   Brand guideline source: partners.shiild.com/marketing/brand-guidelines.html
   =================================== */
:root {
    --paper: #FBFCFE;
    --paper-2: #F4F7FB;
    --paper-3: #EAF0F7;
    --line: #E2E8F0;
    --line-2: #CFD9E6;
    --ink: #0B1526;
    --ink-2: #243149;
    --ink-3: #4A5A75;
    --ink-4: #8496AE;
    --cyan: #6CE1FF;
    --blue: #5FA6FF;
    --blue-2: #3E86EE;
    --deep: #1D4FB8;
    --grad: linear-gradient(125deg, #6CE1FF 0%, #5FA6FF 55%, #3E86EE 100%);
    --grad-soft: linear-gradient(125deg, #E6F7FF 0%, #EAF2FF 55%, #E1EBFF 100%);
    --grad-deep: linear-gradient(135deg, #0B1526 0%, #14244A 55%, #1D4FB8 100%);
    --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
    --serif: "Instrument Serif", "Times New Roman", serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

body,
body.home-page,
body.features-page,
body.free-pro-page,
body.support-page,
body.about-page,
body.partners-page,
body.partners-router-page,
body.partners-isps-page,
body.integration-page,
body.contact-page {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    letter-spacing: 0;
}

.header,
body.home-page .header,
body.support-page .header {
    background: rgba(251, 252, 254, 0.94);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}

.nav-container {
    min-height: 68px;
}

.logo-text {
    color: var(--ink);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.nav-link,
body.home-page .nav-link,
body.support-page .nav-link {
    color: var(--ink-2);
    border-radius: 6px;
    font-size: 0.92rem;
}

.nav-link:hover,
.nav-link.active,
body.home-page .nav-link:hover,
body.home-page .nav-link.active,
body.support-page .nav-link:hover,
body.support-page .nav-link.active {
    color: var(--blue-2);
    background: rgba(95, 166, 255, 0.1);
}

.dropdown-menu,
body.home-page .dropdown-menu,
body.support-page .dropdown-menu {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(11, 21, 38, 0.12);
}

.hamburger span,
body.home-page .hamburger span,
body.support-page .hamburger span {
    background: var(--ink);
}

.hero,
body.home-page .hero,
body.support-page .hero {
    min-height: auto;
    padding: clamp(4rem, 8vw, 7rem) var(--spacing-md);
    color: var(--ink);
    background: var(--grad-soft);
    overflow: hidden;
}

.hero::before,
body.home-page .hero::before,
body.support-page .hero::before {
    background-image:
        linear-gradient(135deg, rgba(30, 60, 130, 0.04) 1px, transparent 1px),
        linear-gradient(45deg, rgba(30, 60, 130, 0.04) 1px, transparent 1px);
    background-size: 14px 14px, 14px 14px;
    opacity: 1;
}

.hero .container,
body.home-page .hero .container,
body.support-page .hero .container {
    text-align: left;
}

.hero-content {
    max-width: 780px;
}

.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.hero-title,
body.home-page .hero-title,
body.support-page .hero-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(3.3rem, 8vw, 6rem);
    line-height: 0.98;
    letter-spacing: 0;
    color: var(--ink);
    text-shadow: none;
    margin-bottom: 1.25rem;
}

.hero-subtitle,
body.home-page .hero-subtitle,
body.support-page .hero-subtitle {
    color: var(--ink-2);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 400;
    line-height: 1.5;
    text-shadow: none;
    max-width: 760px;
}

.eyebrow {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.9rem;
}

.note {
    color: var(--ink-3);
    font-size: 0.92rem;
    margin-top: 1rem;
}

.lead {
    color: var(--ink-2);
    font-size: 1.08rem;
    line-height: 1.65;
}

.hero-cta {
    justify-content: flex-start;
    gap: 0.85rem;
    margin-top: 2rem;
}

.btn {
    border-radius: 6px;
    padding: 0.82rem 1.18rem;
}

.btn-primary {
    background: var(--blue-2);
    color: #fff;
}

.btn-primary:hover {
    background: var(--deep);
    color: #fff;
    box-shadow: 0 12px 28px rgba(62, 134, 238, 0.24);
}

.btn-outline,
.btn-secondary {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line-2);
}

.btn-outline:hover,
.btn-secondary:hover {
    border-color: var(--blue-2);
    color: var(--blue-2);
    background: #fff;
    transform: translateY(-2px);
}

.content-section,
body.home-page .content-section,
body.support-page .content-section {
    background: var(--paper);
    backdrop-filter: none;
    padding: clamp(4rem, 7vw, 6rem) var(--spacing-md);
}

.content-section.band {
    background: var(--paper-2);
}

.content-section h2,
body.home-page .content-section h2,
body.support-page .content-section h2 {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4vw, 3.35rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: 0;
    color: var(--ink);
}

.content-section h3,
.content-section h4,
body.home-page .content-section h3,
body.support-page .content-section h3 {
    color: var(--ink);
}

.content-section p,
body.home-page .content-section p,
body.support-page .content-section p {
    color: var(--ink-2);
}

.section-head {
    max-width: 760px;
    margin-bottom: 2rem;
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.intro-copy {
    align-items: start !important;
}

.intro-copy > div:first-child {
    display: grid;
    grid-template-rows: auto auto;
}

.intro-copy > div:last-child {
    padding-top: calc(0.72rem * 1.35 + 0.9rem);
}

.intro-copy p + p {
    margin-top: 1.05rem !important;
}

.split-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.panel,
.feature-item,
.pricing-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: none;
}

.panel {
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.panel .btn {
    margin-top: 1.2rem;
}

.sales-intro-panel {
    max-width: 780px;
}

.activation-panel {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.activation-panel h2 {
    font-size: clamp(2rem, 3vw, 2.75rem) !important;
    margin-bottom: 0 !important;
}

.activation-panel p {
    max-width: 620px;
}

.activation-steps {
    gap: 0.95rem !important;
    margin-top: 0.4rem !important;
}

.activation-steps li {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.95rem !important;
}

.activation-steps strong,
.activation-steps small {
    display: block;
    grid-column: 2;
}

.activation-steps strong {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.3;
}

.activation-steps small {
    color: var(--ink-3);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    margin-top: 0.25rem;
}

.activation-panel .btn {
    align-self: flex-start;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.protection-feature-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.protection-feature-card {
    min-height: 0 !important;
    padding: clamp(1.5rem, 3vw, 2rem) !important;
    position: relative;
}

.protection-feature-card::before {
    border-radius: 8px 8px 0 0;
    content: "";
    height: 4px;
    left: -1px;
    position: absolute;
    right: -1px;
    top: -1px;
}

.protection-feature-card-core::before {
    background: #6CE1FF;
}

.protection-feature-card-threat::before {
    background: #5FA6FF;
}

.protection-feature-card-clean::before {
    background: #3E86EE;
}

.protection-feature-card-family::before {
    background: #EE379F;
}

.protection-feature-card .feature-icon {
    margin-bottom: 1rem;
}

.protection-feature-card h3 {
    font-size: 1.22rem !important;
    line-height: 1.22 !important;
    max-width: 22rem;
}

.protection-feature-card p {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    max-width: 34rem;
}

.feature-badge {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-3);
    display: inline-flex;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.55rem;
    text-transform: uppercase;
}

.protection-feature-card-clean .feature-badge,
.protection-feature-card-family .feature-badge {
    background: rgba(95, 166, 255, 0.1);
    border-color: rgba(95, 166, 255, 0.25);
    color: var(--blue-2);
}

.feature-item {
    text-align: left;
    padding: 1.35rem;
    display: block;
}

.feature-item h3,
.feature-item h4 {
    font-size: 1.1rem;
    line-height: 1.25;
    margin-bottom: 0.65rem;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.pill-list span {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-2);
    padding: 0.62rem 0.9rem;
}

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.steps li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
    align-items: start;
    color: var(--ink-2);
    line-height: 1.45;
}

.steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-family: var(--mono);
    font-size: 0.78rem;
}

.check-list {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.pricing-card-features li {
    color: var(--ink-2);
}

.check {
    color: var(--blue-2);
}

.device-frame {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(11, 21, 38, 0.14);
    overflow: hidden;
}

.device-bar {
    display: flex;
    gap: 0.45rem;
    padding: 0.8rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
}

.device-bar span {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    background: var(--line-2);
}

.device-frame img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    object-position: top;
}

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

.journey-grid {
    display: grid;
    gap: 1.25rem;
}

.router-conversion-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1.35rem 0 1.5rem;
}

.provider-model-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.35rem;
}

.integration-component-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.router-conversion-grid div {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--cyan);
    border-radius: 8px;
    padding: 0.9rem 1rem;
}

.provider-model-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--cyan);
    border-radius: 8px;
    padding: 0.95rem 1rem;
}

.integration-component-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--cyan);
    border-radius: 8px;
    padding: clamp(1.25rem, 2.5vw, 1.65rem);
}

.resource-grid article {
    background:
        linear-gradient(135deg, rgba(108, 225, 255, 0.08), rgba(95, 166, 255, 0.04)),
        #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(1.15rem, 2.5vw, 1.5rem);
}

.resource-grid article:nth-child(2) {
    background:
        linear-gradient(135deg, rgba(95, 166, 255, 0.09), rgba(62, 134, 238, 0.04)),
        #fff;
}

.resource-grid article:nth-child(3) {
    background:
        linear-gradient(135deg, rgba(62, 134, 238, 0.08), rgba(108, 225, 255, 0.04)),
        #fff;
}

.resource-grid article:nth-child(4) {
    background:
        linear-gradient(135deg, rgba(238, 55, 159, 0.08), rgba(95, 166, 255, 0.04)),
        #fff;
}

.integration-component-grid article:nth-child(2) {
    border-top-color: #EE379F;
}

.router-conversion-grid div:nth-child(2) {
    border-left-color: var(--blue);
}

.provider-model-grid article:nth-child(2) {
    border-left-color: var(--blue);
}

.router-conversion-grid div:nth-child(3) {
    border-left-color: var(--blue-2);
}

.provider-model-grid article:nth-child(3) {
    border-left-color: var(--blue-2);
}

.router-conversion-grid div:nth-child(4) {
    border-left-color: #EE379F;
}

.provider-model-grid article:nth-child(4) {
    border-left-color: #EE379F;
}

.router-conversion-grid strong,
.router-conversion-grid span {
    display: block;
}

.router-conversion-grid strong {
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}

.router-conversion-grid span {
    color: var(--ink-3);
    font-size: 0.88rem;
    line-height: 1.45;
}

.provider-model-grid h3 {
    color: var(--ink) !important;
    font-size: 0.98rem;
    line-height: 1.25;
    margin: 0 0 0.3rem;
}

.integration-component-grid h3 {
    color: var(--ink) !important;
    font-size: 1.12rem;
    line-height: 1.25;
    margin: 0 0 0.85rem;
}

.resource-grid h3 {
    color: var(--ink) !important;
    font-size: 1.08rem;
    line-height: 1.25;
    margin: 0 0 0.5rem;
}

.resource-grid p {
    color: var(--ink-3) !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin: 0;
}

.partner-resources .btn {
    margin-top: 1.2rem;
}

.bullet-list {
    display: grid;
    gap: 0.7rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bullet-list li {
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-left: 1.25rem;
    position: relative;
}

.bullet-list li::before {
    background: var(--blue-2);
    border-radius: 50%;
    content: "";
    height: 0.42rem;
    left: 0;
    position: absolute;
    top: 0.55rem;
    width: 0.42rem;
}

.integration-component-grid article:nth-child(2) .bullet-list li::before {
    background: #EE379F;
}

.provider-model-grid p {
    color: var(--ink-3) !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    margin: 0;
}

.router-journey-steps {
    gap: 0.75rem !important;
}

.provider-journey-steps {
    gap: 0.75rem !important;
}

.router-journey-steps li {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.85rem !important;
}

.provider-journey-steps li {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.85rem !important;
}

.router-journey-steps strong,
.router-journey-steps small {
    display: block;
}

.provider-journey-steps strong,
.provider-journey-steps small {
    display: block;
}

.router-journey-steps strong {
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.3;
}

.provider-journey-steps strong {
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.3;
}

.router-journey-steps small {
    color: var(--ink-3);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    margin-top: 0.25rem;
}

.provider-journey-steps small {
    color: var(--ink-3);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    margin-top: 0.25rem;
}

.support-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.support-strip .two-col {
    align-items: center;
}

.support-strip .btn {
    align-self: center;
    justify-self: start;
    min-width: 0;
    width: auto !important;
}

.partner-teaser {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.link-row a {
    color: var(--blue-2);
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 0.65rem 0.9rem;
    font-weight: 600;
}

.link-row a:hover {
    border-color: var(--blue-2);
}

.pricing-cards.plan-cards,
.pricing-cards,
.free-pro-page .pricing-cards {
    max-width: 960px !important;
}

.pricing-card {
    border-radius: 6px;
}

.pricing-card.featured {
    border: 1px solid var(--blue-2);
    box-shadow: inset 0 4px 0 var(--blue-2);
}

.pricing-card-header h3 {
    color: var(--ink);
}

.support-search-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.8rem;
}

.support-search,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    color: var(--ink);
    font: inherit;
    padding: 0.9rem 1rem;
}

.support-search {
    font-size: 1.15rem;
}

.support-search:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue-2);
    box-shadow: 0 0 0 3px rgba(95, 166, 255, 0.18);
}

.faq-container {
    display: grid;
    gap: 1rem;
}

.faq-category {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.25rem;
}

.faq-category-title {
    margin-bottom: 0.75rem;
}

.faq-question {
    color: var(--ink);
}

.faq-answer {
    color: var(--ink-2);
}

.faq-empty {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.footer,
body.home-page .footer,
body.support-page .footer {
    background: var(--ink);
    color: #fff;
    border-top: 0;
    padding: 3rem var(--spacing-md);
}

.footer-section ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
}

.footer-section ul li {
    margin: 0;
}

.footer-section ul li a,
body.home-page .footer-section ul li a,
body.support-page .footer-section ul li a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-section ul li a:hover,
body.home-page .footer-section ul li a:hover,
body.support-page .footer-section ul li a:hover {
    color: #fff;
    padding-left: 0;
}

@media (max-width: 900px) {
    .hero-split,
    .two-col,
    .split-cards,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .feature-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-title,
    body.home-page .hero-title,
    body.support-page .hero-title {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }
}

@media (max-width: 620px) {
    .hero,
    body.home-page .hero,
    body.support-page .hero {
        padding: 3rem 1rem;
    }

    .content-section,
    body.home-page .content-section,
    body.support-page .content-section {
        padding: 3rem 1rem;
    }

    .feature-grid,
    .feature-grid.compact,
    .pricing-cards,
    .free-pro-page .pricing-cards {
        grid-template-columns: 1fr !important;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn,
    .support-strip .btn {
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   Light Theme for Consumer Pages
   =================================== */
body.light-theme,
body.home-page,
body.router-security-page,
body.support-page,
body.faq-page {
    --theme-bg-primary: #FFFFFF;
    --theme-bg-secondary: #F8F9FA;
    --theme-bg-section: #FFFFFF;
    --theme-bg-section-dark: #F0F2F5;
    --theme-text-primary: #1C2541;
    --theme-text-secondary: #3A506B;
    --theme-text-muted: #6C757D;
    --theme-header-bg: rgba(255, 255, 255, 0.98);
    --theme-header-border: rgba(91, 192, 190, 0.2);
    --theme-accent: #5BC0BE;
    --theme-accent-hover: #338482;
    --theme-shadow: rgba(0, 0, 0, 0.08);
    --theme-shadow-hover: rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-darkest);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Light theme body */
body.light-theme,
body.home-page,
body.router-security-page,
body.support-page,
body.faq-page {
    background-color: var(--theme-bg-primary);
    color: var(--theme-text-primary);
}

body.menu-open {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===================================
   Header & Navigation
   =================================== */
#header {
    position: sticky;
    top: 0;
    z-index: 10000;
}

.header {
    background-color: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(111, 255, 233, 0.1);
    position: sticky;
    top: 0;
    z-index: 10000;
}

/* Light theme header */
body.light-theme .header,
body.home-page .header,
body.router-security-page .header,
body.support-page .header,
body.faq-page .header {
    background-color: var(--theme-header-bg);
    border-bottom: 1px solid var(--theme-header-border);
    box-shadow: 0 2px 10px var(--theme-shadow);
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: var(--spacing-md);
}

.sign-in-link {
    margin-left: auto;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-light);
    background-color: rgba(111, 255, 233, 0.1);
}

/* Light theme navigation */
body.light-theme .nav-link,
body.home-page .nav-link,
body.router-security-page .nav-link,
body.support-page .nav-link,
body.faq-page .nav-link {
    color: var(--theme-text-primary);
}

body.light-theme .nav-link:hover,
body.light-theme .nav-link.active,
body.home-page .nav-link:hover,
body.home-page .nav-link.active,
body.router-security-page .nav-link:hover,
body.router-security-page .nav-link.active,
body.support-page .nav-link:hover,
body.support-page .nav-link.active,
body.faq-page .nav-link:hover,
body.faq-page .nav-link.active {
    color: var(--theme-accent);
    background-color: rgba(91, 192, 190, 0.1);
}

body.light-theme .logo-text,
body.home-page .logo-text,
body.router-security-page .logo-text,
body.support-page .logo-text,
body.faq-page .logo-text {
    color: var(--theme-text-primary);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    z-index: 10001;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.sign-in-link {
    margin-left: auto;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-darkest);
    border: 1px solid rgba(111, 255, 233, 0.2);
    border-radius: 8px;
    min-width: 200px;
    list-style: none;
    padding: var(--spacing-xs) 0;
    margin-top: var(--spacing-xs);
    opacity: 0;
    visibility: hidden;
    display: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    pointer-events: none;
}

/* Light theme dropdown menu */
body.light-theme .dropdown-menu,
body.home-page .dropdown-menu,
body.router-security-page .dropdown-menu,
body.support-page .dropdown-menu,
body.faq-page .dropdown-menu {
    background-color: var(--theme-bg-section);
    border: 1px solid var(--theme-header-border);
    box-shadow: 0 10px 40px var(--theme-shadow);
}

/* Active state - show menu */
.dropdown.active .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    z-index: 10001 !important;
}

/* Desktop-specific active state */
@media (min-width: 769px) {
    .dropdown.active .dropdown-menu {
        max-height: none !important;
        overflow: visible !important;
    }
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu .nav-link {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 0;
    display: block;
    width: 100%;
    white-space: nowrap;
    color: var(--color-gray-light);
}

/* Light theme dropdown menu links */
body.light-theme .dropdown-menu .nav-link,
body.home-page .dropdown-menu .nav-link,
body.router-security-page .dropdown-menu .nav-link,
body.support-page .dropdown-menu .nav-link,
body.faq-page .dropdown-menu .nav-link {
    color: var(--theme-text-primary);
}

.dropdown-menu .nav-link:hover {
    background-color: rgba(111, 255, 233, 0.15);
    color: var(--color-light);
}

/* Light theme dropdown menu link hover */
body.light-theme .dropdown-menu .nav-link:hover,
body.home-page .dropdown-menu .nav-link:hover,
body.router-security-page .dropdown-menu .nav-link:hover,
body.support-page .dropdown-menu .nav-link:hover,
body.faq-page .dropdown-menu .nav-link:hover {
    background-color: rgba(91, 192, 190, 0.1);
    color: var(--theme-accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 10001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Light theme hamburger */
body.light-theme .hamburger span,
body.home-page .hamburger span,
body.router-security-page .hamburger span,
body.support-page .hamburger span,
body.faq-page .hamburger span {
    background-color: var(--theme-text-primary);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(11, 19, 43, 0.3), rgba(28, 37, 65, 0.3));
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* Light theme hero */
body.light-theme .hero,
body.home-page .hero,
body.router-security-page .hero,
body.support-page .hero,
body.faq-page .hero {
    background: linear-gradient(rgba(11, 19, 43, 0.3), rgba(28, 37, 65, 0.3)), inherit;
    color: var(--color-white);
    padding: 2rem 0;
}

@media (max-width: 768px) {
    body.faq-page .hero {
        padding: 1.5rem 0;
    }
}

body.light-theme .hero-title,
body.home-page .hero-title,
body.router-security-page .hero-title,
body.support-page .hero-title,
body.faq-page .hero-title {
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4);
}

body.light-theme .hero-subtitle,
body.home-page .hero-subtitle,
body.router-security-page .hero-subtitle,
body.support-page .hero-subtitle,
body.faq-page .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 3px 12px rgba(0, 0, 0, 0.4);
}

.hero .container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-gray-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero-tagline strong {
        color: var(--color-light);
}

.hero-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.hero-feature-box {
    background: rgba(111, 255, 233, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 2px solid rgba(111, 255, 233, 0.2);
    text-align: left;
}

.hero-feature-box p {
    margin: 0;
    line-height: 1.8;
    color: var(--color-gray-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-feature-box strong {
    color: var(--color-white);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.3rem;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
}


/* ===================================
   Page Hero (Sub-pages)
   =================================== */
.page-hero {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-medium) 100%);
    color: var(--color-white);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

body.terms-page .page-hero h1,
body.privacy-page .page-hero h1 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--color-gray-light);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--color-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(91, 192, 190, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Light theme buttons */
body.light-theme .btn-secondary,
body.router-security-page .btn-secondary,
body.support-page .btn-secondary,
body.faq-page .btn-secondary {
    color: var(--theme-accent);
    border-color: var(--theme-accent);
}

body.light-theme .btn-secondary:hover,
body.router-security-page .btn-secondary:hover,
body.support-page .btn-secondary:hover,
body.faq-page .btn-secondary:hover {
    background-color: var(--theme-accent);
    color: var(--color-white);
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.content-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.content-section p {
    color: var(--color-darkest);
}

.content-section .feature-item h4 {
    color: var(--color-accent-dark);
}

.content-section.dark {
    background: linear-gradient(135deg, rgba(11, 19, 43, 0.8) 0%, rgba(28, 37, 65, 0.8) 100%);
    backdrop-filter: blur(10px);
    color: var(--color-white);
}

.content-section.dark p {
    color: var(--color-gray-light);
}

.content-section.dark .feature-item h4 {
    color: var(--color-light);
}

/* Light theme content sections */
body.light-theme .content-section,
body.router-security-page .content-section,
body.support-page .content-section,
body.faq-page .content-section {
    background: var(--theme-bg-section);
    padding: 1.5rem 0;
}

body.home-page .content-section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl) var(--spacing-md);
}

body.home-page .content-section.dark {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--color-white);
}

body.home-page .content-section.dark p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
}

body.home-page .content-section.dark h2,
body.home-page .content-section.dark h3 {
    color: var(--color-white);
}

body.home-page .content-section.dark .pricing-note {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
}

body.home-page .content-section.dark .pricing-note a {
    color: var(--color-light);
}

/* Override text color in pricing cards (they have white backgrounds) */
body.home-page .content-section.dark .pricing-card {
    color: var(--color-darkest);
}

body.home-page .content-section.dark .pricing-card h3,
body.home-page .content-section.dark .pricing-card p,
body.home-page .content-section.dark .pricing-card li,
body.home-page .content-section.dark .pricing-card strong {
    color: var(--color-darkest);
}

body.home-page .content-section.dark .pricing-card .pricing-card-desc {
    color: var(--color-gray);
}

body.home-page .content-section.dark .pricing-card .feature-desc {
    color: var(--color-gray);
}

@media (max-width: 768px) {
    body.faq-page .content-section {
        padding: 1.25rem 0.75rem;
    }
}

@media (min-width: 769px) {
    body.faq-page .content-section {
        padding: 2rem 0;
    }
}

body.light-theme .content-section p,
body.router-security-page .content-section p,
body.support-page .content-section p,
body.faq-page .content-section p {
    color: var(--theme-text-secondary);
}

body.light-theme .content-section h2,
body.router-security-page .content-section h2,
body.support-page .content-section h2,
body.faq-page .content-section h2 {
    color: var(--theme-text-primary);
}

body.light-theme .content-section h3,
body.router-security-page .content-section h3,
body.support-page .content-section h3,
body.faq-page .content-section h3 {
    color: var(--theme-text-primary);
}

body.light-theme .content-section.dark,
body.router-security-page .content-section.dark,
body.support-page .content-section.dark,
body.faq-page .content-section.dark {
    background: var(--theme-bg-section-dark);
    color: var(--theme-text-primary);
}

body.light-theme .content-section.dark p,
body.router-security-page .content-section.dark p,
body.support-page .content-section.dark p,
body.faq-page .content-section.dark p {
    color: var(--theme-text-secondary);
}

body.light-theme .content-section.dark .feature-item h4,
body.router-security-page .content-section.dark .feature-item h4,
body.support-page .content-section.dark .feature-item h4,
body.faq-page .content-section.dark .feature-item h4 {
    color: var(--theme-accent);
}

/* Light theme form styles */
body.light-theme .form-group label,
body.support-page .form-group label,
body.faq-page .form-group label,
body.router-security-page .form-group label {
    color: var(--theme-text-primary);
}

body.light-theme .contact-form-container h2,
body.support-page .contact-form-container h2,
body.faq-page .contact-form-container h2,
body.router-security-page .contact-form-container h2 {
    color: var(--theme-text-primary);
}

body.light-theme .feature-item h4,
body.router-security-page .feature-item h4,
body.support-page .feature-item h4,
body.faq-page .feature-item h4 {
    color: var(--theme-accent);
}

body.light-theme .feature-item p,
body.router-security-page .feature-item p,
body.support-page .feature-item p,
body.faq-page .feature-item p {
    color: var(--theme-text-secondary);
}

/* Background images applied to body so content sections can show through */
body.home-page {
    background: url('/images/hero-stock/router-on-desk-light.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.endpoint-security-page {
    background: url('/images/hero-stock/finger-touching-tablet-chart.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.network-security-page {
    background: url('/images/hero-stock/hero-celltower-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.integration-page {
    background: url('/images/hero-stock/hero-code-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.overview-page {
    background: url('/images/hero-stock/hero-network-security.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.contact-page {
    background: url('/images/hero-stock/fiber-optic-bokeh-rainbow.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.about-page {
    background: url('/images/hero-stock/server-room-cables-blue-lighting.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.router-security-page {
    background: var(--theme-bg-primary);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.support-page {
    background: url('/images/hero-stock/hand-using-smartphone-night-bokeh.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body.faq-page {
    background: url('/images/hero-stock/abstract-soap-bubbles-blue-orange.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Hero sections keep their gradient overlay */
body.home-page .hero,
body.endpoint-security-page .hero,
body.network-security-page .hero,
body.integration-page .hero,
body.contact-page .hero,
body.about-page .hero,
body.router-security-page .hero,
body.support-page .hero,
body.faq-page .hero {
    background: linear-gradient(rgba(11, 19, 43, 0.3), rgba(28, 37, 65, 0.3)), inherit;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.section-grid.reverse {
    direction: rtl;
}

.section-grid.reverse > * {
    direction: ltr;
}

.section-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.5em;
}

.section-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: inherit;
    opacity: 0.9;
}

.section-image {
    overflow: hidden;
}

.section-image .round {
    border-radius: 50px;
} 

.section-image img {
    width: 100%;
    height: auto;
}
.section-image .small {
    width: 80%;
    height: 80%;
    align-self: center;
}

.link-arrow {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: var(--spacing-sm);
}

.link-arrow:hover {
    color: var(--color-light);
    transform: translateX(5px);
}

/* ===================================
   Divider
   =================================== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    margin: 0 auto;
}

/* ===================================
   Products Page
   =================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background-color: var(--color-off-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card h3 {
    padding: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    color: var(--color-darkest);
}

.product-card p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--color-gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

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

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-light);
}

.feature-item p {
    color: var(--color-gray-dark);
    line-height: 1.6;
}



/* ===================================
   About Page
   =================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-box {
    background-color: rgba(111, 255, 233, 0.1);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid rgba(111, 255, 233, 0.2);
    transition: var(--transition);
}

.value-box:hover {
    background-color: rgba(111, 255, 233, 0.15);
    transform: translateY(-5px);
}

.value-box h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-light);
}

.value-box p {
    color: var(--color-gray-light);
}

/* ===================================
   Services Page
   =================================== */
.services-layout {
    display: grid;
    gap: var(--spacing-lg);
}

.service-box {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--spacing-md);
    background-color: var(--color-off-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-darkest);
}

.service-content p {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

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

.benefit-item h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-darkest);
}

/* ===================================
   Contact Page
   =================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
}

.contact-form-container h2,
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-darkest);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(91, 192, 190, 0.1);
}

.contact-info {
    background-color: var(--color-off-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
}

.info-item {
    margin-bottom: var(--spacing-lg);
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-darkest);
}

.info-item p {
    color: var(--color-gray);
    line-height: 1.8;
}

.map-placeholder {
    border-radius: 12px;
    overflow: hidden;
    margin-top: var(--spacing-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.location-text {
    text-align: center;
    margin-top: var(--spacing-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.location-text p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(180deg, rgb(60, 75, 115) 0%, rgb(28, 37, 65) 15%, var(--color-darkest) 100%);
    color: var(--color-white);
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-light);
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: var(--color-gray-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--color-light);
    padding-left: 5px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-medium), transparent);
    margin: var(--spacing-lg) 0;
}

.footer-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--color-gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* ===================================
   Light Theme Footer
   =================================== */
body.light-theme .footer,
body.home-page .footer,
body.router-security-page .footer,
body.support-page .footer,
body.faq-page .footer {
    background: var(--theme-bg-primary);
    background-image: linear-gradient(180deg, rgba(91, 192, 190, 0.25) 0%, rgba(111, 255, 233, 0.15) 50%, transparent 100%);
    color: var(--theme-text-primary);
    border-top: 2px solid var(--theme-header-border);
    position: relative;
    z-index: 1;
}

body.light-theme .footer::before,
body.home-page .footer::before,
body.router-security-page .footer::before,
body.support-page .footer::before,
body.faq-page .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--theme-accent), transparent);
    opacity: 0.6;
}

body.light-theme .footer-section h4,
body.home-page .footer-section h4,
body.router-security-page .footer-section h4,
body.support-page .footer-section h4,
body.faq-page .footer-section h4 {
    color: var(--theme-text-primary);
}

body.light-theme .footer-section ul li a,
body.home-page .footer-section ul li a,
body.router-security-page .footer-section ul li a,
body.support-page .footer-section ul li a,
body.faq-page .footer-section ul li a {
    color: var(--theme-text-secondary);
}

body.light-theme .footer-section ul li a:hover,
body.home-page .footer-section ul li a:hover,
body.router-security-page .footer-section ul li a:hover,
body.support-page .footer-section ul li a:hover,
body.faq-page .footer-section ul li a:hover {
    color: var(--theme-accent);
}

body.light-theme .footer-divider,
body.home-page .footer-divider,
body.router-security-page .footer-divider,
body.support-page .footer-divider,
body.faq-page .footer-divider {
    background: linear-gradient(90deg, transparent, var(--theme-header-border), transparent);
}

body.light-theme .footer-bottom p,
body.home-page .footer-bottom p,
body.router-security-page .footer-bottom p,
body.support-page .footer-bottom p,
body.faq-page .footer-bottom p {
    color: var(--theme-text-secondary);
}

body.light-theme .footer-links a,
body.home-page .footer-links a,
body.router-security-page .footer-links a,
body.support-page .footer-links a,
body.faq-page .footer-links a {
    color: var(--theme-text-secondary);
}

body.light-theme .footer-links a:hover,
body.home-page .footer-links a:hover,
body.router-security-page .footer-links a:hover,
body.support-page .footer-links a:hover,
body.faq-page .footer-links a:hover {
    color: var(--theme-accent);
}

/* ===================================
   Utility Classes
   =================================== */
.centered {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* Utility classes for common inline styles */
.centered-max-width {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-text-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-text.section-text-centered p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.section-text-centered-margin {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-form-container-centered {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.btn-full-width {
    width: 100%;
}

.link-arrow-inline {
    margin-top: var(--spacing-xs);
    display: inline-block;
}

.faq-cta-buttons {
    margin-top: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.container-legal {
    max-width: 900px;
}

.section-image-centered {
    margin: 3rem auto;
    max-width: 800px;
}

.image-rounded-shadow {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-get-started {
    margin-top: var(--spacing-lg);
}

.contact-get-started h3 {
    font-size: 1.3rem;
    color: var(--color-darkest);
    margin-bottom: var(--spacing-sm);
}

.contact-email-link {
    margin-top: var(--spacing-md);
    display: inline-block;
}

.integration-list {
    margin-left: 1.5rem;
    line-height: 1.8;
}

/* ===================================
   Legal Pages (Terms & Privacy)
   =================================== */
.legal-content {
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.2rem;
    color: var(--color-darkest);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-light);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 0.75rem;
    color: var(--color-gray);
}

.legal-content ul {
    margin-bottom: 0.75rem;
    margin-left: var(--spacing-lg);
    color: var(--color-gray);
}

.legal-content ul li {
    margin-bottom: var(--spacing-xs);
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--color-light);
}

/* ===================================
   Stats Grid
   =================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-light);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-gray-light);
}

/* ===================================
   Hero Tagline
   =================================== */
.hero-tagline {
    font-size: 1.2rem;
    margin-top: var(--spacing-md);
    color: var(--color-gray-light);
}

.highlight-text {
    color: var(--color-accent);
    font-size: 1.1rem;
}

/* ===================================
   Feature Tables
   =================================== */
.feature-table {
    overflow-x: auto;
    margin-top: var(--spacing-lg);
}

.feature-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-off-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.feature-table thead {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.feature-table th,
.feature-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--color-gray-light);
}

.feature-table th {
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-table td {
    font-size: 1rem;
    color: var(--color-darkest);
}

.feature-table tbody tr:last-child td {
    border-bottom: none;
}

.feature-table tbody tr:hover {
    background-color: var(--color-off-white);
}

.feature-table .center {
      text-align: center;  
}
.feature-table .checkmark {
    text-align: center;
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: bold;
}

/* ===================================
   Value Props Bar
   =================================== */
.value-props {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .value-props {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.value-prop {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.value-prop > div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.value-prop strong {
    display: block;
    color: var(--color-darkest);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.value-prop span {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===================================
   Billing Toggle
   =================================== */
.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem auto;
    background: rgba(255,255,255,0.05);
    padding: 0.25rem;
    border-radius: 8px;
    width: fit-content;
}

.billing-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--color-gray-light);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.billing-btn:hover {
    color: var(--color-light);
}

.billing-btn.active {
    background: var(--color-accent);
    color: var(--color-dark);
}

.save-badge {
    display: inline-block;
    background: rgba(111, 255, 233, 0.2);
    color: var(--color-accent);
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.25rem;
    font-weight: 700;
}

.billing-btn.active .save-badge {
    background: rgba(0,0,0,0.2);
    color: var(--color-dark);
}

/* ===================================
   Pricing Cards
   =================================== */
.pricing-section-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    margin: 0 auto;
}

/* Override text colors in pricing section card (white background) */
body.home-page .content-section.dark .pricing-section-card {
    color: var(--color-darkest);
}

body.home-page .content-section.dark .pricing-section-card h2,
body.home-page .content-section.dark .pricing-section-card p {
    color: var(--color-darkest);
    text-shadow: none;
}

body.home-page .content-section.dark .pricing-section-card .pricing-note {
    color: var(--color-gray);
    text-shadow: none;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    background: rgba(255,255,255,0.98);
    border-color: var(--color-accent);
    border-width: 2px;
}

.pricing-card-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.pricing-card-header h3 {
    font-size: 1.5rem;
    color: var(--color-darkest);
    margin-bottom: 0.5rem;
}

.pricing-card-price {
    margin: 1rem 0 0.5rem;
}

.pricing-card-price .price {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-darkest);
    line-height: 1;
}

.pricing-card-price .period {
    font-size: 1rem;
    color: var(--color-gray);
}

.pricing-card-desc {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

.pricing-card-desc strong {
    display: block;
    color: var(--color-darkest);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-card-features li {
    padding: 0.75rem 0;
    font-size: 0.9rem;
    color: var(--color-darkest);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.pricing-card-features .feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pricing-card-features .feature-content strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-darkest);
}

.pricing-card-features .feature-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--color-gray);
    line-height: 1.4;
}

.pricing-card-features li.disabled {
    opacity: 0.5;
    color: var(--color-gray);
}

.pricing-card-features .check {
    color: var(--color-accent);
    font-weight: bold;
}

.pricing-card-features .x {
    color: var(--color-gray);
}

.pricing-card-cta {
    margin-top: auto;
}

.pricing-card-cta .btn {
    white-space: nowrap;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.2);
    color: var(--color-darkest);
}

.btn-full-width {
    width: 100%;
    text-align: center;
}

.pricing-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-gray-light);
    margin-top: 2rem;
}

.pricing-note a {
    color: var(--color-accent);
}

/* ===================================
   Comparison Table
   =================================== */
.comparison-table-wrap {
    max-width: 600px;
    margin: 2rem auto 0;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.comparison-table thead th {
    font-weight: 700;
    color: var(--color-darkest);
    font-size: 1rem;
}

.comparison-table thead th.highlight {
    color: var(--color-accent);
}

.comparison-table tbody td {
    color: var(--color-gray);
}

.comparison-table tbody td.highlight {
    color: var(--color-darkest);
    font-weight: 500;
}

.comparison-table tr.category td {
    font-weight: 700;
    color: var(--color-darkest);
    padding-top: 1.25rem;
    border-bottom: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================
   Steps
   =================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

.step {
    text-align: center;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--color-dark);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step h4 {
    color: var(--color-darkest);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===================================
   Business Case Section
   =================================== */
.business-case {
    max-width: 1000px;
    margin: 0 auto;
}

.business-case h3 {
    text-align: center;
    color: var(--color-light);
    margin-bottom: var(--spacing-lg);
    font-size: 1.8rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.calc-item {
    background-color: rgba(111, 255, 233, 0.1);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(111, 255, 233, 0.2);
}

.calc-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-light);
    margin-bottom: var(--spacing-sm);
}

.calc-label {
    font-size: 1rem;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-md);
}

.calc-result {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
}

.why-it-works {
    background-color: rgba(91, 192, 190, 0.1);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid rgba(91, 192, 190, 0.3);
}

.why-it-works h4 {
    color: var(--color-light);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.why-it-works ul {
    list-style: none;
    padding: 0;
}

.why-it-works li {
    padding: var(--spacing-sm) 0;
    color: var(--color-gray-light);
    font-size: 1.1rem;
}

/* ===================================
   FAQ Accordion
   =================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 1.5rem;
}

.faq-category:first-child {
    margin-top: 2rem;
}

.faq-category-title {
    font-size: 1.25rem;
    color: var(--theme-text-primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--theme-accent);
    font-weight: 600;
}

/* Dark theme FAQ styles for non-light pages */
body.home-page:not(.light-theme) .faq-category-title,
body.endpoint-security-page .faq-category-title,
body.network-security-page .faq-category-title,
body.integration-page .faq-category-title,
body.about-page .faq-category-title,
body.contact-page .faq-category-title,
body.overview-page .faq-category-title {
    color: var(--color-light);
    border-bottom-color: var(--color-accent);
}

.faq-item {
    margin-bottom: 0.5rem;
    border: 1px solid var(--theme-header-border);
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--theme-bg-section);
    transition: var(--transition);
}

body.home-page:not(.light-theme) .faq-item,
body.endpoint-security-page .faq-item,
body.network-security-page .faq-item,
body.integration-page .faq-item,
body.about-page .faq-item,
body.contact-page .faq-item,
body.overview-page .faq-item {
    background-color: rgba(28, 37, 65, 0.5);
    border-color: rgba(111, 255, 233, 0.2);
}

.faq-item:hover {
    box-shadow: 0 4px 12px var(--theme-shadow);
}

.faq-question {
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    transition: var(--transition);
    line-height: 1.4;
}

body.home-page:not(.light-theme) .faq-question,
body.endpoint-security-page .faq-question,
body.network-security-page .faq-question,
body.integration-page .faq-question,
body.about-page .faq-question,
body.contact-page .faq-question,
body.overview-page .faq-question {
    color: var(--color-white);
}

.faq-question:hover {
    color: var(--theme-accent);
}

body.home-page:not(.light-theme) .faq-question:hover,
body.endpoint-security-page .faq-question:hover,
body.network-security-page .faq-question:hover,
body.integration-page .faq-question:hover,
body.about-page .faq-question:hover,
body.contact-page .faq-question:hover,
body.overview-page .faq-question:hover {
    color: var(--color-light);
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--theme-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.75rem;
    line-height: 1;
    min-width: 1.25rem;
}

body.home-page:not(.light-theme) .faq-icon,
body.endpoint-security-page .faq-icon,
body.network-security-page .faq-icon,
body.integration-page .faq-icon,
body.about-page .faq-icon,
body.contact-page .faq-icon,
body.overview-page .faq-icon {
    color: var(--color-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-answer p {
    padding: 0 0 0.75rem 0;
    color: var(--theme-text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

.faq-answer ul {
    margin: 0.5rem 0 0.75rem 1.5rem;
    padding: 0;
    list-style-type: disc;
}

.faq-answer li {
    padding: 0.25rem 0;
    color: var(--theme-text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

body.home-page:not(.light-theme) .faq-answer p,
body.endpoint-security-page .faq-answer p,
body.network-security-page .faq-answer p,
body.integration-page .faq-answer p,
body.about-page .faq-answer p,
body.contact-page .faq-answer p,
body.overview-page .faq-answer p {
    color: var(--color-gray-light);
}

body.home-page:not(.light-theme) .faq-answer li,
body.endpoint-security-page .faq-answer li,
body.network-security-page .faq-answer li,
body.integration-page .faq-answer li,
body.about-page .faq-answer li,
body.contact-page .faq-answer li,
body.overview-page .faq-answer li {
    color: var(--color-gray-light);
}

/* ===================================
   Value Boxes
   =================================== */
.value-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.value-box-large {
    background-color: var(--color-off-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.value-box-large h3 {
    color: var(--color-darkest);
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
}

.value-box-large ul {
    list-style: none;
    padding: 0;
}

.value-box-large li {
    padding: var(--spacing-sm) 0;
    color: var(--color-gray);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===================================
   Responsive Design - Tablet
   =================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        position: relative;
    }

    .nav-left {
        position: fixed;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background-color: var(--color-darkest);
        width: 100%;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        align-items: stretch;
        gap: 0;
        margin-left: 0;
        z-index: 10001;
    }

    /* Light theme mobile menu */
    body.light-theme .nav-left,
    body.home-page .nav-left,
    body.router-security-page .nav-left,
    body.support-page .nav-left,
    body.faq-page .nav-left {
        background-color: var(--theme-bg-section);
        box-shadow: 0 10px 40px var(--theme-shadow);
    }

    .nav-left.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        justify-content: space-between;
    }

    /* Mobile sign-in button - must come after .nav-link */
    .sign-in-link {
        order: -1;
        width: auto !important;
        align-self: flex-end;
        text-align: center;
        padding: 0.5rem 1.25rem !important;
        margin: 0.75rem 1rem;
        border: 2px solid var(--color-accent);
        border-radius: 8px;
        background-color: transparent;
        color: var(--color-accent) !important;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .sign-in-link:hover {
        background-color: var(--color-accent);
        color: var(--color-white) !important;
    }

    /* Light theme mobile sign-in button */
    body.light-theme .sign-in-link,
    body.home-page .sign-in-link,
    body.router-security-page .sign-in-link,
    body.support-page .sign-in-link,
    body.faq-page .sign-in-link {
        border-color: var(--theme-accent);
        color: var(--theme-accent) !important;
    }

    body.light-theme .sign-in-link:hover,
    body.home-page .sign-in-link:hover,
    body.router-security-page .sign-in-link:hover,
    body.support-page .sign-in-link:hover,
    body.faq-page .sign-in-link:hover {
        background-color: var(--theme-accent);
        color: var(--color-white) !important;
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
        background-color: rgba(28, 37, 65, 0.5);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        display: block !important;
        pointer-events: none !important;
    }
    
    /* Mobile active state */
    .dropdown.active .dropdown-menu {
        max-height: 500px !important;
        padding: var(--spacing-xs) 0 !important;
        pointer-events: auto !important;
    }

    /* Light theme mobile dropdown */
    body.light-theme .dropdown-menu,
    body.home-page .dropdown-menu,
    body.router-security-page .dropdown-menu,
    body.support-page .dropdown-menu,
    body.faq-page .dropdown-menu {
        background-color: rgba(240, 242, 245, 0.8);
    }

    .dropdown-menu .nav-link {
        padding-left: 2rem;
    }

    .container {
        padding: 0;
    }

    .hero {
        min-height: 50vh;
        padding: 3rem 1rem;
        background-attachment: scroll;
    }

    .hero .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 2.5rem 1rem;
    }

    .section-grid,
    .section-grid.reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        direction: ltr;
    }

    .section-text h2 {
        font-size: 1.8rem;
        margin-bottom: var(--spacing-sm);
    }

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

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-box {
        grid-template-columns: 1fr;
    }

    .service-box img {
        height: 250px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .divider {
        margin: 0;
        height: 1px;
    }

    /* Table optimizations for tablet */
    .feature-table {
        margin-top: var(--spacing-md);
    }

    .feature-table th,
    .feature-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .feature-table th {
        font-size: 0.95rem;
    }

    .feature-table th small {
        display: block;
        font-size: 0.75rem;
        font-weight: normal;
        margin-top: 0.25rem;
    }

    .feature-table .checkmark {
        font-size: 1.25rem;
    }

    /* Pricing responsive - tablet */
    .pricing-section-card {
        padding: 1.5rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        order: -1;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-props {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-prop {
        align-items: flex-start;
    }
}

/* ===================================
   Responsive Design - Mobile
   =================================== */
@media (max-width: 480px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .container {
        padding: 0;
    }

    .hero {
        padding: 2rem 0.75rem;
        min-height: 45vh;
    }

    .hero .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .content-section {
        padding: 2rem 0.75rem;
    }

    .section-grid,
    .section-grid.reverse {
        gap: 1.25rem;
    }

    .section-text h2 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }

    .section-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .feature-grid {
        gap: 1.25rem;
    }

    .feature-item {
        padding: 1.25rem;
    }

    .feature-item h4 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .feature-item p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

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

    .divider {
        margin: 0;
        height: 1px;
    }
    
    body.home-page .content-section {
        padding: 2rem 1rem;
    }

    .page-hero {
        padding: 2rem 0.75rem;
    }

    .service-desc-item {
        padding: 1.5rem;
    }

    /* FAQ mobile styles - already mobile-first, these are just adjustments */
    .faq-category {
        margin-bottom: 1.25rem;
    }

    .faq-category-title {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 0.65rem 0.85rem;
    }

    .faq-icon {
        font-size: 1.1rem;
        margin-left: 0.5rem;
    }

    .faq-answer {
        padding: 0 0.85rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
        padding-bottom: 0.65rem;
        line-height: 1.5;
    }

    /* Aggressive table optimizations for mobile */
    .feature-table {
        margin-top: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .feature-table table {
        min-width: 100%;
        font-size: 0.8rem;
    }

    .feature-table th,
    .feature-table td {
        padding: 0.5rem 0.4rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .feature-table th {
        font-size: 0.8rem;
        line-height: 1.2;
        white-space: normal;
    }

    .feature-table th br {
        display: block;
        content: "";
    }

    .feature-table th small {
        display: block;
        font-size: 0.65rem;
        font-weight: normal;
        margin-top: 0.2rem;
        opacity: 0.9;
        line-height: 1.1;
    }

    .feature-table td strong {
        display: block;
        margin-bottom: 0.2rem;
        line-height: 1.2;
    }

    .feature-table td br {
        display: none;
    }

    .feature-table td {
        line-height: 1.3;
    }

    .feature-table .checkmark {
        font-size: 1.1rem;
        padding: 0.5rem 0.3rem;
    }

    /* First column (feature names) should be slightly wider */
    .feature-table th:first-child,
    .feature-table td:first-child {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
        white-space: normal;
        min-width: 120px;
        line-height: 1.3;
    }

    /* Pricing cards mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .pricing-card {
        padding: var(--spacing-md);
    }

    .pricing-header h3 {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }

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

/* Desktop FAQ styles - slightly larger but still compact */
@media (min-width: 769px) {
    .faq-category {
        margin-bottom: 2rem;
    }

    .faq-category-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 0.85rem 1.25rem;
    }

    .faq-icon {
        font-size: 1.35rem;
        margin-left: 1rem;
    }

    .faq-answer {
        padding: 0 1.25rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
        padding-bottom: 0.85rem;
        line-height: 1.65;
    }
}


/* ===================================
   Service Descriptions
   =================================== */
.service-descriptions {
    display: grid;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.service-desc-item {
    background-color: var(--color-off-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-desc-item h3 {
    color: var(--color-darkest);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.service-desc-item h4 {
    color: var(--color-medium);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.service-desc-item ul {
    list-style: none;
    padding: 0;
}

.service-desc-item li {
    padding: var(--spacing-xs) 0;
    color: var(--color-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Logo text styling */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

/* ===================================
   2026 Consumer-First Rewrite Overrides
   =================================== */
body.features-page,
body.free-pro-page,
body.partners-page,
body.partners-router-page,
body.partners-isps-page {
    --theme-bg-primary: #FFFFFF;
    --theme-bg-secondary: #F8F9FA;
    --theme-bg-section: #FFFFFF;
    --theme-bg-section-dark: #F0F2F5;
    --theme-text-primary: #1C2541;
    --theme-text-secondary: #3A506B;
    --theme-header-bg: rgba(255, 255, 255, 0.98);
    --theme-header-border: rgba(91, 192, 190, 0.2);
    --theme-accent: #5BC0BE;
    --theme-shadow: rgba(0, 0, 0, 0.08);
}

body.features-page,
body.free-pro-page,
body.partners-page,
body.partners-router-page,
body.partners-isps-page,
body.integration-page,
body.contact-page,
body.about-page,
body.support-page,
body.home-page {
    color: var(--theme-text-primary);
}

body.features-page .header,
body.free-pro-page .header,
body.partners-page .header,
body.partners-router-page .header,
body.partners-isps-page .header,
body.integration-page .header,
body.contact-page .header,
body.about-page .header,
body.support-page .header,
body.home-page .header {
    background-color: var(--theme-header-bg);
    border-bottom: 1px solid var(--theme-header-border);
    box-shadow: 0 2px 10px var(--theme-shadow);
}

body.features-page .nav-link,
body.free-pro-page .nav-link,
body.partners-page .nav-link,
body.partners-router-page .nav-link,
body.partners-isps-page .nav-link,
body.integration-page .nav-link,
body.contact-page .nav-link,
body.about-page .nav-link,
body.support-page .nav-link,
body.home-page .nav-link,
body.features-page .logo-text,
body.free-pro-page .logo-text,
body.partners-page .logo-text,
body.partners-router-page .logo-text,
body.partners-isps-page .logo-text,
body.integration-page .logo-text,
body.contact-page .logo-text,
body.about-page .logo-text,
body.support-page .logo-text,
body.home-page .logo-text {
    color: var(--theme-text-primary);
}

body.features-page .hero,
body.free-pro-page .hero,
body.partners-page .hero,
body.partners-router-page .hero,
body.partners-isps-page .hero,
body.integration-page .hero,
body.contact-page .hero,
body.about-page .hero,
body.support-page .hero,
body.home-page .hero {
    min-height: 42vh;
}

body.features-page .content-section,
body.free-pro-page .content-section,
body.partners-page .content-section,
body.partners-router-page .content-section,
body.partners-isps-page .content-section,
body.integration-page .content-section,
body.contact-page .content-section,
body.about-page .content-section,
body.support-page .content-section,
body.home-page .content-section {
    padding: 2.5rem 0;
    background: transparent;
    backdrop-filter: none;
}

body.features-page .content-section .container,
body.free-pro-page .content-section .container,
body.partners-page .content-section .container,
body.partners-router-page .content-section .container,
body.partners-isps-page .content-section .container,
body.integration-page .content-section .container,
body.contact-page .content-section .container,
body.about-page .content-section .container,
body.support-page .content-section .container,
body.home-page .content-section .container {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(91, 192, 190, 0.16);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

body.features-page .content-section h2,
body.free-pro-page .content-section h2,
body.partners-page .content-section h2,
body.partners-router-page .content-section h2,
body.partners-isps-page .content-section h2,
body.integration-page .content-section h2,
body.contact-page .content-section h2,
body.about-page .content-section h2,
body.support-page .content-section h2,
body.home-page .content-section h2 {
    margin-bottom: 0.9rem;
}

body.features-page .content-section ul,
body.free-pro-page .content-section ul,
body.partners-page .content-section ul,
body.partners-router-page .content-section ul,
body.partners-isps-page .content-section ul,
body.integration-page .content-section ul,
body.contact-page .content-section ul,
body.about-page .content-section ul,
body.support-page .content-section ul,
body.home-page .content-section ul,
body.features-page .content-section ol,
body.free-pro-page .content-section ol,
body.partners-page .content-section ol,
body.partners-router-page .content-section ol,
body.partners-isps-page .content-section ol,
body.integration-page .content-section ol,
body.contact-page .content-section ol,
body.about-page .content-section ol,
body.support-page .content-section ol,
body.home-page .content-section ol {
    margin: 0.75rem 0 0 1.2rem;
    line-height: 1.8;
}

body.features-page .hero-content > .btn,
body.free-pro-page .hero-content > .btn,
body.partners-page .hero-content > .btn,
body.partners-router-page .hero-content > .btn,
body.partners-isps-page .hero-content > .btn,
body.integration-page .hero-content > .btn,
body.contact-page .hero-content > .btn,
body.about-page .hero-content > .btn,
body.support-page .hero-content > .btn,
body.home-page .hero-content > .btn {
    margin: 0.25rem;
}

/* ===================================
   Brand-Guideline Visual Refresh
   =================================== */
:root {
    --brand-cyan: #6CE1FF;
    --brand-blue: #5FA6FF;
    --brand-deep-blue: #3E86EE;
    --ink-navy: #0B1526;
    --paper: #FBFCFE;
    --paper-2: #F4F7FB;
    --paper-3: #EAF0F7;
    --line: #E2E8F0;
    --ink-4: #8496AE;
    --ink-3: #4A5A75;
    --ink-2: #243149;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(1200px 600px at 50% 0%, #ffffff 0%, var(--paper-2) 52%, var(--paper-3) 100%);
    color: var(--ink-navy);
}

.hero {
    background: linear-gradient(125deg, var(--brand-cyan) 0%, var(--brand-blue) 55%, var(--brand-deep-blue) 100%) !important;
    min-height: 48vh !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.hero::before {
    background: linear-gradient(rgba(11, 21, 38, 0.42), rgba(11, 21, 38, 0.48)) !important;
}

.hero-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.4rem, 5.6vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.96) !important;
    font-size: clamp(1.08rem, 2vw, 1.25rem);
    line-height: 1.65;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content > p {
    color: rgba(255, 255, 255, 0.88);
    margin-top: 1rem;
}

.hero-cta {
    margin-top: 1.25rem;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
}

.btn-primary {
    background: var(--ink-navy);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: #16253d;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(11, 21, 38, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.56);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.content-section {
    padding: 3rem 0;
}

.content-section .container {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    padding: 2rem !important;
    box-shadow: 0 8px 28px rgba(36, 49, 73, 0.08) !important;
}

.content-section h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem !important;
}

.content-section h3 {
    color: var(--ink-2);
    font-size: 1.25rem;
}

.content-section p {
    color: var(--ink-3) !important;
    line-height: 1.75 !important;
}

.content-section li {
    color: var(--ink-2);
    margin-bottom: 0.45rem;
    line-height: 1.7;
}

.header {
    background: rgba(251, 252, 254, 0.95) !important;
    border-bottom: 1px solid var(--line) !important;
}

.nav-link, .logo-text {
    color: var(--ink-2) !important;
}

.sign-in-link {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.dropdown-menu {
    background: #fff !important;
    border: 1px solid var(--line) !important;
}

.footer {
    background: linear-gradient(180deg, #eef4fc 0%, #e6eef8 100%) !important;
    border-top: 1px solid var(--line);
    padding-top: 3rem;
}

.footer-section ul li a {
    color: var(--ink-3) !important;
    line-height: 1.85;
}

.footer-section ul li a:hover {
    color: var(--ink-navy) !important;
}

@media (max-width: 768px) {
    .content-section .container {
        padding: 1.25rem !important;
        border-radius: 14px !important;
    }
    .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }
}

/* ===================================
   Final Responsive Stabilization
   =================================== */
.nav-container {
    gap: 0.75rem;
}

.nav-menu {
    gap: 0.5rem;
}

.nav-link {
    font-size: 0.92rem;
    padding: 0.45rem 0.65rem;
}

.hero-cta .btn {
    min-width: 190px;
}

/* Cleaner card rhythm */
.content-section {
    padding: 2.4rem 0 !important;
}

.content-section + .content-section {
    padding-top: 0 !important;
}

.content-section .container {
    margin-top: 0.25rem;
}

/* Free & Pro mobile stack */
.free-pro-page .pricing-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem;
    max-width: 920px;
}

@media (min-width: 1024px) {
    .free-pro-page .pricing-cards {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* Force robust mobile nav behavior */
@media (max-width: 900px) {
    .hamburger {
        display: flex !important;
    }

    .nav-left {
        position: fixed !important;
        top: 50px !important;
        left: -100% !important;
        width: 100% !important;
        max-height: calc(100vh - 50px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: #ffffff !important;
        border-top: 1px solid var(--line);
        box-shadow: 0 12px 24px rgba(36, 49, 73, 0.14);
        margin-left: 0 !important;
        padding: 0.5rem 0 1rem !important;
        z-index: 10001 !important;
        display: block !important;
    }

    .nav-left.active {
        left: 0 !important;
    }

    .nav-menu {
        display: block !important;
        width: 100% !important;
    }

    .nav-item {
        width: 100% !important;
    }

    .nav-item > .nav-link {
        width: 100% !important;
        justify-content: space-between;
        border-radius: 0 !important;
        padding: 0.85rem 1rem !important;
        font-size: 1rem !important;
    }

    .sign-in-link {
        display: inline-flex !important;
        margin: 0.75rem 1rem 0.5rem !important;
        width: auto !important;
        border: 1px solid var(--line) !important;
        background: var(--paper-2) !important;
    }

    .dropdown-menu {
        position: static !important;
        display: block !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border: 0 !important;
        border-left: 2px solid var(--line) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 0 0 1rem !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .dropdown.active .dropdown-menu {
        max-height: 420px !important;
        padding: 0.15rem 0 0.45rem !important;
    }

    .dropdown-menu .nav-link {
        padding: 0.7rem 0.9rem !important;
        font-size: 0.95rem !important;
    }

    .hero {
        min-height: 44vh !important;
        padding: 2.6rem 0.9rem !important;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        line-height: 1.05 !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .hero-cta {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .hero-cta .btn {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .content-section .container {
        padding: 1.15rem !important;
        border-radius: 12px !important;
    }

    .content-section h2 {
        font-size: clamp(1.45rem, 6.7vw, 1.9rem) !important;
    }

    .free-pro-page .pricing-cards {
        grid-template-columns: 1fr !important;
    }

    .footer {
        padding: 2rem 1rem 1.5rem !important;
    }

    .footer-section ul li {
        margin-bottom: 0.2rem;
    }

    .footer-section ul li a {
        line-height: 2.05 !important;
    }
}

/* Runtime mobile fallback class */
body.is-mobile .hamburger { display: flex !important; }
body.is-mobile .nav-left {
    position: fixed !important;
    top: 64px !important;
    left: -100% !important;
    width: 100% !important;
    max-height: calc(100vh - 64px) !important;
    overflow-y: auto !important;
    background: #fff !important;
    padding: 0.5rem 0 1rem !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18) !important;
    display: block !important;
}
body.is-mobile .nav-left.active { left: 0 !important; }
body.is-mobile .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
}
body.is-mobile .nav-item,
body.is-mobile .nav-item > .nav-link {
    width: 100% !important;
}
body.is-mobile .nav-item > .nav-link {
    border-radius: 0 !important;
    justify-content: space-between !important;
    padding: 0.85rem 1rem !important;
}
body.is-mobile .dropdown-menu {
    position: static !important;
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
body.is-mobile .dropdown.active .dropdown-menu { max-height: 420px !important; }
body.is-mobile .free-pro-page .pricing-cards,
body.is-mobile .free-pro-page .pricing-cards {
    grid-template-columns: 1fr !important;
}
body.is-mobile .feature-grid { grid-template-columns: 1fr !important; }

/* Overflow-aware compact nav fallback */
body.compact-nav .hamburger {
    display: flex !important;
}

body.compact-nav .nav-left {
    position: fixed !important;
    top: 50px !important;
    left: -100% !important;
    width: 100% !important;
    max-height: calc(100vh - 50px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #ffffff !important;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(36, 49, 73, 0.14);
    margin-left: 0 !important;
    padding: 0.5rem 0 1rem !important;
    z-index: 10001 !important;
    display: block !important;
}

body.compact-nav .nav-left.active {
    left: 0 !important;
}

body.compact-nav .nav-menu {
    display: block !important;
    width: 100% !important;
}

body.compact-nav .nav-item {
    width: 100% !important;
}

body.compact-nav .nav-item > .nav-link {
    width: 100% !important;
    justify-content: space-between;
    border-radius: 0 !important;
    padding: 0.85rem 1rem !important;
    font-size: 1rem !important;
}

body.compact-nav .sign-in-link {
    display: inline-flex !important;
    margin: 0.75rem 1rem 0.5rem !important;
    width: auto !important;
    border: 1px solid var(--line) !important;
    background: var(--paper-2) !important;
}

body.compact-nav .dropdown-menu {
    position: static !important;
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    border: 0 !important;
    border-left: 2px solid var(--line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 0 0 1rem !important;
    padding: 0 !important;
    background: transparent !important;
}

body.compact-nav .dropdown.active .dropdown-menu {
    max-height: 420px !important;
    padding: 0.15rem 0 0.45rem !important;
}

/* ===================================
   Emergency Layout Recovery (authoritative)
   =================================== */
body { background: #f2f7fc !important; }

.hero {
    background: linear-gradient(rgba(11, 21, 38, 0.45), rgba(11, 21, 38, 0.45)), url('/images/mesh-bg.svg') center/cover no-repeat !important;
}

.hero .hero-content { max-width: 920px; }

.content-section { padding: 2rem 1rem !important; }

.content-section .container {
    max-width: 1080px !important;
    margin: 0 auto !important;
}

.section-media {
    margin-top: 1rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dce7f5;
}

.section-media img { width: 100%; display: block; }

/* desktop nav */
.nav-container { min-height: 64px !important; }
.hamburger { display: none !important; }
.nav-left {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    margin-left: 1rem !important;
    left: auto !important;
    width: auto !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}
.nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    flex-direction: row !important;
}
.nav-item { width: auto !important; }
.nav-item > .nav-link {
    width: auto !important;
    padding: 0.5rem 0.7rem !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
}
.sign-in-link {
    margin-left: 0.75rem !important;
    padding: 0.45rem 0.8rem !important;
}

/* restore two-column pricing on desktop */
.free-pro-page .pricing-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    max-width: 960px !important;
}

/* mobile nav and cards */
@media (max-width: 900px) {
    .hamburger { display: flex !important; }
    .nav-left {
        position: fixed !important;
        top: 64px !important;
        left: -100% !important;
        width: 100% !important;
        max-height: calc(100vh - 64px) !important;
        overflow-y: auto !important;
        background: #fff !important;
        box-shadow: 0 10px 24px rgba(0,0,0,0.18) !important;
        padding: 0.5rem 0 1rem !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .nav-left.active { left: 0 !important; }
    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 0 !important;
    }
    .nav-item { width: 100% !important; }
    .nav-item > .nav-link {
        width: 100% !important;
        justify-content: space-between !important;
        padding: 0.85rem 1rem !important;
        border-radius: 0 !important;
        font-size: 1rem !important;
    }
    .dropdown-menu {
        position: static !important;
        display: block !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        border: 0 !important;
        margin: 0 0 0 1rem !important;
        transform: none !important;
        box-shadow: none !important;
    }
    .dropdown.active .dropdown-menu {
        max-height: 420px !important;
        padding: 0.2rem 0 !important;
    }
    .sign-in-link {
        margin: 0.75rem 1rem 0.4rem !important;
        align-self: flex-start !important;
    }
    .free-pro-page .pricing-cards {
        grid-template-columns: 1fr !important;
    }
}

/* Final spec v3 overrides kept last so legacy page styles cannot win. */
body,
body.home-page,
body.features-page,
body.free-pro-page,
body.support-page,
body.about-page,
body.partners-page,
body.partners-router-page,
body.partners-isps-page,
body.integration-page,
body.contact-page {
    font-family: var(--sans) !important;
    color: var(--ink) !important;
    background: var(--paper) !important;
    letter-spacing: 0 !important;
}

.header {
    background: rgba(251, 252, 254, 0.94) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: none !important;
}

.logo-text {
    color: var(--ink) !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
}

.hero {
    min-height: auto !important;
    padding: clamp(4rem, 8vw, 7rem) var(--spacing-md) !important;
    color: var(--ink) !important;
    background: var(--grad-soft) !important;
}

.hero .container {
    text-align: left !important;
}

.hero-title {
    font-family: var(--serif) !important;
    font-weight: 400 !important;
    font-size: clamp(3.3rem, 8vw, 6rem) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
    color: var(--ink) !important;
    text-shadow: none !important;
}

.hero-subtitle {
    color: var(--ink-2) !important;
    font-weight: 400 !important;
    text-shadow: none !important;
}

.content-section,
body.home-page .content-section,
body.support-page .content-section {
    background: var(--paper) !important;
    backdrop-filter: none !important;
}

.content-section.band {
    background: var(--paper-2) !important;
}

.content-section h2 {
    font-family: var(--serif) !important;
    font-size: clamp(2.25rem, 4vw, 3.35rem) !important;
    font-weight: 400 !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
    color: var(--ink) !important;
}

.content-section p,
.content-section li {
    color: var(--ink-2);
}

.feature-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

.feature-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.feature-item,
.panel,
.pricing-card,
.faq-category {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.footer {
    background: var(--ink) !important;
    color: #fff !important;
    border-top: 0 !important;
}

@media (max-width: 900px) {
    .feature-grid,
    .feature-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 620px) {
    .hero {
        padding: 3rem 1rem !important;
    }

    .feature-grid,
    .feature-grid.compact {
        grid-template-columns: 1fr !important;
    }
}

/* Keep the established hero image library from the previous site. */
body.home-page .hero {
    background-image: linear-gradient(90deg, rgba(11, 21, 38, 0.78), rgba(11, 21, 38, 0.34)), url('/images/hero-stock/router-on-desk-light.jpg') !important;
}

body.features-page .hero {
    background-image: linear-gradient(90deg, rgba(11, 21, 38, 0.78), rgba(11, 21, 38, 0.34)), url('/images/hero-stock/dns-filtering.jpg') !important;
}

body.free-pro-page .hero {
    background-image: linear-gradient(90deg, rgba(11, 21, 38, 0.78), rgba(11, 21, 38, 0.34)), url('/images/hero-stock/laptop-corner-gradient-pink-cyan.jpg') !important;
}

body.support-page .hero {
    background-image: linear-gradient(90deg, rgba(11, 21, 38, 0.78), rgba(11, 21, 38, 0.34)), url('/images/hero-stock/hand-using-smartphone-night-bokeh.jpg') !important;
}

body.about-page .hero {
    background-image: linear-gradient(90deg, rgba(11, 21, 38, 0.78), rgba(11, 21, 38, 0.34)), url('/images/hero-stock/server-room-cables-blue-lighting.jpg') !important;
}

body.partners-page .hero {
    background-image: linear-gradient(90deg, rgba(11, 21, 38, 0.78), rgba(11, 21, 38, 0.34)), url('/images/hero-stock/router-integration.jpg') !important;
}

body.partners-router-page .hero {
    background-image: linear-gradient(90deg, rgba(11, 21, 38, 0.78), rgba(11, 21, 38, 0.34)), url('/images/hero-stock/router-black-four-antennas-led-lights.jpg') !important;
}

body.partners-isps-page .hero {
    background-image: linear-gradient(90deg, rgba(11, 21, 38, 0.78), rgba(11, 21, 38, 0.34)), url('/images/hero-stock/hero-celltower-background.jpg') !important;
}

body.integration-page .hero {
    background-image: linear-gradient(90deg, rgba(11, 21, 38, 0.78), rgba(11, 21, 38, 0.34)), url('/images/hero-stock/hero-code-background.jpg') !important;
}

body.contact-page .hero {
    background-image: linear-gradient(90deg, rgba(11, 21, 38, 0.78), rgba(11, 21, 38, 0.34)), url('/images/hero-stock/fiber-optic-bokeh-rainbow.jpg') !important;
}

body.home-page .hero,
body.features-page .hero,
body.free-pro-page .hero,
body.support-page .hero,
body.about-page .hero,
body.partners-page .hero,
body.partners-router-page .hero,
body.partners-isps-page .hero,
body.integration-page .hero,
body.contact-page .hero {
    background-size: cover !important;
    background-position: center !important;
}

body.home-page .hero::before,
body.features-page .hero::before,
body.free-pro-page .hero::before,
body.support-page .hero::before,
body.about-page .hero::before,
body.partners-page .hero::before,
body.partners-router-page .hero::before,
body.partners-isps-page .hero::before,
body.integration-page .hero::before,
body.contact-page .hero::before {
    display: none !important;
}

body.home-page .hero .eyebrow,
body.features-page .hero .eyebrow,
body.free-pro-page .hero .eyebrow,
body.support-page .hero .eyebrow,
body.about-page .hero .eyebrow,
body.partners-page .hero .eyebrow,
body.partners-router-page .hero .eyebrow,
body.partners-isps-page .hero .eyebrow,
body.integration-page .hero .eyebrow,
body.contact-page .hero .eyebrow,
body.home-page .hero .note,
body.features-page .hero .note,
body.free-pro-page .hero .note,
body.support-page .hero .note,
body.about-page .hero .note,
body.partners-page .hero .note,
body.partners-router-page .hero .note,
body.partners-isps-page .hero .note,
body.integration-page .hero .note,
body.contact-page .hero .note {
    color: rgba(255, 255, 255, 0.78) !important;
}

body.home-page .hero-title,
body.features-page .hero-title,
body.free-pro-page .hero-title,
body.support-page .hero-title,
body.about-page .hero-title,
body.partners-page .hero-title,
body.partners-router-page .hero-title,
body.partners-isps-page .hero-title,
body.integration-page .hero-title,
body.contact-page .hero-title,
body.home-page .hero-subtitle,
body.features-page .hero-subtitle,
body.free-pro-page .hero-subtitle,
body.support-page .hero-subtitle,
body.about-page .hero-subtitle,
body.partners-page .hero-subtitle,
body.partners-router-page .hero-subtitle,
body.partners-isps-page .hero-subtitle,
body.integration-page .hero-subtitle,
body.contact-page .hero-subtitle {
    color: #fff !important;
}

/* Content reduction pass: lighter page structure, fewer framed sections. */
.hero {
    padding: clamp(3rem, 5.5vw, 5rem) var(--spacing-md) !important;
    min-height: 34rem !important;
}

.home-page .hero {
    min-height: 42rem !important;
}

.hero-title {
    font-size: clamp(3rem, 6.2vw, 5.1rem) !important;
    max-width: 760px;
}

.hero-subtitle {
    max-width: 680px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.content-section,
body.home-page .content-section,
body.support-page .content-section {
    padding: clamp(3rem, 5vw, 4.5rem) var(--spacing-md) !important;
}

.content-section + .content-section {
    padding-top: clamp(3rem, 5vw, 4.5rem) !important;
}

.content-section > .container,
body.features-page .content-section .container,
body.free-pro-page .content-section .container,
body.partners-page .content-section .container,
body.partners-router-page .content-section .container,
body.partners-isps-page .content-section .container,
body.integration-page .content-section .container,
body.contact-page .content-section .container,
body.about-page .content-section .container,
body.support-page .content-section .container,
body.home-page .content-section .container {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-left: var(--spacing-md) !important;
    padding-right: var(--spacing-md) !important;
}

.content-section.band {
    background: var(--paper-2) !important;
}

.section-head {
    margin-bottom: 1.5rem !important;
}

.section-head h2,
.content-section h2 {
    max-width: 760px;
}

.feature-grid,
.feature-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

.feature-item,
.panel,
.pricing-card,
.faq-category {
    text-align: left !important;
    border-color: var(--line) !important;
    box-shadow: none !important;
}

.feature-item {
    min-height: 0 !important;
    padding: 1.25rem !important;
}

.feature-item h3,
.feature-item h4 {
    text-align: left !important;
}

.split-cards {
    align-items: stretch;
}

.callout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.callout-row p {
    max-width: 760px;
    margin: 0;
}

.support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.support-actions a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-2);
    font-weight: 600;
    padding: 0.7rem 1rem;
}

.compact-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.contact-layout {
    align-items: start;
}

.contact-form-container {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.footer {
    background: var(--ink) !important;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.76) !important;
}

@media (max-width: 900px) {
    .hero,
    .home-page .hero {
        min-height: auto !important;
    }

    .callout-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Final spacing polish after content trim. */
.content-section,
body.home-page .content-section,
body.support-page .content-section {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
}

.content-section + .content-section {
    padding-top: 2.75rem !important;
}

.support-page #support-search {
    padding-bottom: 1rem !important;
}

.support-page .compact-section {
    padding-top: 0 !important;
    padding-bottom: 1.5rem !important;
}

.home-page .feature-grid,
.features-page .feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.home-page .feature-grid.compact,
.features-page .feature-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

.feature-item h3,
.feature-item h4 {
    font-size: 1rem !important;
}

.feature-item p {
    font-size: 0.92rem !important;
}

.hero {
    min-height: 31rem !important;
}

.home-page .hero {
    min-height: 39rem !important;
}

@media (max-width: 1100px) {
    .home-page .feature-grid,
    .features-page .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    .home-page .feature-grid,
    .features-page .feature-grid {
        grid-template-columns: 1fr !important;
    }
}

html,
body {
    width: 100%;
    overflow-x: hidden !important;
}

.hero {
    width: 100% !important;
    margin: 0 !important;
}

.support-actions {
    margin-top: 1rem;
}

@media (max-width: 620px) {
    .hero,
    body.home-page .hero,
    body.support-page .hero {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }

    .hero > .container {
        padding-left: 1.6rem !important;
        padding-right: 1.6rem !important;
    }

    .hero-title {
        font-size: clamp(2.7rem, 13vw, 3.7rem) !important;
    }

    .home-page .device-frame {
        margin-top: 1.5rem;
    }
}

@media (max-width: 900px) {
    .nav-left {
        left: 0 !important;
        transform: translateX(-105%) !important;
        box-shadow: none !important;
        transition: transform 0.25s ease !important;
    }

    .nav-left.active {
        transform: translateX(0) !important;
        box-shadow: 0 12px 24px rgba(36, 49, 73, 0.14) !important;
    }
}

/* Navigation and footer cleanup. */
.logo img {
    height: 28px !important;
    width: 28px !important;
}

.logo-text {
    letter-spacing: 0.22em !important;
}

.nav-left {
    flex: 0 1 auto !important;
}

.footer {
    background: var(--ink) !important;
    color: #fff !important;
    padding: clamp(3rem, 5vw, 4.5rem) var(--spacing-md) !important;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: 2rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.footer-logo img {
    width: 30px;
    height: 30px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.68) !important;
    max-width: 520px;
    margin: 0;
    line-height: 1.6;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(2rem, 5vw, 5rem) !important;
    margin: 0 !important;
}

.footer-section h4 {
    color: #fff !important;
    font-family: var(--mono);
    font-size: 0.72rem !important;
    font-weight: 500;
    letter-spacing: 0.16em;
    margin-bottom: 1rem !important;
    text-transform: uppercase;
}

.footer-section ul {
    display: grid !important;
    gap: 0.55rem !important;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.74) !important;
    font-size: 0.96rem !important;
}

.footer-section ul li a:hover {
    color: #fff !important;
    padding-left: 0 !important;
}

.pricing-card-features strong {
    display: block;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.pricing-card-features .muted {
    color: var(--ink-4);
}

.content-section .btn-outline {
    background: #fff !important;
    border-color: var(--line-2) !important;
    color: var(--ink) !important;
}

.content-section .btn-outline:hover {
    border-color: var(--blue-2) !important;
    color: var(--blue-2) !important;
}

.support-page #faq .container {
    max-width: 920px !important;
}

.support-page .content-section > .container {
    max-width: 1080px !important;
}

@media (max-width: 760px) {
    .footer-brand {
        align-items: flex-start;
        flex-direction: column;
    }

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

/* Latest navigation, support, and plan cleanup. */
@media (min-width: 901px) {
    .nav-container {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .nav-left {
        flex: 1 1 auto !important;
        margin-left: 1rem !important;
    }

    .nav-menu {
        justify-content: flex-start !important;
    }

    .nav-right {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-left: auto !important;
    }

    .nav-right-menu {
        margin-left: 0 !important;
    }

    .sign-in-link {
        margin-left: 0 !important;
    }
}

.feature-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.feature-detail-grid .feature-item {
    min-height: 100%;
}

.steps + .btn {
    margin-top: 1.25rem;
}

.support-contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    gap: clamp(2rem, 5vw, 4rem) !important;
}

.support-form-copy p {
    max-width: 560px;
}

.form-group select {
    padding: 0.875rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 8px;
    background: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(91, 192, 190, 0.1);
}

.hamburger span {
    background-color: var(--ink) !important;
}

.plans-showcase {
    background:
        linear-gradient(110deg, rgba(108, 225, 255, 0.82) 0%, rgba(95, 166, 255, 0.38) 42%, rgba(238, 55, 159, 0.74) 100%) top / 100% 24rem no-repeat,
        var(--paper) !important;
    padding-top: clamp(4rem, 7vw, 6rem) !important;
}

body.free-pro-page .plans-showcase > .container.plans-panel {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 70px rgba(11, 21, 38, 0.14) !important;
    max-width: 1120px !important;
    padding: clamp(2rem, 5vw, 4rem) !important;
}

.plans-showcase .section-head {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.plans-showcase .pricing-cards {
    max-width: 720px !important;
    gap: 1.5rem !important;
}

.plans-showcase .pricing-card {
    border-radius: 14px !important;
    min-height: 34rem;
    padding: 2rem !important;
}

.plans-showcase .pricing-card.featured {
    border: 2px solid var(--cyan) !important;
    box-shadow: none !important;
    order: 0 !important;
}

.plans-showcase .pricing-card-badge {
    background: #5bc8c8 !important;
    color: #fff !important;
    letter-spacing: 0.12em !important;
}

.plans-showcase .pricing-card-header {
    text-align: center !important;
}

.plans-showcase .pricing-card-header h3 {
    font-family: var(--sans) !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
}

.plans-showcase .pricing-card-features {
    display: grid;
    gap: 0.25rem;
}

.plans-showcase .pricing-card-features li.disabled {
    opacity: 0.48;
}

.plans-showcase .pricing-card-cta {
    margin-top: auto !important;
}

.hero + .content-section:not(.plans-showcase),
.page-hero + .content-section {
    background:
        linear-gradient(110deg, rgba(108, 225, 255, 0.34) 0%, rgba(95, 166, 255, 0.16) 42%, rgba(238, 55, 159, 0.28) 100%) top / 100% 100% no-repeat,
        var(--paper) !important;
}

main > .content-section:last-child,
body > .content-section:last-of-type {
    background:
        linear-gradient(110deg, rgba(108, 225, 255, 0.32) 0%, rgba(95, 166, 255, 0.14) 42%, rgba(238, 55, 159, 0.26) 100%) bottom / 100% 100% no-repeat,
        var(--paper) !important;
}

body.free-pro-page .upgrade-strip {
    padding-bottom: clamp(3rem, 5vw, 4rem) !important;
    padding-top: clamp(3rem, 5vw, 4rem) !important;
}

body.free-pro-page .upgrade-strip + .plans-help-strip {
    margin-top: 0 !important;
}

body.free-pro-page .plans-help-strip {
    background:
        linear-gradient(110deg, rgba(108, 225, 255, 0.32) 0%, rgba(95, 166, 255, 0.14) 42%, rgba(238, 55, 159, 0.26) 100%) !important;
    padding-bottom: clamp(3rem, 5vw, 4rem) !important;
    padding-top: clamp(3rem, 5vw, 4rem) !important;
}

body.free-pro-page .plans-help-strip .container {
    align-items: center !important;
}

.content-section.infrastructure-section,
body.home-page .content-section.infrastructure-section {
    background:
        linear-gradient(180deg, rgba(11, 21, 38, 0.9), rgba(36, 49, 73, 0.9)),
        linear-gradient(110deg, rgba(108, 225, 255, 0.2) 0%, rgba(95, 166, 255, 0.08) 42%, rgba(238, 55, 159, 0.18) 100%) !important;
    color: #fff !important;
}

.infrastructure-section .section-head {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.infrastructure-section .eyebrow,
.infrastructure-section h2,
.infrastructure-section p,
body.home-page .infrastructure-section .eyebrow,
body.home-page .infrastructure-section h2,
body.home-page .infrastructure-section p {
    color: #fff !important;
}

.infrastructure-section .section-head p,
body.home-page .infrastructure-section .section-head p {
    color: rgba(255, 255, 255, 0.72) !important;
}

.infrastructure-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 2.5rem auto 2rem;
    max-width: 940px;
}

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

.infrastructure-stat strong {
    color: var(--cyan);
    display: block;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 0.7rem;
}

.infrastructure-stat span {
    color: rgba(255, 255, 255, 0.78);
    display: block;
    font-weight: 600;
}

.infrastructure-map {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    margin: 0 auto;
    max-width: 820px;
    overflow: hidden;
}

.infrastructure-map img {
    display: block;
    width: 100%;
}

.feature-explainer-section {
    padding-top: 1rem !important;
}

.feature-explainer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.feature-explainer-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    position: relative;
}

.feature-explainer-card::before {
    border-radius: 8px 8px 0 0;
    content: "";
    height: 4px;
    left: -1px;
    position: absolute;
    right: -1px;
    top: -1px;
}

.feature-explainer-card-free {
    background:
        linear-gradient(110deg, rgba(108, 225, 255, 0.12), rgba(95, 166, 255, 0.05)),
        #fff !important;
    border-color: rgba(108, 225, 255, 0.55) !important;
}

.feature-explainer-card-free::before {
    background: #6CE1FF;
}

.feature-explainer-card-pro {
    background: #fff !important;
}

.feature-explainer-card-security::before {
    background: #5FA6FF;
}

.feature-explainer-card-ads::before {
    background: #3E86EE;
}

.feature-explainer-card-privacy::before {
    background: #7B6DFF;
}

.feature-explainer-card-family::before {
    background: #EE379F;
}

.feature-explainer-card-security {
    border-color: rgba(95, 166, 255, 0.45) !important;
}

.feature-explainer-card-ads {
    border-color: rgba(62, 134, 238, 0.45) !important;
}

.feature-explainer-card-privacy {
    border-color: rgba(123, 109, 255, 0.4) !important;
}

.feature-explainer-card-family {
    border-color: rgba(238, 55, 159, 0.35) !important;
}

.feature-explainer-card .eyebrow {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    padding: 0.32rem 0.52rem;
}

.feature-explainer-card-free .eyebrow {
    background: rgba(108, 225, 255, 0.16);
    border-color: rgba(108, 225, 255, 0.45);
}

.feature-explainer-card-pro .eyebrow {
    background: rgba(95, 166, 255, 0.1);
    border-color: rgba(95, 166, 255, 0.26);
    color: var(--blue-2);
}

.feature-explainer-card-security .feature-icon {
    color: #3E86EE !important;
}

.feature-explainer-card-ads .feature-icon {
    color: #1D4FB8 !important;
}

.feature-explainer-card-privacy .feature-icon {
    color: #6A58F6 !important;
}

.feature-explainer-card-family .feature-icon {
    color: #D72F91 !important;
}

.feature-icon {
    align-items: center;
    background: rgba(108, 225, 255, 0.12);
    border: 1px solid rgba(95, 166, 255, 0.24);
    border-radius: 8px;
    color: var(--blue-2);
    display: inline-flex;
    height: 2.4rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 2.4rem;
}

.feature-icon svg {
    fill: none;
    height: 1.25rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 1.25rem;
}

.feature-item .feature-icon {
    margin-bottom: 0.85rem;
}

.feature-item p + p,
.feature-explainer-card p + p {
    margin-top: 0.65rem;
}

.feature-explainer-card .eyebrow {
    margin-bottom: 0.55rem;
}

.feature-explainer-card:first-child {
    grid-column: 1 / -1;
}

.feature-explainer-card h3 {
    color: var(--ink);
    font-size: 1.18rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.feature-explainer-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .feature-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .nav-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 0 !important;
        margin-left: 0 !important;
    }

    .nav-right-menu {
        width: 100% !important;
    }

    .sign-in-link {
        margin: 0.75rem 1rem 0.4rem !important;
        align-self: flex-start !important;
    }

    .support-contact-layout {
        grid-template-columns: 1fr !important;
    }

    .plans-showcase .pricing-cards {
        max-width: 420px !important;
    }

    .plans-showcase .pricing-card {
        min-height: 0;
    }

    .feature-explainer-grid {
        grid-template-columns: 1fr;
    }

    .infrastructure-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .feature-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .infrastructure-stats {
        gap: 1.4rem;
        grid-template-columns: 1fr;
    }
}

/* Final audit polish: numbering, icon color, and long-form readability. */
.steps {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    margin: 1.25rem 0 0 !important;
    max-width: none !important;
}

.steps li {
    align-items: center !important;
    color: var(--ink-2) !important;
    display: grid !important;
    font-weight: 650 !important;
    gap: 0.8rem !important;
    grid-template-columns: 2.25rem minmax(0, 1fr) !important;
    line-height: 1.45 !important;
}

.steps span {
    background: var(--grad) !important;
    box-shadow: 0 8px 18px rgba(62, 134, 238, 0.2) !important;
    color: #fff !important;
    font-family: var(--mono) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    height: 2.25rem !important;
    width: 2.25rem !important;
}

.visual-section .steps {
    max-width: 560px !important;
}

.link-row a {
    background: #fff !important;
}

.feature-icon {
    background: linear-gradient(135deg, rgba(108, 225, 255, 0.18), rgba(95, 166, 255, 0.12)) !important;
    border-color: rgba(95, 166, 255, 0.35) !important;
    color: var(--blue-2) !important;
}

.feature-item h3,
.feature-explainer-card h3,
.pricing-card-features strong {
    color: var(--ink) !important;
}

.page-hero {
    background:
        linear-gradient(110deg, rgba(108, 225, 255, 0.18), rgba(238, 55, 159, 0.14)),
        var(--grad-deep) !important;
}

.container-legal {
    max-width: 960px !important;
}

.legal-content {
    color: var(--ink-2) !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
}

.legal-content h2 {
    color: var(--ink) !important;
    font-family: var(--serif) !important;
    font-size: clamp(1.8rem, 3vw, 2.35rem) !important;
    font-weight: 400 !important;
    line-height: 1.08 !important;
    margin-top: 2rem !important;
}

.legal-content h3 {
    color: var(--ink) !important;
    font-size: 1.08rem !important;
}

.legal-content p,
.legal-content li {
    color: var(--ink-2) !important;
}

@media (max-width: 760px) {
    .hero-title {
        overflow-wrap: anywhere;
    }

    .infrastructure-map {
        border-radius: 8px;
    }

    .infrastructure-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .infrastructure-stat strong {
        font-size: 2.45rem !important;
    }
}

@media (max-width: 620px) {
    .container-legal {
        padding-left: 1.35rem !important;
        padding-right: 1.35rem !important;
    }

    .legal-content {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    .legal-content h2 {
        font-size: clamp(1.55rem, 8vw, 2rem) !important;
    }
}

/* Live-site comparison pass: restore simple home hero, denser support, and visual rhythm. */
body.home-page .hero-home {
    align-items: center !important;
    min-height: clamp(34rem, 68vh, 44rem) !important;
}

body.home-page .hero-home .hero-content {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 860px !important;
    text-align: center !important;
}

body.home-page .hero-home .hero-title {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 860px !important;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34) !important;
}

body.home-page .hero-home .hero-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 720px !important;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.34) !important;
}

.section-head.centered {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.home-benefits {
    background:
        linear-gradient(110deg, rgba(108, 225, 255, 0.3) 0%, rgba(95, 166, 255, 0.12) 42%, rgba(238, 55, 159, 0.22) 100%),
        var(--paper) !important;
    padding-bottom: clamp(4.5rem, 7vw, 6.5rem) !important;
    padding-top: clamp(4.25rem, 6vw, 5.75rem) !important;
}

.home-benefits .section-head h2 {
    margin-left: auto !important;
    margin-right: auto !important;
}

.home-benefits .section-head {
    margin-bottom: clamp(2.25rem, 4vw, 3.4rem) !important;
}

.benefit-strip {
    display: grid;
    gap: clamp(2rem, 5vw, 4.25rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-strip article {
    align-items: start;
    display: grid;
    gap: 0.95rem;
    grid-template-columns: auto minmax(0, 1fr);
}

.benefit-strip .feature-icon {
    height: 2rem;
    margin: 0;
    width: 2rem;
}

.benefit-strip h3 {
    color: var(--ink) !important;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 0.45rem;
}

.benefit-strip p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.image-split {
    align-items: center !important;
}

.image-split .lead {
    margin-top: 0.5rem;
}

.image-card {
    margin: 0;
}

.image-card img {
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(11, 21, 38, 0.16);
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.partner-proof .image-card img {
    aspect-ratio: 16 / 10;
}

.partner-paths {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.partner-paths article {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 8px;
    padding: 1rem 1.1rem;
}

.partner-paths article + article {
    border-left-color: #EE379F;
}

.partner-paths h3 {
    color: var(--ink) !important;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 0.35rem;
}

.partner-paths p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

body.partners-page .partner-intro {
    background:
        linear-gradient(110deg, rgba(108, 225, 255, 0.34) 0%, rgba(95, 166, 255, 0.16) 42%, rgba(238, 55, 159, 0.28) 100%) !important;
}

body.partners-page .partner-intro + .partner-proof {
    background: var(--paper) !important;
}

body.about-page .image-card img {
    max-height: 520px;
}

body.free-pro-page .plan-action-section {
    background:
        linear-gradient(110deg, rgba(108, 225, 255, 0.32) 0%, rgba(95, 166, 255, 0.14) 42%, rgba(238, 55, 159, 0.26) 100%) !important;
    padding-bottom: clamp(4rem, 7vw, 6rem) !important;
    padding-top: clamp(4rem, 7vw, 6rem) !important;
}

body.free-pro-page .plan-action-panel {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 6vw, 6rem);
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

body.free-pro-page .plan-action-panel h2 {
    max-width: 8.5em;
}

body.free-pro-page .plan-action-panel .lead {
    margin-top: 1.1rem;
    max-width: 28rem;
}

body.free-pro-page .plan-action-panel > div:first-child .btn {
    margin-top: 0.6rem;
    width: auto !important;
}

body.free-pro-page .plan-action-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(205, 216, 229, 0.95);
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(11, 21, 38, 0.11);
    padding: clamp(1.4rem, 3vw, 2.2rem);
}

body.free-pro-page .plan-action-card h3 {
    color: var(--ink);
    font-family: var(--sans);
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    line-height: 1.18;
    margin: 0 0 0.75rem;
}

body.free-pro-page .plan-action-card p:not(.eyebrow) {
    margin-bottom: 1.35rem;
}

body.free-pro-page .plan-action-buttons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

body.free-pro-page .plan-action-buttons .btn {
    width: auto !important;
}

.support-page #faq .container {
    max-width: 980px !important;
}

.support-page .faq-container {
    gap: 1.25rem !important;
}

.support-page .faq-category {
    border-radius: 8px !important;
    padding: 1rem !important;
}

.support-page .faq-category-title {
    border-bottom: 2px solid rgba(91, 200, 200, 0.72) !important;
    font-size: 1.05rem !important;
    margin-bottom: 0.65rem !important;
    padding-bottom: 0.45rem !important;
}

.support-page .faq-item {
    margin-bottom: 0.45rem !important;
}

.support-page .faq-question {
    border-radius: 6px !important;
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    padding: 0.62rem 0.8rem !important;
}

.support-page .faq-answer {
    padding: 0 0.8rem !important;
}

.support-page .faq-answer p,
.support-page .faq-answer li {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}

@media (max-width: 900px) {
    .benefit-strip {
        grid-template-columns: 1fr !important;
    }

    .protection-feature-grid {
        grid-template-columns: 1fr !important;
    }

    .image-split,
    .image-split-reverse {
        grid-template-columns: 1fr !important;
    }

    .image-split-reverse .image-card {
        order: 2;
    }

    .router-conversion-grid {
        grid-template-columns: 1fr !important;
    }

    .provider-model-grid {
        grid-template-columns: 1fr !important;
    }

    .integration-component-grid {
        grid-template-columns: 1fr !important;
    }

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

    body.free-pro-page .plan-action-panel {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 620px) {
    .support-page #faq .container,
    .support-page .content-section > .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .support-page .faq-category {
        padding: 0.85rem !important;
    }

    .support-page .faq-question {
        padding: 0.65rem 0.75rem !important;
    }
}

@media (max-width: 900px) {
    .support-strip .btn {
        align-self: flex-start;
        width: auto !important;
    }
}

/* Match the live homepage: the router image is the fixed page background. */
body.home-page {
    background-color: #0B1526 !important;
    background-image: url('/images/hero-stock/router-on-desk-light.jpg') !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

body.home-page .hero-home {
    background:
        linear-gradient(90deg, rgba(11, 21, 38, 0.72), rgba(11, 21, 38, 0.26)) !important;
}

body.home-page .home-benefits {
    background:
        linear-gradient(110deg, rgba(208, 246, 255, 0.92) 0%, rgba(231, 238, 255, 0.88) 45%, rgba(249, 207, 233, 0.9) 100%) !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    align-items: center !important;
    display: flex !important;
    min-height: clamp(28rem, 28vw, 34rem) !important;
    padding-bottom: clamp(5.25rem, 8vw, 7.25rem) !important;
    padding-top: clamp(5rem, 7vw, 6.5rem) !important;
}

body.home-page .home-benefits .container {
    background: transparent !important;
}

body.integration-page .partner-resource-section {
    padding-bottom: clamp(4rem, 7vw, 6rem) !important;
}

body.integration-page .support-strip {
    background:
        linear-gradient(110deg, rgba(108, 225, 255, 0.32) 0%, rgba(95, 166, 255, 0.14) 42%, rgba(238, 55, 159, 0.26) 100%) !important;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
    border-bottom: 0 !important;
    border-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: clamp(4rem, 7vw, 6rem) !important;
    padding-top: clamp(4rem, 7vw, 6rem) !important;
}

body.integration-page .support-strip .container {
    background: transparent !important;
}

/* Balance integration component sections: heading column 1/3, cards 2/3. */
body.integration-page .integration-components {
    align-items: start !important;
    gap: clamp(2rem, 4vw, 4rem) !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
}

body.integration-page .integration-components h2 {
    max-width: 8.5em;
}

body.integration-page .integration-component-grid {
    gap: clamp(1rem, 2vw, 1.4rem) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.integration-page .integration-component-grid article {
    padding: clamp(1.25rem, 2vw, 1.65rem) !important;
}

body.integration-page .integration-component-grid h3 {
    font-size: 1.05rem !important;
    margin-bottom: 0.9rem !important;
}

body.integration-page .integration-component-grid .bullet-list {
    gap: 0.75rem !important;
}

body.integration-page .integration-component-grid .bullet-list li {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
}

/* Make lead paragraphs read as actual lead copy, not slightly larger body copy. */
.content-section .lead {
    color: var(--ink-2) !important;
    font-size: clamp(1.24rem, 1.45vw, 1.42rem) !important;
    font-weight: 650 !important;
    line-height: 1.48 !important;
    margin-bottom: 1rem !important;
}

.content-section .two-col > div > p:not(.lead):not(.eyebrow):not(.note),
.content-section .section-head > p:not(.lead):not(.eyebrow):not(.note) {
    color: var(--ink-3) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.72 !important;
}

@media (max-width: 900px) {
    body.home-page {
        background-attachment: scroll !important;
    }

    body.integration-page .integration-components {
        grid-template-columns: 1fr !important;
    }

    body.integration-page .integration-component-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile density pass: avoid double gutters and use the viewport like an app UI. */
@media (max-width: 700px) {
    :root {
        --mobile-gutter: 0.75rem;
        --mobile-card-padding: 1rem;
    }

    .hero,
    body.home-page .hero,
    body.support-page .hero,
    body.free-pro-page .hero,
    body.partners-page .hero,
    body.partners-router-page .hero,
    body.partners-isps-page .hero,
    body.integration-page .hero,
    body.contact-page .hero,
    body.about-page .hero {
        padding-left: var(--mobile-gutter) !important;
        padding-right: var(--mobile-gutter) !important;
    }

    .content-section,
    body.home-page .content-section,
    body.support-page .content-section,
    body.free-pro-page .content-section,
    body.partners-page .content-section,
    body.partners-router-page .content-section,
    body.partners-isps-page .content-section,
    body.integration-page .content-section,
    body.contact-page .content-section,
    body.about-page .content-section {
        padding-left: var(--mobile-gutter) !important;
        padding-right: var(--mobile-gutter) !important;
    }

    .hero > .container,
    .content-section > .container,
    .content-section .container,
    body.home-page .content-section .container,
    body.support-page .content-section .container,
    body.free-pro-page .content-section .container,
    body.partners-page .content-section .container,
    body.partners-router-page .content-section .container,
    body.partners-isps-page .content-section .container,
    body.integration-page .content-section .container,
    body.contact-page .content-section .container,
    body.about-page .content-section .container {
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    .two-col,
    .split-cards,
    .visual-section,
    .support-contact-layout,
    .contact-layout,
    .sales-contact-layout,
    .plan-action-panel {
        gap: 1.25rem !important;
    }

    .panel,
    .feature-item,
    .feature-explainer-card,
    .pricing-card,
    .pricing-section-card,
    .plan-action-card,
    .resource-grid article,
    .integration-component-grid article,
    .provider-model-grid article,
    .partner-paths article,
    .faq-category,
    .support-contact-form,
    .contact-form,
    .sales-intro-panel {
        padding: var(--mobile-card-padding) !important;
    }

    .feature-icon {
        height: 2rem !important;
        width: 2rem !important;
    }

    .feature-icon svg {
        height: 1.05rem !important;
        width: 1.05rem !important;
    }

    .content-section h2 {
        max-width: 100% !important;
    }
}

/* Final mobile nav and density corrections. */
@media (min-width: 901px) {
    .nav-left {
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
    }

    #navMenu {
        order: 1 !important;
    }

    .nav-right {
        order: 2 !important;
        margin-left: auto !important;
    }

    .nav-left > .sign-in-link {
        order: 3 !important;
        margin-left: 0.75rem !important;
    }
}

@media (max-width: 900px) {
    .nav-left,
    body.is-mobile .nav-left,
    body.compact-nav .nav-left {
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        left: -100vw !important;
        margin: 0 !important;
        max-height: calc(100vh - 64px) !important;
        overflow-y: auto !important;
        padding: 0 !important;
        position: fixed !important;
        right: auto !important;
        top: 64px !important;
        transform: translateX(-100%) !important;
        width: 100vw !important;
        z-index: 10001 !important;
    }

    .nav-left.active,
    body.is-mobile .nav-left.active,
    body.compact-nav .nav-left.active {
        left: 0 !important;
        transform: translateX(0) !important;
    }

    .nav-left > .sign-in-link {
        align-self: stretch !important;
        background: var(--paper-2) !important;
        border: 1px solid var(--line) !important;
        border-radius: 8px !important;
        color: var(--ink-2) !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0.75rem 0.75rem 0.4rem !important;
        order: 1 !important;
        padding: 0.75rem 1rem !important;
        width: auto !important;
    }

    #navMenu {
        order: 2 !important;
    }

    .nav-right {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        order: 3 !important;
        width: 100% !important;
    }

    .nav-right-menu {
        border-top: 1px solid var(--line) !important;
        margin-top: 0.35rem !important;
        padding-top: 0.35rem !important;
        width: 100% !important;
    }

    .dropdown-toggle {
        align-items: center !important;
        display: flex !important;
        gap: 0.75rem !important;
    }

    .dropdown-arrow {
        border-left: 5px solid transparent !important;
        border-right: 5px solid transparent !important;
        border-top: 6px solid var(--ink-2) !important;
        display: inline-block !important;
        flex: 0 0 auto !important;
        height: 0 !important;
        margin-left: auto !important;
        opacity: 1 !important;
        width: 0 !important;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg) !important;
    }

    .nav-item > .nav-link {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media (max-width: 700px) {
    :root {
        --mobile-gutter: 0.5rem;
        --mobile-card-padding: 0.65rem;
    }

    .support-page #faq .container,
    .support-page .content-section > .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .support-page #faq,
    .support-page #support-form {
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
    }

    .support-page #faq .container,
    .support-page .content-section > .container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }

    .faq-category {
        padding: 0.6rem !important;
    }

    .faq-category-title {
        margin-bottom: 0.45rem !important;
        padding-bottom: 0.35rem !important;
    }

    .faq-question {
        border-radius: 5px !important;
        padding: 0.52rem 0.58rem !important;
    }

    .faq-answer {
        padding-left: 0.58rem !important;
        padding-right: 0.58rem !important;
    }

    .feature-item,
    .feature-explainer-card,
    .pricing-card,
    .panel,
    .plan-action-card,
    .resource-grid article,
    .integration-component-grid article,
    .support-contact-form,
    .contact-form {
        padding: 0.65rem !important;
    }
}

/* Keep plan/protection badges visually separate from the icon on feature cards. */
.protection-feature-card .feature-badge,
.feature-explainer-card > .eyebrow {
    margin: 0 !important;
    position: absolute !important;
    right: clamp(0.75rem, 2.4vw, 1.5rem) !important;
    top: clamp(0.75rem, 2.4vw, 1.5rem) !important;
    z-index: 2 !important;
}

.protection-feature-card .feature-icon,
.feature-explainer-card > .feature-icon {
    margin-right: 5rem !important;
}

@media (max-width: 700px) {
    .protection-feature-card .feature-badge,
    .feature-explainer-card > .eyebrow {
        right: 0.65rem !important;
        top: 0.65rem !important;
    }

    .protection-feature-card .feature-icon,
    .feature-explainer-card > .feature-icon {
        margin-right: 4.25rem !important;
    }
}

/* Keep the top navigation pinned while preserving page layout spacing. */
html {
    scroll-padding-top: 64px !important;
}

body {
    padding-top: 64px !important;
}

.header {
    left: 0 !important;
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
}

@media (max-width: 900px) {
    body {
        padding-top: 64px !important;
    }
}
