/* ================================================================
   GIOVANNI CORTAZZO — Design System "Il Campo"
   Palette: Verde Campo + Nero Stadio + Oro Trofei
   Grid: 8pt | Typography: Golden Ratio (1.618)
   ================================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Poppins', Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.618;
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* === DESIGN TOKENS — PALETTE "IL CAMPO" === */
:root {
    /* Primary — Verde Campo */
    --primary: #1B8F5A;
    --primary-dark: #14703F;
    --primary-light: #22B96E;

    /* Accent — Oro Trofei */
    --accent: #D4A843;
    --accent-dark: #B8912E;
    --accent-light: #E4C06A;

    /* Backgrounds — Nero Stadio */
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-tertiary: #1C2330;

    /* Text */
    --text-primary: #F0F6FC;
    --text-secondary: #8B949E;
    --text-muted: #6E7681;

    /* Borders */
    --border: #30363D;
    --border-accent: #1B8F5A;

    /* Semantic */
    --danger: #DA3633;
    --danger-dark: #b52d2a;
    --success: #2EA043;
    --warning: #D29922;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0D1117 0%, #1C2330 40%, #14703F 100%);
    --gradient-card: linear-gradient(180deg, #161B22 0%, #1C2330 100%);
    --gradient-cta: linear-gradient(135deg, #1B8F5A 0%, #22B96E 100%);
    --gradient-gold: linear-gradient(135deg, #D4A843 0%, #B8912E 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.35);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 0 3px rgba(27,143,90,0.15);

    /* 8pt Grid spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* === TYPOGRAPHY — Golden Ratio Scale === */
.text-xs { font-size: 0.75rem; line-height: 1.5; }
.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-base { font-size: 1rem; line-height: 1.618; }
.text-lg { font-size: 1.125rem; line-height: 1.618; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.3; }
.text-3xl { font-size: 2rem; line-height: 1.2; }
.text-4xl { font-size: 3rem; line-height: 1.1; }
.text-5xl { font-size: 4.5rem; line-height: 1.05; }
.text-display { font-size: 6rem; line-height: 1; letter-spacing: -0.02em; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-poppins { font-family: 'Poppins', Helvetica, sans-serif; }
.font-mono { font-family: ui-monospace, SFMono-Regular, monospace; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }
.tracking-widest { letter-spacing: 0.2em; }
.tracking-tight { letter-spacing: -0.02em; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.1; }
.leading-snug { line-height: 1.3; }
.leading-normal { line-height: 1.618; }
.leading-relaxed { line-height: 1.8; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* === COLORS — TEXT === */
.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.text-primary-light { color: var(--primary-light); }
.text-accent { color: var(--accent); }
.text-accent-light { color: var(--accent-light); }
.text-body { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-current { color: currentColor; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-light { color: var(--text-primary); }
.text-red-400 { color: #f87171; }
.text-red-300 { color: #fca5a5; }
.text-green-300 { color: #86efac; }
.text-blue-400 { color: #60a5fa; }
.text-blue-300 { color: #93c5fd; }
.text-yellow-300 { color: #fde047; }
.text-yellow-400 { color: #facc15; }
.text-purple-400 { color: #c084fc; }

/* === COLORS — BACKGROUNDS === */
.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-tertiary { background-color: var(--bg-tertiary); }
.bg-accent-primary { background-color: var(--primary); }
.bg-accent-gold { background-color: var(--accent); }
.bg-dark { background-color: var(--bg-primary); }
.bg-dark-card { background-color: var(--bg-secondary); }
.bg-dark-deeper { background-color: #080B10; }
.bg-transparent { background-color: transparent; }
.bg-white { background-color: #fff; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-green-800 { background-color: #166534; }
.bg-red-800 { background-color: #991b1b; }
.bg-red-600 { background-color: #dc2626; }
.bg-yellow-600 { background-color: #ca8a04; }
.bg-black\/50 { background-color: rgba(0,0,0,0.5); }
.bg-green-800\/50 { background-color: rgba(22,101,52,0.5); }
.bg-red-800\/50 { background-color: rgba(153,27,27,0.5); }
.bg-yellow-800\/50 { background-color: rgba(133,77,14,0.5); }
.bg-primary\/5 { background-color: rgba(27,143,90,0.05); }
.bg-primary\/10 { background-color: rgba(27,143,90,0.1); }
.bg-primary\/15 { background-color: rgba(27,143,90,0.15); }
.bg-accent\/10 { background-color: rgba(212,168,67,0.1); }
.bg-accent\/15 { background-color: rgba(212,168,67,0.15); }
.bg-blue-500\/10 { background-color: rgba(59,130,246,0.1); }
.bg-yellow-500\/10 { background-color: rgba(234,179,8,0.1); }
.bg-purple-500\/10 { background-color: rgba(168,85,247,0.1); }

/* Gradients */
.bg-gradient-hero { background: var(--gradient-hero); }
.bg-gradient-card { background: var(--gradient-card); }
.bg-gradient-cta { background: var(--gradient-cta); }
.bg-gradient-gold { background: var(--gradient-gold); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-gradient-start { --tw-gradient-from: #0D1117; --tw-gradient-to: #14703F; }
.to-gradient-end { --tw-gradient-to: #14703F; }

/* === LAYOUT — 8pt Grid === */
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xs { max-width: 20rem; }
.max-w-prose { max-width: 68ch; }
.max-w-none { max-width: none; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding — 8pt multiples */
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-8 { padding-left: 32px; padding-right: 32px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-20 { padding-top: 96px; padding-bottom: 96px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.pt-4 { padding-top: 16px; }
.pt-24 { padding-top: 96px; }
.pb-4 { padding-bottom: 16px; }
.pb-6 { padding-bottom: 24px; }
.pb-20 { padding-bottom: 96px; }

/* Margin — 8pt multiples */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mt-20 { margin-top: 96px; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.ml-2 { margin-left: 8px; }
.ml-4 { margin-left: 16px; }
.mr-2 { margin-right: 8px; }
.mr-3 { margin-right: 12px; }
.mx-1 { margin-left: 4px; margin-right: 4px; }

/* === FLEXBOX === */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.block { display: block; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-12 { gap: 48px; }
.space-x-2 > * + * { margin-left: 8px; }
.space-x-3 > * + * { margin-left: 12px; }
.space-x-4 > * + * { margin-left: 16px; }
.space-x-8 > * + * { margin-left: 32px; }
.space-y-2 > * + * { margin-top: 8px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-4 > * + * { margin-top: 16px; }
.space-y-6 > * + * { margin-top: 24px; }
.space-y-8 > * + * { margin-top: 32px; }

/* === GRID === */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }

/* === SIZING === */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-2 { width: 8px; }
.w-3 { width: 12px; }
.w-4 { width: 16px; }
.w-5 { width: 20px; }
.w-6 { width: 24px; }
.w-8 { width: 32px; }
.w-10 { width: 40px; }
.w-12 { width: 48px; }
.w-14 { width: 56px; }
.w-16 { width: 64px; }
.w-20 { width: 80px; }
.w-48 { width: 192px; }
.w-64 { width: 256px; }
.h-0\.5 { height: 2px; }
.h-1 { height: 4px; }
.h-2 { height: 8px; }
.h-3 { height: 12px; }
.h-4 { height: 16px; }
.h-5 { height: 20px; }
.h-6 { height: 24px; }
.h-8 { height: 32px; }
.h-10 { height: 40px; }
.h-12 { height: 48px; }
.h-14 { height: 56px; }
.h-16 { height: 64px; }
.h-20 { height: 80px; }
.h-32 { height: 128px; }
.h-48 { height: 192px; }
.h-56 { height: 224px; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0; }
.max-h-32 { max-height: 128px; }
.aspect-video { aspect-ratio: 16/9; }

/* === BORDERS === */
.border { border: 1px solid; }
.border-2 { border: 2px solid; }
.border-3 { border: 3px solid; }
.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }
.border-l { border-left: 1px solid; }
.border-l-3 { border-left: 3px solid; }
.border-r { border-right: 1px solid; }
.border-r-2 { border-right: 2px solid; }
.border-color { border-color: var(--border); }
.border-gray-700 { border-color: var(--border); }
.border-gray-800 { border-color: #1f2937; }
.border-white { border-color: #fff; }
.border-primary { border-color: var(--primary); }
.border-accent { border-color: var(--accent); }
.border-red-500 { border-color: #ef4444; }
.border-transparent { border-color: transparent; }
.rounded { border-radius: var(--radius-sm); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.divide-y > * + * { border-top: 1px solid; }
.divide-gray-700 > * + * { border-color: var(--border); }

/* === POSITIONING === */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-4 { top: 16px; }
.top-24 { top: 96px; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-4 { right: 16px; }
.right-8 { right: 32px; }
.bottom-4 { bottom: 16px; }
.bottom-8 { bottom: 32px; }
.bottom-0 { bottom: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* === TRANSFORMS === */
.transform { transform: var(--tw-transform); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-x-full { transform: translateX(-100%); }
.translate-x-0 { transform: translateX(0); }
.-translate-y-1\/2 { transform: translateY(-50%); }

/* === EFFECTS === */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); }
.shadow-glow { box-shadow: var(--shadow-glow); }
.shadow-glow-accent { box-shadow: 0 0 0 3px rgba(212,168,67,0.15); }
.opacity-0 { opacity: 0; }
.opacity-5 { opacity: 0.05; }
.opacity-8 { opacity: 0.08; }
.opacity-10 { opacity: 0.1; }
.opacity-40 { opacity: 0.4; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* === TRANSITIONS === */
.transition-all { transition: all 200ms ease-out; }
.transition-colors { transition: color 200ms ease-out, background-color 200ms ease-out, border-color 200ms ease-out; }
.transition-transform { transition: transform 200ms ease-out; }
.transition-shadow { transition: box-shadow 200ms ease-out; }
.transition-opacity { transition: opacity 200ms ease-out; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* === OBJECT === */
.object-cover { object-fit: cover; }
.object-center { object-position: center; }

/* === MISC === */
.resize-none { resize: none; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }
.list-none { list-style: none; }
.list-disc { list-style-type: disc; }

/* === HOVER STATES === */
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-primary-light:hover { color: var(--primary-light); }
.hover\:text-accent:hover { color: var(--accent); }
.hover\:text-white:hover { color: #fff; }
.hover\:text-red-400:hover { color: #f87171; }
.hover\:text-red-300:hover { color: #fca5a5; }
.hover\:text-blue-300:hover { color: #93c5fd; }
.hover\:text-yellow-300:hover { color: #fde047; }
.hover\:bg-primary:hover { background-color: var(--primary); }
.hover\:bg-primary-dark:hover { background-color: var(--primary-dark); }
.hover\:bg-accent:hover { background-color: var(--accent); }
.hover\:bg-accent-dark:hover { background-color: var(--accent-dark); }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-gray-600:hover { background-color: #4b5563; }
.hover\:bg-gray-700\/50:hover { background-color: rgba(55,65,81,0.5); }
.hover\:bg-gray-800:hover { background-color: #1f2937; }
.hover\:bg-tertiary:hover { background-color: var(--bg-tertiary); }
.hover\:bg-yellow-700:hover { background-color: #a16207; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }
.hover\:text-dark:hover { color: var(--bg-primary); }
.hover\:border-primary:hover { border-color: var(--primary); }
.hover\:border-accent:hover { border-color: var(--accent); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:scale-103:hover { transform: scale(1.03); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
.hover\:shadow-xl:hover { box-shadow: var(--shadow-xl); }
.hover\:shadow-glow:hover { box-shadow: var(--shadow-glow); }

/* === FOCUS STATES === */
.focus\:border-primary:focus { border-color: var(--primary); }
.focus\:ring-1:focus { box-shadow: var(--shadow-glow); }
.focus\:ring-primary:focus { box-shadow: var(--shadow-glow); }
.focus\:outline-none:focus { outline: none; }

/* === TABLE === */
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; }

/* ================================================================
   COMPONENT STYLES
   ================================================================ */

/* === HEADER === */
#main-header {
    background-color: transparent;
    transition: background-color 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}
#main-header.scrolled {
    background-color: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.4), inset 0 -1px 0 rgba(48,54,61,0.5);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpath d='M30 0L60 17.32v17.32L30 52 0 34.64V17.32z' fill='none' stroke='%231B8F5A' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 60px 52px;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(13,17,23,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 16px;
    max-width: 56rem;
    margin: 0 auto;
}

.hero-scroll-line {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: translateX(-50%) scaleY(1); }
}

/* === CTA BUTTONS === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    background: var(--gradient-cta);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all 200ms ease-out;
    box-shadow: 0 4px 16px rgba(27,143,90,0.25);
}
.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(27,143,90,0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    transition: all 200ms ease-out;
}
.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.btn-sm {
    padding: 8px 24px;
    font-size: 0.875rem;
}

/* === CARD === */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 200ms ease-out;
}
.card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-gold {
    border-left: 3px solid var(--accent);
}

/* === SECTION HEADING === */
.section-heading {
    text-align: center;
    margin-bottom: 64px;
}
.section-heading h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}
.section-heading .section-line {
    width: 64px;
    height: 3px;
    background: var(--gradient-cta);
    margin: 0 auto 16px;
    border-radius: var(--radius-full);
}
.section-heading p {
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* === ACHIEVEMENT CARD === */
.achievement-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: all 200ms ease-out;
}
.achievement-card:hover {
    border-color: var(--accent);
    background: var(--bg-tertiary);
}
.achievement-card .achievement-name {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.25rem;
}

/* === TIMELINE === */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--border));
}
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: var(--radius-full);
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--accent);
    z-index: 10;
}
.timeline-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 200ms ease-out;
}
.timeline-card:hover {
    border-color: var(--primary);
}
.timeline-card .timeline-year {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.125rem;
}

/* === BLOG CARD === */
.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 200ms ease-out;
}
.blog-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.blog-card .blog-card-image {
    position: relative;
    overflow: hidden;
}
.blog-card .blog-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--bg-secondary), transparent);
    pointer-events: none;
}
.blog-card .blog-card-image img {
    transition: transform 300ms ease-out;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}
.blog-card .blog-card-category {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* === CONTACT FORM === */
.form-input {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 200ms ease-out;
}
.form-input::placeholder {
    color: var(--text-muted);
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* === AVAILABILITY BADGE === */
.badge-available {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(27,143,90,0.1);
    border: 1px solid rgba(27,143,90,0.3);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-weight: 500;
    font-size: 0.875rem;
}
.badge-available .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: var(--radius-full);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,185,110,0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34,185,110,0); }
}

/* === PROSE (Blog content) === */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.25em; line-height: 1.8; color: var(--text-primary); }
.prose h2 { font-size: 1.5em; font-weight: 700; color: #fff; margin: 2em 0 0.75em; }
.prose h3 { font-size: 1.25em; font-weight: 600; color: #fff; margin: 1.5em 0 0.5em; }
.prose h4 { font-size: 1.1em; font-weight: 600; color: #fff; margin: 1.25em 0 0.5em; }
.prose strong { color: #fff; font-weight: 600; }
.prose a { color: var(--primary); }
.prose a:hover { text-decoration: underline; }
.prose ul, .prose ol { margin-bottom: 1.25em; padding-left: 1.5em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 1em;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--text-secondary);
}
.prose img { border-radius: var(--radius-lg); margin: 1.5em 0; }
.prose-invert { color: var(--text-primary); }

/* ================================================================
   ANIMATIONS
   ================================================================ */

/* Scroll reveal */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.animate-on-scroll.visible .stagger-1 { transition-delay: 100ms; }
.animate-on-scroll.visible .stagger-2 { transition-delay: 200ms; }
.animate-on-scroll.visible .stagger-3 { transition-delay: 300ms; }
.animate-on-scroll.visible .stagger-4 { transition-delay: 400ms; }

/* Bounce */
.animate-bounce {
    animation: bounce 1s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

/* Slide in */
.animate-slide-in {
    animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Timeline dot glow */
.animate-glow {
    animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 0 2px var(--accent); }
    50% { box-shadow: 0 0 0 2px var(--accent), 0 0 12px rgba(212,168,67,0.3); }
}

/* Counter animation handled in JS */

/* === RESPONSIVE === */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 24px; padding-right: 24px; }
    .sm\:block { display: block; }
    .sm\:flex { display: flex; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:table-cell { display: table-cell; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:text-left { text-align: left; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:grid { display: grid; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:table-cell { display: table-cell; }
    .md\:text-5xl { font-size: 4.5rem; line-height: 1.05; }
    .md\:text-4xl { font-size: 3rem; line-height: 1.1; }
    .md\:text-3xl { font-size: 2rem; line-height: 1.2; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 1.3; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.4; }
    .md\:p-8 { padding: 32px; }
    .md\:px-8 { padding-left: 32px; padding-right: 32px; }
    .md\:py-24 { padding-top: 96px; padding-bottom: 96px; }
    .md\:ml-64 { margin-left: 256px; }
    .md\:translate-x-0 { transform: translateX(0); }
    .md\:justify-start { justify-content: flex-start; }
    .md\:justify-end { justify-content: flex-end; }
    .md\:gap-12 { gap: 48px; }
    /* Golden ratio columns */
    .md\:w-golden-small { width: 38.2%; }
    .md\:w-golden-large { width: 61.8%; }
    .md\:flex-row { flex-direction: row; }

    .section-heading h2 { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 32px; padding-right: 32px; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:block { display: block; }
    .lg\:table-cell { display: table-cell; }
    .lg\:flex { display: flex; }
    .lg\:gap-12 { gap: 48px; }
}

@media (min-width: 1280px) {
    .xl\:text-display { font-size: 6rem; line-height: 1; letter-spacing: -0.02em; }
}

/* Mobile overrides */
@media (max-width: 639px) {
    .hero-content h1 { font-size: 2.5rem; }
    .section-heading h2 { font-size: 2rem; }
    .btn-primary, .btn-secondary { padding: 12px 32px; width: 100%; justify-content: center; }
    .py-20 { padding-top: 64px; padding-bottom: 64px; }
}
