/* Echo promotional site — SaltyYak Apps */

:root {
  --primary: #0B5EA9;
  --primary-dark: #094a87;
  --primary-light: #E8EEF7;
  --secondary: #F5A623;
  --secondary-dark: #E09010;
  --gold: #C9A84C;
  --gold-bright: #E8C878;
  --gold-dark: #9A7B2F;
  --gold-glow: rgba(201, 168, 76, 0.45);
  --background: #F6F7FC;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --text-light: rgba(255, 255, 255, 0.85);
  --success: #4CAF50;
  --streak: #FF6B35;
  --hero-dark: #050A14;
  --hero-glow: #00A3FF;
  --studio-dark: #0a0a0c;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(11, 94, 169, 0.08);
  --shadow-lg: 0 20px 60px rgba(5, 10, 20, 0.25);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-height: 72px;
  --container: min(1120px, calc(100% - 48px));
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 10, 14, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  transition: background 0.35s, border-color 0.3s, box-shadow 0.3s;
}

.site-header .nav-brand-name {
  color: white;
}

.site-header .nav-brand-by,
.site-header .nav-menu a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.72);
}

.site-header .nav-menu a:not(.nav-cta):hover {
  color: var(--gold-bright);
}

.site-header .nav-toggle span {
  background: white;
}

.site-header.site-header-hero {
  background: rgba(5, 5, 8, 0.3);
}

.site-header.scrolled {
  background: rgba(10, 10, 14, 0.94);
  border-color: rgba(201, 168, 76, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-saltyyak-logo {
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.35);
}

.nav-brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(201, 168, 76, 0.35);
  margin: 0 4px;
}

.nav-brand-icon {
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 163, 255, 0.35);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}

.nav-brand-by {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
  color: #0a0a0c !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 4px 16px var(--gold-glow);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  color: #0a0a0c;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f0d890 0%, var(--gold-bright) 55%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gold-glow);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  color: #0a0a0c;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gold-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 48px) 0 80px;
  background: var(--studio-dark);
  overflow: hidden;
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-poster {
  display: none;
  position: absolute;
  inset: 0;
  background: url('../assets/saltyyak-banner.png') center / cover no-repeat;
}

.hero-poster-only .hero-video {
  display: none;
}

.hero-poster-only .hero-poster {
  display: block;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.72) 42%, rgba(5, 5, 8, 0.45) 100%),
    linear-gradient(to top, rgba(5, 5, 8, 0.85) 0%, transparent 40%);
}

.hero-ripples {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-studio-logo {
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.4), 0 12px 40px rgba(0, 0, 0, 0.5);
}

.ripple {
  position: absolute;
  border: 2px solid rgba(0, 163, 255, 0.35);
  border-radius: 50%;
  animation: ripple-pulse 4s ease-out infinite;
}

.ripple-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.ripple-2 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: 5%;
  animation-delay: 1s;
  border-color: rgba(0, 163, 255, 0.2);
}

.ripple-3 {
  width: 600px;
  height: 600px;
  top: 0;
  right: -5%;
  animation-delay: 2s;
  border-color: rgba(0, 163, 255, 0.12);
}

.ripple-4 {
  width: 800px;
  height: 800px;
  top: -10%;
  right: -15%;
  animation-delay: 3s;
  border-color: rgba(0, 163, 255, 0.08);
}

@keyframes ripple-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.6;
  }
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 30%;
  right: 20%;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.25) 0%, transparent 70%);
  filter: blur(40px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 16px;
}

