/* ============================================
   AI CONNECTS ENGINEERING - ENTERPRISE DESIGN SYSTEM
   ============================================ */

/* CSS Custom Properties - Enterprise Color System */
:root {
    /* Primary Brand Colors */
    --brand-primary: #0C1F3F;
    --brand-secondary: #1E3A5F;
    --brand-accent: #00A3E0;
    --brand-accent-light: #4FC3F7;
    --brand-accent-dark: #0077B6;
    
    /* Enterprise Grays */
    --gray-50: #FAFBFC;
    --gray-100: #F4F6F8;
    --gray-200: #E8ECF0;
    --gray-300: #D1D9E0;
    --gray-400: #9BA8B5;
    --gray-500: #6B7A8A;
    --gray-600: #4A5B6A;
    --gray-700: #364555;
    --gray-800: #232F3E;
    --gray-900: #121A24;
    
    /* Semantic Colors */
    --success: #00875A;
    --success-light: #E3FCEF;
    --warning: #FF991F;
    --warning-light: #FFFAE6;
    --error: #DE350B;
    --error-light: #FFEBE6;
    
    /* Surfaces */
    --surface-white: #FFFFFF;
    --surface-light: var(--gray-50);
    --surface-dark: var(--brand-primary);
    
    /* Typography Scale */
    --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows - Enterprise depth */
    --shadow-xs: 0 1px 2px rgba(12, 31, 63, 0.04);
    --shadow-sm: 0 1px 3px rgba(12, 31, 63, 0.06), 0 1px 2px rgba(12, 31, 63, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(12, 31, 63, 0.08), 0 2px 4px -1px rgba(12, 31, 63, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(12, 31, 63, 0.08), 0 4px 6px -2px rgba(12, 31, 63, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(12, 31, 63, 0.08), 0 10px 10px -5px rgba(12, 31, 63, 0.03);
    --shadow-2xl: 0 25px 50px -12px rgba(12, 31, 63, 0.15);
    --shadow-inner: inset 0 2px 4px 0 rgba(12, 31, 63, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Layout */
    --container-max: 1320px;
    --nav-height: 72px;
}

/* ============================================
   BASE RESET & FOUNDATION
   ============================================ */

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--surface-white);
    overflow-x: hidden;
}

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

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

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

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.text-lg { font-size: 1.125rem; line-height: 1.75; }
.text-xl { font-size: 1.25rem; line-height: 1.75; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* ============================================
   NAVIGATION - Enterprise Header
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

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

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

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

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--brand-primary);
    letter-spacing: -0.01em;
}

.logo-text span {
    color: var(--brand-accent);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
}

.nav-menu li a {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.nav-menu li a:hover {
    color: var(--brand-primary);
    background: var(--gray-100);
}

.nav-menu li a.active {
    color: var(--brand-accent);
}

/* Nav CTA Button */
.nav-cta {
    background: var(--brand-primary) !important;
    color: var(--surface-white) !important;
    padding: var(--space-3) var(--space-6) !important;
    font-weight: 600 !important;
    border-radius: var(--radius-md) !important;
}

.nav-cta:hover {
    background: var(--brand-secondary) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-3);
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.mobile-toggle:hover {
    background: var(--gray-100);
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--brand-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION - Enterprise Style
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 50%, #2D4A6F 100%);
    padding-top: var(--nav-height);
    overflow: hidden;
}

/* Geometric Pattern Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(30deg, transparent 48%, rgba(0, 163, 224, 0.03) 50%, transparent 52%),
        linear-gradient(-30deg, transparent 48%, rgba(0, 163, 224, 0.03) 50%, transparent 52%);
    background-size: 60px 100px;
    pointer-events: none;
}

/* Accent Glow */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 163, 224, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-16) var(--space-8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--surface-white);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(0, 163, 224, 0.15);
    border: 1px solid rgba(0, 163, 224, 0.3);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-6);
    animation: fadeSlideUp 0.6s ease forwards;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--brand-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -0.03em;
    color: var(--surface-white);
    animation: fadeSlideUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Description */
.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: var(--space-8);
    max-width: 540px;
    animation: fadeSlideUp 0.6s ease 0.2s forwards;
    opacity: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    animation: fadeSlideUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeSlideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, var(--gray-800), var(--gray-900));
}

.hero-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Stats Card */
.hero-stats {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--surface-white);
    padding: var(--space-6) var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    display: flex;
    gap: var(--space-10);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* ============================================
   BUTTONS - Enterprise Design
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.btn-primary {
    background: var(--brand-accent);
    color: var(--surface-white);
    box-shadow: 0 4px 14px rgba(0, 163, 224, 0.3);
}

.btn-primary:hover {
    background: var(--brand-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 163, 224, 0.4);
}

