/* ===== DK COMMUNITY — APP INSTALL PAGE ===== */

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

:root {
    --cream: #FAF6EF;
    --cream-warm: #F5EDE0;
    --text: #1A1A1A;
    --text-muted: #6B5D4F;
    --text-soft: #8B7A6B;
    --accent: #B45309;
    --accent-hover: #92400E;
    --highlight: #D97706;
    --border: #E8DCC8;
}

body {
    font-family: 'Mukta', 'Segoe UI', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.dl-nav {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 246, 239, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.dl-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
}

.dl-brand-icon {
    font-size: 1.2rem;
}

.dl-back {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== HERO ===== */
.dl-hero {
    padding: 3rem 1.5rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
    position: relative;
    overflow: hidden;
}

.dl-hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.dl-hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dl-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.dl-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.dl-hero-title {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text);
}

.dl-hero-title span {
    color: var(--accent);
    font-style: italic;
}

.dl-hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 2rem;
}

/* ===== PHONE MOCKUP ===== */
.dl-phone-wrap {
    margin: 2rem auto;
    max-width: 260px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.dl-phone {
    background: #1A1A1A;
    border-radius: 32px;
    padding: 10px;
    box-shadow: 
        0 20px 60px rgba(139, 94, 52, 0.25),
        0 0 0 2px rgba(180, 83, 9, 0.1),
        inset 0 0 20px rgba(0,0,0,0.3);
    position: relative;
}

.dl-phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 18px;
    background: #000;
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

.dl-phone-screen {
    background: var(--cream);
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 9 / 19;
    display: flex;
    flex-direction: column;
}

.dl-screen-header {
    background: var(--accent);
    color: #fff;
    padding: 1.8rem 0.8rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

.dl-screen-body {
    flex: 1;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    overflow: hidden;
}

.dl-screen-card {
    background: #fff;
    border-radius: 6px;
    height: 22%;
    border-left: 2px solid var(--accent);
}

.dl-screen-card.small {
    height: 12%;
    background: var(--cream-warm);
}

.dl-screen-nav {
    background: #fff;
    padding: 0.5rem;
    display: flex;
    justify-content: space-around;
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

/* ===== INSTALL BUTTON ===== */
.dl-install-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.3);
    border: 2px solid var(--accent);
}

.dl-install-btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(180, 83, 9, 0.4);
}

.dl-install-btn i {
    font-size: 1rem;
}

.dl-install-note {
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-top: 1rem;
    font-style: italic;
}

/* ===== TRUST BADGES ===== */
.dl-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.dl-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-soft);
    font-weight: 600;
}

.dl-trust-item i {
    font-size: 1.2rem;
    color: var(--accent);
}

/* ===== FEATURES ===== */
.dl-features {
    padding: 4rem 1.5rem;
    background: #fff;
}

.dl-features h2 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text);
    font-weight: 400;
}

.dl-features-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.dl-feature {
    background: var(--cream);
    padding: 1.8rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    transition: 0.3s;
}

.dl-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(139, 94, 52, 0.1);
    border-color: var(--accent);
}

.dl-feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0.7rem;
}

.dl-feature h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.dl-feature p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== HOW TO INSTALL ===== */
.dl-how {
    padding: 4rem 1.5rem;
    background: var(--cream-warm);
}

.dl-how h2 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text);
    font-weight: 400;
}

.dl-steps {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dl-step {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.dl-step-num {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.25);
}

.dl-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.dl-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== iOS NOTE ===== */
.dl-ios-note {
    max-width: 500px;
    margin: 3rem auto 0;
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
}

.dl-ios-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.dl-ios-note h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.dl-ios-note p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.9;
    text-align: left;
}

/* ===== CTA ===== */
.dl-cta {
    padding: 4rem 1.5rem;
    text-align: center;
    background: var(--text);
    color: #fff;
}

.dl-cta h2 {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.dl-cta p {
    color: #a5a5a5;
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.dl-footer {
    padding: 2rem 1.5rem;
    text-align: center;
    background: #0a0a0a;
    color: #7c7c7c;
    font-size: 0.82rem;
    line-height: 1.8;
}

.dl-footer strong {
    color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .dl-hero {
        padding: 2rem 1rem 3rem;
    }
    .dl-phone-wrap {
        max-width: 220px;
    }
    .dl-install-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
    }
    .dl-trust {
        gap: 1rem;
    }
    .dl-features, .dl-how {
        padding: 3rem 1rem;
    }
    .dl-features-grid, .dl-steps {
        grid-template-columns: 1fr;
    }
}