:root {
    --rose: #f43f5e;
    --rose-deep: #e11d48;
    --rose-light: #fff1f2;
    --rose-surface: #ffe4e6;
    --bloom-bg: #fafafa;
    --bloom-surface: #ffffff;
    --bloom-text: #0f172a;
    --bloom-text-body: #334155;
    --bloom-text-muted: #94a3b8;
    --bloom-border: #e2e8f0;
    --bloom-border-light: #f1f5f9;
}

.dark {
    --rose: #fb7185;
    --rose-deep: #f43f5e;
    --rose-light: rgba(251,113,133,0.12);
    --rose-surface: rgba(251,113,133,0.08);
    --bloom-bg: #0c0f1a;
    --bloom-surface: #151929;
    --bloom-text: #ffffff;
    --bloom-text-body: #e2e8f0;
    --bloom-text-muted: #94a3b8;
    --bloom-border: #1f2640;
    --bloom-border-light: #1f2640;
}

.bloom-app-page {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.bloom-ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bloom-ambient-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    will-change: transform;
    animation: bloomAmbientDrift 25s ease-in-out infinite;
}

.bloom-ambient-circle.rose {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
    top: -8%;
    right: -5%;
}

.bloom-ambient-circle.amber {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    bottom: -8%;
    left: -5%;
    animation-delay: -12s;
}

.dark .bloom-ambient-circle {
    opacity: 0.07;
}

.bloom-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 48px;
    position: relative;
    z-index: 1;
}

.bloom-hero-inner {
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 64px;
}

.bloom-hero-text {
    flex: 1 1 50%;
    min-width: 0;
    animation: bloomFadeUp 0.7s ease both;
}

.bloom-hero-phone {
    flex-shrink: 0;
    animation: bloomFadeUp 0.7s ease 0.15s both;
}

.bloom-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rose-light);
    border: 1px solid var(--rose-surface);
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rose);
    margin-bottom: 28px;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.bloom-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: bloomPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.bloom-hero-title {
    font-size: 44px;
    font-weight: 900;
    color: var(--bloom-text);
    line-height: 1.35;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.bloom-gradient-text {
    background: linear-gradient(135deg, var(--rose) 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bloom-hero-desc {
    font-size: 16px;
    line-height: 1.9;
    color: var(--bloom-text-body);
    margin-bottom: 36px;
    max-width: 500px;
    transition: color 0.3s;
}

.bloom-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--rose);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px 36px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(244, 63, 94, 0.25);
}

.bloom-btn-download:hover {
    background: var(--rose-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(244, 63, 94, 0.35);
}

.bloom-btn-download:active {
    transform: translateY(0);
}

.bloom-btn-download svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.bloom-phone-frame {
    width: 280px;
    background: #1a1f36;
    border-radius: 36px;
    padding: 10px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.04);
    transition: background 0.4s, box-shadow 0.4s;
}

.dark .bloom-phone-frame {
    background: #10152a;
    box-shadow: 0 50px 100px rgba(0,0,0,0.35), 0 0 0 1px rgba(251,113,133,0.06);
}

.bloom-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 26px;
    background: #1a1f36;
    border-radius: 0 0 14px 14px;
    z-index: 10;
    transition: background 0.4s;
}

.dark .bloom-phone-notch {
    background: #10152a;
}

.bloom-phone-screen {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    transition: background 0.4s;
}

.dark .bloom-phone-screen {
    background: #151929;
}

.bloom-phone-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.dark .bloom-phone-status {
    color: #94a3b8;
}

.bloom-phone-status-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.bloom-phone-status-icons svg {
    width: 14px;
    height: 14px;
}

.bloom-phone-header {
    padding: 6px 18px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bloom-phone-app-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--rose), #ec4899);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 17px;
    flex-shrink: 0;
}

.bloom-phone-app-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.bloom-phone-app-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--bloom-text);
    transition: color 0.3s;
}

.bloom-phone-app-subtitle {
    font-size: 10px;
    color: var(--bloom-text-muted);
    transition: color 0.3s;
}