.btn-secondary {
    background: var(--brand-primary);
    color: var(--surface-white);
}

.btn-secondary:hover {
    background: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-dark {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--gray-300);
}

.btn-outline-dark:hover {
    background: var(--gray-100);
    border-color: var(--brand-primary);
}

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

.btn-accent:hover {
    background: var(--brand-accent-dark);
}

/* ============================================
   SECTIONS - Layout System
   ============================================ */

.section {
    padding: var(--space-24) var(--space-8);
}

.section-alt {
    background: var(--gray-50);
}

.section-dark {
    background: var(--brand-primary);
    color: var(--surface-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--surface-white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

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

/* Section Header */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-accent);
    margin-bottom: var(--space-3);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   SERVICE CARDS - Modern Grid
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service-card {
    background: var(--surface-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-5);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--brand-primary);
}

.service-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    color: var(--brand-accent);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: var(--space-3);
    color: var(--brand-accent-dark);
}

.service-link svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

/* ============================================
   CONTENT GRID - Two Column Layout
   ============================================ */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

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

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

.content-text {
    max-width: 540px;
}

.content-text .section-title {
    margin-bottom: var(--space-6);
}

.content-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: var(--space-5);
}

/* Features List */
.features-list {
    list-style: none;
    margin-top: var(--space-6);
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--gray-200);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--brand-accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.specs-list {
    list-style: none;
    margin-top: var(--space-6);
}

.specs-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    color: var(--gray-700);
}

.specs-list li::before {
    content: '→';
    color: var(--brand-accent);
    font-weight: 700;
}

/* Image Placeholder */
.image-placeholder {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-lg);
}

.image-placeholder img,
.image-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   INDUSTRIES GRID
   ============================================ */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.industry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    transition: var(--transition-base);
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(0, 163, 224, 0.3);
}

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

.industry-name {
    font-weight: 600;
    color: var(--surface-white);
    font-size: 0.9375rem;
}

/* ============================================
   STATS GRID
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.stat-card {
    background: var(--surface-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

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

.stat-card .stat-number {
    font-size: 2.5rem;
    margin-bottom: var(--space-2);
}

.stat-card .stat-label {
    font-size: 0.875rem;
}

/* ============================================
   PAGE HERO - Subpages
   ============================================ */

.page-hero {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    padding: calc(var(--nav-height) + var(--space-16)) var(--space-8) var(--space-16);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(30deg, transparent 48%, rgba(0, 163, 224, 0.03) 50%, transparent 52%),
        linear-gradient(-30deg, transparent 48%, rgba(0, 163, 224, 0.03) 50%, transparent 52%);
    background-size: 60px 100px;
}

.page-hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-6);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--surface-white);
}

.breadcrumb span {
    color: var(--brand-accent);
}

.page-hero h1 {
    color: var(--surface-white);
    margin-bottom: var(--space-4);
    max-width: 800px;
}

.page-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    line-height: 1.7;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    background: var(--surface-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-3);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    padding: var(--space-20) var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(30deg, transparent 48%, rgba(0, 163, 224, 0.05) 50%, transparent 52%),
        linear-gradient(-30deg, transparent 48%, rgba(0, 163, 224, 0.05) 50%, transparent 52%);
    background-size: 80px 140px;
}

.cta-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--surface-white);
    margin-bottom: var(--space-4);
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

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

/* ============================================
   FOOTER - Enterprise Style
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--space-20) var(--space-8) var(--space-8);
}

.footer-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand p {
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--surface-white);
    margin-bottom: var(--space-5);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

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

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

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--brand-accent);
    margin-top: 2px;
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   PRODUCT HERO
   ============================================ */

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.product-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-light));
    color: var(--surface-white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.product-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-2);
}

.product-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: var(--space-6);
}

.product-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: var(--space-8);
}

.btn-group {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Components List */
.components-list {
    list-style: none;
    margin-top: var(--space-6);
}

.components-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--gray-200);
}

.components-list li:last-child {
    border-bottom: none;
}

.components-list .num {
    width: 32px;
    height: 32px;
    background: var(--brand-primary);
    color: var(--surface-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-8) 0;
    background: var(--surface-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-5) var(--space-6);
    text-align: left;
}

.comparison-table thead {
    background: var(--brand-primary);
    color: var(--surface-white);
}

.comparison-table th {
    font-weight: 600;
    font-size: 0.9375rem;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
}

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

.comparison-table tbody tr:hover {
    background: var(--gray-50);
}

.comparison-table .check {
    color: var(--success);
}

