/* Custom Styles for OkVisa.mx - Version 7 (The Minimalist) */

:root {
    --background-gray: #f0f0f0;
    --text-black: #000000;
    --background-black: #000000;
    --text-white: #ffffff;
    --cursor-size: 20px;
    --cursor-scale: 5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-gray);
    color: var(--text-black);
    cursor: none;
    overscroll-behavior: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border-radius: 50%;
    background-color: var(--text-black);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    z-index: 9999;
}

body.on-hover .cursor {
    width: calc(var(--cursor-size) * var(--cursor-scale));
    height: calc(var(--cursor-size) * var(--cursor-scale));
    background-color: rgba(0, 0, 0, 0.1);
}

/* Header & Footer */
.main-header, .main-footer-v7 {
    position: fixed;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    z-index: 100;
}

.main-header {
    top: 0;
}

.main-footer-v7 {
    bottom: 0;
    font-size: 0.9rem;
}

.logo {
    font-family: 'Archivo Black', sans-serif;
}

.main-nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-black);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-black);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Remove underline effect for icon links */
.main-nav a.whatsapp-nav-icon::after,
.main-nav a.email-nav-icon::after {
    display: none;
}

/* Main Content & Sections */
main {
    width: 100%;
}

.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(4rem, 20vw, 18rem);
    line-height: 0.85;
    margin: 0;
}

.content-section {
    min-height: 80vh;
    padding: 15vh 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-wrapper {
    max-width: 900px;
    text-align: center;
}

.section-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 2rem;
}

.section-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Marquee Section */
.marquee-section {
    padding: 4rem 0;
    background-color: var(--background-black);
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
}

.marquee-wrapper {
    display: inline-block;
    font-family: 'Archivo Black', sans-serif;
    font-size: 3rem;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    text-align: left;
}

.process-item h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    min-height: 80vh;
    background-color: var(--background-black);
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-section .section-title {
    color: var(--text-white);
}

.contact-link {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 6vw, 4rem);
    color: var(--text-white);
    text-decoration: none;
    position: relative;
    display: inline-block;
    margin-top: 2rem;
}

.contact-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    bottom: -10px;
    left: 0;
    transform: scaleX(1);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.contact-link:hover::after {
    transform: scaleX(0);
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-header, .main-footer-v7 {
        padding: 1.5rem;
    }
    .main-nav a {
        margin-left: 1rem;
    }
}

/* WhatsApp Specific Styles */
.whatsapp-nav-icon, .email-nav-icon {
    font-size: 1.5rem;
    margin-left: 2rem;
    color: var(--text-black);
    transition: color 0.3s ease;
}

.whatsapp-nav-icon:hover {
    color: #25d366; /* Standard WhatsApp green for hover */
}

.email-nav-icon:hover {
    color: #c71610; /* A standard email red for hover */
}

.whatsapp-contact-button {
    background-color: #25d366; /* Standard WhatsApp green */
    color: var(--text-white);
    padding: 1rem; /* Equal padding for circular shape */
    border-radius: 50%; /* Make it a circle */
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center the icon */
    width: 3.5rem; /* Fixed width for circular button */
    height: 3.5rem; /* Fixed height for circular button */
    margin-top: 2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-contact-button:hover {
    background-color: #1da851;
    transform: translateY(-3px);
    color: var(--text-white);
}

.whatsapp-contact-button i {
    font-size: 1.8rem;
}

/* Wizard Styles */
.wizard-nav-icon {
    font-size: 1.5rem;
    color: var(--text-black);
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 0.5rem; /* Add padding to create a background area */
    border-radius: 5px; /* Slightly rounded corners for elegance */
    display: inline-flex; /* To make padding work like a block */
    align-items: center;
    justify-content: center;
}

.wizard-nav-icon:hover {
    color: var(--text-white); /* Icon becomes white */
    background-color: var(--text-black); /* Background becomes black */
}

.wizard-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-gray);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.wizard-container.visible {
    opacity: 1;
    pointer-events: auto;
}

.wizard-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    background: none;
    border: none;
    color: var(--text-black);
    cursor: pointer;
}

.wizard-content {
    width: 100%;
    max-width: 800px;
    text-align: center;
    position: relative;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.5s;
}

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

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

.wizard-question {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 3rem;
}

.wizard-input {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    border: none;
    border-bottom: 3px solid var(--text-black);
    background: none;
    text-align: center;
    width: 100%;
    padding: 0.5rem;
    outline: none;
}

.wizard-input:focus {
    border-bottom-color: #888;
}

/* Custom Radio Buttons (Refined) */
.wizard-radio-group {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Added gap between individual buttons */
}

.wizard-radio-label {
    display: flex;
    align-items: center;
    font-size: 1.1rem; /* Kept reduced font size */
    cursor: pointer;
}

.wizard-radio-label input[type="radio"] {
    display: none; /* Hide default radio */
}

.wizard-radio-label span {
    padding: 0.75rem 1.5rem; /* Kept reduced padding */
    border: 3px solid var(--text-black); /* Individual border for each button */
    border-radius: 5px; /* Individual border radius for each button */
    transition: background-color 0.2s, color 0.2s;
}

.wizard-radio-label input[type="radio"]:checked + span {
    background-color: var(--text-black);
    color: var(--text-white);
}

.wizard-navigation {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.wizard-nav-button {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    background: none;
    border: 2px solid var(--text-black);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.wizard-nav-button:hover:not(:disabled) {
    background-color: var(--text-black);
    color: var(--text-white);
}

.wizard-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}