/* pricing.css — DigitalXCards Pricing Page */
:root {
    --bg-dark: #0d0d2b;
    --bg-dark2: #0f0f35;
    --bg-light: #f4f5f7;
    --blue: #2563eb;
    --blue-hover: #1d4ed8;
    --blue-light: rgba(37, 99, 235, 0.1);
    --gradient: linear-gradient(135deg, #1a1a4e 0%, #2d1b6e 50%, #1e3a8a 100%);
    --gradient2: linear-gradient(135deg, #6d28d9 0%, #2563eb 100%);
    --text-dark: #1e1b4b;
    --text-gray: #6b7280;
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: #e5e7eb;
    --radius: 14px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
    background: var(--gradient);
    padding: 80px 48px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 70% at 75% 20%, rgba(109, 40, 217, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse 45% 55% at 25% 80%, rgba(37, 99, 235, 0.3) 0%, transparent 55%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hero h1 span {
    color: #93c5fd;
}

.hero p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── PRICING CARD ─────────────────────────────────────────────────────── */
.pricing-sec {
    background: var(--bg-light);
    padding: 72px 48px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card-wrap {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: white;
    border: 2px solid #dbeafe;
    border-radius: 24px;
    padding: 48px 48px 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 12px 48px rgba(37, 99, 235, 0.12);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient2);
}

.popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient2);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.price-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.price-currency {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 10px;
}

.price-amount {
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -3px;
}

.price-period {
    font-size: 0.88rem;
    color: var(--text-gray);
    align-self: flex-end;
    padding-bottom: 12px;
}

.price-note {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin-bottom: 28px;
}

.price-note s {
    color: #d1d5db;
}

.price-note strong {
    color: #16a34a;
}

.feat-list {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.feat-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.87rem;
    color: var(--text-dark);
}

.tick {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--blue-light);
    border: 1px solid rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 0.6rem;
    flex-shrink: 0;
}

.create-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--blue);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    width: 100%;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.create-btn:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.4);
}

.btn-sub {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 10px;
}

/* ── GUARANTEE ────────────────────────────────────────────────────────── */
.guarantee-sec {
    background: white;
    padding: 56px 48px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.guarantee-inner {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 36px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1.5px solid #dbeafe;
    border-radius: 20px;
    padding: 38px 42px;
}

.g-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--gradient2);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.g-badge .days {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.g-badge .lbl {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
}

.g-text h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.g-text p {
    font-size: 0.87rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.refund-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.25);
    color: #16a34a;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 13px;
    border-radius: 100px;
}

/* ── HOW IT WORKS ─────────────────────────────────────────────────────── */
.how-sec {
    background: var(--bg-light);
    padding: 80px 48px;
}

.sec-head {
    text-align: center;
    margin-bottom: 52px;
}

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.sec-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.sec-sub {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 10px;
}

.steps-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.step-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 22px;
}

.step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--gradient2);
    color: white;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    z-index: 1;
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, #bfdbfe, #e5e7eb);
    min-height: 28px;
}

.step-content {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 26px 28px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.step-content:hover {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.step-top {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 8px;
}

.step-emo {
    font-size: 1.4rem;
}

.step-content h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--text-dark);
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.65;
}

.step-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 11px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: 100px;
}

/* ── TRUST STRIP ──────────────────────────────────────────────────────── */
.trust-strip {
    background: var(--bg-dark2);
    padding: 32px 48px;
}

.trust-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.83rem;
    font-weight: 500;
}

/* ── CTA ──────────────────────────────────────────────────────────────── */
.cta-sec {
    background: var(--gradient);
    text-align: center;
    padding: 80px 48px;
    position: relative;
    overflow: hidden;
}

.cta-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 75% at 50% 50%, rgba(109, 40, 217, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.cta-price-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 100px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.cta-price-pill span {
    color: #93c5fd;
}

.cta-sec h2 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-sec p {
    color: rgba(255, 255, 255, 0.62);
    max-width: 400px;
    margin: 0 auto 28px;
    font-size: 0.92rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.btn-blue-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    position: relative;
    z-index: 1;
}

.btn-blue-lg:hover {
    background: var(--blue-hover);
    transform: translateY(-1px);
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────────────────── */
.fu {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fu.vis {
    opacity: 1;
    transform: translateY(0);
}

.d1 {
    transition-delay: 0.1s;
}

.d2 {
    transition-delay: 0.2s;
}

.d3 {
    transition-delay: 0.3s;
}

.d4 {
    transition-delay: 0.4s;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 700px) {

    .hero,
    .pricing-sec,
    .guarantee-sec,
    .how-sec,
    .trust-strip,
    .cta-sec {
        padding-left: 18px;
        padding-right: 18px;
    }

    .pricing-card {
        padding: 32px 22px 28px;
    }

    .guarantee-inner {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }

    .trust-inner {
        gap: 20px;
    }

    .price-amount {
        font-size: 4rem;
    }
}