/* ============================================================
   QURAN APP LANDING PAGE – style.css
   Design system: Minimal, Clean, Soft Islamic aesthetic
   Language: Arabic (RTL)
   Author: Generated per Page_Emplementaion.md spec
   ============================================================ */

/* ──────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (Design Tokens)
────────────────────────────────────────────── */
:root {
    /* Colors */
    --color-primary: #0FB9B1;
    --color-primary-dark: #0E7C86;
    --color-bg-light: #F2FAFA;
    --color-white: #FFFFFF;
    --color-text-dark: #1F2937;
    --color-text-muted: #6B7280;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #0FB9B1 0%, #0E7C86 100%);

    /* Typography */
    --font-family: 'Cairo', sans-serif;
    --fw-regular: 400;
    --fw-semibold: 600;
    --fw-bold: 700;

    --fs-h1: clamp(2rem, 5vw, 3rem);
    --fs-h2: clamp(1.6rem, 3.5vw, 2.1rem);
    --fs-h3: clamp(1.1rem, 2vw, 1.35rem);
    --fs-body: clamp(0.95rem, 1.5vw, 1.1rem);
    --fs-small: 0.875rem;

    /* Border Radius */
    --radius-card: 20px;
    --radius-btn: 14px;
    --radius-section: 30px;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 16px 48px rgba(0, 0, 0, 0.10);
    --shadow-card: 0 8px 24px rgba(15, 185, 177, 0.12);

    /* Spacing */
    --section-py: 100px;
    --card-p: 24px;
    --grid-gap: 32px;

    /* Transitions */
    --transition: 0.3s ease;

    /* Surface colors (light mode) */
    --surface-bg: var(--color-white);
    --surface-soft: var(--color-bg-light);
    --surface-text: var(--color-text-dark);
    --surface-muted: var(--color-text-muted);
    --surface-border: rgba(15, 185, 177, 0.15);
    --surface-card-bg: var(--color-white);
    --nav-icon-color: var(--color-white);
}

/* Dark Mode Tokens */
[data-theme="dark"] {
    --color-bg-light: #0f1a1a;
    --color-white: #1a2a2a;
    --color-text-dark: #e8f5f5;
    --color-text-muted: #9ab5b5;

    --surface-bg: #132020;
    --surface-soft: #0f1a1a;
    --surface-text: #e8f5f5;
    --surface-muted: #9ab5b5;
    --surface-border: rgba(15, 185, 177, 0.25);
    --surface-card-bg: #1a2e2e;
    --nav-icon-color: var(--color-primary);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-card: 0 8px 24px rgba(15, 185, 177, 0.18);
}

/* ──────────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: var(--fw-regular);
    font-size: var(--fs-body);
    color: var(--surface-text);
    background-color: var(--surface-bg);
    direction: rtl;
    text-align: right;
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition), opacity var(--transition);
}

ul {
    list-style: none;
}

/* ──────────────────────────────────────────────
   3. ISLAMIC GEOMETRIC PATTERN (SVG background)
────────────────────────────────────────────── */
.pattern-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.6' opacity='0.18'%3E%3Cpolygon points='30,5 55,20 55,40 30,55 5,40 5,20'/%3E%3Cpolygon points='30,12 48,22 48,38 30,48 12,38 12,22'/%3E%3Cline x1='30' y1='5' x2='30' y2='55'/%3E%3Cline x1='5' y1='20' x2='55' y2='40'/%3E%3Cline x1='5' y1='40' x2='55' y2='20'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
    z-index: 0;
}

/* ──────────────────────────────────────────────
   4. SCROLL PROGRESS BAR
────────────────────────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ──────────────────────────────────────────────
   5. DARK MODE TOGGLE
────────────────────────────────────────────── */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--surface-card-bg);
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: opacity var(--transition), transform var(--transition);
}

.icon-sun {
    opacity: 1;
    transform: rotate(0deg);
}

.icon-moon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .icon-sun {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .icon-moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* ──────────────────────────────────────────────
   6. LAYOUT UTILITIES
────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.section-white {
    background-color: var(--surface-bg);
}

.section-soft {
    background-color: var(--surface-soft);
}

.section-gradient {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--surface-text);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: var(--fs-body);
    color: var(--surface-muted);
    max-width: 540px;
    margin-inline: auto;
}

/* ──────────────────────────────────────────────
   7. SCROLL ANIMATIONS
────────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children inside grids */
.features__grid .fade-up:nth-child(1) {
    transition-delay: 0.05s;
}

.features__grid .fade-up:nth-child(2) {
    transition-delay: 0.10s;
}

.features__grid .fade-up:nth-child(3) {
    transition-delay: 0.15s;
}

.features__grid .fade-up:nth-child(4) {
    transition-delay: 0.20s;
}

.features__grid .fade-up:nth-child(5) {
    transition-delay: 0.25s;
}

