/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Colors */
    --primary: #e51435;
    --primary-hover: #c4102c;
    --secondary: #f18ca2;
    --secondary-light: #fce8ec;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --bg-light: #f9f9fa;
    --white: #ffffff;
    
    /* Typography */
    --font-family: 'Outfit', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 35px rgba(229, 20, 53, 0.15);
}

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

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

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

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

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   Buttons & Utils
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(229, 20, 53, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 20, 53, 0.4);
    color: var(--white);
}

.lg-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: var(--text-light);
}

.highlight {
    color: var(--primary);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at 100% 0%, var(--secondary-light) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

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

.abstract-shape {
    width: min(400px, 80%);
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blob 8s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.box-icon {
    font-size: 8rem;
    color: var(--white);
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
}

@keyframes blob {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--white);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    flex: 1;
    max-width: 300px;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background: var(--white);
    border: 1px solid var(--secondary-light);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--secondary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    transition: var(--transition);
}

.step-card:hover .icon-wrapper {
    background-color: var(--primary);
    color: var(--white);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-light);
}

.step-arrow {
    font-size: 2rem;
    color: var(--secondary);
    margin: 0 1.5rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
}

/* ==========================================================================
   Payment Methods Section
   ========================================================================== */
.payment-methods {
    padding: 6rem 0 4rem 0;
    background-color: var(--white);
}

.payment-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0;
    max-width: 1100px;
    margin: 0 auto;
    width: 90%;
}

.payment-carousel img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.payment-carousel img:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(229, 20, 53, 0.25);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #ccc;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-details a {
    color: var(--white);
}

.contact-details a:hover {
    color: var(--secondary);
}

.contact-details i {
    margin-top: 4px;
    color: var(--secondary);
    flex-shrink: 0;
}

.ref {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.2rem;
}

.footer-map {
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-lg);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-bottom {
    background-color: #111;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: #888;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-wsp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.floating-wsp:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

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

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

/* ==========================================================================
   Responsive: Tablet (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container { gap: 2rem; }
    .abstract-shape { width: min(300px, 70%); }
    .box-icon { font-size: 6rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr; }
    .footer-map { height: 300px; }
    
    .payment-carousel {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

/* ==========================================================================
   Responsive: Mobile (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 3rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-actions { justify-content: center; display: flex; }
    .hero-image { margin-top: 2rem; }
    .abstract-shape { width: 250px; }
    .box-icon { font-size: 5rem; }
    
    .section-title { font-size: 2rem; }
    
    .steps-grid { flex-direction: column; gap: 1.5rem; }
    .step-arrow { transform: rotate(90deg); margin: 0; }
    .step-card { width: 100%; max-width: 100%; }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .payment-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        max-width: 350px;
        margin: 0 auto;
        width: 90%;
        position: relative;
        border-radius: 16px;
    }
    .payment-carousel::-webkit-scrollbar {
        display: none;
    }
    .payment-carousel img {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        scroll-snap-align: start;
        border-radius: 16px;
        box-shadow: none;
        transition: opacity 0.4s ease;
    }
    .payment-carousel img:hover {
        transform: none;
        box-shadow: none;
    }

    /* Carousel dot indicators */
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 1.5rem;
    }
    .carousel-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--secondary-light);
        border: 2px solid var(--secondary);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    .carousel-dots .dot.active {
        background: var(--primary);
        border-color: var(--primary);
        transform: scale(1.3);
    }
    
    .floating-wsp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 28px; }
}
