/* PhoneSender Hebrew landing — clean professional standalone styles */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg: #ffffff;
    --bg-soft: #f6f9fc;
    --bg-band: #f1f5fb;
    --card: #ffffff;
    --border: #e4ebf3;
    --border-strong: #d3dde9;
    --text: #0b1530;
    --text-dim: #475569;
    --muted: #64748b;
    --brand: #1e63d8;
    --brand-dark: #154dab;
    --brand-soft: #e8f0fd;
    --accent: #0ea5b7;
    --shadow-sm: 0 1px 2px rgba(15,30,60,0.04), 0 1px 1px rgba(15,30,60,0.03);
    --shadow-md: 0 12px 32px -16px rgba(15,30,60,0.15), 0 4px 12px -6px rgba(15,30,60,0.06);
    --shadow-lg: 0 30px 60px -30px rgba(15,30,60,0.25), 0 10px 24px -12px rgba(15,30,60,0.10);
    --radius: 10px;
    --radius-lg: 16px;
    --maxw: 1080px;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Heebo', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 20px;
    line-height: 1.6;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Top nav ===== */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 14px 0;
}

.nav-inner .brand { justify-self: start; }
.nav-inner .nav-links { justify-self: center; }
.nav-inner .nav-cta { justify-self: end; }

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
}

.brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover { color: var(--text); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.15s, border-color 0.15s, transform 0.05s;
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--brand);
    color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-lg { padding: 14px 26px; font-size: 1rem; }

/* ===== Hero ===== */
.hero {
    padding: 80px 0 64px;
    background:
        radial-gradient(1100px 600px at 80% -10%, rgba(30,99,216,0.10), transparent 60%),
        radial-gradient(900px 500px at -10% 0%, rgba(14,165,183,0.10), transparent 60%),
        var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 5px 12px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.hero h1 .accent { color: var(--brand); }

.hero-title-3 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-title-3 span {
    display: block;
    white-space: nowrap;
}

.hero .lead {
    margin: 0 0 28px;
    font-size: 1.12rem;
    color: var(--text-dim);
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 0.92rem;
}
.hero-mini span::before { content: "•"; color: var(--brand); margin-left: 8px; font-weight: 700; }
.hero-mini span:first-child::before { content: ""; margin: 0; }

/* Phone visual */
.phone-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.phone-card::before { content: none; }

.phone-card h4 {
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 500;
    direction: ltr;
    text-align: left;
    font-family: 'Fira Code', 'Consolas', monospace;
}

.code-wrap {
    position: relative;
}
.code-block {
    background: #0b1530;
    color: #d1e3ff;
    padding: 40px 20px 18px 20px;
    border-radius: 10px;
    direction: ltr;
    text-align: left;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.08);
    color: #d1e3ff;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    direction: rtl;
    transition: background 0.15s, color 0.15s;
}
.copy-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.copy-btn.copied { background: #15803d; color: #fff; border-color: #15803d; }
.code-block .k { color: #7fb1ff; }
.code-block .s { color: #9ee493; }
.code-block .c { color: #6b7e9e; }

.channel-row {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.phone-illu, .phone-illu-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 420px;
    margin: 0 auto;
    background: transparent;
}
.phone-illu-img {
    filter: none;
    box-shadow: none;
    border: none;
}
.phone-illu-caption {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-top: 14px;
    font-weight: 500;
}

.visual-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    padding: 8px 0;
}
.visual-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text);
    width: 100%;
    justify-content: center;
}
.visual-icon { font-size: 1.6rem; }
.visual-arrow {
    color: var(--brand);
    font-weight: 600;
    font-size: 0.95rem;
}
.visual-channels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.chip {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 500;
}
.chip strong { color: var(--brand); }

/* ===== Sections ===== */
section {
    padding: 72px 0;
}

section.alt { background: var(--bg-soft); }

.section-head {
    text-align: center;
    margin-bottom: 44px;
}

.section-head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-head p {
    margin: 0 auto;
    max-width: 560px;
    color: var(--text-dim);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.feature h3 {
    margin: 0 0 6px;
    font-size: 1.08rem;
    font-weight: 600;
}

.feature p {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.96rem;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}

.steps-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin: 0 auto;
}

.step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -16px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px -4px rgba(30,99,216,0.5);
}
.step h3 { margin: 6px 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-dim); font-size: 0.95rem; }

/* Intro band */
.intro-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.intro-card h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    color: var(--brand-dark);
}
.intro-card p {
    margin: 0 0 14px;
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: start;
}
.intro-card p:last-child { margin-bottom: 0; }

