/* ============================================================
   HOME PAGE PREMIUM REDESIGN CSS
   cashback-shoppe-tiktok-lazada-stc1
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..900;1,14..32,300..900&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
    --shopee: #ee4d2d;
    --shopee-dark: #d73211;
    --shopee-light: #ff7337;
    --shopee-soft: #fff4f0;
    --shopee-glow: rgba(238, 77, 45, 0.15);

    --surface: #ffffff;
    --surface-2: #f9fafb;
    --surface-3: #f3f4f6;
    --border: rgba(0,0,0,0.07);

    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    --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.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
    --shadow-shopee: 0 8px 32px rgba(238,77,45,0.22);
}

.dark {
    --surface: #0f172a;
    --surface-2: #1e293b;
    --surface-3: #334155;
    --border: rgba(255,255,255,0.07);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --shopee-soft: rgba(238,77,45,0.1);
}

/* ─── Base ──────────────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Section Shared Styles ─────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--shopee);
    background: var(--shopee-soft);
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    border: 1px solid rgba(238,77,45,0.15);
}

.section-title {
    margin-top: 1rem;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-title-highlight {
    background: linear-gradient(135deg, var(--shopee) 0%, var(--shopee-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    margin-top: 0.875rem;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 5rem;
    padding-top: 2.5rem;
}

/* Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.hero-blob-1 {
    top: -4rem; left: -6rem;
    width: 28rem; height: 28rem;
    background: radial-gradient(circle, rgba(238,77,45,0.14) 0%, transparent 70%);
}
.hero-blob-2 {
    top: 0; right: -8rem;
    width: 32rem; height: 32rem;
    background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 70%);
}
.hero-blob-3 {
    bottom: -6rem; left: 40%;
    width: 24rem; height: 24rem;
    background: radial-gradient(circle, rgba(168,85,247,0.08) 0%, transparent 70%);
}
.hero-section > .mx-auto { position: relative; z-index: 1; }

/* Trust Badge */
.hero-badge-wrapper { text-align: center; }
.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.hero-trust-badge:hover { box-shadow: var(--shadow-md); }
.hero-badge-dot {
    width: 6px; height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
    animation: hero-pulse-dot 2s ease-in-out infinite;
}
@keyframes hero-pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
    50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.1); }
}
.hero-badge-divider { color: var(--text-muted); }
.hero-badge-count { color: var(--shopee); font-weight: 700; }

/* Left Content */
.hero-content-left { position: relative; z-index: 1; }

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-top: 1.5rem;
}

