/* Base Styling & Variables */
:root {
    --primary: #D80621; /* Canadian Red */
    --primary-hover: #b0051a;
    --text-main: #1C1C1E;
    --text-muted: #5C5C60;
    --bg-main: #FFFFFF;
    --bg-alt: #F4F4F6;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: 0.3s ease;
}

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

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

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

/* Typography */
h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamps(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
h2 { font-size: 2.2rem; margin-bottom: 15px; }
p { font-size: 1.1rem; color: var(--text-muted); }

.highlight { color: var(--primary); }
.text-center { text-align: center; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-white {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }

.btn-secondary { background: var(--bg-alt); color: var(--text-main); }
.btn-secondary:hover { background: #e0e0e4; transform: translateY(-2px); }

.btn-outline { border: 2px solid #eaeaea; background: transparent; color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); }

.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }

.btn-large {
    padding: 18px 40px;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(216, 6, 33, 0.3);
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}
.flag {
    font-size: 1.2rem;
}

.pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(216, 6, 33, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(216, 6, 33, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(216, 6, 33, 0); }
}

/* Navigation */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.solid-nav { background: #fff; }
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--text-main); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(to bottom right, #ffffff, #fff5f6);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-text .badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(216, 6, 33, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-actions { display: flex; gap: 15px; margin-top: 30px; }
.hero-visual img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }

/* Impact Section */
.impact { padding: 100px 0; background: #fff; }
.section-desc { max-width: 600px; margin: 0 auto 50px; }
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.card {
    background: var(--bg-alt);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: left;
    transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .icon { font-size: 2.5rem; margin-bottom: 20px; }

/* Guide Section */
.guide { padding: 100px 0; background: var(--bg-alt); }
.guide-flex { display: flex; gap: 60px; align-items: center; }
.guide-image { flex: 1; }
.guide-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.guide-content { flex: 1.2; }
.warning-alert {
    background: #FFEFD5;
    color: #b05c00;
    padding: 15px;
    border-left: 4px solid #FFA500;
    border-radius: 4px;
    margin-bottom: 30px;
}
.highlight-box {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--primary), #a30013);
    color: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 10px 20px rgba(216, 6, 33, 0.2);
}
.highlight-box h3 { margin-bottom: 15px; color: white; font-size: 1.5rem; text-align: center; }
.highlight-box p { color: white; font-size: 1.1rem; line-height: 1.8; }

.steps { list-style: none; counter-reset: my-counter; }
.steps li { position: relative; padding-left: 60px; margin-bottom: 25px; }
.steps li::before {
    content: counter(my-counter);
    counter-increment: my-counter;
    position: absolute;
    left: 0; top: 0;
    width: 40px; height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}
.steps li strong { display: block; font-size: 1.2rem; color: var(--text-main); margin-bottom: 5px; }
.highlight-step { background: rgba(216, 6, 33, 0.05); padding: 20px 20px 20px 60px; border-radius: var(--radius); border: 1px dashed var(--primary); }

/* Community Section */
.community { padding: 100px 0; }
.wide-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: 30px; margin: 40px 0; box-shadow: var(--shadow); }
.quote { font-size: 1.8rem; font-weight: 300; color: var(--text-main); font-style: italic; max-width: 800px; margin: 0 auto; line-height: 1.4; }

/* FAQ Page */
.page-header { padding: 160px 0 60px; background: var(--bg-alt); }
.faq-section { padding: 80px 0; }
.faq-container { max-width: 800px; }
.faq-category { margin: 40px 0 20px; color: var(--primary); border-bottom: 2px solid #eaeaea; padding-bottom: 10px; }
.faq-item { background: #fff; padding: 25px; border-radius: var(--radius); margin-bottom: 20px; border: 1px solid #eaeaea; }
.faq-item h3 { margin-bottom: 10px; font-size: 1.3rem; }

/* Footer */
.footer { background: var(--text-main); color: #fff; padding: 80px 0 40px; }
.footer h2 { color: #fff; }
.footer p { color: #a0a0a0; margin-bottom: 30px; }
.footer-bottom { margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }
.footer-bottom a { color: #fff; text-decoration: underline; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed; z-index: 9999;
    padding-top: 60px; left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.lightbox-content {
    margin: auto; display: block; width: 80%; max-width: 1000px;
    border-radius: 10px;
    animation: zoom 0.3s;
}
@keyframes zoom { from {transform: scale(0.9)} to {transform: scale(1)} }
.close-lightbox {
    position: absolute; top: 15px; right: 35px;
    color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer;
}
.lightbox-trigger { cursor: pointer; transition: 0.3s; }
.lightbox-trigger:hover { filter: brightness(0.9); }

/* Responsive Container */
@media (max-width: 900px) {
    .hero-grid, .guide-flex { grid-template-columns: 1fr; flex-direction: column; }
    h1 { font-size: 2.5rem; }
    .hero { padding-top: 120px; text-align: center; }
    .hero-actions { justify-content: center; }
    .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .nav-links { gap: 10px; font-size: 0.9rem; }
    .btn-outline { padding: 8px 12px; font-size: 0.8rem; }
}