/* Use cases */
.cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.case {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.case-icon {
    font-size: 1.6rem;
    flex: 0 0 auto;
    background: var(--brand-soft);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.case h3 { margin: 0 0 4px; font-size: 1rem; }
.case p { margin: 0; color: var(--text-dim); font-size: 0.92rem; line-height: 1.5; }

@media (max-width: 920px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }

/* Private area dashboard grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.dash-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s;
}
.dash-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.dash-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--brand-soft);
    border-radius: 12px;
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.dash-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.dash-card p { margin: 0; color: var(--text-dim); font-size: 0.94rem; line-height: 1.55; }
.dash-card p code {
    background: var(--brand-soft, #eef2ff);
    color: var(--brand, #4f46e5);
    padding: 0 5px;
    border-radius: 4px;
    font-size: 0.86em;
    direction: ltr;
    display: inline-block;
}

.dash-card-spotlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--brand, #6366f1), #4f46e5);
    color: #fff;
    border: none;
}
.dash-card-spotlight .dash-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.dash-card-spotlight h3 { color: #fff; font-size: 1.2rem; }
.dash-card-spotlight p { color: rgba(255, 255, 255, 0.92); font-size: 1rem; }

@media (max-width: 920px) { .dashboard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dashboard-grid { grid-template-columns: 1fr; } }

/* Examples (per-channel code) */
.examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.example {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}
.example-wide { grid-column: 1 / -1; }
.example-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.example-tag {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--brand-dark);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}
.example-tag-accent {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
}
.example-sub {
    color: var(--text-dim);
    font-size: 0.9rem;
}
.example .code-block {
    font-size: 0.82rem;
    padding: 14px 16px;
    margin: 0;
}

/* Pricing */
.price-wrap {
    display: flex;
    justify-content: center;
}

.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 36px 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-md);
    position: relative;
    text-align: center;
}

.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--brand), var(--accent)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.price-name {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-badge {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--brand-soft), #e6fafe);
    color: var(--brand-dark);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}
.price-amount .cur {
    font-size: 1.6rem;
    color: var(--brand);
    vertical-align: top;
    font-weight: 700;
    margin-left: 4px;
}
.price-amount .per {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 500;
    margin-right: 4px;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 22px 0;
    text-align: start;
}
.price-list li {
    padding: 8px 0;
    color: var(--text);
    border-bottom: 1px dashed var(--border);
    display: flex;
    gap: 10px;
    align-items: center;
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
    content: "✓";
    color: #fff;
    background: var(--brand);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex: 0 0 20px;
}

.price-card .btn { width: 100%; }

.price-foot {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.86rem;
}

/* Why grid (7 cards) */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.why-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.why-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--brand-dark);
}
.why-card p { margin: 0; color: var(--text-dim); font-size: 0.96rem; line-height: 1.6; }
.why-card-wide { grid-column: span 3; }
@media (max-width: 920px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-card-wide { grid-column: span 1; }
}

/* Hide nav login styling */
.nav-login {
    color: var(--text-dim);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}
.nav-login:hover { color: var(--brand); background: var(--brand-soft); }

/* ───── User avatar + dropdown (shared by landing/dashboard/account) ───── */
.user-menu { position: relative; }
.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1;
    border: 2px solid var(--bg-soft);
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: inherit;
    padding: 0;
}
.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.user-avatar:hover { transform: scale(1.05); box-shadow: 0 4px 12px -4px rgba(30,99,216,0.4); }
.user-avatar[aria-expanded="true"] { box-shadow: 0 0 0 3px var(--brand-soft); }

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 250px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 14px 32px -10px rgba(11,21,48,0.18);
    z-index: 100;
}
.user-dropdown[hidden] { display: none; }
.dd-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-soft), #fff);
    border-radius: 10px 10px 0 0;
    margin: -6px -6px 6px;
}
.dd-avatar-big {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex: 0 0 auto;
    overflow: hidden;
}
.dd-avatar-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.dd-head strong { display: block; color: var(--text); font-size: 0.95rem; }
.dd-head small { color: var(--text-dim); font-size: 0.82rem; direction: ltr; display: block; margin-top: 2px; }

