/* ============================================================================
   VitiSalus - Home Page CSS
   ============================================================================ */

:root {
    --viti-green: #2d5016;
    --viti-green-light: #4a7c2a;
    --viti-purple: #6b4e71;
    --viti-gold: #d4af37;
    --viti-dark: #1a1a1a;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* ============================================================================
   HERO
   ============================================================================ */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--viti-green) 0%, var(--viti-green-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,90.7C960,96,1056,128,1152,133.3C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 100px 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.4s both;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn-hero {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 10px;
}

.btn-hero-primary {
    background: white;
    color: var(--viti-green);
    border: 2px solid white;
}

.btn-hero-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--viti-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ============================================================================
   FEATURES
   ============================================================================ */

.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--viti-green);
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--viti-green), var(--viti-green-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.feature-card h3 {
    color: var(--viti-green);
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ============================================================================
   STATS
   ============================================================================ */

.stats {
    background: linear-gradient(135deg, var(--viti-purple), var(--viti-green));
    color: white;
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */

.how-it-works {
    padding: 100px 0;
    background: white;
}

.step-card {
    position: relative;
    padding-left: 100px;
    margin-bottom: 50px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--viti-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.step-card h4 {
    color: var(--viti-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    color: #666;
    line-height: 1.8;
}

/* ============================================================================
   CTA
   ============================================================================ */

.cta {
    background: var(--viti-dark);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
    background: var(--viti-green);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    opacity: 0.9;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-20px); }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .hero h1       { font-size: 2.5rem; }
    .hero .subtitle { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
    .stat-number   { font-size: 2.5rem; }
    .cta h2        { font-size: 2rem; }
    .features, .how-it-works, .cta { padding: 60px 0; }
}
