@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Sora:wght@400;600;700;800&display=swap');

:root {
    /* Colors */
    --color-primary: #0F172A;
    --color-primary-soft: #1E293B;
    --color-accent: #10B981;
    --color-accent-hover: #059669;
    --color-accent-glow: rgba(16, 185, 129, 0.25);
    --color-accent-soft: rgba(16, 185, 129, 0.1);
    --color-text-main: #1E293B;
    --color-text-muted: #64748B;
    --color-bg-light: #F8FAFC;
    --color-bg-glass: rgba(255, 255, 255, 0.7);
    --color-white: #FFFFFF;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --grad-accent: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --grad-mesh: radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.15) 0px, transparent 50%),
                 radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
                 radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.15) 0px, transparent 50%),
                 radial-gradient(at 0% 100%, rgba(59, 130, 246, 0.15) 0px, transparent 50%);

    /* Spacing & Sizing */
    --container-max-width: 1200px;
    --section-padding: 8rem 0;
    --section-padding-mobile: 4rem 0;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-accent: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: var(--grad-mesh);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    color: var(--color-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding);
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile);
    }
}

/* Reusable Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--grad-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.btn-secondary:hover {
    background: var(--color-bg-light);
    border-color: var(--color-primary);
}

/* Typography Helpers */
.text-gradient {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: var(--color-bg-glass);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.logo span {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

@media (max-width: 992px) {
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

@media (max-width: 992px) {
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
}

.hero-image {
    position: relative;
}

.hero-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--color-accent-soft);
    border-radius: var(--radius-md);
    z-index: -1;
}

/* Trust Section */
.trust {
    padding: 3rem 0;
    background: var(--color-white);
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.trust-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    text-align: center;
}

.trust-item span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.trust-item p {
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Benefits Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.benefit-card:hover::after {
    transform: scaleX(1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--color-accent-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    font-size: 1.5rem;
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    position: relative;
    z-index: 2;
}

.step-item h3 {
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-accent);
}

.testimonial-info h4 {
    font-size: 1.125rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
}

.cta-box {
    background: var(--grad-primary);
    border-radius: var(--radius-lg);
    padding: 5rem 3rem;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-logo span {
    color: var(--color-accent);
}

.footer-text {
    opacity: 0.6;
    margin-bottom: 2rem;
}

.footer-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.4;
    font-size: 0.875rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger > * {
    opacity: 0;
    transform: translateY(30px);
}

.stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.4s; }

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Responsive Utilities */
.hidden-mobile {
    @media (max-width: 768px) {
        display: none;
    }
}
