/* ═══════════════════════════════════════════════════════════════
   BANGLA PDF EDITOR — PREMIUM LANDING HERO  (landing-hero.css)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+Bengali:wght@400;500;600;700;800&display=swap');

/* ── Canvas-container hero override ───────────────────────── */
.canvas-container {
    background: #0f0c1e !important;
}

/* ══════════════════════════════════════════════════════════════
   HERO WRAPPER
   ══════════════════════════════════════════════════════════════ */
#welcome-upload-zone {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100%;
    min-height: 100%;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* ── Animated gradient background ─────────────────────────── */
#welcome-upload-zone::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(108, 59, 236, 0.30) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(59, 130, 246, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 60% 30%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
        linear-gradient(160deg, #0f0c1e 0%, #12102a 40%, #0d1520 100%);
    z-index: 0;
    pointer-events: none;
}

/* ── Floating orbs ─────────────────────────────────────────── */
.hero-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    animation: orbDrift 18s ease-in-out infinite;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #7c3aed, transparent);
    top: -150px; left: -100px;
    animation-delay: 0s;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #3b82f6, transparent);
    bottom: -100px; right: -80px;
    animation-delay: -7s;
}
.hero-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #ec4899, transparent);
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -12s;
}
@keyframes orbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -40px) scale(1.05); }
    66%       { transform: translate(-20px, 25px) scale(0.95); }
}

/* ══════════════════════════════════════════════════════════════
   HERO INNER CONTENT
   ══════════════════════════════════════════════════════════════ */
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 52px 24px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ── Badge ─────────────────────────────────────────────────── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 59, 236, 0.15);
    border: 1px solid rgba(155, 93, 229, 0.35);
    border-radius: 50px;
    padding: 7px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #c4b5fd;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 22px;
    animation: fadeSlideDown 0.6s ease both;
}
.hero-badge .badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #a78bfa;
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

/* ── Headline ──────────────────────────────────────────────── */
.hero-headline {
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    font-size: clamp(30px, 4.5vw, 58px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
    animation: fadeSlideDown 0.7s ease 0.1s both;
}
.hero-headline .grad-text {
    background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-headline .white-text {
    color: #f8fafc;
}

/* ── Bengali subtitle ──────────────────────────────────────── */
.hero-bn-sub {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 700;
    color: rgba(248, 250, 252, 0.80);
    margin-bottom: 14px;
    animation: fadeSlideDown 0.7s ease 0.15s both;
}

/* ── Description ───────────────────────────────────────────── */
.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.6vw, 17px);
    color: rgba(203, 213, 225, 0.75);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 36px;
    animation: fadeSlideDown 0.7s ease 0.2s both;
}

/* ── Upload CTA ────────────────────────────────────────────── */
.hero-upload-cta {
    position: relative;
    margin-bottom: 42px;
    animation: fadeSlideDown 0.7s ease 0.3s both;
}

.upload-btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #6c3bec 0%, #9b5de5 50%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 60px;
    padding: 20px 52px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(155, 93, 229, 0.4),
        0 8px 32px rgba(108, 59, 236, 0.50),
        0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.25s ease;
    outline: none;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.upload-btn-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 60%);
    border-radius: inherit;
    pointer-events: none;
}

/* shimmer sweep */
.upload-btn-premium::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: -60%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-20deg);
    animation: shimmerSweep 2.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes shimmerSweep {
    0%   { left: -60%; }
    60%, 100% { left: 120%; }
}

.upload-btn-premium:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 0 0 1px rgba(155, 93, 229, 0.5),
        0 16px 48px rgba(108, 59, 236, 0.65),
        0 4px 16px rgba(0,0,0,0.35);
}
.upload-btn-premium:active {
    transform: translateY(-1px) scale(0.99);
}

.upload-btn-premium .btn-icon {
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* ── Pulse rings ───────────────────────────────────────────── */
.pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 60px;
    border: 2px solid rgba(155, 93, 229, 0.5);
    animation: pulseRing 2.2s ease-out infinite;
    pointer-events: none;
}
.pulse-ring:nth-child(2) {
    animation-delay: 0.7s;
    border-color: rgba(155, 93, 229, 0.3);
}
@keyframes pulseRing {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.12); opacity: 0; }
}

/* ── Drag hint ─────────────────────────────────────────────── */
.hero-drag-hint {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(148, 163, 184, 0.6);
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════════════
   STATS ROW
   ══════════════════════════════════════════════════════════════ */
.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 44px;
    animation: fadeSlideDown 0.7s ease 0.4s both;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.hero-stat .stat-num {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.hero-stat .stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: rgba(148, 163, 184, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
    align-self: center;
}

/* ══════════════════════════════════════════════════════════════
   FEATURE CARDS GRID
   ══════════════════════════════════════════════════════════════ */
.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 920px;
    animation: fadeSlideDown 0.7s ease 0.5s both;
    margin-bottom: 36px;
}

@media (max-width: 900px) {
    .hero-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .hero-features-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.feat-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: default;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
                border-color 0.25s ease,
                background 0.25s ease,
                box-shadow 0.25s ease;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108,59,236,0.10), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}

.feat-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(155, 93, 229, 0.4);
    background: rgba(108, 59, 236, 0.10);
    box-shadow: 0 8px 24px rgba(108,59,236,0.20);
}
.feat-card:hover::before { opacity: 1; }

.feat-card .feat-icon {
    font-size: 28px;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(108,59,236,0.4));
}
.feat-card .feat-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.85);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

/* ══════════════════════════════════════════════════════════════
   TRUST BADGES ROW
   ══════════════════════════════════════════════════════════════ */
.hero-trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeSlideDown 0.7s ease 0.6s both;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50px;
    padding: 6px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.75);
    white-space: nowrap;
    transition: all 0.2s;
}
.trust-badge:hover {
    background: rgba(108, 59, 236, 0.12);
    border-color: rgba(155, 93, 229, 0.3);
    color: #c4b5fd;
}
.trust-badge .tb-icon { font-size: 13px; }

/* ══════════════════════════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════════════════════════ */
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Particle canvas ───────────────────────────────────────── */
#heroParticles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

/* ══════════════════════════════════════════════════════════════
   RIBBON BRAND HEADER ENHANCEMENT
   ══════════════════════════════════════════════════════════════ */
.ribbon-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 8px;
    margin-right: 8px;
    border-right: 1px solid rgba(0,0,0,0.08);
}
.ribbon-brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
}
.ribbon-brand-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, #6c3bec, #9b5de5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
    white-space: nowrap;
}