.eyebrow-gold,
.eyebrow-light {
  color: var(--gold-bright);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #00A3FF 0%, var(--gold-bright) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-stats li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-stats strong {
  display: block;
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Phone mockup */
.phone-frame {
  position: relative;
  width: 280px;
  margin-inline: auto;
  padding: 12px;
  background: #1a1a1a;
  border-radius: 36px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  background: var(--background);
  border-radius: 28px;
  padding: 40px 16px 20px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.mock-greeting {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.mock-streak {
  font-size: 0.65rem;
  color: var(--streak);
  font-weight: 600;
}

.mock-deck {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mock-deck-featured {
  border: 2px solid var(--primary-light);
}

.mock-deck-color {
  width: 8px;
  height: 36px;
  border-radius: 4px;
  background: var(--deck-color, var(--primary));
  flex-shrink: 0;
}

.mock-deck-info {
  flex: 1;
  min-width: 0;
}

.mock-deck-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-deck-meta {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.mock-study-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 600;
  cursor: default;
}

.mock-card-preview {
  margin-top: auto;
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(11, 94, 169, 0.12);
  animation: card-float 3s ease-in-out infinite;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.mock-card-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mock-card-question {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.4;
}

.mock-ratings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.rating {
  text-align: center;
  font-size: 0.55rem;
  font-weight: 600;
  padding: 6px 2px;
  border-radius: 8px;
  color: white;
}

.rating.again { background: #EB5757; }
.rating.hard { background: #FF9800; }
.rating.good { background: #6FCF97; }
.rating.easy { background: var(--primary); }

/* Brand strip */
.brand-strip {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
}

.brand-strip-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 14, 0.94) 0%, rgba(10, 10, 14, 0.78) 50%, rgba(10, 10, 14, 0.94) 100%),
    url('../assets/saltyyak-banner.png') center / cover no-repeat;
}

.brand-strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.brand-strip-logo {
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.35), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.brand-strip-copy {
  flex: 1;
  min-width: 240px;
  color: white;
}

.brand-strip-copy h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.brand-strip-copy p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 520px;
}

.btn-watch {
  flex-shrink: 0;
}

/* Trust bar */
.trust-bar {
  background: var(--surface);
  padding: 32px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.trust-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-item p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
}

.section-dark {
  background: linear-gradient(135deg, var(--hero-dark) 0%, #0a2540 100%);
  color: white;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(11, 94, 169, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.section-alt .feature-card {
  background: var(--background);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--icon-bg);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Steps */
.steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 14px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Modes */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mode-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(11, 94, 169, 0.08);
}

.mode-card-highlight {
  background: linear-gradient(145deg, var(--primary) 0%, #094a87 100%);
  color: white;
  border: none;
  box-shadow: 0 20px 50px rgba(11, 94, 169, 0.3);
}

.mode-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 16px;
}

.mode-badge-accent {
  background: rgba(245, 166, 35, 0.25);
  color: var(--secondary);
}

.mode-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.mode-card p {
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.9;
}

.mode-card:not(.mode-card-highlight) p {
  color: var(--text-muted);
  opacity: 1;
}

.mode-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.mode-card:not(.mode-card-highlight) .mode-list li {
  color: var(--text-muted);
  opacity: 1;
}

.mode-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--secondary);
}

.mode-card-highlight .mode-list li::before {
  color: var(--secondary);
}

/* Privacy */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.privacy-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.privacy-copy p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.0625rem;
}

.privacy-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  font-weight: 500;
}

.privacy-list li:last-child {
  border-bottom: none;
}

.privacy-list svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--secondary);
}

/* Download */
.download-section {
  position: relative;
  background: var(--studio-dark);
  color: white;
  text-align: center;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(11, 94, 169, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.download-inner {
  position: relative;
}

.download-inner {
  max-width: 560px;
  margin: 0 auto;
}

.download-icon {
  margin: 0 auto 24px;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0, 163, 255, 0.35);
}

.download-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.download-lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  min-width: 180px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  font-weight: 600;
  font-size: 1rem;
}

.store-btn small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.8;
}

.download-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Film modal */
.film-modal {
  border: none;
  padding: 0;
  max-width: min(920px, calc(100vw - 32px));
  width: 100%;
  background: transparent;
  overflow: visible;
}

.film-modal::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.film-modal-inner {
  position: relative;
  background: var(--studio-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.film-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.film-modal-close:hover {
  background: rgba(201, 168, 76, 0.85);
  color: #0a0a0c;
}

.film-modal-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--studio-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0;
  overflow: hidden;
}

.footer-marble {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 14, 0.92) 0%, rgba(10, 10, 14, 0.82) 100%),
    url('../assets/saltyyak-marble.png') center / cover no-repeat;
  opacity: 0.55;
}

.site-footer .container {
  position: relative;
}

.footer-saltyyak-logo {
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.35);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-brand strong {
  display: block;
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
}

.footer-brand span {
  font-size: 0.75rem;
}

.footer-tagline {
  flex: 1;
  font-size: 0.875rem;
  min-width: 200px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: white;
}

.footer-copy {
  width: 100%;
  font-size: 0.8125rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 8px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 28px) 0 48px;
  }

  .hero-video {
    display: none;
  }

  .hero-poster {
    display: block;
  }

  .hero-ripples {
    display: none;
  }

  .hero-studio-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    margin-bottom: 16px;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-actions {
    margin-bottom: 24px;
  }

  .hero-device {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .phone-frame {
    width: 240px;
  }

  .phone-screen {
    min-height: 400px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modes-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 32px);
  }

  .nav-brand {
    gap: 6px;
    min-width: 0;
  }

  .nav-saltyyak-logo {
    width: 32px;
    height: 32px;
  }

  .nav-brand-icon {
    width: 28px;
    height: 28px;
  }

  .nav-brand-divider {
    height: 22px;
    margin: 0 2px;
  }

  .nav-brand-name {
    font-size: 1rem;
  }

  .nav-brand-by {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 12px 20px;
  }

  .hero-stats li {
    font-size: 0.8125rem;
  }

  .film-modal-close {
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
    top: 8px;
    right: 8px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 14, 0.97);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(11, 94, 169, 0.1);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 12px 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-menu a:hover {
    color: var(--gold-bright);
  }

  .nav-cta {
    margin-top: 8px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .hero-stats li {
    text-align: center;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .brand-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .brand-strip-copy p {
    margin-inline: auto;
  }
}

@media (max-width: 400px) {
  .nav-saltyyak-logo,
  .nav-brand-divider {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ripple,
  .mock-card-preview {
    animation: none;
  }

  .hero-video {
    display: none;
  }

  .hero-poster {
    display: block;
  }

  .hero-overlay {
    background:
      linear-gradient(160deg, var(--hero-dark) 0%, #0a1628 50%, #0B5EA9 100%);
  }
}