.hero-headline-gradient {
    background: linear-gradient(135deg, var(--shopee) 0%, var(--shopee-light) 60%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-headline-sub {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9em;
}

.hero-desc {
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 34rem;
}
.hero-desc strong { color: var(--text-primary); }

/* Platform Badges */
.hero-platforms {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}
.hero-platform-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.hero-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s;
}
.hero-platform-badge:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.shopee-badge { color: var(--shopee); border-color: rgba(238,77,45,0.2); background: var(--shopee-soft); }
.tiktok-badge { color: #010101; background: #f0f0f0; }
.dark .tiktok-badge { color: #f0f0f0; background: rgba(255,255,255,0.08); }
.lazada-badge { color: #1a0080; background: #ede7ff; }
.dark .lazada-badge { color: #c4b5fd; background: rgba(139,92,246,0.12); }

/* Hero Form */
.hero-form-wrapper {
    margin-top: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 1rem;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(238,77,45,0.04);
    transition: box-shadow 0.3s;
}
.hero-form-wrapper:focus-within {
    box-shadow: var(--shadow-xl), 0 0 0 3px rgba(238,77,45,0.1);
}
.hero-form-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .hero-form-inner { flex-direction: row; }
}

.hero-input-group {
    position: relative;
    flex: 1;
}
.hero-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.hero-url-input {
    width: 100%;
    height: 3.375rem;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    background: var(--surface-2);
    padding: 0 3rem 0 2.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.hero-url-input::placeholder { color: var(--text-muted); font-weight: 400; }
.hero-url-input:focus {
    border-color: var(--shopee);
    background: var(--surface);
    box-shadow: 0 0 0 4px var(--shopee-glow);
}
.hero-paste-btn {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.15s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}
.hero-paste-btn:hover { color: var(--shopee); }

.hero-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3.375rem;
    padding: 0 1.75rem;
    background: linear-gradient(135deg, var(--shopee) 0%, var(--shopee-light) 100%);
    color: white;
    font-weight: 700;
    font-size: 0.9375rem;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(238,77,45,0.35);
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    font-family: inherit;
}
.hero-submit-btn:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(238,77,45,0.45);
}
.hero-submit-btn:active:not(:disabled) { transform: translateY(0); }
.hero-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.hero-error-msg {
    margin-top: 0.75rem;
    background: #fef2f2;
    color: #dc2626;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgba(220,38,38,0.15);
}
.dark .hero-error-msg { background: rgba(220,38,38,0.1); border-color: rgba(220,38,38,0.2); }

/* ─── Product Result Card (responsive redesign) ─────────────── */
.hero-result-card {
    position: relative;
    container-type: inline-size;
    margin-top: 1.25rem;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px -20px rgba(238,77,45,0.35), var(--shadow-sm);
    overflow: hidden;
    animation: heroResultIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-result-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--shopee), var(--shopee-light), #ffcf6b);
}
@keyframes heroResultIn {
    from { opacity: 0; transform: translateY(-10px) scale(0.99); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* Neutralize cross-page #product-result-card rules from app.css (other page reuses same id) */
#product-result-card.hero-result-card { width: 100%; padding: 0; box-sizing: border-box; }

.hero-result-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
}
@container (min-width: 440px) {
    .hero-result-head { flex-direction: row; align-items: stretch; }
}

.hero-result-thumb {
    position: relative;
    flex-shrink: 0;
    align-self: center;
    margin-bottom: 0.5rem;
}
@container (min-width: 440px) {
    .hero-result-thumb { align-self: flex-start; margin-bottom: 0; }
}
.hero-result-thumb img {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--surface-2);
    display: block;
}
@container (min-width: 440px) {
    .hero-result-thumb img { width: 7.5rem; height: 7.5rem; }
}
.hero-result-badge {
    position: absolute;
    left: 50%;
    bottom: -0.55rem;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--shopee), var(--shopee-light));
    box-shadow: 0 4px 12px rgba(238,77,45,0.35);
}

.hero-result-summary {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.hero-result-name {
    margin: 0;
    font-size: clamp(0.875rem, 0.8rem + 0.6vw, 1.0625rem);
    font-weight: 800;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.hero-result-shop {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    max-width: 100%;
}
.hero-result-shop span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hero-result-shop svg { flex-shrink: 0; opacity: 0.85; }

.hero-result-metrics {
    margin-top: auto;
    padding-top: 0.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}
.hero-metric {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    background: var(--surface-2);
    border: 1px solid var(--border);
    min-width: 0;
}
.hero-metric-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.hero-metric-label svg { flex-shrink: 0; }
.hero-metric-value {
    font-size: clamp(0.9rem, 0.85rem + 0.4vw, 1.0625rem);
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-metric-cashback {
    background: linear-gradient(135deg, rgba(238,77,45,0.12), rgba(255,183,77,0.16));
    border-color: rgba(238,77,45,0.28);
}
.hero-metric-cashback .hero-metric-label,
.hero-metric-cashback .hero-metric-value { color: var(--shopee); }
.hero-metric-rate {
    position: absolute;
    top: 0.5rem;
    right: 0.55rem;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 1.3;
    background: var(--shopee);
    color: #fff;
}

.hero-result-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 1.25rem 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
}
.hero-result-alert svg { flex-shrink: 0; margin-top: 0.05rem; }
.hero-result-alert-warn {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid rgba(180,83,9,0.18);
}
.hero-result-alert-info {
    background: var(--surface-2);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.dark .hero-result-alert-warn {
    background: rgba(180,83,9,0.12);
    border-color: rgba(180,83,9,0.3);
    color: #fcd34d;
}

.hero-result-actions {
    border-top: 1px solid var(--border);
    padding: 1rem 1.25rem 1.15rem;
    background: linear-gradient(180deg, transparent, rgba(15,23,42,0.015));
}
.hero-result-link-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}
.hero-result-link-label svg { flex-shrink: 0; }
.hero-result-link-row {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.hero-result-link-input {
    flex: 1;
    min-width: 0;
    height: 2.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-2);
    padding: 0 0.9rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    outline: none;
    font-family: inherit;
    text-overflow: ellipsis;
}
.hero-result-link-input:focus {
    border-color: var(--shopee);
    box-shadow: 0 0 0 3px rgba(238,77,45,0.15);
}
.hero-result-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 2.75rem;
    padding: 0 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.18s, background 0.18s, border-color 0.18s;
    flex-shrink: 0;
    font-family: inherit;
}
.hero-result-copy:hover {
    color: var(--shopee);
    border-color: rgba(238,77,45,0.4);
    background: var(--shopee-soft);
}
.hero-result-copy.is-copied {
    color: #059669;
    border-color: rgba(5,150,105,0.4);
    background: #ecfdf5;
}
.dark .hero-result-copy.is-copied { background: rgba(5,150,105,0.15); color: #34d399; }
.hero-result-copy-text { white-space: nowrap; }
@container (max-width: 380px) {
    .hero-result-copy-text { display: none; }
    .hero-result-copy { width: 2.75rem; padding: 0; }
}

.hero-result-open {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.75rem;
    width: 100%;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--shopee), var(--shopee-light));
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 10px 24px -8px rgba(238,77,45,0.6);
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}
.hero-result-open:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 14px 30px -8px rgba(238,77,45,0.7);
}
.hero-result-open-label { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-result-open-arrow { transition: transform 0.15s; flex-shrink: 0; }
.hero-result-open:hover .hero-result-open-arrow { transform: translate(2px, -2px); }

@media (prefers-reduced-motion: reduce) {
    .hero-result-card { animation: none; }
    .hero-result-open, .hero-result-open:hover { transform: none; }
    .hero-result-open:hover .hero-result-open-arrow { transform: none; }
}

/* Form Helpers */
.hero-form-helpers {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.875rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}
.hero-helper-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    transition: opacity 0.15s;
    font-family: inherit;
}
.hero-helper-link:hover { opacity: 0.75; }

