﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --primary: #10b981;
    --primary-hover: #059669;
    --secondary: #1e293b;
    --card-bg: #ffffff;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; color: var(--secondary); }

a { text-decoration: none; color: inherit; transition: color 0.3s; }
a:hover { color: var(--primary); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Unique Graphic Element */
.glowing-core {
    position: absolute;
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, rgba(16,185,129,0) 70%);
    border-radius: 50%;
    top: -10%;
    right: -10%;
    animation: pulse 6s infinite alternate;
    z-index: -1;
    pointer-events: none;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 0.4; }
}

/* Header */
header { background: var(--card-bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
header .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--secondary); }
.logo img { width: 35px; height: 35px; }
nav ul { display: none; list-style: none; gap: 30px; }
@media(min-width: 768px) { nav ul { display: flex; } }

/* Hero Section */
.hero { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 80px 0; position: relative; }
.hero-content { flex: 1; text-align: center; }
.hero-content h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; }
@media(min-width: 768px) {
    .hero { flex-direction: row; text-align: left; padding: 120px 0; }
    .hero-content { text-align: left; }
    .hero-content h1 { font-size: 4.5rem; }
}
.hero-content p { font-size: 1.125rem; margin-bottom: 30px; color: #475569; }
.hero-img { flex: 1; width: 100%; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--primary); color: #fff !important; padding: 16px 32px; border-radius: 8px; font-weight: 600; font-size: 1.125rem; border: none; cursor: pointer; transition: background 0.3s; }
.btn:hover { background: var(--primary-hover); }
.btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* General Sections */
section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; }

/* About & Features (Asymmetric) */
.about-grid, .feature-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media(min-width: 768px) { .about-grid, .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-grid .text-content { padding-right: 20px; }
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; }
.feature-list i { color: var(--primary); margin-top: 5px; }
.img-wrapper { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); height: 400px; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* Random Section: Impact Metrics */
.metrics { background: var(--secondary); color: #fff; padding: 60px 0; text-align: center; border-radius: 20px; margin: 40px 20px; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 30px; }
.metric-item h4 { color: var(--primary); font-size: 3rem; margin-bottom: 10px; }
.metric-item p { font-size: 1.1rem; color: #cbd5e1; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
details { background: var(--card-bg); margin-bottom: 15px; border-radius: 10px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); overflow: hidden; }
summary { padding: 20px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.2rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary:after { content: '\f078'; font-family: 'FontAwesome'; font-weight: 900; color: var(--primary); transition: transform 0.3s; }
details[open] summary:after { transform: rotate(180deg); }
.faq-content { padding: 0 20px 20px; color: #475569; }

/* Form Section */
.form-section { background: var(--card-bg); padding: 80px 20px; border-top: 1px solid var(--border); }
.form-container { max-width: 600px; margin: 0 auto; background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--secondary); }
.form-control { width: 100%; padding: 14px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s; background: var(--bg-color); }
.form-control:focus { outline: none; border-color: var(--primary); background: #fff; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 25px; }
.checkbox-group input { margin-top: 5px; cursor: pointer; }
.checkbox-group label { font-size: 0.9rem; color: #64748b; }
.success-message { display: none; text-align: center; padding: 40px 20px; background: #ecfdf5; border: 1px solid #10b981; border-radius: 10px; }
.success-message i { font-size: 4rem; color: var(--primary); margin-bottom: 20px; }

/* Footer */
footer { background: var(--secondary); color: #fff; padding: 60px 0 30px; text-align: center; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { color: #64748b; font-size: 0.9rem; }

/* Legal Pages */
.legal-container { max-width: 900px; margin: 60px auto; background: var(--card-bg); padding: 50px; border-radius: 20px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.legal-container h1 { margin-bottom: 30px; font-size: 2.5rem; }
.legal-container h2 { margin: 30px 0 15px; font-size: 1.5rem; }
.legal-container p, .legal-container ul { margin-bottom: 15px; color: #334155; }
.legal-container ul { padding-left: 20px; }
.map-container { width: 100%; height: 350px; margin-top: 30px; border-radius: 10px; overflow: hidden; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--card-bg); padding: 20px; box-shadow: 0 -10px 15px -3px rgba(0,0,0,0.1); display: none; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; z-index: 999; border-top: 1px solid var(--border); }
.cookie-text { flex: 1; min-width: 250px; font-size: 0.9rem; color: #475569; }
.cookie-btns { display: flex; gap: 10px; }
