/* ========================================
   Arcwayne - Main Stylesheet
   Clean, Modern, US-Targeted Design
   ======================================== */

/* === CSS Variables === */
:root {
    --primary: #1a56db;
    --primary-dark: #1240a8;
    --primary-light: #e8effc;
    --secondary: #0f172a;
    --accent: #3b82f6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --bg-darker: #020617;

    --border: #e2e8f0;
    --border-light: #f1f5f9;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

ul {
    list-style: none;
}

/* === Container === */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn .material-icons-outlined {
    font-size: 18px;
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.4);
}

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

.btn-white {
    background: var(--bg-white);
    color: var(--primary);
    border-color: var(--bg-white);
}
.btn-white:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

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

/* === Top Bar === */
.top-bar {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 8px 0;
    font-size: 0.8125rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
}
.top-bar-left a:hover { color: var(--text-white); }
.top-bar-left .material-icons-outlined { font-size: 16px; }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right > a {
    color: rgba(255, 255, 255, 0.7);
}
.top-bar-right > a:hover { color: var(--text-white); }

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 8px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.social-links a {
    color: rgba(255, 255, 255, 0.5);
    display: flex;
}
.social-links a:hover { color: var(--text-white); }

/* === Main Header === */
.main-header {
    background: var(--bg-white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo, .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text-white);
    font-weight: 800;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.logo-text {
    color: var(--text-secondary);
    font-weight: 400;
}
.logo-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.nav-item > a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-item > a .material-icons-outlined {
    font-size: 18px;
    transition: var(--transition);
}

/* === Mega Menu (Full-Width Transparent) === */
.has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.has-mega:hover .mega-menu,
.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-mega:hover > a .material-icons-outlined {
    transform: rotate(180deg);
}

.mega-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

.mega-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.mega-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 36px 48px;
}

.mega-col {
    padding-right: 40px;
}

.mega-col:last-child {
    padding-right: 0;
    padding-left: 40px;
    border-left: 1px solid var(--border-light);
}

.mega-col h4 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
}

.mega-col a {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-bottom: 2px;
}

.mega-col a:hover {
    background: var(--primary-light);
}

.mega-col a .material-icons-outlined {
    font-size: 22px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.7;
}

.mega-col a:hover .material-icons-outlined {
    opacity: 1;
    color: var(--primary-dark);
}

.mega-col a strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

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

.mega-col a p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.mega-col a:hover p {
    color: var(--text-secondary);
}

/* Mega Promo (Right Side) */
.mega-promo {
    background: var(--bg-light);
    padding: 28px 28px;
    border-left: 1px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
}

.mega-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

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

.mega-promo-tag {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 20px;
    padding-right: 24px;
}

.mega-promo-cards {
    display: flex;
    gap: 14px;
    flex: 1;
}

.promo-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-2px);
}

.promo-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.promo-card-img .material-icons-outlined {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.7);
}

.promo-card:hover .promo-card-img .material-icons-outlined {
    color: rgba(255, 255, 255, 0.95);
}

.promo-card-title {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.45;
    font-weight: 500;
}

.promo-card:hover .promo-card-title {
    color: var(--text-primary);
}

