/* ==========================================================================
   Kabware Services — Landing Site Stylesheet
   Design: "Refined Authority" — deep navy, teal-blue accents, warm highlights
   Typography: Plus Jakarta Sans (display) + DM Sans (body)
   ========================================================================== */

/* ==========================================================================
   0. DESIGN TOKENS
   ========================================================================== */

:root {
    /* — Color Palette — */
    --color-navy-950:    #020617;
    --color-navy-900:    #0f172a;
    --color-navy-800:    #1e293b;
    --color-navy-700:    #334155;
    --color-navy-600:    #475569;
    --color-navy-500:    #64748b;
    --color-navy-400:    #94a3b8;
    --color-navy-300:    #cbd5e1;
    --color-navy-200:    #e2e8f0;
    --color-navy-100:    #f1f5f9;
    --color-navy-50:     #f8fafc;

    --color-accent:      #0ea5e9;     /* sky-500 — primary accent */
    --color-accent-dark: #0284c7;     /* sky-600 */
    --color-accent-light:#38bdf8;     /* sky-400 */
    --color-accent-bg:   #f0f9ff;     /* sky-50 */

    --color-emerald:     #10b981;     /* success */
    --color-emerald-dark:#059669;
    --color-emerald-bg:  #ecfdf5;

    --color-amber:       #f59e0b;     /* highlight/warning */
    --color-amber-bg:    #fffbeb;

    --color-rose:        #ef4444;     /* error/danger */
    --color-rose-bg:     #fef2f2;

    --color-white:       #ffffff;
    --color-surface:     #f8fafc;

    /* — Typography — */
    --font-display:      'Plus Jakarta Sans', sans-serif;
    --font-body:         'DM Sans', sans-serif;
    --font-mono:         'JetBrains Mono', 'Fira Code', monospace;

    /* — Spacing scale (8px base) — */
    --space-1:  0.25rem;   /* 4px */
    --space-2:  0.5rem;    /* 8px */
    --space-3:  0.75rem;   /* 12px */
    --space-4:  1rem;      /* 16px */
    --space-5:  1.5rem;    /* 24px */
    --space-6:  2rem;      /* 32px */
    --space-8:  3rem;      /* 48px */
    --space-10: 4rem;      /* 64px */
    --space-12: 5rem;      /* 80px */
    --space-16: 7rem;      /* 112px */

    /* — Shadows — */
    --shadow-xs:   0 1px 2px rgba(15,23,42,0.04);
    --shadow-sm:   0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md:   0 4px 6px -1px rgba(15,23,42,0.06), 0 2px 4px -2px rgba(15,23,42,0.04);
    --shadow-lg:   0 10px 15px -3px rgba(15,23,42,0.07), 0 4px 6px -4px rgba(15,23,42,0.04);
    --shadow-xl:   0 20px 25px -5px rgba(15,23,42,0.08), 0 8px 10px -6px rgba(15,23,42,0.04);
    --shadow-glow: 0 0 20px rgba(14,165,233,0.15);

    /* — Borders — */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-full:9999px;
    --border:     1px solid var(--color-navy-200);

    /* — Transitions — */
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration:   0.25s;
    --duration-lg:0.4s;
}

/* ==========================================================================
   1. BASE / RESET
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.65;
    color: var(--color-navy-700);
    background: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy-900);
    margin-top: 0;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--duration) var(--ease-out);
}

a:hover {
    color: var(--color-accent-dark);
    text-decoration: none;
}

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

/* Focus ring */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Scroll-triggered reveal animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

/* ==========================================================================
   2. WELCOME / PUBLIC HOME PAGE
   ========================================================================== */

.public-home {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--color-navy-700);
    display: block;
    width: 100%;
}

.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-4);
    color: var(--color-navy-900);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--color-navy-500);
    margin-bottom: var(--space-10);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(160deg, var(--color-navy-950) 0%, var(--color-navy-800) 50%, #0c2d48 100%);
    color: var(--color-white);
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern on hero */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14,165,233,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14,165,233,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Radial glow */
.hero-section::after {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeUp 0.8s var(--ease-out) both;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-5);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-white);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: var(--space-8);
    opacity: 0.85;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--space-12) 0;
    background: var(--color-surface);
}

.phase-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-8);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-navy-100);
    transition: box-shadow var(--duration-lg) var(--ease-out);
}

