/* Logo Font */
@font-face {
    font-family: 'Orbitron';
    src: url('/assets/fonts/Orbitron-Bold.ttf?v=2') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Orbitron';
    src: url('/assets/fonts/Orbitron-Bold.ttf?v=2') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Variables - Vibrant Mobile-First Theme */
:root {
    --color-primary: #0f172a;
    --color-primary-dark: #0b0f19;
    --color-accent: #f59e0b;
    --color-accent-hover: #d97706;
    --color-success: #10b981;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #128C7E;
    
    --color-bg-light: #f8fafc;
    --color-card: #ffffff;
    --color-text-dark: #1e293b;
    --color-text-muted: #64748b;
    
    --radius-md: 12px;
    --radius-lg: 16px;
    
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    
    --transition: 0.2s ease-in-out;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 0;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Floating WhatsApp Button (Desktop) */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp img {
    width: 40px;
    height: 40px;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Mobile Sticky Footer CTA */
.mobile-sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 9999;
}

.sticky-call, .sticky-whatsapp {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    color: white;
}

.sticky-call {
    background-color: var(--color-primary);
}

.sticky-whatsapp {
    background-color: var(--color-whatsapp);
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    display: flex;
    align-items: center;
    color: var(--color-primary);
    -webkit-font-smoothing: antialiased;
}

.btn-call-now {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-primary);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-call-now svg {
    width: 18px;
    height: 18px;
}

.btn-call-now:hover {
    background-color: var(--color-accent);
}

/* Vibrant Hero Section with Local Background Image */
.mobile-hero {
    background-color: var(--color-primary);
    background-image: linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.92)), url('../assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    padding: 40px 0;
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 24px;
}

.stars-svg {
    display: flex;
    gap: 2px;
}

.stars-svg svg {
    width: 16px;
    height: 16px;
}

.rating-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.headline .highlight {
    color: var(--color-accent);
}

.subheadline {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 32px;
    max-width: 90%;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-tick {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #f8fafc;
}

.feature-tick svg {
    width: 20px;
    height: 20px;
}

/* Lead Gen Card - Compact Sizing */
.lead-gen-card {
    background-color: var(--color-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    width: 100%;
}

.card-header {
    background-color: #f1f5f9;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.card-header h2 {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 800;
}

.vibrant-form {
    padding: 24px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 16px;
    width: 100%;
}

.vibrant-form input,
.vibrant-form select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background-color: #ffffff;
    transition: var(--transition);
}

.vibrant-form input:focus,
.vibrant-form select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background-color: var(--color-accent);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    font-family: 'Inter', sans-serif;
}

.btn-submit svg {
    width: 18px; height: 18px;
}

.btn-submit:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.security-badge svg {
    width: 14px;
    height: 14px;
}

.form-message {
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}
.form-message.success { background-color: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.form-message.error { background-color: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }
.hidden { display: none !important; }

/* Success State Animation */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    animation: fadeInUp 0.5s ease;
}

.success-checkmark {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
}

.success-checkmark svg {
    width: 72px;
    height: 72px;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #10b981;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #10b981;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

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

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.benefit-box {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.benefit-box:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
    border-color: #cbd5e1;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.icon-circle svg {
    width: 28px;
    height: 28px;
}

.icon-orange { background-color: #fef3c7; color: #d97706; }
.icon-blue { background-color: #e0f2fe; color: #0284c7; }
.icon-green { background-color: #dcfce3; color: #16a34a; }
.icon-purple { background-color: #f3e8ff; color: #9333ea; }

.benefit-box h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.benefit-box p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Footer CTA & Legal */
.footer-cta {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding: 60px 0 40px;
}

.footer-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-cta p {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.btn-solid-blue {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
}

.btn-solid-blue:hover {
    background-color: #2563eb;
}

.btn-outline-white {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

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

.footer-legal {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
}

.legal-links a:hover {
    color: white;
    text-decoration: underline;
}

.address-info {
    color: #94a3b8;
    font-size: 0.8rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: #64748b;
}

/* ========================================
   POPUP MODAL STYLES
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close svg {
    width: 18px;
    height: 18px;
    color: #64748b;
}

.modal-close:hover {
    background: #e2e8f0;
}

.modal-header {
    text-align: center;
    padding: 32px 32px 0;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fffbeb;
    color: #b45309;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid #fde68a;
}

.modal-badge svg {
    width: 16px;
    height: 16px;
}

.modal-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.modal-form {
    padding: 24px 32px 32px;
}

/* Massive Mobile Optimization */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .headline {
        font-size: 3rem;
    }
    
    .subheadline {
        margin: 0 auto 24px;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .lead-gen-card {
        max-width: 500px;
        margin: 0 auto;
        text-align: left;
    }
}

@media (max-width: 600px) {
    body {
        padding-bottom: 60px;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-sticky-footer {
        display: flex;
    }

    .mobile-hero {
        min-height: calc(100vh - 64px);
        padding: 40px 0;
    }
    
    .headline {
        font-size: 2.25rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .vibrant-form {
        padding: 20px 16px;
    }
    
    .card-header {
        padding: 16px;
    }
    
    .benefits-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .footer-cta h2 {
        font-size: 1.8rem;
    }
    
    .footer-buttons {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-cta {
        padding-bottom: 80px;
    }
    
    /* Modal mobile */
    .modal-card {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 24px 20px 0;
    }
    
    .modal-form {
        padding: 20px;
    }
}

/* ========================================
   POLICY MODAL STYLES
   ======================================== */
.policy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.policy-card {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.policy-overlay.active .policy-card {
    transform: translateY(0);
}

.policy-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-right: 40px;
}

.policy-body p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.policy-body strong {
    color: var(--color-text-dark);
}

@media (max-width: 600px) {
    .policy-card {
        max-width: 100%;
        padding: 24px 20px;
        max-height: 85vh;
    }
}