/* ─── Hero Dashboard ────────────────────────────────────────── */
.hero-dashboard-wrapper {
    position: relative;
    padding: 1.5rem;
}

.hero-dash-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(238,77,45,0.12) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-dashboard-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.hero-dashboard-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--shopee) 0%, var(--shopee-light) 100%);
}

.hero-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.hero-dash-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-dash-avatar {
    width: 2.5rem; height: 2.5rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--shopee) 0%, var(--shopee-light) 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(238,77,45,0.3);
}
.hero-dash-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
}
.hero-dash-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}
.hero-dash-live {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
}
.hero-live-dot {
    width: 6px; height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-dash-balance {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--shopee) 0%, var(--shopee-light) 100%);
    border-radius: var(--radius-xl);
    color: white;
}
.hero-dash-balance-label {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hero-dash-balance-value {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-top: 0.25rem;
    line-height: 1;
}
.hero-dash-currency {
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 0.85;
    margin-left: 0.15rem;
}
.hero-dash-growth {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0.85;
    background: rgba(255,255,255,0.15);
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}
.hero-stat-item {
    background: var(--surface-2);
    border-radius: var(--radius-md);
    padding: 0.875rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-stat-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hero-stat-icon {
    width: 2rem; height: 2rem;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.5rem;
}
.hero-stat-num {
    font-size: 1rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.hero-stat-lbl {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.15rem;
}

.hero-activity-feed {
    margin-top: 1rem;
    background: var(--surface-2);
    border-radius: var(--radius-md);
    padding: 0.875rem;
    border: 1px solid var(--border);
}
.hero-activity-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.625rem;
}
.hero-activity-list { display: grid; gap: 0.5rem; }
.hero-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.hero-activity-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    margin-top: 0.375rem;
    flex-shrink: 0;
}
.hero-activity-text {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Floating mini cards */
.hero-float-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}
.hero-float-card-tl { top: 0; left: 0; }
.hero-float-card-br { bottom: 2rem; right: 0; animation-delay: 1.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ─── Modals ─────────────────────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(6px);
    padding: 1rem;
}

.modal-card {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    width: 100%;
    max-width: 28rem;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.25s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}
.modal-icon-wrap {
    width: 2.5rem; height: 2.5rem;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.modal-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}
.modal-subtitle {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}
.modal-close-btn {
    display: flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    transition: background 0.15s, color 0.15s;
    margin-left: auto;
    flex-shrink: 0;
    font-family: inherit;
}
.modal-close-btn:hover { background: var(--surface-3); color: var(--text-primary); }

.modal-body { margin-top: 1.25rem; display: grid; gap: 0.875rem; }
.modal-notice-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.modal-notice-icon {
    width: 2rem; height: 2rem;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.modal-notice-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}
.modal-notice-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
    line-height: 1.5;
}
.modal-action-btn {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--shopee), var(--shopee-light));
    color: white;
    font-weight: 700;
    font-size: 0.9375rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(238,77,45,0.3);
    transition: opacity 0.2s;
}
.modal-action-btn:hover { opacity: 0.9; }