.phase-card:hover {
    box-shadow: var(--shadow-lg);
}

.phase-badge {
    display: inline-block;
    background: var(--color-navy-900);
    color: var(--color-white);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-5);
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}

.phase-card h3 {
    font-size: 1.85rem;
    margin-bottom: var(--space-5);
    color: var(--color-navy-900);
    letter-spacing: -0.01em;
}

.step {
    display: flex;
    gap: var(--space-5);
    margin-bottom: var(--space-6);
    align-items: flex-start;
}

.step-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-bg);
    border-radius: var(--radius-md);
}

.step-content h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--color-navy-800);
}

.step-content p,
.step-content ul {
    color: var(--color-navy-500);
    margin: 0;
    line-height: 1.7;
}

.step-content ul {
    padding-left: var(--space-5);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    margin: var(--space-6) 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex: 0 1 calc(33.333% - 14px);
    min-width: 250px;
    font-size: 0.95rem;
    color: var(--color-navy-600);
}

.phase-pricing {
    background: var(--color-surface);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    margin: var(--space-6) 0;
    border: 1px solid var(--color-navy-200);
}

.phase-cta {
    text-align: center;
    margin-top: var(--space-6);
}

.diy-features {
    padding-left: var(--space-5);
    margin: var(--space-5) 0;
}

.diy-features li {
    margin-bottom: var(--space-3);
    color: var(--color-navy-500);
    line-height: 1.7;
}

.platform-note {
    color: var(--color-navy-500);
    font-style: italic;
    margin-top: var(--space-5);
}

/* Pricing Section */
.pricing-section {
    padding: var(--space-12) 0;
    background: var(--color-white);
}

.pricing-table-wrapper {
    overflow-x: auto;
    margin-bottom: var(--space-10);
    padding: 0 var(--space-2);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-width: 1100px;
}

.pricing-table thead tr {
    background: var(--color-surface);
}

.pricing-table th {
    padding: var(--space-5) var(--space-4);
    text-align: center;
    vertical-align: top;
    border-bottom: 2px solid var(--color-navy-200);
}

.pricing-table th.feature-column {
    text-align: left;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy-600);
    width: 220px;
    min-width: 180px;
}

.pricing-table th.plan-column {
    position: relative;
    min-width: 160px;
}

.pricing-table th.plan-column.featured {
    background: var(--color-accent-bg);
    border-left: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    border-top: 2px solid var(--color-accent);
}

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

.plan-header h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 var(--space-3) 0;
    color: var(--color-navy-900);
    letter-spacing: -0.01em;
}

.price {
    margin-bottom: var(--space-2);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 0.95rem;
    color: var(--color-navy-500);
}

.plan-description {
    color: var(--color-navy-500);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pricing-table tbody td {
    padding: 14px var(--space-4);
    text-align: center;
    border-bottom: 1px solid var(--color-navy-100);
    color: var(--color-navy-700);
    font-size: 0.95rem;
}

.pricing-table tbody td.feature-name {
    text-align: left;
    font-weight: 500;
    color: var(--color-navy-600);
}

.pricing-table tbody td.featured {
    background: rgba(14,165,233,0.02);
    border-left: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
}

.pricing-table tbody tr:hover {
    background: var(--color-navy-50);
}

.pricing-table tbody tr:hover td.featured {
    background: rgba(14,165,233,0.05);
}

.pricing-table tbody tr.section-row td {
    background: var(--color-navy-100);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-navy-700);
    text-align: left;
    padding: var(--space-3) var(--space-4);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.check-yes {
    color: var(--color-emerald);
    font-weight: bold;
    font-size: 1.1rem;
}

.check-no {
    color: var(--color-navy-300);
    font-size: 1.1rem;
}

.pricing-table tfoot td {
    padding: var(--space-5) var(--space-4);
    text-align: center;
    background: var(--color-surface);
    border-top: 2px solid var(--color-navy-200);
}

.pricing-table tfoot td.featured {
    background: var(--color-accent-bg);
    border-left: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
}

.pricing-table tfoot .btn {
    white-space: nowrap;
}

/* Enterprise note */
.enterprise-note {
    text-align: center;
    margin: var(--space-5) 0;
    font-size: 1.05rem;
    color: var(--color-navy-600);
}

.enterprise-note strong {
    color: var(--color-navy-800);
}

.enterprise-note a {
    color: var(--color-accent);
    font-weight: 600;
}

.enterprise-note a:hover {
    color: var(--color-accent-dark);
}

/* Add-On Services */
.addon-services {
    background: var(--color-surface);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
    text-align: center;
    border: 1px solid var(--color-navy-100);
}

.addon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-5);
    margin: var(--space-6) 0;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-5);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-navy-200);
    flex: 0 1 calc(50% - 12px);
    min-width: 300px;
    transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.addon-item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.addon-price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-accent);
}