.features__grid .fade-up:nth-child(6) {
    transition-delay: 0.30s;
}

.why__list .fade-up:nth-child(1) {
    transition-delay: 0.05s;
}

.why__list .fade-up:nth-child(2) {
    transition-delay: 0.12s;
}

.why__list .fade-up:nth-child(3) {
    transition-delay: 0.19s;
}

.why__list .fade-up:nth-child(4) {
    transition-delay: 0.26s;
}

/* Reduced motion: skip animations */
@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .scroll-progress {
        display: none;
    }

    .hero__mockup-frame {
        animation: none;
    }
}

/* ──────────────────────────────────────────────
   8. BUTTONS
────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-family);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-body);
    border-radius: var(--radius-btn);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 13px 28px;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn:active {
    transform: translateY(-1px);
}

/* Primary solid */
.btn--primary {
    background: var(--color-white);
    color: var(--color-primary-dark);
}

.btn--primary:hover {
    background: var(--color-bg-light);
}

/* Secondary outlined */
.btn--secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* White (for CTA on gradient) */
.btn--white {
    background: var(--color-white);
    color: var(--color-primary-dark);
    font-size: 1.05rem;
}

.btn--white:hover {
    background: var(--color-bg-light);
}

/* Outline white */
.btn--outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
    font-size: 1.05rem;
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Size: large */
.btn--large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* Size: extra-large */
.btn--xl {
    padding: 18px 42px;
    font-size: 1.15rem;
    border-radius: 16px;
}

.btn__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   9. HERO SECTION
────────────────────────────────────────────── */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 80px 0;
    position: relative;
}

/* Radial glow center overlay */
.hero__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    align-items: center;
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
}

/* Right column: Text */
.hero__content {
    color: var(--color-white);
}

.hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
}

.hero__title {
    font-size: var(--fs-h1);
    font-weight: var(--fw-bold);
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero__subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero__subtitle strong {
    color: var(--color-white);
    font-weight: var(--fw-semibold);
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.store-actions {
    width: min(100%, 560px);
    direction: ltr;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 10px;
    border-radius: 22px;
    /* background: rgba(8, 83, 92, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(7px); */
}

.store-actions__google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 70px;
    border-radius: 14px;
    transition: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.store-actions__google img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-actions__direct {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    direction: ltr;
    width: 210px;
    height: 70px;
    border-radius: 18px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #22d3db 0%, #1094a4 54%, #0d7d8f 100%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #ffffff;
    font-weight: var(--fw-bold);
    font-size: 1.12rem;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(5, 66, 74, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.store-actions__direct span {
    direction: rtl;
    line-height: 1;
}

.store-actions__direct svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-actions__direct:hover {
    transform: translateY(-2px) scale(1.07);
    filter: saturate(1.06);
    box-shadow: 0 14px 28px rgba(5, 66, 74, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.store-actions__direct:active {
    transform: translateY(-1px) scale(1.1);
}

.store-actions__direct:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 3px;
}

/* Left column: Mockup */
.hero__mockup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero__mockup-frame {
    position: relative;
    width: min(280px, 80%);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.28));
    animation: floatMockup 4s ease-in-out infinite;
    border-radius: 32px;
    overflow: hidden;
    /* Smoothly lag behind scroll — creates slow, gentle parallax feel */
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__mockup-img {
    width: 100%;
    border-radius: 32px;
    display: block;
}

@keyframes floatMockup {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-14px) rotate(0.5deg);
    }
}

/* Wave divider */
.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 1;
}

.hero__wave svg {
    width: 100%;
    height: 90px;
}

/* ──────────────────────────────────────────────
   10. FEATURES SECTION
────────────────────────────────────────────── */
.features {
    padding-block: var(--section-py);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
}

.feature-card {
    background: var(--surface-card-bg);
    border-radius: var(--radius-card);
    padding: var(--card-p);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--surface-border);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.feature-card__icon-wrap {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(15, 185, 177, 0.12), rgba(14, 124, 134, 0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card__icon {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

.feature-card__title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--surface-text);
}

.feature-card__desc {
    font-size: var(--fs-small);
    color: var(--surface-muted);
    line-height: 1.6;
}

/* ──────────────────────────────────────────────
   11. APP SCREENS SECTION
────────────────────────────────────────────── */
.screens {
    padding-block: var(--section-py);
    overflow: hidden;
}

.screens__slider-wrapper {
    position: relative;
    margin-top: 10px;
    /* Limit viewport so only ~3 slides are visible at once */
    max-width: 820px;
    margin-inline: auto;
}

.screens__slider {
    overflow: hidden;
    padding: 24px 0 40px;
    position: relative;
    /* Force LTR so translateX math is consistent in RTL pages */
    direction: ltr;
    cursor: grab;
    /* Fade out edges for a polished look */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.screens__slider:active {
    cursor: grabbing;
}

.screens__track {
    display: flex;
    gap: 24px;
    padding-inline: 40px;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
}

.screens__slide {
    flex: 0 0 auto;
    width: 220px;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition), box-shadow var(--transition);
}

.screens__slide:hover {
    transform: translateY(-6px) scale(1.02);
}

.screens__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dots */
.screens__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.screens__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--surface-border);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    padding: 0;
}

