/* ============================================
   Rogers Communications AI Solutions - Landing Page CSS
   Color Palette: Rogers Brand
   - Red: #DA291C
   - Blue: #2c7dc1
   - Dark Navy: #003152
   - Gray: #73818b
   ============================================ */

/* CSS Variables - Dark Theme (Default) */
:root {
    /* Rogers Colors */
    --primary: #DA291C;
    --primary-dark: #B5121B;
    --primary-light: #FF4136;
    --secondary: #2c7dc1;
    --accent: #003152;
    --background: #0B0B11;
    --surface: rgba(255,255,255,0.04);
    --surface-light: rgba(255,255,255,0.06);
    --surface-border: rgba(255,255,255,0.08);
    --text-primary: #F5F0EB;
    --text-secondary: #9A9494;
    --text-muted: #5E5A5A;
    --gradient-start: #DA291C;
    --gradient-end: #FF6B5E;
    --success: #28a745;
    --warning: #f0ad4e;
    --error: #d9534f;
    --nav-bg: #DA291C; /* Rogers Red navbar */
    --hero-glow-1: rgba(218, 41, 28, 0.15);
    --hero-glow-2: rgba(218, 41, 28, 0.06);
    --grid-line: rgba(255, 255, 255, 0.02);
    --card-bg: var(--background);
    --modal-overlay: rgba(5, 5, 8, 0.94);

    /* Typography */
    --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(218, 41, 28, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Light Theme - Rogers Light */
[data-theme="light"] {
    --primary: #DA291C;
    --primary-dark: #B5121B;
    --primary-light: #FF4136;
    --secondary: #2c7dc1;
    --accent: #003152;
    --background: #FAF8F6;
    --surface: #ffffff;
    --surface-light: #F3F1EF;
    --surface-border: rgba(0,0,0,0.08);
    --text-primary: #1A1A1A;
    --text-secondary: #5C5858;
    --text-muted: #9A9494;
    --gradient-start: #DA291C;
    --gradient-end: #FF6B5E;
    --success: #28a745;
    --warning: #d97706;
    --error: #dc2626;
    --nav-bg: #DA291C;
    --hero-glow-1: rgba(218, 41, 28, 0.06);
    --hero-glow-2: rgba(218, 41, 28, 0.03);
    --grid-line: rgba(0, 0, 0, 0.03);
    --card-bg: var(--surface);
    --modal-overlay: rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(218, 41, 28, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.theme-ready, body.theme-ready ~ * {
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', var(--font-family);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo AI accent */
.logo-ai {
    color: #DA291C;
    -webkit-text-fill-color: #DA291C;
}

[data-theme="light"] .logo-ai {
    color: #B5121B;
    -webkit-text-fill-color: #B5121B;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #DA291C, #B5121B);
    color: white;
    box-shadow: 0 4px 15px rgba(218, 41, 28, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 41, 28, 0.5);
}

[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #B5121B, #8B0000);
    box-shadow: 0 4px 15px rgba(181, 18, 27, 0.3);
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(181, 18, 27, 0.4);
}

.btn-secondary {
    background: var(--surface-light);
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background: var(--surface-border);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--surface-border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    background: #DA291C;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    border-bottom-color: var(--surface-border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: flex;
    align-items: center;
    min-height: 64px;
    gap: 1rem;
}

.navbar, .navbar * {
    line-height: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.logo-img-wrap {
    display: inline-flex;
    align-items: center;
    height: 1.4rem;
    width: 1.4rem;
    flex-shrink: 0;
}

.logo-img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
}

[data-theme="light"] .logo-img-wrap img {
    filter: brightness(0) invert(1) !important;
}

.logo-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-ai-badge {
    background: #DA291C;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
}

.nav-links {
    margin: 0 auto;
    display: flex;
    gap: 1.25rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: #ffffff !important;
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #DA291C, #2c7dc1);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: rgba(255,255,255,0.75) !important;
}

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

/* Theme Toggle Button */
.theme-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-md);
    color: #ffffff;
    transition: all var(--transition-base);
    cursor: pointer;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: all var(--transition-base);
}

.theme-toggle .icon-sun {
    display: block;
}

.theme-toggle .icon-moon {
    display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: block;
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #DA291C, #B5121B);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 41, 28, 0.4);
}

[data-theme="light"] .nav-cta {
    background: linear-gradient(135deg, #B5121B, #8B0000);
}

[data-theme="light"] .nav-cta:hover {
    box-shadow: 0 4px 15px rgba(181, 18, 27, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem var(--spacing-xl) 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: #DA291C;
    top: -200px;
    right: -100px;
    opacity: 0.15;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: #2c7dc1;
    bottom: -150px;
    left: -100px;
    opacity: 0.12;
}

[data-theme="light"] .glow-1 {
    opacity: 0.08;
}

[data-theme="light"] .glow-2 {
    opacity: 0.06;
}

.hero-content {
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(218, 41, 28, 0.1);
    border: 1px solid rgba(218, 41, 28, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FF6B6B;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.6s ease;
}

[data-theme="light"] .hero-badge {
    background: rgba(181, 18, 27, 0.1);
    border-color: rgba(181, 18, 27, 0.3);
    color: #B5121B;
}

.hero h1 {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-3xl);
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--surface-border);
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #DA291C, #2c7dc1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Solutions Sections
   ============================================ */
.solutions {
    padding: 6rem 0;
    background: var(--surface);
}

.supply-chain-solutions {
    padding: 6rem 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(218, 41, 28, 0.1);
    border: 1px solid rgba(218, 41, 28, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FF6B6B;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

[data-theme="light"] .section-tag {
    background: rgba(181, 18, 27, 0.1);
    border-color: rgba(181, 18, 27, 0.2);
    color: #B5121B;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: var(--spacing-md);
}

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

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .solution-card {
    box-shadow: var(--shadow-sm);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #DA291C, #2c7dc1);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: #DA291C;
    box-shadow: var(--shadow-glow);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(218, 41, 28, 0.1), rgba(44, 125, 193, 0.1));
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

[data-theme="light"] .card-icon {
    background: linear-gradient(135deg, rgba(181, 18, 27, 0.1), rgba(44, 125, 193, 0.1));
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke: #DA291C;
}

[data-theme="light"] .card-icon svg {
    stroke: #B5121B;
}

.solution-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.solution-card > p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-lg);
}

.card-features {
    margin-bottom: var(--spacing-lg);
}

.card-features li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: #2c7dc1;
    border-radius: 50%;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: #DA291C;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

[data-theme="light"] .card-btn {
    color: #B5121B;
}

.card-btn span {
    transition: transform var(--transition-fast);
}

.card-btn:hover span {
    transform: translateX(4px);
}

/* ============================================
   IT Solutions Section
   ============================================ */
.it-solutions {
    padding: 6rem 0;
    background: var(--surface);
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits {
    padding: 6rem 0;
}

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

.benefit-card {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: #DA291C;
}

.benefit-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
}

.benefit-icon.growth {
    background: rgba(218, 41, 28, 0.1);
}
.benefit-icon.growth svg { stroke: #DA291C; }

.benefit-icon.revenue {
    background: rgba(44, 125, 193, 0.1);
}
.benefit-icon.revenue svg { stroke: #2c7dc1; }

.benefit-icon.quality {
    background: rgba(0, 49, 82, 0.15);
}
.benefit-icon.quality svg { stroke: #2c7dc1; }

.benefit-icon.efficiency {
    background: rgba(218, 41, 28, 0.1);
}
.benefit-icon.efficiency svg { stroke: #DA291C; }

/* Light theme adjustments for benefit icons */
[data-theme="light"] .benefit-icon.growth {
    background: rgba(181, 18, 27, 0.1);
}
[data-theme="light"] .benefit-icon.growth svg { stroke: #B5121B; }

[data-theme="light"] .benefit-icon.revenue {
    background: rgba(44, 125, 193, 0.1);
}
[data-theme="light"] .benefit-icon.revenue svg { stroke: #2c7dc1; }

[data-theme="light"] .benefit-icon.quality {
    background: rgba(0, 49, 82, 0.1);
}
[data-theme="light"] .benefit-icon.quality svg { stroke: #003152; }

[data-theme="light"] .benefit-icon.efficiency {
    background: rgba(181, 18, 27, 0.1);
}
[data-theme="light"] .benefit-icon.efficiency svg { stroke: #B5121B; }

.benefit-card h3 {
    margin-bottom: var(--spacing-sm);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ============================================
   Operations / Industries Section
   ============================================ */
.industries {
    padding: 6rem 0;
    background: var(--surface);
}

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

.industry-card {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
}

[data-theme="light"] .industry-card {
    box-shadow: var(--shadow-sm);
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: #DA291C;
    box-shadow: 0 0 30px rgba(218, 41, 28, 0.2);
}

.industry-icon {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
}

.industry-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.industry-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(218, 41, 28, 0.08), rgba(44, 125, 193, 0.08));
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, rgba(181, 18, 27, 0.06), rgba(44, 125, 193, 0.06));
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

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

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--spacing-md);
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--text-secondary);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: #DA291C;
}

[data-theme="light"] .contact-item svg {
    stroke: #B5121B;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: var(--background);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DA291C;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: #B5121B;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--surface);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--surface);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--surface-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: var(--spacing-md);
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-lg);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: #DA291C;
}

[data-theme="light"] .footer-column a:hover {
    color: #B5121B;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--surface-border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

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

[data-theme="light"] .footer-legal a:hover {
    color: #B5121B;
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--modal-overlay);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-2xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--surface-border);
    color: var(--text-primary);
}

.modal-content {
    padding: var(--spacing-2xl);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--surface-border);
}

.modal-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(218, 41, 28, 0.1), rgba(44, 125, 193, 0.1));
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

[data-theme="light"] .modal-icon {
    background: linear-gradient(135deg, rgba(181, 18, 27, 0.1), rgba(44, 125, 193, 0.1));
}

.modal-icon svg {
    width: 32px;
    height: 32px;
    stroke: #DA291C;
}

[data-theme="light"] .modal-icon svg {
    stroke: #B5121B;
}

.modal-title h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
}

.modal-title p {
    color: var(--text-secondary);
}

.modal-body h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: #FF6B6B;
}

[data-theme="light"] .modal-body h3 {
    color: #B5121B;
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.modal-body ul {
    margin-bottom: var(--spacing-xl);
}

.modal-body li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

.modal-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #DA291C, #2c7dc1);
    border-radius: 50%;
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.modal-feature {
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.modal-feature h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.modal-feature p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.modal-cta {
    display: flex;
    gap: var(--spacing-md);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--surface-border);
}

/* ============================================
   Approach Step Numbers
   ============================================ */
.approach-step-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   Architecture Flow Diagram
   ============================================ */
.arch-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.arch-flow-layer {
    width: 100%;
    max-width: 800px;
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg) var(--spacing-xl);
    text-align: center;
}

.arch-flow-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.arch-flow-items {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.arch-flow-box {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.arch-flow-arrow {
    color: var(--primary);
    display: flex;
    justify-content: center;
}

.nav-active {
    color: #ffffff !important;
}

.nav-active::after {
    width: 100% !important;
    background: #ffffff !important;
}

/* ============================================
   Timeline (Approach Page)
   ============================================ */
.timeline {
    max-width: 860px;
    margin: 0 auto;
}

.timeline-week {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-label {
    text-align: right;
    padding-top: 1.25rem;
    position: relative;
}

/* Vertical connector line */
.timeline-label::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 4.5rem;
    bottom: -1.75rem;
    width: 2px;
    background: var(--primary);
    opacity: 0.35;
}

.timeline-week:last-child .timeline-label::before {
    bottom: 0;
}

/* Dot next to card */
.timeline-label::after {
    content: '';
    position: absolute;
    right: -1.55rem;
    top: 1.5rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--background);
    outline: 1px solid var(--primary);
    z-index: 1;
}

.timeline-week-num {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.timeline-week-title {
    display: block;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.timeline-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.75rem;
}

.timeline-card--highlight {
    background: var(--surface);
    border: 1px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 0 20px rgba(218, 41, 28, 0.1);
}

.timeline-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-card-headline {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary);
    text-transform: uppercase;
}

.timeline-card-buttons {
    display: flex;
    gap: 0.5rem;
}

.timeline-toggle-btn {
    font-family: var(--font-family);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: 9999px;
    padding: 0.3rem 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.timeline-toggle-btn::after {
    content: '\25BE';
    font-size: 0.625rem;
    transition: transform 0.2s ease;
}

.timeline-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.timeline-toggle-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.timeline-toggle-btn.active::after {
    transform: rotate(180deg);
}

.timeline-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1rem;
    font-weight: 300;
}

.timeline-deliverables {
    margin-bottom: 1rem;
}

.timeline-deliverables-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.625rem;
}

.timeline-deliverables-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.625rem;
    letter-spacing: 0.02em;
}

.timeline-expandable {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
}

.timeline-expandable.open {
    max-height: 400px;
    opacity: 1;
}

.timeline-panel {
    padding-top: 0.75rem;
    border-top: 1px solid var(--surface-border);
    margin-bottom: 0.25rem;
}

.timeline-panel-title {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.625rem;
}

.timeline-panel-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0.5rem;
}

.timeline-panel-list li {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.75;
    padding-left: 0.875rem;
    position: relative;
}

.timeline-panel-list li::before {
    content: '\00B7';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.timeline-gate {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--surface-light);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.625rem;
    margin-top: 1rem;
}

.timeline-gate::before {
    content: '\25C6';
    font-size: 0.5rem;
}

@media (max-width: 768px) {
    .timeline-week {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .timeline-label {
        text-align: left;
        padding-top: 0;
    }

    .timeline-label::before,
    .timeline-label::after {
        display: none;
    }
}

/* ============================================
   Deployment Models (Architecture Page)
   ============================================ */
.deploy-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.deploy-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface-light);
    border: 2px solid var(--surface-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.deploy-tab:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.deploy-tab.active {
    background: linear-gradient(135deg, rgba(218, 41, 28, 0.15), rgba(44, 125, 193, 0.15));
    border-color: var(--primary);
    color: var(--text-primary);
}

.deploy-tab svg {
    stroke: currentColor;
}

.deploy-model {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.deploy-model.active {
    display: block;
}

.deploy-model-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.deploy-model-header h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.deploy-model-header p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    max-width: 640px;
    margin: 0 auto;
}

.deploy-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.deploy-block {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
}

.deploy-block:hover {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(218, 41, 28, 0.1);
}

.deploy-block-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(218, 41, 28, 0.1), rgba(44, 125, 193, 0.1));
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.deploy-block-icon svg {
    stroke: var(--primary);
}

.deploy-block h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.deploy-block-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.deploy-list {
    list-style: none;
    padding: 0;
}

.deploy-list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.deploy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
}