/* Overage Pricing */
.overage-pricing {
    text-align: center;
    padding: var(--space-8);
}

.overage-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: var(--space-6) auto;
}

.overage-list li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-navy-100);
    color: var(--color-navy-600);
}

.overage-note {
    color: var(--color-navy-500);
    font-size: 0.9rem;
    margin-top: var(--space-5);
}

/* FAQ Section */
.faq-section {
    padding: var(--space-12) 0;
    background: var(--color-surface);
}

.faq-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
}

.faq-item {
    background: var(--color-white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-navy-100);
    flex: 0 1 calc(50% - 16px);
    min-width: 350px;
    max-width: 550px;
    transition: box-shadow var(--duration-lg) var(--ease-out), transform var(--duration-lg) var(--ease-out);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--color-navy-800);
}

.faq-item p {
    color: var(--color-navy-500);
    margin: 0;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(160deg, var(--color-navy-950) 0%, var(--color-navy-800) 50%, #0c2d48 100%);
    color: var(--color-white);
    padding: var(--space-12) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14,165,233,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14,165,233,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
    color: var(--color-white);
    position: relative;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--space-6);
    opacity: 0.85;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* Existing Users Section */
.existing-users-section {
    padding: var(--space-6) 0;
    text-align: center;
    background: var(--color-surface);
    border-top: 1px solid var(--color-navy-100);
}

.existing-users-section p {
    margin: 0;
    color: var(--color-navy-500);
    font-size: 0.95rem;
}

.existing-users-section a {
    color: var(--color-accent);
    font-weight: 600;
}

/* ==========================================================================
   3. BUTTON STYLES
   ========================================================================== */

.btn {
    font-family: var(--font-display);
    padding: var(--space-3) var(--space-6);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-block;
    transition: all var(--duration) var(--ease-out);
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1.05rem;
}

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

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14,165,233,0.3);
}

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

.btn-outline-primary:hover {
    background: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14,165,233,0.25);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-navy-900);
    border-color: var(--color-white);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-navy-700);
    color: var(--color-white);
    border-color: var(--color-navy-700);
}

.btn-secondary:hover {
    background: var(--color-navy-800);
    border-color: var(--color-navy-800);
    color: var(--color-white);
    text-decoration: none;
    transform: translateY(-1px);
}

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

.btn-outline-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
    border-color: rgba(255,255,255,0.6);
    text-decoration: none;
}

/* ==========================================================================
   4. SIGNUP PAGE
   ========================================================================== */

.signup-page {
    display: block;
    min-height: 100vh;
    background: var(--color-surface);
    padding: var(--space-8) var(--space-4);
}

.signup-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-8);
    border: 1px solid var(--color-navy-100);
    animation: fadeUp 0.6s var(--ease-out) both;
}

.signup-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.signup-header h1 {
    font-family: var(--font-display);
    color: var(--color-navy-900);
    font-size: 2.25rem;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.signup-header p {
    color: var(--color-navy-500);
    font-size: 1.1rem;
}

.signup-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* Plan Selection */
.plan-selection h2,
.account-details h2 {
    font-family: var(--font-display);
    color: var(--color-navy-800);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--color-navy-100);
}

.plan-cards {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

.signup-page .plan-card {
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    padding: var(--space-5);
    border: 2px solid var(--color-navy-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    position: relative;
    background: var(--color-white);
}

.signup-page .plan-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.signup-page .plan-card.selected {
    border-color: var(--color-accent);
    background: var(--color-accent-bg);
    box-shadow: 0 4px 16px rgba(14,165,233,0.15);
}

.signup-page .plan-card.featured {
    border-color: var(--color-emerald);
}

.signup-page .plan-card-link {
    text-decoration: none;
    color: inherit;
    border-style: dashed;
    border-color: var(--color-navy-300);
    background: var(--color-surface);
}

.signup-page .plan-card-link:hover {
    border-color: var(--color-navy-500);
    border-style: solid;
}

.plan-cta-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-top: var(--space-3);
    text-align: center;
}

.signup-page .plan-card.featured.selected {
    border-color: var(--color-emerald);
    background: var(--color-emerald-bg);
    box-shadow: 0 4px 16px rgba(16,185,129,0.15);
}

.popular-tag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-emerald);
    color: var(--color-white);
    padding: 0.2rem 0.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.plan-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-navy-800);
    margin-bottom: var(--space-2);
}

