:root {
    /* Color Palette */
    --color-bg: #f7f6f1;
    --color-bg-elevated: #ffffff;
    --color-text-main: #1c1b18;
    --color-text-muted: #706d64;
    --color-primary: #f04e1a;
    --color-primary-hover: #d43f0d;
    --color-border: rgba(0, 0, 0, 0.09);

    /* Typography */
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Layout */
    --container-max-width: 1200px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 6px;
    --transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 24px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.text-primary {
    color: var(--color-primary);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(240, 78, 26, 0.08);
    color: var(--color-primary);
    border: 1px solid rgba(240, 78, 26, 0.2);
    margin-bottom: 24px;
}

.badge-accent {
    background: rgba(240, 78, 26, 0.06);
    color: var(--color-primary);
    border-color: rgba(240, 78, 26, 0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 78, 26, 0.28);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-text-main);
    transform: translateY(-1px);
}

.btn-large {
    padding: 15px 36px;
    font-size: 1.0625rem;
}

.btn-small {
    padding: 9px 22px;
    font-size: 0.875rem;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(247, 246, 241, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    width: 36px;
    height: 36px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-main);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px 24px;
    z-index: 99;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-text-main);
}

.mobile-menu a:last-child {
    border-bottom: none;
    margin-top: 12px;
    text-align: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-main);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:hover {
    color: var(--color-text-main);
}

/* Hero load animations */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    width: 100%;
}

.hero-text {
    flex: 1;
    min-width: 0;
    animation: heroFadeUp 0.65s ease-out both;
}

.hero-image {
    flex: 1;
    min-width: 0;
    animation: heroFadeUp 0.65s ease-out 0.15s both;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
}

.hero-headline {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    letter-spacing: 0.01em;
    margin-bottom: 20px;
    line-height: 1.0;
}

.hero-subheadline {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    max-width: 460px;
    margin-bottom: 40px;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Layout Blocks */
.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-text, .split-image {
    flex: 1;
    min-width: 0;
}

.image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

/* Showcase */
.showcase-content {
    max-width: 640px;
}

/* How It Works */
.how-it-works {
    background: var(--color-bg-elevated);
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.steps-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(240, 78, 26, 0.08);
    border: 1.5px solid rgba(240, 78, 26, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
}

.step-content p {
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    margin-bottom: 10px;
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 1rem;
}

/* Vision */
.vision {
    background: var(--color-bg-elevated);
}

.vision-content {
    text-align: center;
}

.vision-text {
    max-width: 680px;
    margin: 0 auto 64px;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.feature-card {
    padding: 32px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(240, 78, 26, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

/* CTA */
.cta-section {
    background: var(--color-text-main);
}

.cta-content {
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
}

.cta-content p {
    max-width: 560px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.55);
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 60px 0 40px;
    background: var(--color-bg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9375rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-content,
    .split-layout,
    .split-layout.reverse {
        flex-direction: column;
        gap: 48px;
    }

    .hero-image {
        order: -1;
    }

    .grid-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section {
        padding: 80px 0;
    }

    .cta-content {
        padding: 64px 0;
    }
}
