/* CSS Variables */
:root {
    /* Colors */
    --bg: #FFFFFF;
    --bg-alt: #F9FAFB;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    
    /* Accent Colors */
    --blue: #1D4ED8;
    --blue-hover: #1E40AF;
    --green: #10B981;
    --gold: #D4AF37;
    --slate: #6B7280;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --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;
    
    /* Layout */
    --container-max-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--space-4);
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--blue-hover);
}

/* Layout */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1024px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-5,
    .grid-4,
    .grid-3,
    .grid-2 { 
        grid-template-columns: 1fr; 
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.2s ease;
}

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

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

.brand-link {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-6);
    margin: 0;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--space-2) 0;
    transition: color 0.2s ease;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    gap: var(--space-1);
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.mobile-nav-list {
    list-style: none;
    padding: var(--space-4);
}

.mobile-nav-list li {
    margin-bottom: var(--space-2);
}

.mobile-nav-link {
    display: block;
    padding: var(--space-3);
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: var(--bg-alt);
    color: var(--text-primary);
}

.mobile-cta {
    margin-top: var(--space-4);
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.btn-primary:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
    color: white;
}

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

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

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
}

/* Hero Section */
.hero {
    padding: var(--space-24) 0 var(--space-20);
    text-align: center;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}

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

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    flex-wrap: wrap;
}

.trust-badge {
    font-weight: 500;
}

.trust-separator {
    color: var(--border);
}

@media (max-width: 768px) {
    .hero {
        padding: var(--space-16) 0 var(--space-12);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .trust-separator {
        display: none;
    }
}

/* Products Section */
.products-section {
    padding: var(--space-20) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

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

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.product-suite {
    margin-bottom: var(--space-16);
}

.suite-title {
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
    margin-bottom: var(--space-8);
    text-align: center;
    position: relative;
}

.suite-title::after {
    content: '';
    position: absolute;
    bottom: -var(--space-2);
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    border-radius: 2px;
}

/* Product Cards */
.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-6);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.product-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-4);
    display: block;
}

.product-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-features li {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-2);
    padding-left: var(--space-4);
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: var(--space-8) 0;
    margin-top: var(--space-20);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-left p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-separator {
    color: var(--border);
    font-size: var(--font-size-sm);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-separator {
        display: none;
    }
}

/* Solutions Section */
.solutions-section {
    padding: var(--space-20) 0;
    background: var(--bg-alt);
}

.solution-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-6);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--green);
    transform: translateY(-2px);
}

.solution-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-4);
    display: block;
}

.solution-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.solution-kpis {
    list-style: none;
    margin: 0;
    padding: 0;
}

.solution-kpis li {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}

/* Customer Section */
.customers-section {
    padding: var(--space-20) 0;
}

.case-study-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-6);
    transition: all 0.3s ease;
    height: 100%;
}

.case-study-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.case-study-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-4);
    display: block;
}

.case-study-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.case-study-result {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--green);
    margin-bottom: var(--space-3);
}

.case-study-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Research Section */
.research-section {
    padding: var(--space-20) 0;
    background: var(--bg-alt);
}

.research-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-6);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.research-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.research-category {
    display: inline-block;
    background: var(--gold);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-4);
    width: fit-content;
}

.research-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.research-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.research-link {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.research-link:hover {
    color: var(--blue-hover);
}

/* Pricing Section */
.pricing-section {
    padding: var(--space-20) 0;
}

.pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-8);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.pricing-featured {
    border-color: var(--blue);
    border-width: 2px;
    transform: scale(1.05);
}

.pricing-featured:hover {
    transform: scale(1.05) translateY(-2px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: white;
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius);
}

.pricing-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.pricing-price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--blue);
    margin-bottom: var(--space-6);
}

.pricing-features {
    list-style: none;
    margin: 0 0 var(--space-8) 0;
    padding: 0;
    flex-grow: 1;
}

.pricing-features li {
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    padding-left: var(--space-4);
    position: relative;
    text-align: left;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 600;
}

/* Docs & Contact Section */
.docs-contact-section {
    padding: var(--space-20) 0;
    background: var(--bg-alt);
}

.docs-card,
.contact-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-8);
    transition: all 0.3s ease;
    height: 100%;
}

.docs-card:hover,
.contact-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.docs-icon,
.contact-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-4);
    display: block;
}

.docs-card h3,
.contact-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.docs-features {
    list-style: none;
    margin: 0 0 var(--space-6) 0;
    padding: 0;
}

.docs-features li {
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    padding-left: var(--space-4);
    position: relative;
}

.docs-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 600;
}

.contact-info {
    margin: var(--space-6) 0;
}

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

.contact-info strong {
    color: var(--text-primary);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