.plan-price {
    margin-bottom: var(--space-4);
}

.plan-price .price-amount {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-accent);
}

.signup-page .plan-card.featured .price-amount {
    color: var(--color-emerald);
}

.plan-price .price-period {
    font-size: 0.9rem;
    color: var(--color-navy-500);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
}

.plan-features li {
    padding: 0.2rem 0;
    color: var(--color-navy-600);
}

.plan-features li::before {
    content: "\2713";
    color: var(--color-emerald);
    margin-right: 0.5rem;
    font-weight: 700;
}

/* Form Styles */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-2);
    color: var(--color-navy-700);
}

.required {
    color: var(--color-rose);
}

.form-control {
    display: block;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1.5px solid var(--color-navy-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
    color: var(--color-navy-800);
    background: var(--color-white);
}

.form-control:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.form-control::placeholder {
    color: var(--color-navy-400);
}

.url-preview-container {
    display: flex;
    align-items: center;
    background: var(--color-surface);
    border: 1.5px solid var(--color-navy-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.url-prefix {
    padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
    color: var(--color-navy-500);
    background: var(--color-navy-100);
    border-right: 1.5px solid var(--color-navy-200);
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.slug-input {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.slug-input:focus {
    box-shadow: none !important;
}

.slug-validation {
    font-size: 0.85rem;
    margin-top: var(--space-2);
    min-height: 1.25rem;
    font-weight: 500;
}

.slug-validation.valid {
    color: var(--color-emerald);
}

.slug-validation.invalid {
    color: var(--color-rose);
}

.slug-validation.warning {
    color: var(--color-amber);
}

.slug-validation .validating {
    color: var(--color-navy-500);
    font-style: italic;
}

.form-text {
    font-size: 0.85rem;
    margin-top: var(--space-1);
    color: var(--color-navy-500);
}

/* Terms Checkbox */
.terms-group {
    margin-top: var(--space-5);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    cursor: pointer;
    font-weight: normal;
    color: var(--color-navy-600);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.checkbox-label a {
    color: var(--color-accent);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.form-actions {
    margin-top: var(--space-6);
}

.btn-block {
    display: block;
    width: 100%;
}

.signup-page .btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.signup-page .btn-primary:hover:not(:disabled) {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14,165,233,0.3);
}

.signup-page .btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Payment Info */
.payment-info {
    margin-top: var(--space-5);
    padding: var(--space-4);
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--color-navy-600);
    border: 1px solid var(--color-navy-100);
}

/* Alerts */
.alert-danger {
    background: var(--color-rose-bg);
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-5);
    font-size: 0.95rem;
}

.alert-info {
    background: var(--color-accent-bg);
    border: 1px solid #bae6fd;
    color: #075985;
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-5);
    font-size: 0.95rem;
}

/* Signup Footer */
.signup-footer {
    text-align: center;
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-navy-100);
    color: var(--color-navy-500);
}

.signup-footer p {
    margin: var(--space-2) 0;
    font-size: 0.9rem;
}

.signup-footer a {
    color: var(--color-accent);
    text-decoration: none;
}

.signup-footer a:hover {
    text-decoration: underline;
}

/* Validation Messages */
.validation-message {
    color: var(--color-rose);
    font-size: 0.85rem;
    margin-top: var(--space-1);
    font-weight: 500;
}

/* ==========================================================================
   5. SIGNUP SUCCESS PAGE
   ========================================================================== */

.success-page {
    display: block;
    min-height: 100vh;
    background: linear-gradient(160deg, var(--color-emerald-bg) 0%, #d1fae5 100%);
    padding: var(--space-8) var(--space-4);
}

.success-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    border: 1px solid rgba(16,185,129,0.15);
    animation: fadeUp 0.6s var(--ease-out) both;
}

.success-icon {
    color: var(--color-emerald);
    margin-bottom: var(--space-5);
}

.success-icon svg {
    width: 72px;
    height: 72px;
}

.success-page h1 {
    font-family: var(--font-display);
    color: #065f46;
    font-size: 2.25rem;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.success-subtitle {
    color: var(--color-navy-500);
    font-size: 1.15rem;
    margin-bottom: var(--space-6);
}

.success-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin: var(--space-6) 0;
    text-align: left;
}

.detail-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    border: 1px solid var(--color-navy-200);
}

.detail-card.highlight {
    background: var(--color-accent-bg);
    border-color: #bae6fd;
}

.detail-card h3 {
    font-family: var(--font-display);
    color: var(--color-navy-800);
    font-size: 1.05rem;
    margin-bottom: var(--space-4);
    margin-top: 0;
}

.next-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.next-steps li {
    position: relative;
    padding-left: var(--space-8);
    margin-bottom: var(--space-4);
    counter-increment: step-counter;
}

.next-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--color-emerald);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

