:root {
  --color-ink: #12161d;
  --color-shell: #2b3038;
  --color-shell-soft: #39404b;
  --color-line: rgba(18, 22, 29, 0.12);
  --color-paper: #ffffff;
  --color-paper-soft: #f5f6f8;
  --color-text: #15181f;
  --color-muted: #58606d;
  --color-white: #ffffff;
  --shadow-lg: 0 30px 70px rgba(20, 24, 31, 0.14);
  --shadow-md: 0 18px 40px rgba(20, 24, 31, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(43, 48, 56, 0.08), transparent 28%),
    linear-gradient(180deg, #eef1f4 0%, #f7f8fa 100%);
  color: var(--color-text);
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

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

body > header,
body > main,
body > footer {
  width: min(1200px, 100%);
}

body > header {
  position: sticky;
  top: 20px;
  z-index: 10;
}

body > main {
  background: var(--color-paper);
  box-shadow: var(--shadow-lg);
}

body > footer {
  background: var(--color-shell);
  color: rgba(255, 255, 255, 0.78);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 16px 35px rgba(20, 24, 31, 0.12);
}

header {
  background: rgba(43, 48, 56, 0.96);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 16px 40px rgba(20, 24, 31, 0.18);
}

.navbar {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.72;
}

.arrow {
  font-size: 0.75rem;
  margin-left: 4px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 250px;
  padding: 10px;
  border-radius: 16px;
  background: var(--color-paper);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 22, 29, 0.08);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content li {
  margin: 0;
}

.dropdown-content a {
  display: block;
  padding: 11px 14px;
  color: var(--color-text);
  border-radius: 12px;
}

.dropdown-content a:hover {
  background: var(--color-paper-soft);
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.menu-toggle.active .hamburger {
  opacity: 0;
}

.menu-toggle.active .hamburger::before {
  transform: translateY(8px) rotate(45deg);
  opacity: 1;
}

.menu-toggle.active .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
  opacity: 1;
}

.hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.1), transparent 22%),
    linear-gradient(135deg, var(--color-shell) 0%, var(--color-shell-soft) 100%);
  color: var(--color-white);
  padding: 72px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 48px;
  align-items: center;
}

.hero-logo {
  width: min(320px, 72%);
  margin-bottom: 24px;
}

.hero h1,
.content-panel h1,
.story-copy h2,
.duo-copy h2 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.04;
  margin-bottom: 18px;
}

.hero p {
  max-width: 560px;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.84);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.store-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.store-link img {
  height: 52px;
}

.store-link.is-disabled {
  opacity: 0.72;
}

.store-status {
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-stack {
  position: relative;
  width: min(360px, 100%);
  min-height: 620px;
}

.phone-card {
  position: absolute;
  border-radius: 30px;
  box-shadow: 0 35px 60px rgba(9, 12, 18, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.phone-card-front {
  width: 62%;
  left: 2%;
  top: 11%;
  z-index: 2;
}

.phone-card-back {
  width: 60%;
  right: 0;
  top: 0;
  transform: rotate(8deg);
}

.section-band {
  background: var(--color-shell);
  color: var(--color-white);
  padding: 34px 24px;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.story-section,
.duo-section,
.content-page {
  background: var(--color-paper);
}

.story-section,
.duo-section {
  padding: 72px 64px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 40px;
  align-items: start;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.story-copy h2,
.duo-copy h2,
.content-panel h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.story-copy p,
.duo-copy p,
.content-panel p,
.legal-intro,
.legal-paragraph {
  color: var(--color-muted);
  font-size: 1rem;
}

.story-copy p + p,
.content-panel p + p,
.legal-paragraph + .legal-paragraph {
  margin-top: 16px;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card,
.content-panel,
.shot-card,
.faq-item {
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: var(--color-paper);
  box-shadow: 0 10px 30px rgba(18, 22, 29, 0.05);
}

.feature-card {
  padding: 22px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-muted);
}

.duo-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 40px;
  align-items: center;
  background:
    linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.duo-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shot-card {
  padding: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f6f8 100%);
}

.content-page {
  padding: 56px 0 72px;
}

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

.content-panel {
  padding: 34px;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.faq-item {
  padding: 24px;
}

.faq-item h2,
.legal-section h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.contact-note {
  margin-top: 8px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: var(--color-paper-soft);
  color: var(--color-text);
  padding: 14px 16px;
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  min-width: 140px;
  border: 0;
  border-radius: 999px;
  background: var(--color-shell);
  color: var(--color-white);
  padding: 13px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-form button:hover {
  opacity: 0.88;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form-message {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
}

.form-success {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.22);
}

.form-error {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.16);
}

.legal-sections {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.legal-section {
  border-top: 1px solid var(--color-line);
  padding-top: 18px;
}

footer {
  text-align: center;
  padding: 24px;
  font-size: 0.92rem;
}

.lang-selector .dropdown-content {
  min-width: 120px;
}

.lang-option.active {
  background: var(--color-paper-soft);
  font-weight: 700;
}

@media (max-width: 980px) {
  body {
    padding: 0;
  }

  body > header,
  body > main,
  body > footer {
    width: 100%;
  }

  body > footer,
  header {
    border-radius: 0;
  }

  body > header {
    top: 0;
  }

  .navbar,
  .hero,
  .story-section,
  .duo-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero,
  .story-grid,
  .duo-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-visual {
    order: -1;
  }

  .phone-stack {
    min-height: 520px;
    max-width: 320px;
  }

  .story-section,
  .duo-section,
  .content-page {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .duo-visuals {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 20px;
    background: var(--color-paper);
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links > li > a,
  .lang-selector > a {
    display: block;
    color: var(--color-text);
    padding: 12px 10px;
    border-radius: 12px;
  }

  .nav-links > li > a:hover,
  .lang-selector > a:hover {
    background: var(--color-paper-soft);
    opacity: 1;
  }

  .dropdown-content {
    position: static;
    display: none;
    margin-top: 6px;
    border-radius: 14px;
    box-shadow: none;
    border: 1px solid var(--color-line);
  }

  .dropdown.active .dropdown-content {
    display: block;
  }
}

@media (max-width: 640px) {
  .brand-name {
    font-size: 0.92rem;
  }

  .hero h1,
  .content-panel h1,
  .story-copy h2,
  .duo-copy h2 {
    font-size: 2.1rem;
  }

  .phone-stack {
    min-height: 420px;
    max-width: 280px;
  }

  .phone-card-front {
    width: 60%;
  }

  .phone-card-back {
    width: 58%;
  }

  .duo-visuals {
    grid-template-columns: 1fr;
  }

  .content-panel,
  .faq-item {
    padding: 24px;
  }
}
