/* ==== CSS VARIABLES ==== */
:root {
    --primary: #1A2B56; /* Primary Blue from brand */
    --primary-light: #2A448A;
    --primary-op: rgba(26, 43, 86, 0.85);

    --gold: #FFDE00; /* Accent Yellow/Gold */
    --gold-light: #FFE533;
    --gold-hover: #E6C800;

    --success: #76C31E; /* Accent Green */
    --whatsapp: #25D366; /* WhatsApp Green */
    --danger: #D32F2F; /* Secondary Red */

    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #1A2B56;
    --bg-darker: #132040;

    --text-dark: #333333;
    --text-muted: #555555;
    --text-white: #FFFFFF;
    --text-white-muted: #E0E0E0;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-script: 'Niconne', cursive;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 10px 25px -5px rgba(255, 222, 0, 0.4);
    --shadow-glass: 0 8px 32px 0 rgba(26, 43, 86, 0.15);
}

/* ==== RESET & BASE ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

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

.section {
    padding: 6rem 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.bg-darker { background-color: var(--bg-darker); }
.text-gold { color: var(--gold-hover); }
.text-red { color: var(--danger); }
.text-green { color: var(--success); }
.text-white { color: var(--text-white); }
.text-white p { color: var(--text-white-muted); }

/* ==== UTILITIES ==== */
.script-heading {
    font-family: var(--font-script);
    color: var(--danger);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    display: block;
}

/* ==== BUTTONS ==== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--text-dark);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    box-shadow: 0 15px 30px -5px rgba(255, 222, 0, 0.6);
    transform: translateY(-3px);
    filter: brightness(1.05);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

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

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

.btn-light {
    background-color: var(--bg-main);
    color: var(--primary);
    border: 1px solid #e2e8f0;
}

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
}

.full-width {
    width: 100%;
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ==== NAVBAR ==== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .brand-logo {
    max-height: 65px; /* Shrinks logo smoothly on scroll */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    height: auto;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-content {
    min-height: 80px;
    padding: 10px 0;
}

.brand-logo {
    max-height: 90px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--danger);
}

.mobile-nav-btn {
    display: none;
}

@media (max-width: 768px) {
    .hidden-mobile { display: none !important; }
}

/* ==== HERO SECTION ==== */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    background-color: var(--bg-light);
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 15s infinite ease-in-out alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--danger);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(211, 47, 47, 0.1);
    color: var(--danger);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.headline .text-red {
    color: var(--danger);
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.urgency-line {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(211, 47, 47, 0.05);
    border-left: 4px solid var(--danger);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.urgency-line i {
    color: var(--danger);
    margin-top: 0.2rem;
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.card-header {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header i {
    color: var(--danger);
}

.status-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 500;
}

.status-list li:last-child {
    border-bottom: none;
}

.status-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-tag.active {
    background: rgba(118, 195, 30, 0.1);
    color: var(--success);
}

.status-tag.expiring {
    background: rgba(255, 222, 0, 0.2);
    color: var(--gold-hover);
}

.status-tag.critical {
    background: rgba(211, 47, 47, 0.1);
    color: var(--danger);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.scanning-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--success), transparent);
    box-shadow: 0 0 10px var(--success);
    animation: scan 3s infinite linear;
    z-index: 10;
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ==== PROBLEM SECTION ==== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.problem-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 3px solid transparent;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--danger);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-box.red {
    background: rgba(211, 47, 47, 0.1);
    color: var(--danger);
}

.problem-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
}

.emotional-line {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 43, 86, 0.03); /* Light primary */
    border-radius: var(--radius-lg);
}

.emotional-line h3 {
    margin: 0;
    font-weight: 500;
    color: var(--text-muted);
}

.emotional-line strong {
    color: var(--primary);
    font-weight: 800;
}

/* ==== SOLUTION SECTION ==== */
.solution-graphic {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    background: #fff;
}

.center-circle {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: #fff;
    font-size: 2.5rem;
    z-index: 10;
}

