:root {
    --home-green: #0f766e;
    --home-green-deep: #064e3b;
    --home-green-dark: #052f2c;
    --home-green-soft: #ecfdf5;
    --home-gold: #d4af37;
    --home-gold-soft: #fff7df;
    --home-ink: #111827;
    --home-muted: #64748b;
    --home-line: rgba(148, 163, 184, .22);
    --home-bg: #f8faf9;
    --home-card: #ffffff;
    --home-radius: 24px;
    --home-shadow: 0 22px 60px rgba(15, 23, 42, .10);
    --home-shadow-soft: 0 14px 34px rgba(15, 23, 42, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.dkk-home-premium {
    margin: 0;
    overflow-x: hidden;
    color: var(--home-ink);
    font-family: Inter, Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 10% 0%, rgba(212, 175, 55, .16), transparent 30%),
        radial-gradient(circle at 90% 0%, rgba(15, 118, 110, .14), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, var(--home-bg) 48%, #ffffff 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.home-wrap { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }

.home-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px);
    transition: box-shadow .22s ease, background .22s ease;
}
.home-nav.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 16px 40px rgba(15, 23, 42, .08); }
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.home-brand { display: inline-flex; align-items: center; min-width: 0; }
.home-brand img, .footer-brand img { width: 210px; height: 68px; object-fit: contain; }
.home-brand strong, .footer-brand strong { color: var(--home-green-deep); font-size: 1.1rem; font-weight: 900; }
.nav-menu { display: flex; align-items: center; gap: .3rem; }
.nav-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .65rem .86rem;
    border-radius: 999px;
    color: #334155;
    font-size: .92rem;
    font-weight: 800;
}
.nav-menu a:hover { background: var(--home-green-soft); color: var(--home-green-deep); }
.nav-menu .nav-cta {
    color: #fff;
    background: linear-gradient(135deg, var(--home-green), var(--home-green-deep));
    box-shadow: 0 12px 28px rgba(15, 118, 110, .18);
}
.nav-menu .nav-cta:hover { color: #fff; transform: translateY(-1px); }
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    background: #fff;
    place-items: center;
    padding: 10px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 3px 0; border-radius: 999px; background: var(--home-green-deep); }

.hero-section { position: relative; padding: 5rem 0 3rem; }
.hero-section::before {
    content: "";
    position: absolute;
    inset: 70px auto auto 50%;
    width: 760px;
    height: 760px;
    max-width: 90vw;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(212, 175, 55, .13), transparent 64%);
    pointer-events: none;
    animation: gradientPulse 8s ease-in-out infinite;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); gap: 3.2rem; align-items: center; }
