/* ========== I'm Nicotine Free — Style System ========== */
/* Health + Education: Emerald green + Blue accent */

:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #d1fae5;
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg: #ffffff;
    --bg-soft: #f0fdf4;
    --bg-alt: #f9fafb;
    --border: #e5e7eb;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

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

/* ===== USP Marquee ===== */
.usp-marquee {
    background: var(--primary); color: #fff; overflow: hidden; white-space: nowrap;
    font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
}
.usp-track {
    display: inline-flex; animation: marquee 30s linear infinite;
}
.usp-item {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 32px;
}
.usp-item svg { flex-shrink: 0; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Header ===== */
.site-header {
    background: #fff; border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px; gap: 24px;
}
.logo {
    display: flex; align-items: center; gap: 10px; font-size: 18px;
    color: var(--text); font-weight: 400; white-space: nowrap;
}
.logo strong { font-weight: 700; color: var(--primary); }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
    color: var(--text); font-size: 15px; font-weight: 500; padding: 6px 0;
    border-bottom: 2px solid transparent; transition: all var(--transition);
}
.main-nav a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 600;
    font-size: 15px; border: none; cursor: pointer; transition: all var(--transition);
    text-decoration: none; gap: 8px;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-nav { padding: 10px 20px; font-size: 14px; background: var(--primary); color: #fff; border-radius: var(--radius-sm); }
.btn-nav:hover { background: var(--primary-dark); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 6px; }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: var(--radius); }

/* ===== Burger ===== */
.burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: var(--transition); border-radius: 2px; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
    position: relative; padding: 100px 0 80px; overflow: hidden;
    background: linear-gradient(135deg, #ecfdf5 0%, #dbeafe 50%, #f0fdf4 100%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: var(--primary-light); color: var(--primary-dark); border-radius: 20px;
    font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: var(--text); }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 18px; color: var(--text-light); line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-trust {
    display: flex; align-items: center; gap: 12px; margin-top: 28px;
    font-size: 14px; color: var(--text-light);
}
.hero-trust svg { color: var(--primary); flex-shrink: 0; }

/* ===== Stats Bar ===== */
.stats-bar { padding: 48px 0; background: #fff; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 24px 16px; }
.stat-number { font-size: 36px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat-label { font-size: 14px; color: var(--text-light); font-weight: 500; }

/* ===== Section Common ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-green { background: var(--bg-soft); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--text-light); line-height: 1.6; }
.section-badge {
    display: inline-block; padding: 4px 14px; background: var(--primary-light);
    color: var(--primary-dark); border-radius: 16px; font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px;
}

/* ===== Programs Grid ===== */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
    background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
    overflow: hidden; transition: all var(--transition); position: relative;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.program-card-img { height: 200px; overflow: hidden; position: relative; }
.program-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.program-card:hover .program-card-img img { transform: scale(1.05); }
.program-badge {
    position: absolute; top: 12px; left: 12px; padding: 4px 12px;
    background: var(--primary); color: #fff; border-radius: 6px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.program-card-body { padding: 20px; }
.program-card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.program-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.program-price { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.program-price small { font-size: 13px; font-weight: 400; color: var(--text-muted); }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
    text-align: center; padding: 32px 20px; background: #fff; border-radius: var(--radius);
    border: 1px solid var(--border); transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px; background: var(--primary-light);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
    color: var(--primary);
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.5; }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: #fff; padding: 28px; border-radius: var(--radius);
    border: 1px solid var(--border); transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); }
.testimonial-stars { color: #f59e0b; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.6; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary); font-size: 16px;
}
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ===== CTA Banner ===== */
.cta-banner {
    padding: 80px 0; text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
}
.cta-banner h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.cta-banner p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== About Page ===== */
.about-hero { padding: 80px 0 40px; background: var(--bg-soft); text-align: center; }
.about-hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 16px; }
.about-hero p { font-size: 18px; color: var(--text-light); max-width: 640px; margin: 0 auto; }
.about-content { padding: 60px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 60px; }
.about-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.about-text p { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 300px; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.team-card { text-align: center; padding: 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.team-avatar {
    width: 80px; height: 80px; border-radius: 50%; background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 28px; font-weight: 700; color: var(--primary);
}
.team-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.team-card p { font-size: 14px; color: var(--text-light); line-height: 1.5; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 28px; background: var(--bg-soft); border-radius: var(--radius); }
.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.value-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===== Contact Page ===== */
.contact-hero { padding: 80px 0 40px; background: var(--bg-soft); text-align: center; }
.contact-hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 16px; }
.contact-hero p { font-size: 18px; color: var(--text-light); max-width: 560px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 60px 0; }
.contact-form { background: #fff; padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 15px; font-family: inherit; color: var(--text); transition: border-color var(--transition);
    background: #fff; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-light); }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card { padding: 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.contact-info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.contact-info-card h3 svg { color: var(--primary); }
.contact-info-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===== Programs Page ===== */
.programs-hero { padding: 80px 0 40px; background: var(--bg-soft); text-align: center; }
.programs-hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 16px; }
.programs-hero p { font-size: 18px; color: var(--text-light); max-width: 640px; margin: 0 auto; }

/* ===== Legal Pages ===== */
.legal-page { padding: 80px 0; }
.legal-page h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.legal-page .updated { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.legal-page h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.legal-page h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.legal-page p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.legal-page ul { padding-left: 24px; margin-bottom: 16px; }
.legal-page ul li { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 8px; list-style: disc; }

/* ===== FAQ Accordion ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-question {
    width: 100%; text-align: left; padding: 16px 20px; background: #fff; border: none;
    font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; display: flex;
    align-items: center; justify-content: space-between; font-family: inherit; transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--text-muted); transition: transform var(--transition); }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 20px 16px; font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== Footer ===== */
.site-footer { background: #111827; color: #d1d5db; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 16px; color: #fff; margin-bottom: 16px; }
.footer-logo strong { color: var(--primary); }
.footer-desc { font-size: 14px; line-height: 1.6; margin-bottom: 20px; color: #9ca3af; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: #9ca3af; transition: color var(--transition); }
.footer-social a:hover { color: var(--primary); }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #9ca3af; font-size: 14px; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col ul li:not(:has(a)) { font-size: 14px; color: #9ca3af; }
.footer-bottom { margin-top: 40px; border-top: 1px solid #1f2937; padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 13px; color: #6b7280; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: #6b7280; transition: color var(--transition); }
.footer-legal a:hover { color: var(--primary); }

/* ===== Cookie Banner ===== */
.cookie-banner {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    background: #1f2937; color: #e5e7eb; z-index: 9999; padding: 16px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-inner p { font-size: 13px; line-height: 1.5; }
.cookie-inner a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ===== Fade In Animation ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .burger { display: block; }
    .btn-nav { display: none; }
    .main-nav {
        display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        background: #fff; flex-direction: column; padding: 32px 24px; gap: 0;
        border-top: 1px solid var(--border); z-index: 999;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
    
    .hero { padding: 60px 0 40px; }
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 16px; }
    .hero-image { max-height: 280px; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-number { font-size: 28px; }
    
    .programs-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .team-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    
    .contact-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
    
    .cookie-inner { flex-direction: column; text-align: center; }
    
    .section-header h2 { font-size: 28px; }
    .cta-banner h2 { font-size: 28px; }
    .about-hero h1, .contact-hero h1, .programs-hero h1 { font-size: 32px; }
    .legal-page h1 { font-size: 28px; }
}