/* Guide Modal */
.guide-modal-card {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 44rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    animation: modalIn 0.25s ease;
}
@media (min-width: 640px) { .guide-modal-card { grid-template-columns: 0.9fr 1.1fr; } }

.guide-modal-left {
    background: linear-gradient(145deg, var(--shopee) 0%, var(--shopee-light) 60%, #f97316 100%);
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
}
.guide-modal-logo {
    width: 3rem; height: 3rem;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.guide-modal-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}
.guide-modal-title {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.3;
    margin-top: 0.5rem;
}
.guide-modal-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 0.75rem;
}
.guide-platforms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.guide-platform-tag {
    background: rgba(255,255,255,0.2);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.guide-modal-right {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.guide-steps { display: flex; flex-direction: column; gap: 0; }
.guide-step {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}
.guide-step-num {
    width: 2rem; height: 2rem;
    border-radius: 50%;
    background: var(--shopee-soft);
    color: var(--shopee);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.875rem;
    font-weight: 900;
    flex-shrink: 0;
}
.guide-step-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary);
}
.guide-step-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 0.2rem;
}
.guide-step-divider {
    width: 2rem;
    height: 1.25rem;
    border-left: 2px dashed rgba(238,77,45,0.2);
    margin-left: 0.9375rem;
}


/* ============================================================
   STATS TICKER SECTION
   ============================================================ */