.comparison-table .cross {
    color: var(--gray-400);
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */

.services-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.service-large {
    background: var(--surface-white);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.service-large:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-large .icon {
    font-size: 2rem;
    margin-bottom: var(--space-4);
}

.service-large h3 {
    font-size: 1.375rem;
    margin-bottom: var(--space-4);
}

.service-large p {
    margin-bottom: var(--space-5);
}

.service-large ul {
    list-style: none;
    margin-bottom: var(--space-6);
}

.service-large ul li {
    padding: var(--space-2) 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.service-large ul li::before {
    content: '✓';
    color: var(--brand-accent);
    font-weight: 700;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-info h2 {
    margin-bottom: var(--space-4);
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: var(--space-8);
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.contact-info-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--brand-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--surface-white);
}

.contact-info-content h3 {
    font-size: 1rem;
    margin-bottom: var(--space-1);
}

.contact-info-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form {
    background: var(--surface-white);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.form-subtitle {
    color: var(--gray-500);
    margin-bottom: var(--space-8);
}

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

.form-group {
    margin-bottom: var(--space-5);
}

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--surface-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.1);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

/* ============================================
   BLOG / ARTICLES
   ============================================ */

.article-hero {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    padding: calc(var(--nav-height) + var(--space-16)) var(--space-8) var(--space-16);
    text-align: center;
}

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

.article-category {
    display: inline-block;
    background: rgba(0, 163, 224, 0.2);
    color: var(--brand-accent-light);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.article-hero h1 {
    color: var(--surface-white);
    margin-bottom: var(--space-4);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.article-image {
    max-width: 900px;
    margin: -4rem auto 0;
    padding: 0 var(--space-8);
    position: relative;
    z-index: 1;
}

.article-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.article-container {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--space-16) var(--space-8);
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.85;
}

.article-content p {
    margin-bottom: var(--space-6);
    color: var(--gray-700);
}

.article-content h2 {
    font-size: 1.625rem;
    margin: var(--space-12) 0 var(--space-5);
}

.article-content h3 {
    font-size: 1.25rem;
    margin: var(--space-8) 0 var(--space-4);
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.article-content li {
    margin-bottom: var(--space-3);
}

.article-content blockquote {
    border-left: 4px solid var(--brand-accent);
    padding-left: var(--space-6);
    margin: var(--space-8) 0;
    font-style: italic;
    color: var(--gray-600);
}

/* Feature Grid in Articles */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    margin: var(--space-8) 0;
}

.feature-item {
    background: var(--gray-50);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
}

.feature-item h4 {
    font-size: 0.9375rem;
    margin-bottom: var(--space-2);
    color: var(--brand-primary);
}

.feature-item p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Highlight Box */
.highlight-box {
    background: var(--gray-50);
    border-left: 4px solid var(--brand-accent);
    padding: var(--space-6) var(--space-8);
    margin: var(--space-8) 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.highlight-box h4 {
    color: var(--brand-primary);
    margin-bottom: var(--space-3);
}

.highlight-box p {
    margin-bottom: 0;
}

/* CTA Box in Articles */
.cta-box {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    text-align: center;
    margin: var(--space-12) 0;
}

.cta-box h3 {
    color: var(--surface-white);
    font-size: 1.375rem;
    margin-bottom: var(--space-3);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-6);
}

/* ============================================
   VALUES GRID
   ============================================ */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: var(--transition-base);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

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

.value-card h3 {
    color: var(--surface-white);
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Info Card */
.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.info-card h3 {
    color: var(--surface-white);
    margin-bottom: var(--space-4);
}

.info-card p {
    margin-bottom: var(--space-2);
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
}

.application-card {
    background: var(--surface-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-4);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

.application-icon {
    font-size: 2rem;
    margin-bottom: var(--space-3);
}

.application-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-primary);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1024px) {
    .hero-container,
    .content-grid,
    .product-hero,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .hero-container {
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        justify-content: center;
        margin-top: var(--space-8);
    }
    
    .services-grid,
    .features-grid,
    .services-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .applications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }
    
    .nav-container {
        padding: 0 var(--space-4);
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--surface-white);
        flex-direction: column;
        padding: var(--space-4);
        gap: var(--space-1);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu li a {
        display: block;
        padding: var(--space-4) var(--space-5);
        font-size: 1.0625rem;
        border-radius: var(--radius-lg);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .section {
        padding: var(--space-16) var(--space-4);
    }
    
    .page-hero {
        padding: calc(var(--nav-height) + var(--space-12)) var(--space-4) var(--space-12);
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .features-grid,
    .services-overview,
    .stats-grid,
    .industries-grid,
    .values-grid,
    .footer-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-6);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: var(--space-6);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
    }
    
    .article-hero {
        padding: calc(var(--nav-height) + var(--space-10)) var(--space-4) var(--space-10);
    }
    
    .article-container {
        padding: var(--space-10) var(--space-4);
    }
    
    .article-image {
        margin-top: -2rem;
        padding: 0 var(--space-4);
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: var(--space-3) var(--space-6);
        font-size: 0.875rem;
    }
}