.section-pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: .5rem .78rem;
    border: 1px solid rgba(212, 175, 55, .36);
    border-radius: 999px;
    color: #8a5e0b;
    background: linear-gradient(135deg, #fff, var(--home-gold-soft));
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}
.section-pill.light { color: #f7d86d; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .12); }
.hero-copy h1 {
    max-width: 760px;
    margin: 1rem 0;
    color: var(--home-ink);
    font-size: 4.2rem;
    line-height: 1.02;
    font-weight: 950;
}
.hero-copy p {
    max-width: 640px;
    margin: 0;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.home-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: .9rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.home-btn:hover { transform: translateY(-2px); }
.home-btn-primary { color: #fff; background: linear-gradient(135deg, var(--home-green), var(--home-green-deep)); box-shadow: 0 18px 40px rgba(15, 118, 110, .22); }
.home-btn-secondary { color: var(--home-green-deep); border-color: rgba(15, 118, 110, .22); background: #fff; box-shadow: var(--home-shadow-soft); }
.home-btn-white { color: var(--home-green-deep); background: #fff; }
.home-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .12); }
.hero-proof { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }
.hero-proof span { padding: .5rem .7rem; border: 1px solid var(--home-line); border-radius: 999px; color: #475569; background: rgba(255, 255, 255, .72); font-size: .84rem; font-weight: 800; }

.hero-visual { position: relative; min-height: 580px; display: grid; place-items: center; }
.hero-orb { position: absolute; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .28); animation: slowOrbit 14s linear infinite; }
.hero-orb.one { width: 440px; height: 440px; }
.hero-orb.two { width: 320px; height: 320px; animation-direction: reverse; animation-duration: 18s; }
.phone-preview {
    position: relative;
    z-index: 2;
    width: min(355px, 88vw);
    min-height: 540px;
    padding: 18px;
    border-radius: 42px;
    color: #fff;
    background: linear-gradient(150deg, #111827, #263244);
    box-shadow: 0 38px 100px rgba(15, 23, 42, .30), inset 0 0 0 1px rgba(255,255,255,.10);
}
.phone-top { width: 110px; height: 16px; margin: 0 auto 14px; border-radius: 999px; background: rgba(255,255,255,.14); }
.invite-preview {
    min-height: 270px;
    display: grid;
    align-content: end;
    gap: .45rem;
    padding: 1.25rem;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(6, 78, 59, .04), rgba(6, 78, 59, .72)),
        radial-gradient(circle at 18% 18%, rgba(212, 175, 55, .54), transparent 34%),
        linear-gradient(135deg, #0f766e, #fff7df 60%, #d4af37);
}
.invite-preview span { width: fit-content; padding: .42rem .65rem; border-radius: 999px; color: #3a2600; background: rgba(255,255,255,.88); font-size: .74rem; font-weight: 950; text-transform: uppercase; }
.invite-preview strong { font-size: 2.15rem; line-height: 1; font-weight: 950; }
.invite-preview small { color: rgba(255,255,255,.82); font-weight: 800; }
.preview-qr-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: .85rem; margin-top: 1rem; padding: .9rem; border-radius: 24px; background: rgba(255,255,255,.94); }
.preview-qr-row i { width: 76px; height: 76px; border: 10px solid #fff; border-radius: 16px; background: linear-gradient(90deg,#111 9px,transparent 9px) 0 0/18px 18px, linear-gradient(#111 9px,transparent 9px) 0 0/18px 18px, #fff; box-shadow: 0 12px 24px rgba(15,23,42,.14); }
.preview-qr-row b { color: var(--home-ink); }
.preview-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1rem; }
.preview-stats div { padding: .9rem; border-radius: 22px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.12); }
.preview-stats strong, .preview-stats span { display: block; }
.preview-stats span { color: rgba(255,255,255,.68); font-size: .8rem; font-weight: 750; }
.floating-card { position: absolute; z-index: 3; min-width: 140px; padding: .85rem 1rem; border: 1px solid rgba(148,163,184,.22); border-radius: 22px; background: rgba(255,255,255,.82); box-shadow: var(--home-shadow-soft); backdrop-filter: blur(16px); animation: floatCard 4.5s ease-in-out infinite; }
.floating-card strong { display: block; color: var(--home-green-deep); font-size: 1.25rem; }
.floating-card span { color: var(--home-muted); font-size: .82rem; font-weight: 800; }
.card-one { left: 0; top: 18%; }
.card-two { right: 0; top: 24%; animation-delay: .6s; }
.card-three { left: 8%; bottom: 16%; animation-delay: 1.1s; }
.card-four { right: 4%; bottom: 12%; animation-delay: 1.6s; }

.stats-section { padding: 1rem 0 2.8rem; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; padding: .85rem; border: 1px solid var(--home-line); border-radius: 28px; background: rgba(255,255,255,.76); box-shadow: var(--home-shadow-soft); }
.stats-grid div { padding: 1rem; border-radius: 20px; background: linear-gradient(180deg, #fff, rgba(255,247,223,.45)); }
.stats-grid strong, .stats-grid span { display: block; }
.stats-grid strong { color: var(--home-ink); }
.stats-grid span { color: var(--home-muted); font-size: .82rem; font-weight: 800; }

.home-section { padding: 4.8rem 0; }
.soft-section { background: linear-gradient(180deg, rgba(236,253,245,.54), rgba(255,247,223,.32)); }
.section-head { margin-bottom: 1.5rem; }
.section-head.center { display: grid; justify-items: center; text-align: center; }
.section-head.split { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-head h2 { max-width: 760px; margin: 1rem 0 .55rem; font-size: 2.75rem; line-height: 1.08; font-weight: 950; }
.section-head p { max-width: 680px; margin: 0; color: #475569; line-height: 1.68; }
.feature-grid, .work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card, .work-card, .step-card, .benefit-card, .pricing-card, .dashboard-preview, .empty-panel {
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: rgba(255,255,255,.90);
    box-shadow: var(--home-shadow-soft);
}
.feature-card { padding: 1.25rem; transition: transform .22s ease, box-shadow .22s ease; }
.feature-card:hover, .work-card:hover, .pricing-card:hover { transform: translateY(-5px); box-shadow: var(--home-shadow); }
.feature-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 17px; color: #332200; background: linear-gradient(135deg, #f7d86d, var(--home-gold)); font-weight: 950; }
.feature-card h3, .step-card h3 { margin: 1rem 0 .45rem; font-size: 1.1rem; font-weight: 950; }
.feature-card p, .step-card p { margin: 0; color: var(--home-muted); line-height: 1.62; }

.work-card { overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.work-media { position: relative; height: 245px; overflow: hidden; background: var(--home-green-deep); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-fallback { height: 100%; display: grid; align-content: end; gap: .45rem; padding: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--home-green-deep), var(--home-green), var(--home-gold)); }
.work-fallback span { font-size: .76rem; font-weight: 950; text-transform: uppercase; }
.work-badge { position: absolute; left: 1rem; top: 1rem; padding: .45rem .7rem; border-radius: 999px; color: #332200; background: linear-gradient(135deg, #f7d86d, var(--home-gold)); font-size: .76rem; font-weight: 950; }
.work-body { padding: 1rem; }
.work-body h3 { margin: 0 0 .65rem; font-size: 1.08rem; font-weight: 950; }
.work-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.work-meta span { padding: .32rem .55rem; border-radius: 999px; color: var(--home-muted); background: #f1f5f9; font-size: .78rem; font-weight: 800; }
.work-body p { margin: .75rem 0 0; color: #475569; font-weight: 800; }
.empty-panel { padding: 2rem; text-align: center; }
.empty-panel strong { display: block; margin-bottom: .4rem; font-size: 1.1rem; }
.empty-panel p { margin: 0; color: var(--home-muted); }

.steps-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.step-card { padding: 1rem; position: relative; overflow: hidden; }
.step-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--home-green), var(--home-gold)); }
.step-card span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--home-green), var(--home-green-deep)); font-weight: 950; }

.preview-section { background: #fff; }
.preview-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr); gap: 2rem; align-items: center; }
.dashboard-preview { padding: 1.25rem; background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,252,.94)); }
.preview-header { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.preview-header strong { font-size: 1.15rem; font-weight: 950; }
.preview-header span { color: var(--home-muted); font-weight: 800; }
.dash-card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .65rem; }
.dash-card-grid div { padding: .85rem; border: 1px solid var(--home-line); border-radius: 18px; background: #fff; }
.dash-card-grid strong, .dash-card-grid span { display: block; }
.dash-card-grid strong { font-size: 1.28rem; }
.dash-card-grid span { color: var(--home-muted); font-size: .78rem; font-weight: 800; }
.progress-list { display: grid; gap: .65rem; margin-top: 1rem; }
.progress-list span { height: 12px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.progress-list b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--home-green), var(--home-gold)); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.benefit-card { display: flex; align-items: center; gap: .75rem; padding: 1rem; color: #334155; font-weight: 900; }
.benefit-card span { width: 12px; height: 12px; border-radius: 999px; background: var(--home-green); box-shadow: 0 0 0 6px rgba(15, 118, 110, .10); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pricing-card { padding: 1.2rem; transition: transform .22s ease, box-shadow .22s ease; }
.pricing-card.is-featured { color: #fff; background: linear-gradient(180deg, var(--home-green-deep), var(--home-green)); transform: translateY(-8px); }
.pricing-card span { color: #8a5e0b; font-size: .78rem; font-weight: 950; text-transform: uppercase; }
.pricing-card.is-featured span { color: #f7d86d; }
.pricing-card strong { display: block; margin: .75rem 0 .35rem; font-size: 1.5rem; }
.pricing-card p { margin: 0; color: var(--home-muted); font-weight: 800; }
.pricing-card.is-featured p { color: rgba(255,255,255,.76); }
.pricing-note { margin-top: 1rem; padding: 1rem; border: 1px dashed rgba(212,175,55,.40); border-radius: 20px; color: #71510f; background: var(--home-gold-soft); }

.final-cta { padding: 4.5rem 0; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2rem; border-radius: 34px; color: #fff; background: radial-gradient(circle at right, rgba(212,175,55,.28), transparent 40%), linear-gradient(135deg, var(--home-green-dark), var(--home-green)); box-shadow: 0 30px 90px rgba(6, 78, 59, .24); }
.final-cta h2 { max-width: 720px; margin: .9rem 0 .55rem; font-size: 2.35rem; line-height: 1.08; font-weight: 950; }
.final-cta p { max-width: 660px; margin: 0; color: rgba(255,255,255,.76); line-height: 1.65; }
.final-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }

.home-footer { padding: 3rem 0 1.3rem; border-top: 1px solid var(--home-line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr; gap: 2rem; }
.footer-brand { display: inline-flex; margin-bottom: .8rem; }
.home-footer h3 { margin: 0 0 .8rem; font-size: .95rem; font-weight: 950; }
.home-footer p, .home-footer a { display: block; margin: .4rem 0; color: #64748b; line-height: 1.6; }
.home-footer a:hover { color: var(--home-green-deep); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #eef2f7; color: #64748b; font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(18px); animation: fadeUp .75s ease forwards; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .22s; }
.delay-3 { animation-delay: .32s; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes slowOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes gradientPulse { 0%,100% { opacity: .7; transform: translateX(-50%) scale(.96); } 50% { opacity: 1; transform: translateX(-50%) scale(1.04); } }

@media (max-width: 1100px) {
    .hero-grid, .preview-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 540px; }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .dash-card-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav-toggle { display: grid; }
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 16px;
        right: 16px;
        display: none;
        grid-template-columns: 1fr;
        padding: .75rem;
        border: 1px solid var(--home-line);
        border-radius: 24px;
        background: rgba(255,255,255,.97);
        box-shadow: var(--home-shadow);
    }
    .home-nav.is-open .nav-menu { display: grid; }
    .nav-menu a { justify-content: flex-start; }
    .nav-menu .nav-cta { justify-content: center; }
    .hero-copy h1 { font-size: 3rem; }
    .section-head h2 { font-size: 2.15rem; }
    .feature-grid, .work-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .section-head.split, .final-cta-inner { display: grid; }
    .final-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
    .home-wrap { width: min(100% - 22px, 1160px); }
    .home-brand img, .footer-brand img { width: 170px; height: 56px; }
    .hero-section { padding: 3.2rem 0 2rem; }
    .hero-copy h1 { font-size: 2.34rem; }
    .hero-copy p { font-size: .98rem; }
    .hero-actions .home-btn, .final-actions .home-btn { width: 100%; }
    .hero-visual { min-height: 460px; }
    .phone-preview { min-height: 470px; }
    .floating-card { min-width: 118px; padding: .7rem .8rem; }
    .card-one { left: 0; top: 12%; }
    .card-two { right: 0; top: 30%; }
    .card-three { left: 0; bottom: 18%; }
    .card-four { right: 0; bottom: 8%; }
    .home-section { padding: 3.2rem 0; }
    .feature-grid, .work-grid, .benefit-grid, .pricing-grid, .steps-grid, .footer-grid, .dash-card-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .work-media { height: 220px; }
    .final-cta-inner { padding: 1.2rem; border-radius: 26px; }
    .final-cta h2 { font-size: 1.75rem; }
    .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
