/* CSS Variables */
:root {
    --primary: #1a5c5c;
    --primary-light: #238585;
    --accent: #3eecd5;
    --accent-glow: rgba(62, 236, 213, 0.15);
    --accent-soft: #2cc4b0;
    --bg: #080808;
    --bg-card: #0e0e0e;
    --bg-elevated: #131313;
    --text: #e2ded8;
    --text-light: #b5b0a8;
    --text-lighter: #7d7870;
    --white: #f0ede8;
    --border: #1a1816;
    --border-glow: rgba(62, 236, 213, 0.12);

    --gradient-accent: linear-gradient(135deg, #1a5c5c 0%, #2cc4b0 50%, #3eecd5 100%);
    --gradient-hero: linear-gradient(160deg, #060c0c 0%, #0a1e1e 40%, #0d2b2b 100%);
    --gradient-dark: linear-gradient(160deg, #060a0a 0%, #0a1515 100%);
    --glow: 0 0 40px rgba(62, 236, 213, 0.08);
    --glow-strong: 0 0 60px rgba(62, 236, 213, 0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 50px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* Base Typography */
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.015em;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section { padding: 7rem 0; }

.section-title {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.75;
}

html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-soft); }

::selection {
    background: rgba(62, 236, 213, 0.2);
    color: var(--white);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Bold & italic emphasis */
strong { color: var(--white); font-weight: 500; }
em { color: var(--accent-soft); font-style: italic; }

/* Glow text utility */
.glow-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