.orbit-1 { width: 80px; height: 80px; top: 0; left: 50%; transform: translateX(-50%); font-size: 1.5rem; color: var(--gold-hover); }
.orbit-2 { width: 70px; height: 70px; top: 50%; right: 0; transform: translateY(-50%); font-size: 1.5rem; color: var(--success); }
.orbit-3 { width: 90px; height: 90px; bottom: 0; left: 50%; transform: translateX(-50%); font-size: 1.8rem; color: var(--danger); }
.orbit-4 { width: 60px; height: 60px; top: 50%; left: 0; transform: translateY(-50%); font-size: 1.2rem; color: var(--gold-hover); }

.services-list {
    margin: 2rem 0;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.services-list i {
    font-size: 1.25rem;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.trust-badge {
    display: inline-block;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--success);
    font-weight: 600;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--primary);
}

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

.glass-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: transform 0.3s, background 0.3s;
}

.glass-dark:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.icon-gold {
    width: 60px;
    height: 60px;
    background: rgba(255, 222, 0, 0.15); /* Gold background slightly opaque */
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

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

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
}

.stars {
    color: var(--gold-hover);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.client-info h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary);
}

.client-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==== CTA SECTION ==== */
.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,222,0,0.1) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
}

.cta-box p {
    color: var(--text-white-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.justify-center {
    justify-content: center;
}

.mt-4 { margin-top: 2rem; }
.mt-3 { margin-top: 1.5rem; }

/* ==== CONSULTATION SECTION ==== */
.check-list {
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.check-list i {
    color: var(--success);
    background: rgba(118, 195, 30, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
}

.consultation-form-wrapper {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 43, 86, 0.1);
}

/* ==== FOOTER ==== */
.footer {
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-white-muted);
    margin-top: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links a {
    display: block;
    color: var(--text-white-muted);
    margin-bottom: 1rem;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-contact p {
    color: var(--text-white-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--danger); /* Accent red effectively used here */
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-white-muted);
}

/* ==== ANIMATIONS ==== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==== RESPONSIVE ADJUSTMENTS ==== */
@media (max-width: 900px) {
    .hero {
        padding: 160px 0 60px;
        text-align: center;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .subheadline {
        margin: 0 auto 2rem;
    }
    .urgency-line {
        margin: 1rem auto;
    }
    .cta-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hidden-mobile { display: none !important; }

    .mobile-nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background-color: var(--whatsapp);
        color: white;
        border-radius: 50%;
        font-size: 1.5rem;
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    }

    .section { padding: 4rem 0; }
    .hero { padding: 120px 0 40px; } /* Pulls content up closer to header */
    .hero-bg-shapes { opacity: 0.5; }
    
    .headline {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }
    
    .script-heading {
        font-size: 2rem;
    }
    
    .cta-group { 
        flex-direction: column; 
        gap: 1rem;
    }
    .btn { 
        width: 100%; 
        padding: 1.25rem; /* Larger tap target */
        font-size: 1.1rem;
    }
    
    .solution-graphic {
        transform: scale(0.85); /* Prevent overflow */
    }

    .form-group input, .form-group select {
        padding: 1.25rem 1rem; /* Easier to tap inputs */
        font-size: 16px; /* Prevents auto-zoom on iOS */
    }
    
    .footer {
        text-align: center;
    }
    .footer-contact p {
        justify-content: center;
    }
    .footer-brand img {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .section { padding: 3rem 0; }
    
    .solution-graphic {
        transform: scale(0.7); /* Scale down further for very small screens */
        margin-bottom: 2rem;
    }
    
    .hero {
        padding: 110px 0 30px; /* Pulls content up much tighter on phones */
    }
    
    .nav-content {
        min-height: 70px; /* Shrinks the giant white space under the logo */
        padding: 10px 0;
    }

    .problem-card, .feature-card, .testimonial-card {
        padding: 1.5rem; /* Better spacing on tight screens */
    }
    
    .brand-logo {
        max-height: 55px; /* Optimize logo height for mobile */
    }
    
    .navbar.scrolled .brand-logo {
        max-height: 45px;
    }
}
