/* Sirajk landing — minimal mobile-first stylesheet, no framework. */

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

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --border: #e6e8ec;
  --ink: #111111;
  --ink-muted: #4b5160;
  --ink-soft: #8a90a0;
  --primary: #f9c20c;
  --primary-ink: #000000;
  --accent-bg: #fff7d6;
  --accent-ink: #8a6a00;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

html[lang='he'],
html[lang='ar'] {
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html[lang='en'] {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  inset-inline-start: 0;
  top: 0;
  padding: 8px 12px;
}

/* Header ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
}

.lang-switcher {
  display: inline-flex;
  gap: 4px;
  background: #eef0f4;
  padding: 4px;
  border-radius: var(--radius-pill);
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5a6172;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* Hero -------------------------------------------------------------- */

.hero {
  padding: 56px 0 40px;
  overflow: hidden;
}

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

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
  color: var(--ink);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--ink-muted);
  margin: 0 0 24px;
  max-width: 56ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.05s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

.hero-gallery {
  position: relative;
  display: none;
  aspect-ratio: 5 / 4;
  margin-block-start: 24px;
}

.hero-gallery img {
  position: absolute;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border);
  object-fit: cover;
}

.hero-gallery-back {
  inset-inline-end: 0;
  top: 0;
  width: 78%;
  z-index: 1;
  transform: rotate(-2deg);
}

.hero-gallery-mid {
  inset-inline-start: 0;
  bottom: 6%;
  width: 62%;
  z-index: 2;
  transform: rotate(2deg);
}

.hero-gallery-front {
  inset-inline-end: 8%;
  bottom: 0;
  width: 26%;
  z-index: 3;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* Features ---------------------------------------------------------- */

.features {
  padding: 24px 0 56px;
}

.features h2 {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.section-lead {
  color: var(--ink-muted);
  margin: 0 0 28px;
  max-width: 64ch;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-bg);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-icon .material-symbols-rounded {
  font-size: 24px;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.feature-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.feature-image {
  margin-block-start: auto;
  padding-block-start: 12px;
}

.feature-image img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.feature-card[data-feature-key='mobileApp'] .feature-image img {
  aspect-ratio: 9 / 12;
  max-height: 320px;
  object-position: center top;
  margin-inline: auto;
  display: block;
  width: auto;
  max-width: 100%;
}

.feature-card[data-feature-key='aiVoiceBot'] .feature-image img {
  aspect-ratio: 1 / 1;
  max-width: 200px;
  margin-inline: auto;
  display: block;
  width: 100%;
  object-fit: contain;
  background: var(--accent-bg);
  border: 0;
  box-shadow: none;
  padding: 12px;
}

/* Contact ----------------------------------------------------------- */

.contact {
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.contact-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

.contact-intro p {
  color: #c8ccd5;
  margin: 0 0 16px;
}

.contact-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #d6dae3;
  font-size: 0.95rem;
}

.contact-bullets li::before {
  content: '✓';
  display: inline-block;
  width: 18px;
  color: var(--primary);
  font-weight: 700;
}

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #3a3f4a;
}

.field input,
.field textarea {
  font: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 194, 12, 0.25);
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18);
}

.field-error {
  font-size: 0.8rem;
  color: #c0392b;
  margin: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.contact-actions .btn {
  min-width: 140px;
}

.contact-status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.contact-status.is-success {
  color: #1b8758;
  font-weight: 600;
}

.contact-status.is-error {
  color: #c0392b;
  font-weight: 600;
}

.contact-privacy {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Footer ------------------------------------------------------------ */

.site-footer {
  text-align: center;
  padding: 24px 0 32px;
}

.powered-logo {
  width: 110px;
  margin-inline: auto;
  opacity: 0.85;
}

.copyright {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Responsive breakpoints ------------------------------------------- */

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 72px 0 56px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-gallery {
    display: block;
    margin-block-start: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
