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

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;

    --cream-50: #fefdf8;
    --cream-100: #fef9ee;
    --cream-200: #fdf3e0;
    --cream-300: #fae8c8;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Nunito', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--cream-50);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.08);
    transition: var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--emerald-700);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.logo-text {
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.938rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: white;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    box-shadow: 0 6px 24px rgba(5, 150, 105, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--emerald-700);
    border-color: var(--emerald-200);
}

.btn-secondary:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-400);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.063rem;
}

/* ========== BADGE ========== */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.813rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ========== HERO ========== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(160deg, var(--cream-50) 0%, var(--cream-100) 50%, var(--emerald-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero-content .badge {
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--emerald-600);
}

.hero p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.trust-signals {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.signal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.signal svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 24px;
    left: -32px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 40px;
    right: -24px;
    animation-delay: 1.5s;
}

.card-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--gray-800);
}

.card-text span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-header .badge {
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.063rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========== SERVICES ========== */
.services {
    padding: 96px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
    background: white;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: white;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.938rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    padding: 96px 0;
    background: linear-gradient(160deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.how-it-works .section-header h2,
.how-it-works .section-header p {
    color: white;
}

.how-it-works .section-header .badge {
    background: rgba(255,255,255,0.15);
    color: var(--emerald-200);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.step-card {
    text-align: center;
    padding: 40px 28px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.step-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--emerald-400);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.6;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.188rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.938rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* ========== ABOUT ========== */
.about {
    padding: 96px 0;
    background: var(--cream-50);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-content .badge {
    margin-bottom: 16px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-content > p {
    font-size: 1.063rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--gray-700);
}

.about-features li svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

/* ========== CONTACT ========== */
.contact {
    padding: 96px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-200);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--emerald-200);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.contact-item a {
    color: var(--emerald-600);
    font-weight: 700;
}

.contact-item a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

.btn-large {
    align-self: flex-start;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--cream-200);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
}

.footer-brand p {
    font-size: 0.938rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.938rem;
    color: rgba(255,255,255,0.5);
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.footer-contact p {
    font-size: 0.938rem;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.5);
}

.footer-contact a {
    color: var(--emerald-400);
}

.footer-contact a:hover {
    color: var(--emerald-300);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.813rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom .disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--cream-200);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 18px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .image-wrapper img {
        height: 360px;
    }

    .floating-card.card-1 {
        left: 8px;
        top: 12px;
    }

    .floating-card.card-2 {
        right: 8px;
        bottom: 24px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .trust-signals {
        flex-direction: column;
        gap: 12px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        min-height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 0 48px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .services,
    .how-it-works,
    .about,
    .contact {
        padding: 64px 0;
    }

    .service-card {
        padding: 24px 20px;
    }

    .step-card {
        padding: 28px 20px;
    }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