.screens__dot.active {
    background: var(--color-primary);
    transform: scale(1.35);
}

/* Nav buttons */
.screens__nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.screens__nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--surface-border);
    background: var(--surface-card-bg);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.screens__nav-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.screens__nav-btn svg {
    width: 18px;
    height: 18px;
}

/* ──────────────────────────────────────────────
   12. WHY CHOOSE US SECTION
────────────────────────────────────────────── */
.why {
    padding-block: var(--section-py);
}

.why__list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 680px;
    margin-inline: auto;
}

.why__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--surface-card-bg);
    border-radius: var(--radius-card);
    padding: 24px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--surface-border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.why__item:hover {
    transform: translateX(-6px);
    box-shadow: var(--shadow-card);
}

.why__check {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 185, 177, 0.35);
}

.why__check svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.why__text {
    flex: 1;
}

.why__item-title {
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--surface-text);
    margin-bottom: 6px;
}

.why__item-desc {
    font-size: var(--fs-small);
    color: var(--surface-muted);
    line-height: 1.6;
}

/* ──────────────────────────────────────────────
   13. DOWNLOAD CTA SECTION
────────────────────────────────────────────── */
.cta {
    padding-block: var(--section-py);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.cta__logo img {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

.cta__title {
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    max-width: 540px;
    line-height: 1.3;
}

.cta__subtitle {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    line-height: 1.7;
}

.cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 8px;
}

/* QR code */
.cta__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.cta__qr-box {
    background: var(--color-white);
    padding: 12px;
    border-radius: 14px;
    box-shadow: var(--shadow-medium);
    line-height: 0;
    /* collapse whitespace around the generated img/canvas */
}

/* qrcodejs generates an img or canvas – both need consistent sizing */
#qrcode img,
#qrcode canvas {
    display: block;
    border-radius: 6px;
}

.cta__qr-label {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.75);
    font-weight: var(--fw-semibold);
}

/* ──────────────────────────────────────────────
   14. FOOTER
────────────────────────────────────────────── */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.82);
    padding-block: 52px;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer__logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.footer__tagline {
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    color: rgba(255, 255, 255, 0.80);
    letter-spacing: 0.01em;
}

.footer__social {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.footer__social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.82);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

.footer__social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer__copy {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.42);
    margin-top: 4px;
}

/* ──────────────────────────────────────────────
   15. FLOATING DOWNLOAD BUTTON
────────────────────────────────────────────── */
.floating-cta {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-family: var(--font-family);
    font-weight: var(--fw-semibold);
    font-size: 0.9rem;
    padding: 13px 22px;
    border-radius: 100px;
    box-shadow: 0 8px 28px rgba(15, 185, 177, 0.45);
    white-space: nowrap;
    /* Initially hidden */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta:hover {
    box-shadow: 0 12px 36px rgba(15, 185, 177, 0.6);
    transform: translateY(-3px);
}

.floating-cta .btn__icon {
    width: 20px;
    height: 20px;
}

/* ──────────────────────────────────────────────
   16. RESPONSIVE – TABLET (≤ 900px)
────────────────────────────────────────────── */
@media (max-width: 900px) {
    :root {
        --section-py: 72px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 80px;
    }

    .hero__content {
        order: 1;
    }

    .hero__ctas {
        justify-content: center;
    }

    .store-actions {
        margin-inline: auto;
        justify-content: center;
    }

    .hero__mockup-wrapper {
        order: 2;
    }

    .hero__badge {
        margin-inline: auto;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ──────────────────────────────────────────────
   17. RESPONSIVE – MOBILE (≤ 580px)
────────────────────────────────────────────── */
@media (max-width: 580px) {
    :root {
        --section-py: 56px;
        --grid-gap: 20px;
    }

    .hero {
        padding-top: 60px;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .screens__slide {
        width: 180px;
    }

    .why__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-actions {
        direction: rtl;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .store-actions__google,
    .store-actions__direct {
        width: 192px;
        height: 64px;
    }

    .store-actions__google img {
        width: 100%;
        height: 100%;
    }

    .store-actions__direct {
        font-size: 1.05rem;
        border-radius: 14px;
    }

    .store-actions__direct svg {
        width: 22px;
        height: 22px;
    }

    .dark-mode-toggle {
        top: 12px;
        left: 12px;
    }

    .floating-cta {
        left: 16px;
        bottom: 16px;
        padding: 11px 18px;
        font-size: 0.82rem;
    }
}