.dd-section-label {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px 4px;
    margin-top: 2px;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.94rem;
    font-weight: 500;
    margin: 1px 4px;
    transition: background 0.12s, color 0.12s;
}
.user-dropdown a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.dd-icon {
    width: 22px;
    text-align: center;
    font-size: 1.05rem;
    flex: 0 0 auto;
}
.dd-sep { height: 1px; background: var(--border); margin: 8px 8px; }
.dd-logout { color: #b91c1c !important; }
.dd-logout:hover { background: #fef2f2 !important; color: #991b1b !important; }

/* Compare (Why section) */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}
.compare-col {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.compare-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}
.compare-bad .compare-tag { background: #fef2f2; color: #b91c1c; }
.compare-good .compare-tag { background: var(--brand-soft); color: var(--brand-dark); }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li {
    padding: 10px 0;
    color: var(--text);
    border-bottom: 1px dashed var(--border);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.98rem;
}
.compare-col li:last-child { border-bottom: none; }
.compare-bad li::before {
    content: "✕";
    color: #dc2626;
    background: #fef2f2;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 700;
    flex: 0 0 22px;
}
.compare-good li::before {
    content: "✓";
    color: #fff;
    background: var(--brand);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700;
    flex: 0 0 22px;
}
.compare-good {
    border-color: var(--brand);
    box-shadow: var(--shadow-md);
}

/* Install (QR) */
.install-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 24px;
    align-items: stretch;
}
.install-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.install-num {
    width: 36px; height: 36px;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 6px 14px -6px rgba(30,99,216,0.5);
}
.install-step h3 { margin: 6px 0 4px; font-size: 1.1rem; }
.install-step p { margin: 0 0 12px; color: var(--text-dim); font-size: 0.96rem; flex: 1; }
.install-step .btn { align-self: stretch; }
.install-qr {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.qr-frame {
    width: 220px;
    height: 220px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    box-shadow: 0 8px 24px -12px rgba(15,30,60,0.15);
}
.qr-frame svg { width: 100%; height: 100%; display: block; }
.qr-note { margin: 0; color: var(--text-dim); font-size: 0.92rem; font-weight: 500; text-align: center; }

@media (max-width: 920px) {
    .install-grid { grid-template-columns: 1fr; }
}

/* Download */
.download-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.download-card h2 { margin: 0 0 6px; font-size: 1.5rem; }
.download-card p { margin: 0; color: var(--text-dim); }
.download-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-store {
    display: inline-flex;
    flex-direction: column;
    background: var(--text);
    color: #fff;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    min-width: 140px;
    transition: background 0.15s;
}
.btn-store:hover { background: var(--brand); color: #fff; }
.store-mini { font-size: 0.72rem; opacity: 0.8; letter-spacing: 0.05em; }
.store-main { font-size: 1.1rem; font-weight: 700; line-height: 1.1; margin-top: 2px; }

/* Auth modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 21, 48, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 16px;
    animation: modal-fade 0.18s ease-out;
}
.modal-backdrop[hidden] { display: none; }

@keyframes modal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modal-pop {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.modal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -20px rgba(11,21,48,0.4);
    padding: 28px 28px 24px;
    width: 100%;
    max-width: 440px;
    position: relative;
    animation: modal-pop 0.22s ease-out;
}
.modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
    width: 32px; height: 32px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--bg-soft); color: var(--text); }

.modal-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.modal-mark {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 6px 14px -6px rgba(30,99,216,0.5);
}
.modal-head h3 { margin: 0; font-size: 1.2rem; }
.modal-head p { margin: 2px 0 0; color: var(--text-dim); font-size: 0.9rem; }

.modal-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}
.modal-tabs .tab {
    padding: 12px 14px;
    border: none;
    background: #fff;
    font-weight: 600;
    color: var(--text-dim);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-size: 0.98rem;
    transition: color 0.15s, border-color 0.15s;
}
.modal-tabs .tab.active {
    color: var(--brand);
    border-bottom-color: var(--brand);
}

.auth-form label {
    display: block;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
    margin: 12px 0 6px;
}
.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    background: var(--bg);
    color: var(--text);
    font-size: 0.98rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-form input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.pw-wrap {
    position: relative;
}
.pw-eye {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    padding: 6px;
    border-radius: 6px;
    color: var(--muted);
}
.pw-eye:hover { background: var(--bg-soft); }

.auth-form .check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
    font-size: 0.92rem;
    color: var(--text-dim);
    cursor: pointer;
}
.auth-form .check input { width: auto; }

.btn-block { width: 100%; }

.auth-form .forgot {
    display: block;
    text-align: center;
    color: var(--brand);
    margin-top: 14px;
    font-size: 0.92rem;
    text-decoration: none;
}
.auth-form .forgot:hover { text-decoration: underline; }

.modal-foot-note {
    margin: 14px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

.auth-err {
    margin: 10px 0 4px;
    padding: 8px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    font-size: 0.88rem;
    text-align: center;
}

/* Site footer */
.site-footer {
    background: #0b1530;
    color: #cfd8e8;
    padding: 56px 0 24px;
    margin-top: 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
}
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-tag {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 320px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #cfd8e8;
    display: inline-flex;
    align-items: center; justify-content: center;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.15s, color 0.15s;
}
.footer-socials a:hover { background: var(--brand); color: #fff; }
.footer-col h4 {
    color: #fff;
    margin: 0 0 14px;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.95rem;
    transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0 0;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 880px) {
    .compare { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .download-card { flex-direction: column; align-items: stretch; text-align: center; }
    .download-buttons { justify-content: center; }
}

/* ===== Responsive ===== */
@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .hero { padding: 56px 0 40px; }
    .features { grid-template-columns: 1fr; }
    section { padding: 56px 0; }
}
