/* ===================================
   OpenClaw Academy - Landing Page
   Cores: Vermelho (#E63946), Preto (#0D0D0D), Branco
   =================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E63946;
    --primary-dark: #C1121F;
    --primary-light: #FF6B6B;
    --bg-dark: #0D0D0D;
    --bg-darker: #000000;
    --bg-card: #1A1A1A;
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
    --text-light: #E0E0E0;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--text-light);
}

.accent {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

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

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

.btn-price {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Badge */
.badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

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

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(230, 57, 70, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-guarantee {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

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

/* Problem Section */
.problem {
    padding: 100px 0;
    text-align: center;
}

.problem h2 {
    margin-bottom: 3rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.problem-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.problem-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.problem-card h3 {
    margin-bottom: 0.5rem;
}

.problem-solution {
    font-size: 1.25rem;
    color: var(--text-white);
}

/* Solution Section */
.solution {
    padding: 100px 0;
    background: var(--bg-darker);
    text-align: center;
}

.solution-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

/* Modules Section */
.modules {
    padding: 100px 0;
    text-align: center;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.module-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-header {
    position: relative;
    padding: 20px;
    background: var(--bg-darker);
}

.module-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.module-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.module-card h3 {
    padding: 15px 15px 5px;
    color: var(--primary);
}

.module-card p {
    padding: 0 15px;
    font-size: 0.875rem;
}

.module-lessons {
    display: block;
    padding: 15px;
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* For Who Section */
.for-who {
    padding: 100px 0;
    background: var(--bg-darker);
    text-align: center;
}

.for-who h2 {
    margin-bottom: 3rem;
}

.for-who-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.for-who-card {
    padding: 40px;
    border-radius: 16px;
    text-align: left;
}

.for-who-card.yes {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.for-who-card.no {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.for-who-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.for-who-card ul {
    list-style: none;
}

.for-who-card li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.for-who-card.yes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22C55E;
    font-weight: bold;
}

.for-who-card.no li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #EF4444;
    font-weight: bold;
}

/* Instructor Section */
.instructor {
    padding: 100px 0;
}

.instructor-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.instructor-image img {
    width: 100%;
    border-radius: 16px;
    border: 3px solid var(--primary);
}

.instructor-text h2 {
    margin-top: 0.5rem;
}

.instructor-text p {
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-darker);
    text-align: center;
}

.pricing-card {
    max-width: 500px;
    margin: 3rem auto 0;
    background: var(--bg-card);
    border-radius: 24px;
    border: 2px solid var(--primary);
    overflow: hidden;
}

.pricing-header {
    background: var(--gradient);
    padding: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: rgba(255,255,255,0.8);
}

.pricing-features {
    padding: 30px;
    text-align: left;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.pricing-price {
    padding: 30px;
    background: rgba(230, 57, 70, 0.1);
}

.price-old {
    display: block;
    text-decoration: line-through;
    color: var(--text-gray);
    font-size: 1rem;
}

.price-new {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin: 10px 0;
}

.price-installments {
    color: var(--text-gray);
}

.pricing-card .btn {
    margin: 0 30px 30px;
    width: calc(100% - 60px);
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(255,255,255,0.05);
    text-align: left;
}

.pricing-guarantee img {
    width: 50px;
}

.pricing-guarantee p {
    font-size: 0.875rem;
    margin-top: 4px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    text-align: center;
}

.faq h2 {
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: left;
}

.faq-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 1rem;
}

.final-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.final-cta .btn {
    background: white;
    color: var(--primary);
}

.final-cta .btn:hover {
    background: var(--bg-dark);
    color: white;
}

.final-cta .btn-price {
    background: var(--primary);
    color: white;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo p {
    margin-top: 8px;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    .problem-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .for-who-grid {
        grid-template-columns: 1fr;
    }
    
    .instructor-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .instructor-image img {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    section {
        padding: 60px 0;
    }
}

/* ===================================
   NEW: Results Section
   =================================== */
.results {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(230, 57, 70, 0.05) 100%);
}

.results h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.results .badge {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.result-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

@media (max-width: 900px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   NEW: Testimonials Section
   =================================== */
.testimonials {
    padding: 80px 0;
    background: var(--bg-darker);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials .badge {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

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

.testimonial-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.testimonial-content p::before {
    content: '"';
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--text-white);
}

.author-info span {
    color: var(--text-gray);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   NEW: Urgency Badge
   =================================== */
.urgency-badge {
    background: linear-gradient(135deg, #FF6B35 0%, #E63946 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    margin-bottom: 16px;
    animation: pulse-urgency 2s infinite;
}

@keyframes pulse-urgency {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
    }
}

/* ===================================
   NEW: Feature Tooltip
   =================================== */
.feature-tooltip {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 400;
    margin-top: 2px;
}

/* ===================================
   NEW: Área de Aluno Section
   =================================== */
.student-area {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.05) 0%, transparent 100%);
    text-align: center;
}

.section-tag {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.section-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-gray);
}

.mockup-container {
    margin: 40px 0;
    text-align: center;
}

.mockup-image {
    max-width: 100%;
    width: 900px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.area-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.area-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: #E0E0E0;
}

.area-feature .feature-icon {
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .area-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .mockup-image {
        width: 100%;
    }
}
