/* index.css - Ecofonte Premium Hybrid V5 (with V6 Form) */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #FF6B00;
    --primary-glow: rgba(255, 107, 0, 0.4);
    --primary-dark: #cc5600;
    --dark: #0F0F0F;
    --darker: #080808;
    --light: #F4F7F9;
    --white: #FFFFFF;
    --text-main: #1A1A1A;
    --text-muted: #555555;
    --text-light: #E0E0E0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-premium: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

h1, h2, h3, h4 {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

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

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up { opacity: 0; }
.animate-up.visible { animation: fadeInUp 0.8s forwards; }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 6%;
    border-bottom: 1px solid var(--glass-border);
}

.logo img {
    height: 36px;
    filter: brightness(0) invert(1);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 700px;
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--darker) 10%, rgba(0,0,0,0.4) 100%), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--white); /* Ensure headline is white */
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #FFB800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px var(--primary-glow);
}

/* Section Spacing */
section {
    padding: 100px 0;
}

.bg-dark { background-color: var(--dark); color: white; }
.bg-soft-gradient { background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%); }

.section-tag {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 3.5rem;
}

.text-orange { color: var(--primary) !important; }

/* Uniform Square Cards V5.1 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.premium-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    justify-content: center;
    text-align: left;
    border-top: 5px solid var(--primary); /* Permanent orange detail */
    position: relative;
}

.premium-card::before {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px -20px rgba(255, 107, 0, 0.15);
}

.premium-card i {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 0, 0.08); /* Re-using light orange bg */
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.premium-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.premium-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Graph Section */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.comparison-chart {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    height: 380px;
    background: rgba(255,255,255,0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.chart-bar {
    flex: 1;
    border-radius: 12px 12px 0 0;
    position: relative;
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-fixed { background: #444; }
.bar-passive { background: linear-gradient(to top, var(--primary), #FFAA00); }

.chart-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-weight: 600;
}

/* Proof Card */
.proof-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.2);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.proof-img {
    flex: 0.9;
    background-size: cover;
    background-position: center;
    min-height: 480px;
}

.proof-info {
    flex: 1.1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Form V2 (Kept from V6) */
.cta-v2 {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.form-v2 {
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.2);
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
    color: var(--dark);
}

.form-v2 .full-width { grid-column: span 2; }

.input-container {
    margin-bottom: 20px;
}

.input-container label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.input-container input, .input-container select {
    width: 100%;
    padding: 18px 25px;
    background: #F8FAFB;
    border: 2px solid #F0F2F4;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

/* Footer Redesign */
footer {
    background: var(--darker);
    padding: 100px 0 40px;
    color: white;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.6;
}

.footer-title {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

.legal-text {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.privacy-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.privacy-box i {
    color: var(--primary);
}

.privacy-box p {
    font-size: 0.75rem;
    color: var(--text-light);
    opacity: 0.7;
    line-height: 1.5;
}

/* Responsive Footer */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .grid-container { grid-template-columns: repeat(2, 1fr); }
    .form-v2 { grid-template-columns: 1fr; padding: 40px 30px; }
    .form-v2 .full-width { grid-column: span 1; }
    .comparison-container, .proof-card { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .grid-container { grid-template-columns: 1fr; }
}
