/* Global Variables */
:root {
    --primary: #012970;
    --primary-dark: #001a4d;
    --accent: #FFC107;
    --accent-hover: #ffca2c;
    --success: #25D366;
    --success-hover: #20b858;
    --danger: #dc3545;
    --danger-hover: #bb2d3b;
    --white: #ffffff;
    --light: #f8f9fa;
    --dark: #212529;
    --glass: rgba(255, 255, 255, 0.15);
    --glass-dark: rgba(0, 0, 0, 0.5);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, .outfit-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-whatsapp {
    background: var(--success);
    color: white;
}

.btn-whatsapp:hover {
    background: var(--success-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-call {
    background: var(--danger);
    color: white;
}

.btn-call:hover {
    background: var(--danger-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
    background: var(--white);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 50px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 110px);
    height: auto;
    margin-top: 110px;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
    background: var(--primary);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(1, 41, 112, 0) 0%, rgba(1, 41, 112, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 40px;
    border-radius: 24px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 56px);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.badge i {
    color: var(--accent);
}

.hero-btns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Section styling */
section {
    padding: 100px 0;
}

.section-yellow {
    background: var(--accent);
    color: var(--primary);
}

.section-white {
    background: var(--white);
}

.section-blue {
    background: var(--primary);
    color: white;
}

/* Unified Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem-content h2 {
    color: var(--primary);
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
    margin-bottom: 30px;
}

.problem-content p {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 20px;
}

.danger-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
    border: 2px solid var(--danger);
    position: relative;
    overflow: hidden;
}

.danger-card::before {
    content: '!';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 150px;
    font-weight: 800;
    color: var(--danger);
    opacity: 0.05;
    font-family: 'Outfit', sans-serif;
}

.danger-card h3 {
    color: var(--danger);
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.danger-list {
    list-style: none;
}

.danger-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.danger-item i {
    color: var(--danger);
    margin-top: 5px;
    font-size: 20px;
}

.danger-item span {
    font-weight: 600;
    color: var(--primary);
}

.urgency-text {
    font-weight: 800;
    font-size: 22px;
    color: var(--primary);
    margin-top: 30px;
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    opacity: 0.8;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* Benefit Cards */
.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent);
}

/* Testimonials */
.testimonial-card {
    background: var(--light);
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-name {
    font-weight: 700;
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--white);
    color: var(--dark);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    color: var(--dark);
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    color: var(--primary);
    transform: rotate(360deg);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    opacity: 0.6;
    font-size: 14px;
    color: var(--dark);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
        background: white;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    nav {
        display: none; /* Mobile menu can be added later */
    }
    
    .hero-badges {
        display: none;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    section {
        padding: 60px 0;
    }

    .hero {
        min-height: calc(100vh - 100px);
        height: auto !important;
        margin-top: 100px;
        padding: 40px 20px;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}
