/* Base Styles and CSS Variables */
:root {
    /* Colors */
    --color-primary: #2563EB;
    --color-primary-rgb: 37, 99, 235;
    --color-secondary: #7C3AED;
    --color-secondary-rgb: 124, 58, 237;
    --color-accent: #10B981;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-background: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    --gradient-secondary: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    --gradient-accent: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --gradient-mesh: radial-gradient(circle at top right, rgba(37,99,235,0.1), transparent),
                    radial-gradient(circle at bottom left, rgba(124,58,237,0.1), transparent);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-secondary: 'Manrope', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth Reveal Animation */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 769px) {
    .fade-up {
        transform: translateY(30px);
    }
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-background);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 5.6rem; }
h2 { font-size: 4.8rem; }
h3 { font-size: 3.2rem; }
h4 { font-size: 2.4rem; }
h5 { font-size: 2rem; }
h6 { font-size: 1.6rem; }

p {
    margin-bottom: 1.6rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--color-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.6rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--color-secondary);
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 1200px) {
    html { font-size: 60%; }
}

@media (max-width: 900px) {
    html { font-size: 57.5%; }
    .container { padding: 0 3rem; }
}

@media (max-width: 600px) {
    html { font-size: 55%; }
    h1 { font-size: 4.8rem; }
    h2 { font-size: 4rem; }
    h3 { font-size: 2.8rem; }
}
