:root {
  --bg: #070b1a;
  --bg-2: #0c1430;
  --surface: #121c38;
  --text: #f4f6fc;
  --muted: #8fa0c4;
  --teal: #1fc9bb;
  --teal-deep: #149e90;
  --violet: #25399e;
  --blue: #3e68f0;
  --border: rgba(255, 255, 255, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(37, 57, 158, 0.55), transparent 60%),
    radial-gradient(700px 420px at 92% 8%, rgba(20, 158, 144, 0.35), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, #050814 100%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Nav */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand span { color: var(--teal); }

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.top-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.top-nav a:hover { color: var(--text); }

select#lang {
  background: rgba(18, 28, 56, 0.85);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.85rem;
}

/* Hero — one composition */
.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px 40px;
  align-items: end;
  padding: 28px 0 48px;
}

.hero-copy {
  padding-bottom: 48px;
  animation: rise 0.9s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 12ch;
}

.hero .lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34ch;
  margin: 0 0 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #041512;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: min(72vh, 720px);
  animation: fade-in 1.1s ease 0.15s both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 10% 0;
  background: radial-gradient(circle at 50% 30%, rgba(31, 201, 187, 0.22), transparent 55%);
  filter: blur(8px);
}

.phone {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(340px, 78%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.55));
  animation: float 7s ease-in-out infinite;
}

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

.section-head {
  max-width: 36rem;
  margin-bottom: 36px;
  animation: rise 0.7s ease both;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.feature {
  padding: 22px 20px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature:hover {
  border-color: rgba(31, 201, 187, 0.35);
  transform: translateY(-2px);
}

.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(31, 201, 187, 0.12);
  color: var(--teal);
  font-size: 1.15rem;
}

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

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Showcase strip */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.showcase-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.showcase-shots img {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.shot-a { transform: translateY(18px); }
.shot-b { transform: translateY(-8px); }

/* Premium band */
.premium {
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(37, 57, 158, 0.55), rgba(20, 158, 144, 0.18)),
    var(--surface);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.premium h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.premium p { color: var(--muted); margin: 0 0 18px; max-width: 40ch; }

.premium ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.premium li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #d7def0;
  font-size: 0.95rem;
}

.premium li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--teal);
  flex: 0 0 auto;
}

/* Contact */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 8px;
  border-top: 1px solid var(--border);
}

.contact-block a.mail {
  color: var(--teal);
  font-weight: 600;
  font-size: 1.15rem;
}

footer.site-foot {
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

footer.site-foot nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
footer.site-foot a:hover { color: var(--text); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 12px;
  }
  .hero-copy {
    order: 1;
    padding-bottom: 12px;
  }
  .hero-visual {
    order: 0;
    min-height: 52vh;
  }
  .hero h1 { max-width: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase, .premium { grid-template-columns: 1fr; }
  .shot-a, .shot-b { transform: none; }
}

[dir="rtl"] .hero h1 { max-width: none; }
[dir="rtl"] .premium li { flex-direction: row-reverse; }