.stats-ticker-section {
    overflow: hidden;
    background: linear-gradient(90deg, var(--shopee) 0%, var(--shopee-light) 100%);
    padding: 0.875rem 0;
}
.stats-ticker-track {
    overflow: hidden;
    white-space: nowrap;
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.stats-ticker-inner {
    display: inline-flex;
    align-items: center;
    gap: 0;
    animation: ticker 30s linear infinite;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.stats-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0 1.5rem;
    white-space: nowrap;
}
.stats-ticker-item i { opacity: 0.9; }
.stats-ticker-sep {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* ============================================================
   STEPS SECTION
   ============================================================ */
.steps-section {
    padding: 5rem 0;
    background: var(--surface);
}
.dark .steps-section { background: rgba(15,23,42,0.4); }

.steps-grid {
    display: grid;
    gap: 1.5rem;
    position: relative;
}
@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
    position: relative;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 2rem 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.step-connector {
    display: none;
}
@media (min-width: 768px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 3rem;
        right: -1.5rem;
        width: 3rem;
        height: 2px;
        z-index: 2;
        background: linear-gradient(90deg, var(--border) 0%, var(--border) 40%, transparent 100%);
    }
    .step-connector::after {
        content: '';
        position: absolute;
        right: 0;
        top: -3px;
        border-width: 4px 0 4px 6px;
        border-style: solid;
        border-color: transparent transparent transparent #d1d5db;
    }
}

.step-num-badge {
    position: absolute;
    top: -0.75rem;
    right: 1.25rem;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
    border: 2px solid var(--surface);
    letter-spacing: 0.04em;
}
.step-badge-orange { background: var(--shopee); color: white; }
.step-badge-blue { background: #3b82f6; color: white; }
.step-badge-emerald { background: #10b981; color: white; }

.step-icon-wrap {
    width: 3.5rem; height: 3.5rem;
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.step-icon-orange { background: var(--shopee-soft); color: var(--shopee); }
.step-icon-blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.step-icon-emerald { background: rgba(16,185,129,0.1); color: #10b981; }
.dark .step-icon-orange { background: rgba(238,77,45,0.12); }
.dark .step-icon-blue { background: rgba(59,130,246,0.12); }
.dark .step-icon-emerald { background: rgba(16,185,129,0.12); }

/* Step card borders on hover */
.step-card-orange:hover { border-color: rgba(238,77,45,0.3); }
.step-card-blue:hover { border-color: rgba(59,130,246,0.3); }
.step-card-emerald:hover { border-color: rgba(16,185,129,0.3); }

.step-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
.step-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
}

.steps-cta {
    text-align: center;
    margin-top: 2.5rem;
}
.steps-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--shopee), var(--shopee-light));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(238,77,45,0.3);
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}
.steps-cta-btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(238,77,45,0.4);
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */
.timeline-section {
    padding: 5rem 0;
    background: var(--surface-2);
}
.dark .timeline-section { background: rgba(30,41,59,0.3); }

.timeline-grid {
    display: grid;
    gap: 1.5rem;
    position: relative;
}
@media (min-width: 768px) {
    .timeline-grid { grid-template-columns: repeat(3, 1fr); }
}

.timeline-card {
    position: relative;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 1.75rem 1.5rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.timeline-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.timeline-top-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}
.timeline-accent-orange { background: linear-gradient(90deg, var(--shopee), var(--shopee-light)); }
.timeline-accent-blue { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.timeline-accent-emerald { background: linear-gradient(90deg, #10b981, #06d6a0); }

.timeline-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.875rem;
}
.timeline-step-label {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.timeline-icon-wrap {
    width: 2.5rem; height: 2.5rem;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
}
.timeline-icon-orange { background: var(--shopee-soft); color: var(--shopee); }
.timeline-icon-blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.timeline-icon-emerald { background: rgba(16,185,129,0.1); color: #10b981; }
.dark .timeline-icon-orange { background: rgba(238,77,45,0.12); }
.dark .timeline-icon-blue { background: rgba(59,130,246,0.12); }
.dark .timeline-icon-emerald { background: rgba(16,185,129,0.12); }

.timeline-phase {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.timeline-when-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}
.timeline-when-orange { background: var(--shopee-soft); color: var(--shopee); }
.timeline-when-blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.timeline-when-emerald { background: rgba(16,185,129,0.1); color: #10b981; }
.dark .timeline-when-orange { background: rgba(238,77,45,0.1); }
.dark .timeline-when-blue { background: rgba(59,130,246,0.1); }
.dark .timeline-when-emerald { background: rgba(16,185,129,0.1); }

.timeline-desc {
    margin-top: 0.875rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.timeline-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
}

.timeline-arrow {
    display: none;
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 2;
    background: var(--surface-2);
    border: 1px solid var(--border);
    width: 2rem; height: 2rem;
    border-radius: 50%;
    align-items: center; justify-content: center;
}
@media (min-width: 768px) { .timeline-arrow { display: flex; } }

.timeline-note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 2.5rem;
    background: rgba(59,130,246,0.06);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.dark .timeline-note { background: rgba(59,130,246,0.06); }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    position: relative;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.feature-card-glow {
    position: absolute;
    top: -3rem; right: -3rem;
    width: 8rem; height: 8rem;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover .feature-card-glow { opacity: 1; }

.feature-glow-orange { background: rgba(238,77,45,0.3); }
.feature-glow-purple { background: rgba(168,85,247,0.3); }
.feature-glow-emerald { background: rgba(16,185,129,0.3); }
.feature-glow-blue { background: rgba(59,130,246,0.3); }
.feature-glow-teal { background: rgba(20,184,166,0.3); }
.feature-glow-amber { background: rgba(245,158,11,0.3); }

/* Hover border colors */
.feature-card-orange:hover { border-color: rgba(238,77,45,0.25); }
.feature-card-purple:hover { border-color: rgba(168,85,247,0.25); }
.feature-card-emerald:hover { border-color: rgba(16,185,129,0.25); }
.feature-card-blue:hover { border-color: rgba(59,130,246,0.25); }
.feature-card-teal:hover { border-color: rgba(20,184,166,0.25); }
.feature-card-amber:hover { border-color: rgba(245,158,11,0.25); }

.feature-icon-wrap {
    width: 3.25rem; height: 3.25rem;
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.feature-icon-orange { background: var(--shopee-soft); color: var(--shopee); }
.feature-icon-purple { background: rgba(168,85,247,0.1); color: #a855f7; }
.feature-icon-emerald { background: rgba(16,185,129,0.1); color: #10b981; }
.feature-icon-blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.feature-icon-teal { background: rgba(20,184,166,0.1); color: #14b8a6; }
.feature-icon-amber { background: rgba(245,158,11,0.1); color: #f59e0b; }
.dark .feature-icon-orange { background: rgba(238,77,45,0.12); }
.dark .feature-icon-purple { background: rgba(168,85,247,0.12); }
.dark .feature-icon-emerald { background: rgba(16,185,129,0.12); }
.dark .feature-icon-blue { background: rgba(59,130,246,0.12); }
.dark .feature-icon-teal { background: rgba(20,184,166,0.12); }
.dark .feature-icon-amber { background: rgba(245,158,11,0.12); }

.feature-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 0.625rem;
}
.feature-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
}
.feature-badge-orange { background: var(--shopee-soft); color: var(--shopee); }
.feature-badge-purple { background: rgba(168,85,247,0.1); color: #a855f7; }
.feature-badge-emerald { background: rgba(16,185,129,0.1); color: #10b981; }
.feature-badge-blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.feature-badge-teal { background: rgba(20,184,166,0.1); color: #14b8a6; }
.feature-badge-amber { background: rgba(245,158,11,0.1); color: #f59e0b; }
.dark .feature-badge-orange { background: rgba(238,77,45,0.1); }
.dark .feature-badge-purple { background: rgba(168,85,247,0.1); }
.dark .feature-badge-emerald { background: rgba(16,185,129,0.1); }
.dark .feature-badge-blue { background: rgba(59,130,246,0.1); }
.dark .feature-badge-teal { background: rgba(20,184,166,0.1); }
.dark .feature-badge-amber { background: rgba(245,158,11,0.1); }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section {
    padding: 5rem 0;
    background: var(--surface-2);
}
.dark .blog-section { background: rgba(15,23,42,0.5); }

.blog-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
    .blog-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.blog-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--shopee);
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.2s;
}
.blog-view-all-btn:hover { gap: 0.625rem; }

.blog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 4rem 2rem;
    color: var(--text-muted);
    text-align: center;
}

.blog-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(238,77,45,0.2);
}

.blog-card-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--surface-3);
}
.blog-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.08); }
.blog-card-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 50%);
}
.blog-card-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--shopee);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
}
.blog-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.blog-card:hover .blog-card-title { color: var(--shopee); }
.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0.5rem;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border);
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}
.blog-card-read-more {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--shopee);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
}

