/* styles.css */
:root {
    /* Colors */
    --bg-main: #0B0E14;
    --bg-surface: #151923;
    --bg-soft: #1E2330;
    
    --text-main: #FFFFFF;
    --text-muted: #A0AEC0;
    
    --accent: #84b84b;
    --accent-hover: #75a443;
    --accent-glow: rgba(132, 184, 75, 0.4);
    
    --glass-bg: rgba(21, 25, 35, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.btn-hover-accent:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 10px 25px -5px var(--accent-glow);
}

.btn-text {
    background: transparent;
    color: var(--text-main);
    padding: 1rem;
}

.btn-text:hover {
    color: var(--accent);
}

.btn-block {
    width: 100%;
}

.shadow-glow {
    box-shadow: 0 10px 25px -5px var(--accent-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: linear-gradient(to bottom, rgba(11, 14, 20, 0.95) 0%, rgba(11, 14, 20, 0) 100%);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.logo i {
    color: var(--accent);
    font-size: 2rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-main) 0%, rgba(11, 14, 20, 0.8) 40%, rgba(11, 14, 20, 0.3) 100%);
}

.hero-content {
    max-width: 650px;
    margin: 0;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(132, 184, 75, 0.1);
    border: 1px solid rgba(132, 184, 75, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
    color: var(--accent);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 35, 48, 0.9);
    border-color: rgba(255,255,255,0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(132, 184, 75, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box i {
    font-size: 1.75rem;
    color: var(--accent);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231E2330' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), var(--bg-surface);
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.benefits-content, .benefits-image {
    flex: 1;
}

.benefits-list {
    list-style: none;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefits-list li {
    display: flex;
    gap: 1.25rem;
}

.benefits-list i {
    font-size: 1.75rem;
    background: rgba(132, 184, 75, 0.1);
    padding: 0.5rem;
    border-radius: 12px;
    height: fit-content;
}

/* Application Form */
.application-section {
    position: relative;
    padding-bottom: 10rem;
    min-height: 80vh;
}

.application-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(300px, 80vw, 600px);
    height: clamp(300px, 80vw, 600px);
    background: radial-gradient(circle, rgba(132, 184, 75, 0.15) 0%, transparent 60%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(40px);
}

.form-wizard-card {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.wizard-step {
    display: none;
    animation: fadeInStep 0.5s ease-out forwards;
}

.wizard-step.active {
    display: block;
}

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

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(100%);
}

.options-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.options-group .btn {
    flex: 1;
    min-width: 200px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 0 3px rgba(132, 184, 75, 0.1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M12 16L6 10H18L12 16Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
    cursor: pointer;
}

select option {
    background: var(--bg-surface);
    color: var(--text-main);
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
}

.checkbox-wrapper input {
    margin-top: 0.25rem;
    accent-color: var(--accent);
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    cursor: pointer;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: #080A0F;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: var(--delay, 0s);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
}

.close-modal:hover {
    background: rgba(132, 184, 75,0.2);
    color: var(--accent);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    text-align: left;
    outline: none;
    font-family: inherit;
    color: var(--text-main);
}

.option-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
}

.whatsapp-option:hover {
    border-color: #25D366;
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.2);
}

.whatsapp-option .option-icon {
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.web-option:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 20px -5px var(--accent-glow);
}

.web-option .option-icon {
    color: var(--accent);
    background: rgba(132, 184, 75, 0.1);
}

.option-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.option-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.option-text p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .application-card {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 3rem;
    }
    
    .flex-row {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-bg .overlay {
        background: linear-gradient(0deg, var(--bg-main) 0%, rgba(11, 14, 20, 0.7) 100%);
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .form-group.cols-2 {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .hero-bg .overlay {
        background: linear-gradient(0deg, var(--bg-main) 0%, rgba(11, 14, 20, 0.8) 100%);
    }
    
    .glass-card, .form-wizard-card {
        padding: 1.5rem;
    }

    .options-group {
        flex-direction: column !important;
    }

    .options-group .btn {
        width: 100% !important;
    }

    .wizard-step h2 {
        font-size: 1.5rem;
    }

    .modal-content {
        padding: 1rem;
    }

    .option-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Force links to break */
    a {
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 0;
    }
    
    .glass-card, .form-wizard-card {
        padding: 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .nav-container .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }

    .stat-num {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.btn-back {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--accent);
}

/* Fix text color, background and outline for inputs */
input {
    color: #FFFFFF !important;
    background: rgba(0,0,0,0.3) !important;
}

input[type="number"] {
    color: #FFFFFF !important;
    background: rgba(0,0,0,0.3) !important;
}

input:focus {
    color: #FFFFFF !important;
    background: rgba(0,0,0,0.5) !important;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    color: #FFF;
}
