/* ===== UNIFIED CORPORATE TECH THEME ===== */
:root {
    /* DEFAULT: LIGHT MODE Colors */
    --color-background: #ffffff;
    --color-surface: #f8f9fa;
    --color-surface-elevated: #ffffff;
    --color-text-main: #1a1a1a;
    --color-text-secondary: #666666;

    /* Single Primary Accent: Professional Blue */
    --color-primary: #0066cc;
    --color-primary-hover: #0052a3;
    --color-primary-glow: rgba(0, 102, 204, 0.15);

    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-strong: rgba(0, 0, 0, 0.12);

    /* Gradients - Subtle blue tones only */
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    --gradient-surface: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    --gradient-hero: radial-gradient(circle at 50% 0%, rgba(0, 102, 204, 0.08) 0%, transparent 50%);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --section-spacing: 100px;
}

[data-theme="dark"] {
    /* DARK MODE OVERRIDES */
    --color-background: #050505;
    --color-surface: #0a0a0c;
    --color-surface-elevated: #141416;
    --color-text-main: #ffffff;
    --color-text-secondary: #b8c0cc;

    --color-primary: #4da6ff;
    --color-primary-hover: #66b3ff;
    --color-primary-glow: rgba(77, 166, 255, 0.3);

    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-strong: rgba(255, 255, 255, 0.15);

    --gradient-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-hero: radial-gradient(circle at 50% 0%, rgba(77, 166, 255, 0.15) 0%, transparent 50%);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-main);
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-text-secondary);
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-spacing) 0;
    position: relative;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

[data-theme="dark"] .header {
    background: rgba(5, 5, 5, 0.8);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--color-gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: var(--font-heading);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    font-size: 16px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-primary-glow);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-surface-elevated);
    border-color: var(--color-border-strong);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    background: var(--gradient-hero);
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

.hero-pill {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.3);
    border-radius: 30px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

[data-theme="dark"] .hero-pill {
    background: rgba(77, 166, 255, 0.15);
    border-color: rgba(77, 166, 255, 0.4);
}

.hero h1 {
    font-size: clamp(48px, 5vw, 72px);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 20px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-section {
    background: var(--color-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--gradient-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--color-primary-glow);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 24px;
    display: inline-block;
    padding: 15px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 12px;
}

[data-theme="dark"] .card-icon {
    background: rgba(77, 166, 255, 0.1);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 8px 0;
    color: var(--color-text-secondary);
    font-size: 14px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card li::before {
    content: '→';
    color: var(--color-primary);
}

/* Features/About Section */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-img {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.feature-img img {
    width: 100%;
    display: block;
}

.feature-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.feature-content p {
    font-size: 16px;
    color: var(--color-gray-text);
    margin-bottom: 30px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 102, 204, 0.02) 100%);
    border-radius: 20px;
    border: 1px solid var(--color-border);
}

[data-theme="dark"] .stats-grid {
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.1) 0%, rgba(77, 166, 255, 0.05) 100%);
}

.stat-item h3 {
    font-size: 42px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 14px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 80px 0 30px;
    background: var(--color-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info p {
    color: var(--color-text-secondary);
    margin-top: 20px;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-links li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .feature-split {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }
}