/* =========================================================
   DL Dokan — Home page (modern redesign)
   Shared tokens come from /assets/css/theme.css
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body.dd-home { overflow-x: hidden; line-height: 1.6; }
.no-aos [data-aos] { opacity: 1 !important; transform: none !important; }

.dd-home .grad {
    background: linear-gradient(135deg, #A99CFF 0%, #6E9BFF 50%, #47D3F5 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: 84px 20px 96px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(140,158,214,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140,158,214,.06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero-grid {
    position: relative; z-index: 1;
    max-width: 1160px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 10px;
    border-radius: 99px;
    background: rgba(140,158,214,.08);
    border: 1px solid rgba(140,158,214,.2);
    color: #C3CAE0;
    font-size: .8rem; font-weight: 600;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #C8F542; box-shadow: 0 0 0 4px rgba(200,245,66,.18); }
.hero h1 {
    margin: 20px 0 14px;
    font-size: clamp(2.3rem, 5.2vw, 4rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #F2F5FC;
}
.hero-subtitle {
    font-size: 1.12rem; font-weight: 700; color: #C8F542; margin-bottom: 6px;
}
.hero-text { color: #8E98B5; font-size: 1.04rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-btn, .ghost-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 24px;
    border-radius: 14px;
    font-size: 1rem; font-weight: 700;
    text-decoration: none; cursor: pointer; border: 0;
    transition: transform .2s ease, filter .2s ease, background .2s ease, border-color .2s ease;
}
.cta-btn {
    color: #fff;
    background: linear-gradient(135deg, #8A79FF 0%, #5C8BFF 55%, #39C6F2 100%);
    box-shadow: 0 18px 40px -16px rgba(110,108,255,.85), inset 0 1px 0 rgba(255,255,255,.25);
}
.cta-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.ghost-btn {
    color: #E9EDF7;
    background: rgba(140,158,214,.07);
    border: 1px solid rgba(140,158,214,.22);
}
.ghost-btn:hover { background: rgba(140,158,214,.13); transform: translateY(-2px); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #8E98B5; font-size: .88rem; font-weight: 600; }
.hero-trust i { color: #2BD99F; margin-right: 6px; }

/* product mock */
.hero-visual { position: relative; }
.mock-card {
    position: relative;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)), #0E1424;
    border: 1px solid rgba(140,158,214,.18);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset;
    transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
}
.mock-card::before {
    content: ''; position: absolute; inset: -1px; border-radius: 24px; padding: 1px;
    background: linear-gradient(140deg, rgba(138,121,255,.6), transparent 40%, transparent 60%, rgba(57,198,242,.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.mock-top { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.mock-ic {
    width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(138,121,255,.15); border: 1px solid rgba(138,121,255,.3); color: #B9AEFF;
}
.mock-title { min-width: 0; }
.mock-title strong { display: block; color: #E9EDF7; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-title small { color: #8E98B5; font-size: .8rem; }
.mock-rows { border: 1px solid rgba(140,158,214,.12); border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.mock-rows div { display: flex; justify-content: space-between; padding: 11px 14px; font-size: .86rem; }
.mock-rows div + div { border-top: 1px solid rgba(140,158,214,.12); }
.mock-rows span { color: #8E98B5; }
.mock-rows b { color: #E9EDF7; font-weight: 700; }
.mock-btn {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    height: 46px; border-radius: 12px; margin-top: 10px;
    font-weight: 700; font-size: .92rem; color: #fff;
}
.mock-btn.b1 { background: linear-gradient(135deg, #C8F542, #8FE04A); color: #0A0F1C; }
.mock-btn.b2 { background: linear-gradient(135deg, #5C8BFF, #39C6F2); }
.mock-btn.b3 { background: rgba(140,158,214,.08); border: 1px solid rgba(140,158,214,.2); color: #E9EDF7; }
.float-chip {
    position: absolute;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px; border-radius: 12px;
    background: rgba(19, 27, 47, .92); border: 1px solid rgba(140,158,214,.22);
    color: #E9EDF7; font-size: .82rem; font-weight: 700;
    box-shadow: 0 18px 40px -16px rgba(0,0,0,.9);
    backdrop-filter: blur(8px);
    animation: dd-float 6s ease-in-out infinite;
}
.float-chip i { color: #2BD99F; }
.chip-a { right: 26px; top: -18px; }
.chip-b { left: -22px; bottom: -18px; animation-delay: -3s; }
.chip-b i { color: #C8F542; }
@keyframes dd-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.floating-icons { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.floating-icons i {
    position: absolute; font-size: 1.3rem; color: rgba(140,158,214,.16);
    animation: dd-float 9s ease-in-out infinite;
}
.floating-icons i:nth-child(1) { left: 6%; top: 18%; }
.floating-icons i:nth-child(2) { left: 46%; top: 8%; animation-delay: -2s; }
.floating-icons i:nth-child(3) { right: 5%; top: 12%; animation-delay: -4s; }
.floating-icons i:nth-child(4) { left: 3%; bottom: 14%; animation-delay: -6s; }
.floating-icons i:nth-child(5) { right: 42%; bottom: 6%; animation-delay: -1s; }

/* ---------- SECTIONS ---------- */
.features, .steps, .stats, .cta-band { padding: 72px 20px; }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
    display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    color: #B9AEFF; margin-bottom: 10px;
}
.section-title h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; color: #F2F5FC; line-height: 1.15; }
.section-title p { color: #8E98B5; margin-top: 10px; font-size: 1.02rem; }

.features-grid, .steps-grid {
    max-width: 1160px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px;
}
.feature-card, .step {
    position: relative;
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)), #0E1424;
    border: 1px solid rgba(140,158,214,.12);
    transition: transform .25s ease, border-color .25s ease;
}
.feature-card:hover, .step:hover { transform: translateY(-4px); border-color: rgba(138,121,255,.38); }
.feature-icon {
    width: 52px; height: 52px; border-radius: 15px; margin-bottom: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: #fff;
    background: linear-gradient(135deg, #8A79FF 0%, #5C8BFF 55%, #39C6F2 100%);
    box-shadow: 0 14px 30px -14px rgba(110,108,255,.9);
}
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, #2BD99F, #14A97B); box-shadow: 0 14px 30px -14px rgba(43,217,159,.8); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #C8F542, #8FE04A); color: #0A0F1C; box-shadow: 0 14px 30px -14px rgba(200,245,66,.6); }
.feature-card h3, .step h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: #E9EDF7; margin-bottom: 8px; }
.feature-card p, .step p { color: #8E98B5; font-size: .95rem; }
.step-no {
    display: inline-block; margin-bottom: 18px;
    font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .85rem; font-weight: 600;
    color: #C8F542; padding: 4px 10px; border-radius: 8px;
    background: rgba(200,245,66,.08); border: 1px solid rgba(200,245,66,.22);
}

/* stats */
.stats .stats-grid {
    max-width: 1160px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-radius: 24px;
    background: #0E1424;
    border: 1px solid rgba(140,158,214,.12);
    overflow: hidden;
}
.stat-item { padding: 36px 20px; text-align: center; position: relative; }
.stat-item + .stat-item { border-left: 1px solid rgba(140,158,214,.12); }
.stat-item i { font-size: 1.1rem; color: #B9AEFF; margin-bottom: 12px; display: inline-block; }
.stat-item h3 {
    font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1;
    background: linear-gradient(135deg, #F2F5FC 30%, #8E98B5);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-item p { color: #8E98B5; font-weight: 600; margin-top: 4px; }

/* CTA band */
.cta-inner {
    max-width: 1160px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 40px 44px;
    border-radius: 24px;
    background:
        radial-gradient(600px 200px at 0% 0%, rgba(138,121,255,.35), transparent 60%),
        radial-gradient(500px 200px at 100% 100%, rgba(57,198,242,.22), transparent 60%),
        #111830;
    border: 1px solid rgba(138,121,255,.3);
}
.cta-inner h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: -0.03em; color: #F2F5FC; }
.cta-inner p { color: #A9B2CC; margin-top: 6px; }

/* footer */
.footer { border-top: 1px solid rgba(140,158,214,.12); margin-top: 24px; padding: 40px 20px 28px; }
.footer-content {
    max-width: 1160px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > i {
    width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #8A79FF 0%, #5C8BFF 55%, #39C6F2 100%); color: #fff;
}
.footer-brand h3 { font-size: 1.05rem; font-weight: 800; color: #E9EDF7; }
.footer-brand p { color: #8E98B5; font-size: .86rem; }
.footer-links { display: flex; gap: 8px; }
.footer-links a {
    width: 40px; height: 40px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #A9B2CC; text-decoration: none;
    background: rgba(140,158,214,.07); border: 1px solid rgba(140,158,214,.15);
    transition: all .2s ease;
}
.footer-links a:hover { color: #fff; border-color: rgba(138,121,255,.5); background: rgba(138,121,255,.18); }
.footer-bottom { max-width: 1160px; margin: 26px auto 0; padding-top: 20px; border-top: 1px solid rgba(140,158,214,.08); color: #5E6886; font-size: .85rem; text-align: center; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .hero { padding: 56px 16px 64px; }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-content { text-align: center; }
    .hero-text { margin: 0 auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
    .mock-card { transform: none; }
    .chip-b { left: -6px; }
    .features-grid, .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .features, .steps, .stats, .cta-band { padding: 48px 16px; }
    .stats .stats-grid { grid-template-columns: 1fr; }
    .stat-item + .stat-item { border-left: 0; border-top: 1px solid rgba(140,158,214,.12); }
    .cta-inner { padding: 28px 22px; text-align: center; justify-content: center; }
    .cta-btn, .ghost-btn { width: 100%; }
    .hero-actions { flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; }
    .float-chip { display: none; }
}

/* DL Dokan logo mark */
.dd-logo-mark{display:block;flex:0 0 auto;border-radius:27%;box-shadow:0 10px 26px -12px rgba(59,255,138,.55);}

/* DL Dokan wordmark */
.dd-brand-text{color:#F2F5FC !important;-webkit-text-fill-color:#F2F5FC;font-weight:800;letter-spacing:-0.02em;}
.dd-brand-text .dd-brand-accent{background:linear-gradient(90deg,#3BFF8A 0%,#2BD99F 50%,#39C6F2 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;}
