/* דחייניים – עיצוב בסגנון Next.js / מודרני */
/* טען פונט Heebo ב־head: <link href="https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700&display=swap" rel="stylesheet"> */

:root {
    --bg: #09090b;
    --bg-elevated: #0f0f12;
    --surface: #18181b;
    --surface-hover: #1f1f23;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --primary: #f97316;
    --primary-hover: #fb923c;
    --secondary: #22c55e;
    --secondary-muted: rgba(34, 197, 94, 0.15);
    --text: #fafafa;
    --text-muted: #a1a1aa;
    --text-faint: #71717a;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--secondary);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    margin: 0;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: absolute;
    top: -3rem;
    right: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    z-index: 100;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 1rem;
    outline: var(--ring);
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header – מינימלי, sticky אפשרי */
.site-header {
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.site-header .brand {
    text-align: right;
}
.logo {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.site-header .logo a {
    color: inherit;
    text-decoration: none;
}
.site-header .logo a:hover {
    color: var(--primary);
}
.tagline {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
    color: var(--text);
    background: var(--surface-hover);
}
.nav-link-side:hover {
    color: var(--secondary);
    background: var(--secondary-muted);
}

/* Main */
.main {
    padding: 2.5rem 0 4rem;
}

section {
    padding: 2rem 0;
}
section h2 {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}
section p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    max-width: 58ch;
    font-size: 0.95rem;
}

.hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
}
.hero h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.3;
    color: var(--text);
    max-width: 24ch;
    margin: 0 auto 1rem;
}
.hero p {
    margin: 0 auto 1rem;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Buttons – סגנון Next.js/Vercel */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}
.btn-android {
    background: var(--secondary);
    color: #0a0a0a;
    box-shadow: var(--shadow-sm);
}
.btn-android:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-hover);
}
.btn-outline:hover {
    background: var(--surface-hover);
    color: var(--text);
    border-color: var(--border-hover);
}
.btn-ios {
    background: #3b82f6;
    color: #fff;
}
.btn-ios:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.btn-disabled,
.btn-ios.btn-disabled {
    background: var(--surface-hover);
    color: var(--text-faint);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.7;
}
.btn-disabled:hover,
.btn-ios.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}
.download-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.download-note a {
    color: var(--secondary);
    text-decoration: none;
}
.download-note a:hover {
    text-decoration: underline;
}
.btn-support {
    background: var(--primary);
    color: #fff;
}
.btn-support:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

/* Download section – כרטיס בולט */
.download {
    margin-top: 0.5rem;
}
.download .container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* Features – כרטיסים עם צל עדין */
.features {
    margin: 2rem 0;
}
.features .container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.feature-card {
    background: var(--bg-elevated);
    padding: 1.35rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
}
.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: var(--bg-elevated);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.site-footer nav ul {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}
.site-footer nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}
.site-footer nav a:hover {
    color: var(--secondary);
}
.copyright {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-faint);
}
.copyright strong {
    color: var(--text-muted);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover,
    .feature-card:hover { transform: none; }
}

/* Focus */
:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}
