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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #0d6efd;
    color: #fff;
}

.btn-primary:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.3);
}

.btn-outline {
    background: transparent;
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline:hover {
    background: #0d6efd;
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: #fff;
    color: #0d6efd;
}

.btn-nav {
    background: #0d6efd;
    color: #fff;
    padding: 0.55rem 1.3rem;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: #0b5ed7;
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ===== Section Helpers ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: #e8f0fe;
    color: #0d6efd;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #111;
}

.section-sub {
    color: #666;
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    padding: 0.9rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #0d6efd;
    color: #fff;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    margin-right: 0.4rem;
}

.logo-accent {
    color: #0d6efd;
}

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

.nav-links a:not(.btn) {
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
    color: #0d6efd;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero ===== */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(165deg, #f8faff 0%, #e8f0fe 100%);
}

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

.badge {
    display: inline-block;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: #111;
}

.hero-sub {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 480px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: -10px;
    object-fit: cover;
}

.trust-text {
    font-size: 0.9rem;
    color: #666;
}

.hero-image {
    position: relative;
}

.hero-img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    background: #fff;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

.float-card-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 15%;
    right: -30px;
    animation-delay: 1.5s;
}

.float-icon {
    font-size: 1.5rem;
}

.hero-float-card strong {
    display: block;
    font-size: 0.95rem;
}

.hero-float-card small {
    color: #888;
    font-size: 0.78rem;
}

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

/* ===== Social Proof ===== */
.social-proof {
    padding: 2.5rem 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.social-proof-text {
    color: #999;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ===== Features ===== */
.features {
    padding: 6rem 0;
    background: #fff;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-visual img {
    border-radius: 16px;
    width: 100%;
    height: 340px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.feature-tag {
    display: inline-block;
    background: #e8f0fe;
    color: #0d6efd;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111;
}

.feature-content p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.02rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.feature-list li {
    color: #333;
    font-size: 0.92rem;
    font-weight: 500;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 6rem 0;
    background: #f8faff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.step-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 36px;
    height: 36px;
    background: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 1;
}

.step-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.step-card h3 {
    padding: 1.3rem 1.5rem 0.3rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.step-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    font-size: 0.92rem;
}

/* ===== Stats ===== */
.stats {
    padding: 4rem 0;
    background: #0d6efd;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== About ===== */
.about {
    padding: 6rem 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 16px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #111;
}

.about-content p {
    color: #555;
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ===== CTA ===== */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===== Contact ===== */
.contact {
    padding: 6rem 0;
    background: #f8faff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.contact-info > p {
    color: #666;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #333;
}

.contact-form-wrap {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    padding: 0.85rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== Footer ===== */
.footer {
    background: #111;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #2a2a2a;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    background: #0d6efd;
}

.footer-brand p {
    color: #888;
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #888;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #0d6efd;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem 1.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,.1);
        gap: 0.5rem;
        z-index: 999;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .navbar-inner {
        position: relative;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

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

    .hero-float-card {
        display: none;
    }

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}