.next-steps strong {
    display: block;
    color: var(--color-navy-800);
    margin-bottom: var(--space-1);
    font-family: var(--font-display);
}

.next-steps p {
    color: var(--color-navy-500);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.help-options {
    list-style: none;
    padding: 0;
    margin: var(--space-3) 0 0 0;
}

.help-options li {
    margin-bottom: var(--space-2);
}

.help-options a {
    color: var(--color-accent);
    text-decoration: none;
}

.help-options a:hover {
    text-decoration: underline;
}

.success-actions {
    margin-top: var(--space-6);
}

.success-page .btn-primary {
    display: inline-block;
    background-color: var(--color-emerald);
    border-color: var(--color-emerald);
    color: var(--color-white);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--duration) var(--ease-out);
}

.success-page .btn-primary:hover {
    background-color: var(--color-emerald-dark);
    border-color: var(--color-emerald-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

.success-footer {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-navy-200);
    color: var(--color-navy-500);
    font-size: 0.9rem;
}

.success-footer a {
    color: var(--color-accent);
    text-decoration: none;
}

.success-footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   6. LEGAL PAGES (Terms, Privacy, AUP, DPA)
   ========================================================================== */

.legal-page,
.terms-page {
    font-family: var(--font-body);
    color: var(--color-navy-700);
    padding: var(--space-8) 0;
    background: var(--color-surface);
}

.legal-page .container,
.terms-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.page-header {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-navy-100);
    animation: fadeUp 0.5s var(--ease-out) both;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: var(--space-4);
    color: var(--color-navy-900);
    letter-spacing: -0.02em;
}

.page-header .lead {
    font-size: 1.35rem;
    color: var(--color-navy-500);
}

.last-updated {
    color: var(--color-navy-500);
    font-size: 0.9rem;
    margin-bottom: var(--space-5);
    font-weight: 500;
}

.intro {
    color: var(--color-navy-500);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto var(--space-5) auto;
}

.print-btn {
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
}

.print-btn:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}

.legal-content,
.terms-content {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-navy-100);
    animation: fadeUp 0.5s var(--ease-out) 0.1s both;
}

.legal-section,
.term-section {
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-navy-100);
}

.legal-section:last-child,
.term-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2,
.term-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-5);
    color: var(--color-navy-900);
    letter-spacing: -0.01em;
}

.legal-section h3,
.term-section h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
    color: var(--color-navy-800);
}

.legal-section p,
.term-section p {
    color: var(--color-navy-600);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.legal-section ul,
.term-section ul {
    margin: var(--space-4) 0;
    padding-left: var(--space-5);
}

.legal-section li,
.term-section li {
    color: var(--color-navy-600);
    line-height: 1.8;
    margin-bottom: var(--space-2);
}

.legal-section a,
.term-section a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover,
.term-section a:hover {
    color: var(--color-accent-dark);
}

.table-wrapper {
    overflow-x: auto;
    margin: var(--space-5) 0;
}

.legal-section table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.legal-section th,
.legal-section td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-navy-100);
    color: var(--color-navy-600);
}

.legal-section th {
    background: var(--color-surface);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-navy-700);
}

.legal-section strong {
    color: var(--color-navy-800);
}

.caps {
    font-weight: 600;
    color: var(--color-navy-800);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   7. SUPPORT PAGE
   ========================================================================== */

.support-page {
    font-family: var(--font-body);
    color: var(--color-navy-700);
    padding: var(--space-8) 0;
}

.support-page section {
    margin-bottom: var(--space-12);
}

.support-page h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--color-navy-900);
    text-align: center;
    letter-spacing: -0.01em;
}

