﻿/* EcoHub.Web - Premium Marketing Site Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand-red: #E34A4A;
    --brand-red-light: #FEE2E2;
    --brand-red-soft: #FEF2F2;
    --text-main: #111827;
    --text-muted: #4B5563;
    --bg-light: #F9FAFB;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.home-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo-img {
    height: 38px;
    width: auto;
}

.main-nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--brand-red);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary-outline {
    background: transparent;
    border: 1px solid var(--brand-red);
    color: var(--brand-red);
}

.btn-primary-outline:hover {
    background-color: var(--brand-red-soft);
    transform: translateY(-1px);
}

.btn-primary-solid {
    background-color: var(--brand-red);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(227, 74, 74, 0.2);
}

.btn-primary-solid:hover {
    background-color: #d13d3d;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(227, 74, 74, 0.3);
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem;
    background: radial-gradient(circle at top right, var(--brand-red-soft), transparent 400px);
}

.hero-container {
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-inline: auto;
}

.hero-image-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 4rem;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Removed the "boxy" overlay user dislikes */
.hero-overlay-card {
    display: none;
}

.hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
}

@media(min-width: 992px) {
    .hero-cta-row {
        flex-direction: row;
        text-align: left;
    }

    .hero-description {
        max-width: 65%;
    }
}

/* Features Section */
.features-section {
    background-color: var(--bg-light);
    padding: 8rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 5rem;
}

.features-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-weight: 900;
}

/* Detailed Features Section */
.detailed-section {
    padding: 8rem 0;
}

.details-grid {
    display: grid;
    gap: 4rem 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.detail-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-list li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding-bottom: 0.5rem;
}

/* Final CTA */
.final-cta-section {
    padding: 6rem 0 10rem;
    text-align: center;
}

.final-cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

/* Footer */
.home-footer {
    background-color: var(--bg-light);
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 5rem;
}

.footer-brand {
    grid-column: span 2;
}

.footer-logo {
    height: 32px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 320px;
}

.footer-heading {
    text-transform: uppercase;
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

.footer-link {
    display: block;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--brand-red);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}