/* ═════════════════════════════════════════════════════════════════════════════
   CRITICAL CSS - Inline in <head> to prevent render-blocking
   ═════════════════════════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', 'Outfit', sans-serif;
    background: #020617;
    color: #e2e8f0;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Hero Section - Critical for LCP */
.hero-gradient-text {
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 40%, #a7f3d0 80%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Core Layout */
.max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-16 {
    gap: 4rem;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    color: #fff;
}

h2 {
    font-size: 2rem;
    color: #fff;
}

h3 {
    font-size: 1.5rem;
    color: #fff;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Spacing utilities */
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-24 { padding-top: 6rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-0 { margin-top: 0; }

/* Display utilities */
.inline-flex { display: inline-flex; }
.hidden { display: none !important; }
.block { display: block; }

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .grid-cols-1 { grid-template-columns: 1fr; }
    .hidden.sm\:block { display: block; }
}

@media (min-width: 1024px) {
    .grid-cols-1.lg\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .lg\:col-span-7 {
        grid-column: span 7;
    }
    .lg\:col-span-5 {
        grid-column: span 5;
    }
}

/* Loading optimization */
img {
    max-width: 100%;
    height: auto;
}

picture {
    display: contents;
}