/* Support Plans */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.support-page .plan-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-navy-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--duration-lg) var(--ease-out);
}

.support-page .plan-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.support-page .plan-card.featured {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.support-page .plan-card h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    margin-bottom: var(--space-5);
    color: var(--color-accent);
    letter-spacing: -0.01em;
}

.plan-section {
    margin-bottom: var(--space-5);
}

.plan-section h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--color-navy-700);
}

.plan-section ul {
    list-style: none;
    padding-left: 0;
}

.plan-section li {
    padding: var(--space-2) 0;
    color: var(--color-navy-600);
    font-size: 0.95rem;
}

/* Contact Methods */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-5);
}

.contact-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-navy-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--duration-lg) var(--ease-out);
}

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

.contact-card.emergency {
    border-color: var(--color-rose);
    background: var(--color-rose-bg);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--color-navy-800);
}

.contact-card p {
    margin: var(--space-2) 0;
    color: var(--color-navy-500);
    font-size: 0.95rem;
}

/* Support Scope */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-5);
}

.scope-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: box-shadow var(--duration-lg) var(--ease-out);
}

.scope-card:hover {
    box-shadow: var(--shadow-md);
}

.scope-card.in-scope {
    border: 1.5px solid var(--color-emerald);
    background: var(--color-emerald-bg);
}

.scope-card.limited-scope {
    border: 1.5px solid var(--color-amber);
    background: var(--color-amber-bg);
}

.scope-card.out-of-scope {
    border: 1.5px solid var(--color-rose);
    background: var(--color-rose-bg);
}

.scope-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.scope-card ul {
    list-style: none;
    padding-left: 0;
}

.scope-card li {
    padding: var(--space-2) 0;
    color: var(--color-navy-600);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 0.95rem;
}

/* Self-Service Resources */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-5);
}

.resource-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-navy-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--duration-lg) var(--ease-out);
}

.resource-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--color-accent);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.resource-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--color-navy-800);
}

.resource-card p {
    color: var(--color-navy-500);
    margin-bottom: var(--space-5);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Consulting Services */
.section-intro {
    text-align: center;
    font-size: 1.05rem;
    color: var(--color-navy-500);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}

.consulting-item {
    background: var(--color-white);
    border: 1.5px solid var(--color-navy-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--duration-lg) var(--ease-out);
}

.consulting-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.consulting-item h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--color-accent);
}

.consulting-item p {
    color: var(--color-navy-500);
    margin-bottom: var(--space-4);
    font-size: 0.95rem;
    line-height: 1.6;
}

.consulting-item .price {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy-900);
}

.consulting-cta {
    text-align: center;
    margin-top: var(--space-6);
}

/* SLA Details */
.sla-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}

.sla-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-navy-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: box-shadow var(--duration-lg) var(--ease-out);
}

.sla-card:hover {
    box-shadow: var(--shadow-md);
}

.sla-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--color-accent);
}

.sla-card ul {
    list-style: none;
    padding-left: 0;
}

.sla-card li {
    padding: var(--space-2) 0;
    color: var(--color-navy-600);
    font-size: 0.95rem;
}

/* Contact Us Page */

.contact-page {
    min-height: 100vh;
    padding: var(--space-10) 0 var(--space-8);
    background: var(--color-surface);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.contact-form-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    border: 1px solid var(--color-navy-100);
    box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy-900);
    margin-bottom: var(--space-6);
}

.contact-form-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.contact-form-card select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form-card .btn-block {
    margin-top: var(--space-5);
    padding: var(--space-4) var(--space-6);
    font-size: 1.05rem;
}

.form-error {
    background: rgba(239,68,68,0.08);
    color: var(--color-rose);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(239,68,68,0.15);
}

.form-success {
    background: rgba(16,185,129,0.08);
    color: var(--color-emerald);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(16,185,129,0.15);
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-info-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--color-navy-100);
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-navy-900);
    margin-bottom: var(--space-5);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-navy-50);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-info-item strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-navy-800);
    margin-bottom: 0.15rem;
}

.contact-info-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-navy-500);
}

.response-times {
    list-style: none;
    padding: 0;
    margin: 0;
}

.response-times li {
    padding: var(--space-2) 0;
    font-size: 0.9rem;
    color: var(--color-navy-600);
    border-bottom: 1px solid var(--color-navy-50);
}

