/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --brand-black: #000000;
    --brand-forest: #07503e;
    --brand-mint: #2fce65;
    --brand-white: #ffffff;
    --brand-gray-light: #f3f4f6;
    --brand-gray-border: #e5e7eb;

    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --radius-card: 20px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--brand-black);
    background-color: var(--brand-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

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

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

/* =========================================
   UTILITIES
   ========================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--brand-gray-light);
}

.bg-forest {
    background-color: var(--brand-forest);
}

.text-white {
    color: var(--brand-white);
}

.text-mint {
    color: var(--brand-mint);
}

.center {
    text-align: center;
}

.mb-large {
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-action {
    background-color: var(--brand-mint);
    color: var(--brand-black);
    box-shadow: 0 4px 14px rgba(47, 206, 101, 0.4);
}

.btn-action:hover {
    background-color: #26b056;
    box-shadow: 0 6px 20px rgba(47, 206, 101, 0.6);
    transform: translateY(-2px);
}

/* =========================================
   HEADER
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--brand-gray-border);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust based on logo aspect ratio */
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:not(.btn):hover {
    opacity: 1;
    color: var(--brand-forest);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--brand-black);
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: none;
    z-index: 999;
}

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

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding-top: 140px;
    /* Space for fixed header */
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

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

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.trust-badges {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.badge-icon {
    color: var(--brand-mint);
    margin-right: 0.25rem;
}

/* Hero Visual - Glassmorphism Card */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.glow-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(47, 206, 101, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    filter: blur(40px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-card);
    padding: 2rem;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease-out;
}

.glass-card:hover {
    transform: rotateY(0) rotateX(0);
}

.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.glass-title {
    font-weight: 700;
    color: var(--brand-black);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--brand-mint);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-mint);
}

.chart-container {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    border: 1px solid var(--brand-gray-border);
}

.chart-svg {
    width: 100%;
    height: auto;
}

.chart-overlay {
    position: absolute;
    top: 40%;
    left: 45%;
}

.stat-tag {
    background: var(--brand-black);
    color: var(--brand-mint);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.glass-footer {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
}

.stat-item .label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.stat-item .value {
    font-weight: 700;
    font-size: 1.125rem;
}

/* =========================================
   FEATURES SECTION
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--brand-white);
    padding: 2.5rem;
    border-radius: var(--radius-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-mint);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #f0fdf4;
    /* Light Mint */
    color: var(--brand-forest);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.feature-card p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    /* Aligned with numbers */
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--brand-mint);
    color: var(--brand-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--brand-mint);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   TEAM SECTION
   ========================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--brand-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    text-align: center;
    padding: 3rem 2rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.team-photo-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--brand-mint);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--brand-forest);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    font-size: 0.85rem;
    color: var(--brand-forest);
    font-weight: 600;
}

.social-icon:hover {
    color: var(--brand-mint);
    text-decoration: underline;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-card {
    background: var(--brand-black);
    color: var(--brand-white);
    border-radius: var(--radius-card);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background-image: radial-gradient(circle at top right, #07503e 0%, transparent 40%);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.cta-input-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.input-field {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
}

.cta-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--brand-black);
    color: #9ca3af;
    padding-top: 5rem;
    border-top: 1px solid #1f2937;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    filter: invert(1);
    /* Invert colors: White bg -> Black, Black text -> White */
    mix-blend-mode: screen;
    /* Ensure black background blends with footer */
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-col h4 {
    color: var(--brand-white);
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: var(--brand-mint);
}

.footer-bottom {
    background: #000;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    border-top: 1px solid #1f2937;
}

/* =========================================
   ANIMATIONS & RESPONSIVE
   ========================================= */
/* Fade Up Animation Class */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

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

    .menu-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions,
    .trust-badges {
        justify-content: center;
    }

    .timeline::before {
        left: 20px;
    }
}