/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    color: #111827;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 9px;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-primary {
    background: #16a34a;
    color: white;
}

.btn-primary:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: #15803d;
}

.btn-light:hover {
    transform: translateY(-2px);
}


/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eef0f2;
}

.nav-content {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: #16a34a;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    font-size: 14px;
    color: #4b5563;
    transition: 0.2s;
}

nav a:hover {
    color: #16a34a;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login {
    font-weight: 600;
    font-size: 14px;
}


/* =========================
   HERO
========================= */

.hero {
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(22, 163, 74, 0.10),
            transparent 30%
        ),
        #f7faf8;

    padding: 90px 0 110px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: inline-block;
    color: #16a34a;
    background: #eaf8ef;
    padding: 6px 12px;
    border-radius: 100px;

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;

    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.05;
    letter-spacing: -2.8px;
    max-width: 700px;
}

.hero h1 span,
.section-heading h2 span {
    color: #16a34a;
}

.hero p {
    margin-top: 25px;
    max-width: 570px;

    color: #667085;
    font-size: 17px;
}

.hero-buttons {
    margin-top: 32px;

    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.guarantee {
    font-size: 13px;
    font-weight: 700;
    color: #16a34a;
}


/* =========================
   GIFT CARD VISUAL
========================= */

.gift-card-preview {
    height: 420px;
    position: relative;
}

.floating-card {
    position: absolute;

    width: 250px;
    height: 150px;

    padding: 25px;

    border-radius: 18px;

    color: white;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16);

    transition: 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-8px) rotate(0deg) !important;
}

.card-brand {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.card-title {
    font-size: 28px;
    font-weight: 900;
    margin-top: 20px;
}

.floating-card small {
    opacity: 0.8;
}

.card-one {
    top: 20px;
    left: 50px;

    background: #111827;

    transform: rotate(-8deg);
}

.card-two {
    top: 80px;
    right: 20px;

    background: #f59e0b;

    transform: rotate(8deg);
}

.card-three {
    bottom: 35px;
    left: 20px;

    background: #292c38;

    transform: rotate(6deg);
}

.card-four {
    bottom: 10px;
    right: 55px;

    background: #2563eb;

    transform: rotate(-7deg);
}


/* =========================
   SECTIONS
========================= */

.trade-section,
.how-section {
    padding: 100px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}


/* =========================
   BUY / SELL
========================= */

.trade-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.trade-card {
    padding: 40px;

    border: 1px solid #e5e7eb;
    border-radius: 20px;

    background: white;

    transition: 0.3s ease;
}

.trade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
}

.icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #eaf8ef;
    color: #16a34a;

    font-size: 24px;
    font-weight: bold;

    margin-bottom: 25px;
}

.trade-card h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

.trade-card p {
    color: #667085;
    max-width: 480px;
}

.card-link {
    display: inline-block;

    margin-top: 25px;

    color: #16a34a;
    font-weight: 800;
}


/* =========================
   HOW IT WORKS
========================= */

.how-section {
    background: #f7faf8;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.step-number {
    font-size: 14px;
    font-weight: 900;

    color: #16a34a;

    margin-bottom: 25px;
}

.step h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.step p {
    color: #667085;
}


/* =========================
   CTA
========================= */

.cta-section {
    padding: 80px 0;
}

.cta {
    background: #15803d;
    color: white;

    padding: 60px;

    border-radius: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta .eyebrow {
    background: rgba(255,255,255,0.15);
    color: white;
}

.cta h2 {
    max-width: 600px;

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #111827;
    color: white;

    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;

    padding-bottom: 60px;
}

.footer-grid p {
    color: #9ca3af;
    max-width: 280px;
    margin-top: 15px;
}

.footer-grid h4 {
    margin-bottom: 18px;
}

.footer-grid a:not(.logo) {
    display: block;

    color: #9ca3af;
    font-size: 14px;

    margin-bottom: 10px;
}

.footer-grid a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #263244;

    padding: 25px 0;

    text-align: center;

    color: #9ca3af;
    font-size: 13px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .gift-card-preview {
        max-width: 550px;
        width: 100%;
        margin: auto;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .nav-actions .login {
        display: none;
    }

    .nav-actions .btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    .hero {
        padding: 60px 0 70px;
    }

    .hero h1 {
        letter-spacing: -1.8px;
    }

    .gift-card-preview {
        height: 350px;
        transform: scale(0.85);
        transform-origin: top center;
    }

    .trade-section,
    .how-section {
        padding: 70px 0;
    }

    .trade-grid {
        grid-template-columns: 1fr;
    }

    .trade-card {
        padding: 30px;
    }

    .cta {
        padding: 40px 25px;

        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}