@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* =================================================================
   THEME CONFIGURATION - Only edit these variables
   ================================================================= */
:root {
    /* Brand Colors - These 5 variables define the entire theme */
    --brand-primary: #4f46e5;    /* Indigo - Main brand color */
    --brand-dark: #1e1b4b;       /* Dark purple - Headers, dark sections */
    --brand-light: #f3f4f6;      /* Light gray - Light backgrounds */
    --brand-accent: #7c3aed;     /* Purple - CTAs, highlights */
    --brand-neutral: #64748b;    /* Slate - Body text, secondary elements */
    
    /* System Colors - Rarely need editing */
    --white: #FFFFFF;
    --black: #000000;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    
    /* Overlay colors derived from brand colors */
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-gradient: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    
    /* Typography Scale - Consistent across all themes */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    
    /* Spacing Scale - Consistent across all themes */
    --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;
    --space-32: 8rem;
}

/* =================================================================
   UNIVERSAL CMS CLASSES - DO NOT EDIT
   These classes are used by AI agents and must remain consistent
   ================================================================= */

/* Reset & Base Styles */
body {
    font-family: var(--font-family);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: var(--brand-dark);
}

* {
    box-sizing: border-box;
}

/* Background Colors */
.cms-bg-primary {
    background-color: var(--brand-primary) !important;
}
.cms-bg-dark {
    background-color: var(--brand-dark) !important;
}
.cms-bg-light {
    background-color: var(--brand-light) !important;
}
.cms-bg-accent {
    background-color: var(--brand-accent) !important;
}
.cms-bg-neutral {
    background-color: var(--brand-neutral) !important;
}
.cms-bg-white {
    background-color: var(--white) !important;
}

/* Text Colors */
.cms-text-primary {
    color: var(--brand-primary) !important;
}
.cms-text-dark {
    color: var(--brand-dark) !important;
}
.cms-text-light {
    color: var(--white) !important;
}
.cms-text-accent {
    color: var(--brand-accent) !important;
}
.cms-text-neutral {
    color: var(--brand-neutral) !important;
}
.cms-text-white {
    color: var(--white) !important;
}

/* Border Colors */
.cms-border-primary {
    border-color: var(--brand-primary) !important;
}
.cms-border-dark {
    border-color: var(--brand-dark) !important;
}
.cms-border-light {
    border-color: var(--brand-light) !important;
}
.cms-border-accent {
    border-color: var(--brand-accent) !important;
}
.cms-border-neutral {
    border-color: var(--brand-neutral) !important;
}

/* Layout Utilities */
.cms-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

@media (max-width: 768px) {
    .cms-container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
}

/* Components */
.cms-btn {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-family);
}

.cms-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cms-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.cms-link:hover {
    opacity: 0.8;
}

.cms-card {
    background: var(--white);
    border-radius: 0.75rem;
    padding: var(--space-6);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.cms-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Typography */
.cms-h1 {
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.2;
}

.cms-h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
}

.cms-h3 {
    font-size: var(--text-3xl);
    font-weight: 600;
    line-height: 1.3;
}

.cms-h4 {
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.4;
}

.cms-text-sm {
    font-size: var(--text-sm);
}

.cms-text-base {
    font-size: var(--text-base);
}

.cms-text-lg {
    font-size: var(--text-lg);
}

.cms-text-xl {
    font-size: var(--text-xl);
}

.cms-text-2xl {
    font-size: var(--text-2xl);
}

.cms-text-3xl {
    font-size: var(--text-3xl);
}

.cms-text-4xl {
    font-size: var(--text-4xl);
}

.cms-text-5xl {
    font-size: var(--text-5xl);
}

.cms-text-6xl {
    font-size: var(--text-6xl);
}

.cms-text-7xl {
    font-size: var(--text-7xl);
}

/* Hero specific typography */
.cms-hero-title {
    font-size: var(--text-6xl);
    font-weight: 700;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .cms-hero-title {
        font-size: var(--text-7xl);
    }
}

.cms-hero-subtitle {
    font-size: var(--text-xl);
    opacity: 0.9;
}

/* Section headings */
.cms-section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
}

@media (min-width: 768px) {
    .cms-section-title {
        font-size: var(--text-5xl);
    }
}

/* Stats */
.cms-stat-number {
    font-size: var(--text-5xl);
    font-weight: 700;
}

.cms-stat-label {
    font-size: var(--text-lg);
}

/* Ensure text visibility on colored backgrounds */
.cms-bg-primary *,
.cms-bg-dark *,
.cms-bg-accent * {
    color: var(--white);
}

/* Font Awesome Support */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Swiper Pagination - Global for all sliders */
.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    margin: 0 8px !important;
}

.swiper-pagination-bullet-active {
    background: var(--brand-accent) !important;
    transform: scale(1.3) !important;
}

/* Global Overflow Prevention */
html, body {
    overflow-x: hidden;
}

/* Global Typography - Applied to all pages */
body {
    font-family: var(--font-family);
    color: var(--brand-dark);
    line-height: 1.6;
}

/* =================================================================
   END OF GLOBAL STYLES
   All component-specific styles should be in component files
   ================================================================= */