.cta-glow-1 {
    position: absolute;
    top: -4rem; left: -4rem;
    width: 24rem; height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,77,45,0.25) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}
.cta-glow-2 {
    position: absolute;
    bottom: -4rem; right: -4rem;
    width: 24rem; height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}
@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }
}

.cta-content { display: flex; align-items: flex-start; gap: 1.25rem; }
@media (min-width: 640px) { .cta-content { align-items: center; } }

.cta-icon-wrap {
    width: 3.5rem; height: 3.5rem;
    background: linear-gradient(135deg, var(--shopee), var(--shopee-light));
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(238,77,45,0.4);
}
.cta-title {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
}
.cta-desc {
    font-size: 0.9375rem;
    color: #94a3b8;
    margin-top: 0.375rem;
    line-height: 1.6;
}
.cta-desc strong { color: white; }

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    width: 100%;
}
@media (min-width: 640px) { .cta-actions { flex-direction: row; width: auto; } }

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--shopee), var(--shopee-light));
    color: white;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(238,77,45,0.4);
    transition: opacity 0.2s, transform 0.15s;
    white-space: nowrap;
}
.cta-btn-primary:hover { opacity: 0.92; transform: translateY(-2px); }

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: rgba(255,255,255,0.1);
    color: white;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.15);
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}
.cta-btn-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

/* ============================================================
   ANIMATIONS & UTILITIES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .hero-float-card,
    .hero-badge-dot,
    .hero-live-dot,
    .stats-ticker-inner { animation: none; }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
