:root {
    --primary-color: #009800;
    /* Official Green */
    --primary-dark: #007A00;
    --secondary-color: #0F172A;
    /* Deep Navy */
    --accent-color: #0091D8;
    /* Official Blue */
    --highlight-color: #FF8E00;
    /* Official Orange */
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-main: #334155;
    --text-light: #64748B;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.25;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo {
    height: 50px;
    /* Adjust based on logo aspect ratio */
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.logo-text .highlight {
    color: var(--primary-color);
}


/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background: radial-gradient(circle at top right, rgba(0, 152, 0, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 145, 216, 0.1), transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #DCFCE7;
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.subheadline {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-bullets li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.hero-bullets i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 168, 107, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(0, 168, 107, 0.4);
}

/* Hero Visual - Glassmorphism */
.hero-visual {
    position: relative;
    height: 400px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: absolute;
}

.chart-card {
    top: 20px;
    right: 20px;
    width: 280px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.match-card {
    bottom: 40px;
    left: 20px;
    width: 300px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 7s ease-in-out infinite reverse;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 80px;
    margin-bottom: 1rem;
}

.bar {
    background-color: #E2E8F0;
    width: 100%;
    border-radius: 4px;
}

.bar-1 {
    height: 40%;
    background-color: #E2E8F0;
}

.bar-2 {
    height: 60%;
    background-color: #CBD5E1;
}

.bar-3 {
    height: 50%;
    background-color: #94A3B8;
}

.bar-4 {
    height: 85%;
    background-color: var(--primary-color);
}

.trend-indicator {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--accent-color);
    border-radius: 50%;
    background-image: linear-gradient(135deg, #CFFAFE 0%, #38BDF8 100%);
}

.match-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.action-icon {
    margin-left: auto;
    color: var(--primary-color);
    background: #ECFDF5;
    padding: 0.5rem;
    border-radius: 50%;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sections General */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    /* Changed to center to balance cards if heights differ slightly */
}

/* Feature Boxes (Who For) */
.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: #F0F9FF;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Dark Section (Features) */
.dark-bg {
    background-color: var(--secondary-color);
    color: white;
}

.dark-bg h2,
.dark-bg p,
.dark-bg h4 {
    color: white;
}

.dark-bg .section-header p {
    color: #94A3B8;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.feature-item p {
    color: #CBD5E1;
    font-size: 0.95rem;
}

/* Problems Solved */
.problem-card,
.solution-card {
    padding: 2.5rem;
    border-radius: 1rem;
}

.problem-card {
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

.solution-card {
    background: #ECFDF5;
    border: 1px solid #6EE7B7;
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.problem-card h3,
.solution-card h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.text-red {
    color: #EF4444;
}

.text-green {
    color: #10B981;
}

.problem-card ul li,
.solution-card ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.problem-card ul li::before {
    content: "•";
    color: #EF4444;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.solution-card ul li::before {
    content: "✓";
    color: #10B981;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* How It Works (Steps) */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
}

.step p {
    color: var(--text-light);
}

/* Testimonials */
.testimonial-card {
    background: #1E293B;
    padding: 2rem;
    border-radius: 1rem;
}

.quote {
    font-style: italic;
    color: #E2E8F0;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.author strong {
    display: block;
    color: var(--primary-color);
}

.author span {
    font-size: 0.85rem;
    color: #94A3B8;
}

/* CTA & Form Section */
.cta-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, #E0F2FE 100%);
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.registration-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #CBD5E1;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

.microcopy {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-message {
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.form-message.success {
    background-color: #DCFCE7;
    color: #166534;
}

.form-message.error {
    background-color: #FEE2E2;
    color: #991B1B;
}

.hidden {
    display: none;
}

.select-wrapper {
    position: relative;
}

/* Loader */
.loader {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid white;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 1s linear infinite;
    /* Safari */
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    background: white;
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 900px) {

    .hero-content,
    .cta-container,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
        /* Simplify for mobile, or stack if preferred */
    }

    .steps-container {
        flex-direction: column;
    }

    .hero {
        padding-top: 6rem;
        text-align: center;
    }

    .hero-bullets {
        display: inline-block;
        text-align: left;
    }
}