/* --- DESIGN TOKENS & RESET --- */
:root {
    --primary: #4F46E5;
    --primary-hover: #4338ca;
    --primary-light: #EEF2FF;
    --secondary: #F59E0B;
    --success: #10B981;
    --bg-color: #F9FAFB;
    --text-dark: #111827;
    --text-light: #6B7280;
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

h1, h2, h3 { 
    line-height: 1.2; 
    font-weight: 800; 
    color: var(--text-dark); 
}

p { 
    color: var(--text-light); 
    margin-bottom: 1rem; 
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- ANIMATIONS --- */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

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

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 1rem;
    white-space: nowrap;
    box-sizing: border-box;
    max-width: 100%;
}

.btn:hover { 
    transform: translateY(-2px); 
    box-shadow: var(--shadow-lg); 
}

.btn:focus,
.btn:active {
    outline: none;
    border: none;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-instagram {
    background: var(--instagram-gradient);
    color: white;
}

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

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

.btn-outline:focus,
.btn-outline:active {
    border: 2px solid var(--primary) !important;
}

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero h1 span { 
    color: #FCD34D;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-top: 20px;
    font-weight: 500;
}

/* --- SUBJECTS SECTION --- */
.subjects {
    padding: 60px 0 80px 0;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.subject-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.subject-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.subject-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.subject-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.5rem;
}

/* --- PROFILE SECTION --- */
.profile {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: white;
    border-radius: var(--radius);
    padding: 50px 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-lg);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.profile-image {
    text-align: center;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.profile-text h2 { 
    color: white; 
    margin-bottom: 16px; 
    font-size: 2rem;
}

.profile-intro {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.profile-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #FCD34D;
    margin-bottom: 4px;
}

.highlight-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.profile p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
}

/* --- FEATURES GRID --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: var(--primary-light);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

/* --- PRICING SECTION --- */
.pricing {
    padding: 60px 40px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 60px;
    box-shadow: var(--shadow);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    border-width: 3px;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.pricing-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.pricing-price {
    margin: 24px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 8px;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 1.125rem;
    color: var(--text-light);
    align-self: flex-end;
    margin-bottom: 12px;
}

.pricing-features {
    list-style: none;
    margin: 32px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-bottom: 1px solid #F3F4F6;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    padding: 32px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    margin-top: 40px;
}

.pricing-note p {
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
    padding: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #FCD34D;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: white;
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    margin: 60px 0;
    box-shadow: var(--shadow-lg);
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 32px auto;
    line-height: 1.7;
}

.cta-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-top: 20px;
    font-weight: 500;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 60px 20px 40px 20px;
    background: white;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-main {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 12px;
}

footer p {
    margin-bottom: 8px;
}

.footer-social {
    margin-top: 24px;
    display: flex;
    gap: 24px;
    justify-content: center;
}

.social-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-hover);
    transform: translateY(-2px);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (min-width: 768px) {
    .hero h1 { 
        font-size: 3.5rem; 
    }
    
    .hero { 
        padding: 120px 0 140px 0; 
    }
    
    .cta-group {
        flex-wrap: nowrap;
    }
    
    .btn-whatsapp, 
    .btn-instagram { 
        margin: 0;
    }
    
    .pricing {
        padding: 60px;
    }
    
    .profile-content {
        grid-template-columns: 250px 1fr;
        text-align: left;
    }
    
    .profile-image {
        text-align: left;
    }
    
    .profile-image img {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .highlight-item {
        padding: 4px;
    }
    
    .highlight-number {
        font-size: 1.5rem;
    }
    
    .highlight-label {
        font-size: 0.75rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .subjects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .pricing {
        padding: 40px 20px;
    }
    
    .subjects {
        padding: 40px 0 60px 0;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    /* Profile Section Mobile */
    .profile {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .profile-content {
        gap: 24px;
    }
    
    .profile-text h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .profile-intro {
        font-size: 1rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .profile-highlights {
        gap: 12px;
        padding: 16px 12px;
        margin: 20px 0;
    }
    
    .profile p {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .profile-image img {
        width: 150px;
        height: 150px;
    }
    
    /* CTA Button Mobile */
    .btn-large {
        padding: 16px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .btn-large svg {
        width: 20px;
        height: 20px;
    }
    
    /* Hero buttons mobile */
    .cta-group {
        width: 100%;
    }
    
    .cta-group .btn {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .btn {
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }
    
    .profile-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .highlight-item {
        padding: 12px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}