.deploy-best-for {
    background: linear-gradient(135deg, rgba(218, 41, 28, 0.06), rgba(44, 125, 193, 0.06));
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.deploy-best-for strong {
    color: var(--primary);
}

/* Comparison Table */
.deploy-comparison {
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.deploy-compare-row {
    display: grid;
    grid-template-columns: 160px 1fr 1fr 1fr;
    border-bottom: 1px solid var(--surface-border);
}

.deploy-compare-row:last-child {
    border-bottom: none;
}

.deploy-compare-header {
    background: var(--surface);
}

.deploy-compare-header .deploy-compare-cell {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.deploy-compare-cell {
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    border-right: 1px solid var(--surface-border);
}

.deploy-compare-cell:last-child {
    border-right: none;
}

.deploy-compare-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8125rem;
    background: var(--surface);
}

@media (max-width: 768px) {
    .deploy-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .deploy-two-col {
        grid-template-columns: 1fr;
    }

    .deploy-comparison {
        overflow-x: auto;
    }

    .deploy-compare-row {
        grid-template-columns: 120px 1fr 1fr 1fr;
        min-width: 600px;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 6rem var(--spacing-md) 3rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .stat-value {
        font-size: 2rem;
    }

    .section-header {
        padding: 0 var(--spacing-md);
    }

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

    .modal-features {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

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

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

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

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