/* =====================================================
   LANDING PAGE CSS - Agricultura Vertical
   ===================================================== */

:root {
    /* Colors */
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #d1fae5;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   NAVBAR
   ===================================================== */

.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-login {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-light) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat i {
    font-size: 24px;
    color: var(--primary-color);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-note {
    color: var(--text-gray);
    font-size: 14px;
}

.hero-image {
    position: relative;
}

.dashboard-preview {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.dashboard-preview-iframe {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    pointer-events: none;
    border: 1px solid #e0e0e0;
}

.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: 16px;
}

.hero-image:hover .iframe-overlay {
    opacity: 1;
}

.btn-view-full {
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.btn-view-full:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */

.features {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: var(--text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */

.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    font-size: 36px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-gray);
}

/* =====================================================
   PLANS SECTION
   ===================================================== */

.plans {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.plan-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.plan-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.plan-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-header h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 8px;
}

.plan-price .currency {
    font-size: 20px;
    font-weight: 600;
}

.plan-price .amount {
    font-size: 48px;
    font-weight: 800;
    margin: 0 4px;
}

.plan-price .period {
    font-size: 16px;
    color: var(--text-gray);
}

.plan-description {
    color: var(--text-gray);
    font-size: 14px;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    font-size: 18px;
}

.plan-features .fa-check {
    color: var(--success);
}

.plan-features .fa-times {
    color: var(--text-gray);
}

.plan-features li.disabled {
    color: var(--text-gray);
    opacity: 0.5;
}

/* Plan Label */
.plan-label {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 12px;
}

.plan-card.premium {
    border: 2px solid #FFD700;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.plan-badge.premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

/* =====================================================
   SUBSCRIPTION BANNER
   ===================================================== */

.subscription-banner {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    border-radius: 16px;
    padding: 48px;
    margin: 64px 0;
    color: white;
}

.subscription-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.subscription-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.subscription-info h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.subscription-info > p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.95;
}

.subscription-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subscription-features li {
    padding: 10px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.subscription-features i {
    color: #FFD700;
    font-size: 18px;
}

.price-box {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    min-width: 280px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.price-label {
    display: block;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.price-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 12px;
}

.price-value .currency {
    font-size: 24px;
    color: var(--text-dark);
    font-weight: 600;
}

.price-value .amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin: 0 4px;
}

.price-value .period {
    font-size: 18px;
    color: var(--text-gray);
}

.price-note {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.trial-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--success);
}

/* =====================================================
   B2B SECTION
   ===================================================== */

.b2b-section {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 2px solid var(--border-color);
}

.b2b-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.b2b-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.b2b-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.b2b-card.featured {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.15);
}

.b2b-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.b2b-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.b2b-icon i {
    font-size: 36px;
    color: white;
}

.b2b-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.b2b-price {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.b2b-price .currency {
    font-size: 20px;
    color: var(--text-dark);
}

.b2b-price .amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.b2b-description {
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.b2b-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.b2b-features li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.b2b-features li:last-child {
    border-bottom: none;
}

.b2b-features i {
    color: var(--success);
    font-size: 16px;
    margin-top: 2px;
}

/* =====================================================
   EXTRAS SECTION
   ===================================================== */

.extras-section {
    margin-top: 64px;
    padding: 48px;
    background: var(--bg-light);
    border-radius: 16px;
    text-align: center;
}

.extras-section h3 {
    font-size: 28px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.extra-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    transition: var(--transition);
}

.extra-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.extra-item i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
}

.extra-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.extra-item p {
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 600;
}

.extras-cta {
    margin-top: 32px;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */

.testimonials {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--accent-color);
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-gray);
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: var(--bg-light);
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
}

.contact-item h4 {
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    padding-left: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom i {
    color: var(--error);
}

/* =====================================================
   MODAL
   ===================================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 48px;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    margin-bottom: 12px;
}

.modal-content > p {
    color: var(--text-gray);
    margin-bottom: 32px;
}

.form-note {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-gray);
}

.form-note a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Conditional Product Options */
#hardwareOptions,
#softwareOptions,
#b2bOptions {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Selection Highlight */
#productType:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Software Trial Badge */
.form-note strong {
    color: var(--primary-color);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .features-grid,
    .steps,
    .plans-grid,
    .b2b-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
    
    .subscription-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .subscription-banner {
        padding: 32px 24px;
    }
    
    .subscription-info h3 {
        font-size: 24px;
    }
    
    .price-box {
        min-width: 100%;
    }
    
    .extras-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   NOTIFICATION SYSTEM
   ===================================================== */

.notification {
    position: fixed;
    top: 20px;
    right: -400px;
    background: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    min-width: 300px;
    max-width: 400px;
    transition: right 0.3s ease;
}

.notification.show {
    right: 20px;
}

.notification i {
    font-size: 24px;
}

.notification-success {
    border-left: 4px solid var(--success);
}

.notification-success i {
    color: var(--success);
}

.notification-error {
    border-left: 4px solid var(--error);
}

.notification-error i {
    color: var(--error);
}

.notification-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-gray);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.notification-close:hover {
    color: var(--text-dark);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   LOADING STATES
   ===================================================== */

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
   EDUCATION SECTION
   ===================================================== */

.education {
    padding: var(--space-2xl) 0;
    background: var(--bg-light);
}

/* Education Tabs */
.education-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.tab-btn i {
    font-size: 18px;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 24px;
}

.blog-date {
    color: var(--text-gray);
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--text-gray);
    font-size: 14px;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-read-more:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.guide-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.guide-card.featured {
    border: 3px solid var(--primary);
}

.guide-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.guide-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.guide-icon i {
    font-size: 36px;
    color: white;
}

.guide-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.guide-card > p {
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.guide-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}

.guide-features li {
    padding: 8px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-features i {
    color: var(--success);
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-play-btn i {
    font-size: 24px;
    color: var(--primary);
    margin-left: 4px;
}

.video-thumbnail:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.video-channel {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.video-stats {
    display: flex;
    gap: 16px;
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 16px;
}

.btn-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #FF0000;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-watch:hover {
    background: #CC0000;
    transform: translateY(-2px);
}

/* Webinars List */
.webinars-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.webinar-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    position: relative;
    transition: var(--transition);
}

.webinar-card:hover {
    box-shadow: var(--shadow-xl);
}

.webinar-card.upcoming {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9f0 100%);
}

.webinar-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: var(--text-gray);
    color: white;
}

.webinar-badge.live {
    background: #FF0000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.webinar-date {
    text-align: center;
    min-width: 80px;
}

.date-day {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
}

.webinar-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.webinar-speaker {
    color: var(--text-gray);
    margin-bottom: 16px;
}

.webinar-speaker strong {
    color: var(--primary);
}

.webinar-description {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.webinar-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 24px;
}

.webinar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.course-card.premium {
    border: 3px solid #FFD700;
}

.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
}

.course-badge.free {
    background: var(--success);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-content {
    padding: 24px;
}

.course-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.course-instructor {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.course-description {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-includes {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.course-includes li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-includes i {
    color: var(--primary);
    width: 20px;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.stars {
    color: #FFD700;
}

.course-rating span {
    color: var(--text-gray);
    font-size: 14px;
}

.course-price {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.price-old {
    display: block;
    color: var(--text-gray);
    text-decoration: line-through;
    font-size: 16px;
}

.price-current {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin: 8px 0;
}

.price-installments {
    display: block;
    color: var(--text-gray);
    font-size: 14px;
}

.price-free {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--success);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-success {
    background: var(--success);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Education CTA */
.education-cta {
    text-align: center;
    margin-top: 48px;
}

/* Responsive */
@media (max-width: 768px) {
    .education-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .blog-grid,
    .guides-grid,
    .videos-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .webinar-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .webinar-date {
        margin: 0 auto;
    }
    
    .webinar-info {
        justify-content: center;
    }
}
