/* ============================================
   SURVIVAL BRAZILIAN PORTUGUESE - MAIN STYLES
   Reused and evolved from original landing page
   ============================================ */

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

:root {
    /* Brand Colors */
    --color-primary: #059669;      /* Emerald green */
    --color-primary-dark: #047857;
    --color-secondary: #2563eb;    /* Blue */
    --color-secondary-dark: #1d4ed8;
    --color-accent: #fbbf24;       /* Yellow */
    --color-accent-dark: #f59e0b;
    
    /* Neutrals */
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-light: #f9fafb;
    --color-border: #e5e7eb;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #ecfdf5 0%, #ffffff 50%, #dbeafe 100%);
    --gradient-cta: linear-gradient(135deg, #059669 0%, #2563eb 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

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

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
}

.nav-logo img {
    width: 32px;
    height: 32px;
}

.nav-logo-text {
    font-weight: 700;
    font-size: 1.125rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-cta {
    background: var(--color-primary);
    color: #ffffff !important;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--color-primary-dark);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }
}

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

.hero {
    background: var(--gradient-hero);
    padding: 5rem 1.5rem;
    text-align: center;
}

.hero-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #111827;
}

.hero h1 .highlight {
    color: var(--color-primary);
}

.hero p {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: var(--color-secondary);
    color: #ffffff;
}

.btn-secondary:hover {
    background: var(--color-secondary-dark);
}

.btn-yellow {
    background: var(--color-accent);
    color: #111827;
    font-weight: 700;
}

.btn-yellow:hover {
    background: var(--color-accent-dark);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 4rem 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #111827;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* ============================================
   FEATURES / BENEFITS GRID
   ============================================ */

.features-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.feature-card,
.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s;
}

.feature-card:hover,
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card.emerald { background: #ecfdf5; }
.feature-card.blue { background: #dbeafe; }
.feature-card.yellow { background: #fef3c7; }
.feature-card.purple { background: #f3e8ff; }
.feature-card.orange { background: #ffedd5; }

.benefit-card {
    border: 2px solid var(--color-border);
}

.benefit-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
}

.feature-icon,
.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-title,
.benefit-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #111827;
}

.feature-desc,
.benefit-desc {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ============================================
   TEACHER / ABOUT SECTION
   ============================================ */

.about-teacher {
    background: linear-gradient(135deg, #dbeafe 0%, #ecfdf5 100%);
}

.teacher-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.teacher-photo {
    width: 192px;
    height: 192px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #d1fae5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.teacher-bio h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #111827;
}

.teacher-bio p {
    margin-bottom: 1rem;
    color: #374151;
    line-height: 1.7;
}

.teacher-bio strong {
    color: var(--color-primary);
}

/* ============================================
   EMAIL / CTA SECTION
   ============================================ */

.email-section {
    background: var(--gradient-cta);
    color: #ffffff;
    text-align: center;
}

.email-section .section-title {
    color: #ffffff;
}

.email-section p {
    color: #d1fae5;
    margin-bottom: 2rem;
}

.privacy-text {
    font-size: 0.875rem;
    color: #d1fae5;
    margin-top: 1.5rem;
}

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

footer {
    background: #111827;
    color: #9ca3af;
    padding: 3rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand strong {
    font-size: 1.25rem;
    color: #ffffff;
}

.footer-brand p {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

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

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .teacher-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-top,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
