/* ==========================================================================
   BizLoc.ai - Premium Off-White Corporate Design System
   ========================================================================== */

:root {
    /* Off-White & Slate Light Palette */
    --bg-light-base: #f8fafc;       /* Slate 50 - Core page background */
    --bg-light-surface: #ffffff;    /* Pure White - Card & panel surfaces */
    --bg-light-surface-hover: #f1f5f9; /* Slate 100 - Card hover state */
    
    --border-color: #e2e8f0;        /* Slate 200 - Clean subtle dividers */
    --border-color-focus: #3b82f6;  /* Cobalt Blue - Input focus state */
    
    /* Premium B2B Brand Colors */
    --color-primary: #2563eb;       /* Corporate Cobalt Blue */
    --color-primary-rgb: 37, 99, 235;
    --color-secondary: #0f172a;     /* Deep Navy Slate (Footer & headers) */
    --color-secondary-rgb: 15, 23, 42;
    --color-accent: #1d4ed8;        /* Dark Blue */
    
    --color-success: #16a34a;       /* Forest Green - Secure indicator */
    --color-warning: #ea580c;       /* Alert Orange - Air-gapped warning */
    --color-danger: #dc2626;        /* High-risk Red */
    
    /* Text Colors */
    --text-primary: #0f172a;        /* Deep Slate 900 - High contrast text */
    --text-secondary: #475569;      /* Slate 600 - Body readability */
    --text-muted: #64748b;          /* Slate 500 - Captions and placeholders */
    
    /* Layout & Animations */
    --max-width: 1200px;
    --border-radius-lg: 12px;       /* Sleeker, more professional radius */
    --border-radius-md: 8px;
    --border-radius-sm: 4px;
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --box-shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
    --box-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -4px rgba(0, 0, 0, 0.02);
    --box-shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light-base);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    width: 100%;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-danger { color: var(--color-danger); }
.text-bold { font-weight: 700; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--color-primary-rgb), 0.06);
    border: 1px solid rgba(var(--color-primary-rgb), 0.12);
    color: var(--color-primary);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.badge-alert {
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.12);
    color: var(--color-danger);
}

.badge-success {
    background: rgba(22, 163, 74, 0.06);
    border: 1px solid rgba(22, 163, 74, 0.12);
    color: var(--color-success);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--color-accent);
    box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.3);
}

.btn-secondary {
    background: var(--color-secondary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(var(--color-secondary-rgb), 0.15);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    background: #1e293b;
    box-shadow: 0 6px 20px rgba(var(--color-secondary-rgb), 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.03);
    color: var(--color-primary);
}

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

/* Header & Nav */
.header {
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px; /* Aligned header height */
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-img {
    width: 82px;
    height: 82px;
    border-radius: var(--border-radius-md);
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.05) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.02) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hero-sublead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Trust Compliance Banner */
.trust-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.trust-lbl {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-badge-item {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-light-surface);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: var(--box-shadow-sm);
}

.trust-badge-item::before {
    content: '🛡️';
    font-size: 0.8rem;
}

/* Web Workspace Visual Representation */
.hero-visual {
    position: relative;
}

.dashboard-window {
    background: var(--bg-light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-premium);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.dashboard-window:hover {
    border-color: rgba(var(--color-primary-rgb), 0.2);
    box-shadow: 0 25px 40px rgba(15, 23, 42, 0.08);
}

.dashboard-header {
    background: #f1f5f9;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: var(--color-danger); }
.dot.yellow { background-color: var(--color-warning); }
.dot.green { background-color: var(--color-success); }

.dashboard-title {
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-secondary);
}

.dashboard-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
    color: var(--color-success);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
}

.dashboard-body {
    padding: 0;
}

/* Premium B2B Chat Workspace */
.workspace-layout {
    display: flex;
    gap: 0;
    height: 290px;
    background: #ffffff;
    overflow: hidden;
}

.workspace-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: #f8fafc;
    border-right: 1px solid var(--border-color);
    padding: 1.25rem 0.5rem;
    width: 48px;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.sidebar-icon {
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.sidebar-icon:hover, .sidebar-icon.active {
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.08);
}

.sidebar-icon svg {
    width: 16px;
    height: 16px;
}

.workspace-chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    height: 100%;
}

.chat-messages-container {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: 0.85rem;
}

.chat-msg {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.logo-avatar {
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.logo-avatar img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    border-radius: 4px;
}

.msg-bubble {
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) var(--border-radius-md);
    padding: 0.75rem 1.1rem;
    max-width: 85%;
}

.msg-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.msg-bubble p {
    margin-bottom: 0;
    line-height: 1.45;
    color: var(--text-primary);
}

.ai-msg .msg-bubble {
    background: #eff6ff;
    border-color: rgba(var(--color-primary-rgb), 0.15);
}

.chat-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-warning);
    background: #fffbeb;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    align-self: flex-start;
    border: 1px solid #fde68a;
    margin-left: 2.35rem;
}

.chat-input-bar {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
}

.chat-input-field {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: inherit;
}

.chat-send-btn {
    background: var(--color-primary);
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    opacity: 0.7;
    border: none;
}

.chat-send-btn svg {
    width: 14px;
    height: 14px;
}

