:root {
    /* Brand Colors */
    --color-primary: #F15A3A;
    --color-primary-hover: #FF7838;
    --color-dark: #1D2630;
    --color-dark-alt: #2A3541;
    
    /* Backgrounds & Surfaces */
    --color-bg: #FCFBF8;
    --color-bg-tint: #FFF3EC;
    --color-surface: #FFFFFF;
    
    /* Text Colors */
    --color-text-main: #1D2630;
    --color-text-muted: #6E7075;
    --color-text-light: #E9E9E6;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-subtle: 0 4px 24px rgba(29, 38, 48, 0.04);
    --shadow-hover: 0 12px 32px rgba(29, 38, 48, 0.08);
    
    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-dark);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Typography Helpers */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.7;
}

.mt-2 { margin-top: var(--spacing-sm); }
.mt-4 { margin-top: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-md); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(241, 90, 58, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    color: white;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}
.justify-center { justify-content: center; }

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition-medium);
}

.header.scrolled {
    background-color: rgba(252, 251, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    transition: var(--transition-medium);
}
.header.scrolled .logo { color: var(--color-dark); }
.logo span { font-weight: 300; opacity: 0.8; }

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    font-weight: 500;
}
.header.scrolled .nav-links a { color: var(--color-text-main); }
.nav-links a:hover { color: var(--color-primary); }

.nav-actions {
    display: flex;
    gap: 1rem;
}

.header:not(.scrolled) .btn-secondary {
    border-color: white;
    color: white;
}
.header:not(.scrolled) .btn-secondary:hover {
    background-color: white;
    color: var(--color-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29,38,48,0.85) 0%, rgba(29,38,48,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
    color: white;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero-waves {
    position: absolute;
    bottom: -5px; /* prevent rendering gap */
    left: 0;
    width: 100%;
    z-index: 4;
}
.hero-waves svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* Layouts */
.split-layout {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}
.align-center { align-items: center; }

.split-left, .split-right {
    flex: 1;
    min-width: 300px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.bg-tint { background-color: var(--color-bg-tint); }
.bg-dark { 
    background-color: var(--color-dark);
    color: white; 
}
.bg-dark h2 { color: white; }

/* Cards & Components */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.diff-card .bg-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-bg-tint);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    transition: var(--transition-medium);
}

.diff-card:hover .bg-number {
    color: rgba(241, 90, 58, 0.08);
    transform: scale(1.05);
}

.card-icon {
    position: relative;
    z-index: 1;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.diff-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.diff-card p {
    position: relative;
    z-index: 1;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Stats */
.stat-card {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-md);
    border-top: 3px solid var(--color-primary);
    box-shadow: var(--shadow-subtle);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Featured Section */
.rounded-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    display: block;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Storytelling */
.storytelling {
    position: relative;
    padding: var(--spacing-xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.story-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    z-index: 1;
}

.full-bleed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storytelling .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.story-card {
    background: white;
    padding: 4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    max-width: 500px;
    margin-right: 5%;
}

.story-card h2 { margin-bottom: 1.5rem; }

/* Footer */
.footer {
    background-color: var(--color-dark-alt);
    color: var(--color-text-light);
    padding: var(--spacing-lg) 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo {
    color: white;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.footer-links a:hover { color: var(--color-primary); }

.border-top { border-top: 1px solid rgba(255,255,255,0.1); }
.pt-4 { padding-top: var(--spacing-md); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.social-links { display: flex; gap: 1rem; }
.social-links a { color: rgba(255,255,255,0.7); }
.social-links a:hover { color: white; }

/* Responsive */
@media (max-width: 1024px) {
    .story-image-container { width: 100%; height: 50%; }
    .storytelling { flex-direction: column; align-items: center; padding-top: 50vh; }
    .story-card { margin-right: 0; margin-top: -100px; width: 90%; max-width: none; padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
    .split-left, .split-right { min-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
}
