@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    --bg-primary: #FAFAF9;
    --bg-secondary: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --accent-orange: #E67E22;
    --accent-green: #27AE60;
    --accent-green-light: #E8F5E9;
    --border-color: #E5E7EB;
    --max-width: 1200px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header / Nav */
header {
    position: sticky;
    top: 0;
    background: rgba(250, 250, 249, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

header.scrolled {
    border-color: var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo img {
    height: 32px;
    width: auto;
}

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

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

.nav-links a:hover {
    color: var(--accent-orange);
}

.cta-button {
    background-color: var(--text-primary);
    color: white !important;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: var(--accent-orange);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.08) 0%, rgba(250, 250, 249, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    max-width: 900px;
    background: linear-gradient(135deg, var(--text-primary) 0%, #4B5563 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

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

.primary-btn {
    background-color: var(--accent-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    border-color: var(--text-primary);
}

/* Features / Value Prop */
.features {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.section-grid.reversed {
    direction: rtl;
    /* Simple way to reverse visual order for grid, text-align left reset needed */
}

.section-grid.reversed>* {
    direction: ltr;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-visual {
    background: var(--bg-primary);
    border-radius: 16px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* Abstract visuals for placeholders */
.visual-beaker {
    font-size: 4rem;
    color: var(--accent-orange);
    opacity: 0.8;
}

.visual-graph {
    width: 60%;
    height: 40%;
    background: linear-gradient(90deg, transparent 0%, rgba(39, 174, 96, 0.1) 100%);
    border-bottom: 2px solid var(--accent-green);
    position: relative;
}

.visual-graph::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-green);
}

/* Info Cards */
.info-cards {
    padding: 6rem 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-green-light);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    background-color: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.link-group h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.link-group ul li {
    margin-bottom: 0.75rem;
}

.link-group a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.link-group a:hover {
    color: var(--accent-orange);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .nav-links {
        display: none;
        /* Ideal world: Hamburger menu. MVP: Hide */
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-grid.reversed {
        direction: ltr;
        /* Reset direction */
    }

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