.node-hardware {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
}

.hw-lbl {
    font-weight: 600;
}
.hw-val {
    color: var(--text-primary);
    margin-left: 0.25rem;
}

/* Sections Global */
.section-title-wrap {
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.section-lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Problem/Contrast Section */
.problem-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light-base) 0%, #ffffff 100%);
    border-top: 1px solid var(--border-color);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.compare-card {
    background: var(--bg-light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--box-shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.compare-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.compare-card.cloud-threat::before {
    background: var(--color-danger);
}

.compare-card.bizloc-solution::before {
    background: var(--color-primary);
}

.compare-card.bizloc-solution {
    border-color: rgba(var(--color-primary-rgb), 0.25);
    box-shadow: 0 10px 25px -3px rgba(37, 99, 235, 0.06);
}

.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.compare-header h3 {
    font-size: 1.35rem;
}

.compare-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.compare-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 0.95rem;
}

.compare-list li span {
    line-height: 1.4;
}

.icon-danger {
    color: var(--color-danger);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.icon-success {
    color: var(--color-success);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--color-primary-rgb), 0.2);
    box-shadow: var(--box-shadow-lg);
    background: var(--bg-light-surface-hover);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    background: rgba(var(--color-primary-rgb), 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Industries Section */
.industries-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light-base) 100%);
    border-top: 1px solid var(--border-color);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.industry-card {
    background: var(--bg-light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--box-shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.industry-badge {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.industry-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.ind-desc {
    font-size: 0.95rem;
}

.use-case {
    background: #f8fafc;
    border-left: 3px solid var(--color-accent);
    padding: 1.1rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 1.75rem;
}

.use-case strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.ind-checks {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.ind-checks li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chk-icon {
    color: var(--color-primary);
    font-weight: 800;
}

/* Calculator Section */
.calculator-section {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.calculator-box {
    background: var(--bg-light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: var(--box-shadow-premium);
}

.calc-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calc-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.85rem;
}

.calc-header p {
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

.calc-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: flex-start;
}

.control-group {
    margin-bottom: 2.5rem;
}

.control-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.accent-text {
    color: var(--color-primary);
    font-weight: 700;
}

/* Range Input */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    margin-bottom: 0.75rem;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Radio Grid Cards */
.radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.radio-card {
    border: 1px solid var(--border-color);
    background: #ffffff;
    border-radius: var(--border-radius-md);
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--box-shadow-sm);
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.radio-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.radio-card.active {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.03);
    box-shadow: 0 4px 10px rgba(var(--color-primary-rgb), 0.05);
}

.radio-card:hover:not(.active) {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* Calc Outputs side */
.calc-outputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-card, .savings-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--box-shadow-sm);
}

.result-card h3, .savings-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.hardware-spec .hw-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.hardware-spec .hw-features {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-secondary);
    font-family: monospace;
}

.savings-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
}

/* TCO & Risk comparison fields */
.cloud-risk-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.risk-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.risk-lbl {
    color: var(--text-secondary);
}

.risk-val {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

.bizloc-pricing-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.price-lbl {
    color: var(--text-secondary);
}

.price-val {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

.price-val .period {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.savings-divider-thin {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.price-row.total-row {
    font-size: 1.05rem;
    font-weight: 700;
    border-top: none;
    padding-top: 0.25rem;
}

.price-row.total-row .price-lbl {
    color: var(--text-primary);
    font-weight: 700;
}

.price-row.total-row .price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
}

.price-row.success-row .price-val {
    color: var(--color-success);
}

.included-capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--color-success);
}

.included-capabilities-list span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.savings-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

.calc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    padding-top: 2rem;
}

.compliance-badge {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background: var(--bg-light-base);
    border-top: 1px solid var(--border-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.process-step {
    position: relative;
    padding-top: 1rem;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(var(--color-primary-rgb), 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact / Secure Consultation Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light-base) 0%, #ffffff 100%);
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.c-feat-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.c-feat-icon {
    font-size: 1.5rem;
    background: #f1f5f9;
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.c-feat-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.c-feat-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Contact Form Container */
.contact-form-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--box-shadow-premium);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.secure-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-feedback {
    padding: 0.85rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

.form-feedback.success {
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
    color: var(--color-success);
}

/* Spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* Footer Section - Anchor with Professional Dark Navy */
.footer {
    background: #0f172a;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 80px 0 0 0;
}

.footer h1, .footer h2, .footer h3, .footer h4 {
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.8fr);
    gap: 4rem;
    padding-bottom: 60px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1.25rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.security-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
    color: var(--color-success);
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
}

.sec-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--color-success);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a:hover {
    color: #cbd5e1;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .calculator-box {
        padding: 2.5rem;
    }
    
    .calc-body {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
    }
    .footer-col:last-child {
        grid-column: span 3;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-light-base);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.3s ease;
        z-index: 99;
        pointer-events: none;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .nav-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    
    .hero-section {
        padding: 120px 0 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .compare-card {
        padding: 1.5rem;
    }
    
    .radio-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-col:last-child {
        grid-column: span 1;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .workspace-sidebar {
        display: none;
    }
    .workspace-layout {
        height: 310px;
    }
}