.response-times li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-card .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: var(--space-6);
    }
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.footer {
    padding: var(--space-5) 0;
    text-align: center;
    border-top: 1px solid var(--color-navy-100);
    background: var(--color-white);
    font-size: 0.9rem;
}

.footer .text-muted {
    color: var(--color-navy-500);
}

.footer a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--duration) var(--ease-out);
}

.footer a:hover {
    color: var(--color-accent-dark);
}

.footer .mx-2 {
    margin-left: var(--space-2);
    margin-right: var(--space-2);
}

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

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ==========================================================================
   9. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-muted { color: var(--color-navy-500); }
.mt-3 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-8); }
.mx-2 { margin-left: var(--space-2); margin-right: var(--space-2); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-navy-100);
}

.card-header {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-navy-100);
    background: var(--color-surface);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card-body {
    padding: var(--space-5);
}

.row { display: flex; flex-wrap: wrap; }
.justify-content-center { justify-content: center; }
.col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }

/* 404 page */
.display-1 {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 800;
    color: var(--color-navy-300);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: var(--space-4);
}

/* ==========================================================================
   10. RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-10) 0 var(--space-8);
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

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

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

    .section-subtitle {
        margin-bottom: var(--space-6);
    }

    .pricing-table-wrapper {
        margin: 0 -20px var(--space-10) -20px;
        padding: 0;
    }

    .pricing-table {
        font-size: 0.85rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 10px 8px;
    }

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

    .plan-header h3 {
        font-size: 1.1rem;
    }

    .plan-description {
        font-size: 0.75rem;
    }

    .pricing-table tfoot .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .faq-item {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: auto;
    }

    .addon-item {
        flex: 1 1 100%;
        min-width: auto;
    }

    .feature {
        flex: 1 1 100%;
        min-width: auto;
    }

    .phase-card {
        padding: var(--space-5);
    }

    .step {
        gap: var(--space-3);
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    /* Support page responsive */
    .support-page .page-header h1 {
        font-size: 2rem;
    }

    .support-page h2 {
        font-size: 1.75rem;
    }

    .plan-grid, .contact-grid, .scope-grid, .resource-grid, .consulting-grid, .sla-grid {
        grid-template-columns: 1fr;
    }

    /* Signup responsive */
    .signup-container {
        padding: var(--space-5);
        margin: 0 var(--space-2);
    }

    .signup-header h1 {
        font-size: 1.75rem;
    }

    .plan-cards {
        flex-direction: column;
        align-items: center;
    }

    .signup-page .plan-card {
        max-width: 100%;
        width: 100%;
    }

    .url-preview-container {
        flex-direction: column;
        align-items: stretch;
    }

    .url-prefix {
        border-right: none;
        border-bottom: 1.5px solid var(--color-navy-200);
        text-align: center;
    }

    /* Legal pages responsive */
    .page-header {
        padding: var(--space-6);
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .legal-content, .terms-content {
        padding: var(--space-5);
    }

    .legal-section h2, .term-section h2 {
        font-size: 1.4rem;
    }

    .legal-section h3, .term-section h3 {
        font-size: 1.05rem;
    }

    /* Success page responsive */
    .success-container {
        padding: var(--space-6) var(--space-5);
        margin: 0 var(--space-2);
    }

    .success-page h1 {
        font-size: 1.75rem;
    }

    .success-subtitle {
        font-size: 1rem;
    }

    .success-icon svg {
        width: 56px;
        height: 56px;
    }

    /* CTA section responsive */
    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.05rem;
    }

    /* 404 responsive */
    .display-1 {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .welcome-container,
    .container {
        padding: 0 var(--space-4);
    }

    .hero-content h1 {
        font-size: 1.85rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* ==========================================================================
   11. PRINT STYLES
   ========================================================================== */

@media print {
    :root {
        --color-accent: #0284c7;
    }

    .legal-page, .terms-page {
        background: white;
        padding: 0;
    }

    .page-header {
        border-radius: 0;
        margin-bottom: 20px;
        box-shadow: none;
        border: none;
        animation: none;
    }

    .print-btn {
        display: none;
    }

    .legal-content, .terms-content {
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        border: none;
        animation: none;
    }

    .legal-section, .term-section {
        break-inside: avoid;
    }

    nav, footer, .sidebar, .navbar, .footer {
        display: none !important;
    }
}