/* Promo Badges (Bottom-Right) */
.mega-promo-badges {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    justify-content: flex-end;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.promo-badge:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.promo-badge svg {
    opacity: 0.5;
}

.promo-badge:hover svg {
    opacity: 1;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8effc 50%, #f5f3ff 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 86, 219, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 86, 219, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.hero-badge .material-icons-outlined {
    font-size: 18px;
    color: var(--warning);
}

.hero h1 {
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

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

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* === Trusted By === */
.trusted-by {
    padding: 48px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.trusted-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 32px;
}

.logo-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 48px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.logo-item {
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.4;
    white-space: nowrap;
    padding: 8px 16px;
    letter-spacing: -0.01em;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === Section Base === */
.section {
    padding: 100px 0;
}

/* === Value Propositions === */
.value-props {
    background: var(--bg-white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.value-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: var(--text-white);
}

.value-card.featured h3,
.value-card.featured p {
    color: var(--text-white);
}

.value-card.featured .value-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.value-card.featured .card-link {
    color: rgba(255, 255, 255, 0.9);
}
.value-card.featured .card-link:hover {
    color: var(--text-white);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.value-icon .material-icons-outlined {
    font-size: 28px;
}

.value-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
}

.card-link:hover {
    gap: 10px;
}

.card-link .material-icons-outlined {
    font-size: 18px;
}

/* === Features Section === */
.features-section {
    background: var(--bg-light);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse .feature-content {
    order: 2;
}

.feature-content h2 {
    margin-bottom: 16px;
}

.feature-content > p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.feature-list li .material-icons-outlined {
    font-size: 20px;
    color: var(--success);
}

/* Feature Visual - Card Stack */
.feature-card-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

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

.mini-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.mini-card > .material-icons-outlined {
    font-size: 24px;
    color: var(--primary);
}

.mini-card div {
    flex: 1;
}

.mini-card strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
}

.mini-card small {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-success { background: #d1fae5; color: #065f46; }
.badge-info { background: #cffafe; color: #155e75; }
.badge-pending { background: #fef3c7; color: #92400e; }

/* AI Visual */
.ai-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.ai-brain {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(26, 86, 219, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.ai-brain .material-icons-outlined {
    font-size: 48px;
    color: var(--text-white);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 40px rgba(26, 86, 219, 0.3); }
    50% { box-shadow: 0 0 60px rgba(26, 86, 219, 0.5); }
}

.ai-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transform: translate(var(--x), var(--y));
    animation: fadeInNode 0.5s ease-out var(--delay) both;
}

.ai-node .material-icons-outlined {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 50%;
    font-size: 24px;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.ai-node small {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

@keyframes fadeInNode {
    from { opacity: 0; transform: translate(0, 0); }
    to { opacity: 1; transform: translate(var(--x), var(--y)); }
}

/* === Metrics Section === */
.metrics-section {
    background: var(--bg-dark);
    color: var(--text-white);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.metric-card {
    text-align: center;
    padding: 40px 20px;
}

.metric-icon {
    margin-bottom: 16px;
}

.metric-icon .material-icons-outlined {
    font-size: 36px;
    color: var(--accent);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

/* === Industry Section === */
.industry-section {
    background: var(--bg-white);
}

.tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.tab-btn .material-icons-outlined {
    font-size: 20px;
}

.tab-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.tab-panel.active {
    display: grid;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.tab-content > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.tab-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.tab-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.tab-feature .material-icons-outlined {
    font-size: 20px;
    color: var(--primary);
}

/* Stat Card Visual */
.stat-card-visual {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.stat-row > span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    width: 140px;
    flex-shrink: 0;
}

.stat-row strong {
    font-size: 0.875rem;
    color: var(--primary);
    flex-shrink: 0;
    width: 80px;
    text-align: right;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 1s ease;
}

/* === Testimonials === */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
}

.testimonial-stars .material-icons-outlined {
    font-size: 18px;
    color: var(--warning);
}

.testimonial-card > p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9375rem;
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* === CTA Section === */
.cta-section {
    background: var(--bg-white);
    padding: 80px 0;
}

.cta-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 50%, #7c3aed 100%);
    border-radius: var(--radius-xl);
    padding: 64px;
    color: var(--text-white);
    overflow: hidden;
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    color: var(--text-white);
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-visual {
    position: relative;
}

.cta-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.cta-stat .material-icons-outlined {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-stat strong {
    font-size: 1.25rem;
    font-weight: 700;
}

.cta-stat span:last-child {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: auto;
}

/* === News Section === */
.news-section {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.news-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.news-placeholder .material-icons-outlined {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.3;
}

.news-body {
    padding: 24px;
}

.news-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-body > p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* === Footer === */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-about p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 24px;
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
}

.footer-logo .logo-text {
    color: rgba(255, 255, 255, 0.6);
}
.footer-logo .logo-text strong {
    color: var(--text-white);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-white);
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-col ul a:hover {
    color: var(--text-white);
}

.footer-newsletter p {
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-family);
    font-size: 0.9375rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-form input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-form .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Footer Locations */
.footer-locations {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.location {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.location .material-icons-outlined {
    font-size: 20px;
    color: var(--accent);
    margin-top: 2px;
}

.location strong {
    display: block;
    color: var(--text-white);
    font-size: 0.875rem;
}

.location p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal a:hover {
    color: var(--text-white);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .mega-inner {
        grid-template-columns: 1fr 280px;
    }

    .mega-sections {
        padding: 28px 32px;
    }

    .mega-promo-cards {
        flex-direction: column;
    }

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

    .footer-about {
        grid-column: span 3;
    }

    .footer-newsletter {
        grid-column: span 3;
    }

    .cta-box {
        grid-template-columns: 1fr;
        padding: 48px;
    }

    .feature-row {
        gap: 48px;
    }

    .tab-panel {
        grid-template-columns: 1fr;
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .main-header .container { height: 64px; }

    .main-nav { display: none; }
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        padding: 16px;
    }

    .main-nav.active .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .main-nav.active .nav-item > a {
        padding: 12px 16px;
        justify-content: space-between;
    }

    .mega-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .has-mega.open .mega-menu {
        display: block;
    }

    .has-mega:hover .mega-menu {
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    .has-mega.open .mega-menu {
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .mega-overlay { display: none; }

    .mega-inner {
        grid-template-columns: 1fr;
        background: var(--bg-white);
        backdrop-filter: none;
        box-shadow: var(--shadow-lg);
    }

    .mega-sections {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 0;
    }

    .mega-col {
        padding-right: 0;
    }

    .mega-col:last-child {
        padding-left: 0;
        border-left: none;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border-light);
    }

    .mega-promo {
        display: none;
    }

    .mega-col a p {
        display: none;
    }

    .mobile-toggle { display: flex; }

    .header-actions .btn { display: none; }

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1.0625rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .section { padding: 60px 0; }

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

    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row.reverse .feature-content {
        order: 0;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .tab-nav {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.8125rem;
    }

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

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

    .cta-box { padding: 36px 24px; }

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

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

    .footer-about { grid-column: span 2; }
    .footer-newsletter { grid-column: span 2; }

    .locations-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-cta { flex-direction: column; align-items: center; }

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

    .footer-grid { grid-template-columns: 1fr; }
    .footer-about { grid-column: span 1; }
    .footer-newsletter { grid-column: span 1; }

    .newsletter-form { flex-direction: column; }

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

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