.bloom-phone-products {
    padding: 4px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.bloom-phone-product {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 10px;
    transition: background 0.3s;
}

.dark .bloom-phone-product {
    background: #1a1f36;
}

.bloom-phone-product-color {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    flex-shrink: 0;
}

.bloom-phone-product-info {
    flex: 1;
    min-width: 0;
}

.bloom-phone-product-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--bloom-text);
    display: block;
    transition: color 0.3s;
}

.bloom-phone-product-price {
    font-size: 10px;
    color: var(--rose);
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

.bloom-phone-product-add {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--rose-light);
    color: var(--rose);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.bloom-phone-product-add:hover {
    background: var(--rose);
    color: #fff;
}

.bloom-phone-bottom-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 16px;
}

.bloom-phone-nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
}

.bloom-phone-nav-dot.active {
    width: 20px;
    border-radius: 4px;
    background: var(--rose);
}

.dark .bloom-phone-nav-dot:not(.active) {
    background: #2d3555;
}

.bloom-app-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 28px 40px;
    border-top: 1px solid var(--bloom-border-light);
    font-size: 13px;
    color: var(--bloom-text-muted);
    transition: border-color 0.3s, color 0.3s;
}

.bloom-app-footer a {
    color: var(--rose);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.bloom-app-footer a:hover {
    opacity: 0.75;
}

@keyframes bloomFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bloomPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.3; transform: scale(0.85); }
}

@keyframes bloomAmbientDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(25px, -20px) scale(1.03); }
    50%      { transform: translate(-15px, 25px) scale(0.97); }
    75%      { transform: translate(20px, 15px) scale(1.02); }
}

@media (max-width: 900px) {
    .bloom-hero {
        padding: 60px 24px;
        min-height: auto;
    }

    .bloom-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .bloom-hero-title {
        font-size: 32px;
    }

    .bloom-hero-desc {
        max-width: 100%;
        margin-inline: auto;
    }

    .bloom-phone-frame {
        width: 240px;
    }

    .bloom-phone-screen {
        min-height: 440px;
    }
}

@media (max-width: 520px) {
    .bloom-hero {
        padding: 40px 16px;
    }

    .bloom-hero-inner {
        gap: 32px;
    }

    .bloom-hero-title {
        font-size: 26px;
        line-height: 1.4;
    }

    .bloom-hero-desc {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 28px;
    }

    .bloom-badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 20px;
    }

    .bloom-btn-download {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }

    .bloom-phone-frame {
        width: 200px;
    }

    .bloom-phone-screen {
        min-height: 360px;
    }

    .bloom-phone-notch {
        width: 60px;
        height: 20px;
        border-radius: 0 0 10px 10px;
    }

    .bloom-phone-status {
        padding: 10px 16px 8px;
        font-size: 9px;
    }

    .bloom-phone-status-icons svg {
        width: 12px;
        height: 12px;
    }

    .bloom-phone-header {
        padding: 4px 14px 10px;
    }

    .bloom-phone-app-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
        border-radius: 8px;
    }

    .bloom-phone-app-title {
        font-size: 11px;
    }

    .bloom-phone-app-subtitle {
        font-size: 8px;
    }

    .bloom-phone-products {
        padding: 2px 10px;
        gap: 6px;
    }

    .bloom-phone-product {
        padding: 8px;
        gap: 8px;
        border-radius: 8px;
    }

    .bloom-phone-product-color {
        width: 30px;
        height: 30px;
        border-radius: 7px;
    }

    .bloom-phone-product-name {
        font-size: 10px;
    }

    .bloom-phone-product-price {
        font-size: 9px;
    }

    .bloom-phone-product-add {
        width: 22px;
        height: 22px;
        font-size: 14px;
        border-radius: 6px;
    }

    .bloom-phone-bottom-nav {
        padding: 12px;
        gap: 5px;
    }

    .bloom-phone-nav-dot {
        width: 5px;
        height: 5px;
    }

    .bloom-phone-nav-dot.active {
        width: 16px;
    }

    .bloom-app-footer {
        padding: 20px 16px;
        font-size: 12px;
    }
}
