/* ============================================
   Breeze Marketing Site — Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a5f;

  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --teal-400: #2dd4bf;
  --green-400: #4ade80;
  --orange-400: #fb923c;
  --amber-400: #fbbf24;
  --rose-400: #fb7185;
  --pink-400: #f472b6;
  --purple-400: #a78bfa;
  --indigo-400: #818cf8;
  --red-400: #f87171;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #0a0f1a;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.15);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gray-950);
  color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  background: var(--blue-600);
  color: white !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--blue-600);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--cyan-500);
  bottom: -100px;
  left: -100px;
  animation-delay: -7s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--purple-400);
  top: 40%;
  left: 30%;
  opacity: 0.2;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Phone on left, text on right */
.hero-phone {
  display: flex;
  justify-content: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-400);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-400), var(--cyan-400), var(--teal-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.phone-frame {
  width: 280px;
  height: 600px;
  background: var(--gray-800);
  border-radius: 40px;
  padding: 6px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.1),
    0 25px 50px rgba(0,0,0,0.5),
    var(--shadow-glow);
  position: relative;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a2332 0%, #0f1922 100%);
}

.phone-frame-sm {
  width: 240px;
  height: 500px;
  border-radius: 36px;
}

.phone-frame-sm::before {
  width: 80px;
  height: 24px;
}

.phone-frame-sm .phone-screen {
  border-radius: 26px;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* --- Video in Phone Frame --- */
.phone-video {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.feature-slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
}

.detail-card-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(59,130,246,0.15) 0%, rgba(6,182,212,0.1) 50%, rgba(59,130,246,0.05) 100%);
  color: var(--gray-400);
}

.phone-placeholder-dark {
  background: linear-gradient(160deg, rgba(100,60,200,0.2) 0%, rgba(10,10,30,0.9) 50%, rgba(100,60,200,0.1) 100%);
}

.phone-placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
}

.phone-placeholder p {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.phone-placeholder-hint {
  font-size: 0.7rem;
  color: var(--gray-500);
  text-align: center;
}

/* --- Section Helpers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-400);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* --- Features Grid --- */
.features {
  padding: 120px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

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

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  opacity: 0;
  transition: opacity 0.35s;
}

.feature-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card-large h3,
.feature-card-large p,
.feature-card-large .feature-card-icon,
.feature-card-large .feature-link {
  grid-column: 1;
}

.feature-card-large .feature-screenshot-slot {
  grid-column: 2;
  grid-row: 1 / -1;
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-green { background: rgba(74, 222, 128, 0.12); color: var(--green-400); }
.icon-orange { background: rgba(251, 146, 60, 0.12); color: var(--orange-400); }
.icon-purple { background: rgba(167, 139, 250, 0.12); color: var(--purple-400); }
.icon-teal { background: rgba(45, 212, 191, 0.12); color: var(--teal-400); }
.icon-amber { background: rgba(251, 191, 36, 0.12); color: var(--amber-400); }
.icon-rose { background: rgba(251, 113, 133, 0.12); color: var(--rose-400); }
.icon-pink { background: rgba(244, 114, 182, 0.12); color: var(--pink-400); }
.icon-red { background: rgba(248, 113, 113, 0.12); color: var(--red-400); }
.icon-indigo { background: rgba(129, 140, 248, 0.12); color: var(--indigo-400); }
.icon-cyan { background: rgba(34, 211, 238, 0.12); color: var(--cyan-400); }
.icon-violet { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }
.icon-sky { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-400);
  transition: color 0.2s;
}

.feature-link:hover {
  color: var(--cyan-400);
}

.feature-screenshot-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Crossfade Animation (Dusk to Dark) --- */
.crossfade-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
}

.crossfade-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
}

.crossfade-img-a {
  animation: crossfadeDusk 6s ease-in-out infinite;
}

.crossfade-img-b {
  animation: crossfadeDark 6s ease-in-out infinite;
}

@keyframes crossfadeDusk {
  0%, 42%   { opacity: 1; }
  50%, 92%  { opacity: 0; }
  100%      { opacity: 1; }
}

@keyframes crossfadeDark {
  0%, 42%   { opacity: 0; }
  50%, 92%  { opacity: 1; }
  100%      { opacity: 0; }
}

.screenshot-placeholder {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.05));
  border: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Hide placeholder when screenshot img loads; remove this class on img onerror to show fallback */
.screenshot-fallback {
  display: none !important;
}

.placeholder-blue { background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05)); }
.placeholder-green { background: linear-gradient(135deg, rgba(74,222,128,0.15), rgba(74,222,128,0.05)); }
.placeholder-purple { background: linear-gradient(135deg, rgba(167,139,250,0.15), rgba(167,139,250,0.05)); }
.placeholder-orange { background: linear-gradient(135deg, rgba(251,146,60,0.15), rgba(251,146,60,0.05)); }
.placeholder-teal { background: linear-gradient(135deg, rgba(45,212,191,0.15), rgba(45,212,191,0.05)); }
.placeholder-amber { background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(251,191,36,0.05)); }
.placeholder-rose { background: linear-gradient(135deg, rgba(251,113,133,0.15), rgba(251,113,133,0.05)); }
.placeholder-red { background: linear-gradient(135deg, rgba(248,113,113,0.15), rgba(248,113,113,0.05)); }
.placeholder-cyan { background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(34,211,238,0.05)); }
.placeholder-violet { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(139,92,246,0.05)); }
.placeholder-pink { background: linear-gradient(135deg, rgba(244,114,182,0.15), rgba(244,114,182,0.05)); }
.placeholder-indigo { background: linear-gradient(135deg, rgba(129,140,248,0.15), rgba(129,140,248,0.05)); }
.placeholder-sky { background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(56,189,248,0.05)); }

/* Themed screenshot placeholders — shown when real screenshot is missing */
.screenshot-pending {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: inherit;
}

.screenshot-pending svg {
  opacity: 0.4;
}

.screenshot-pending span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.35;
}

/* When the img fails to load and gets hidden via onerror, show the fallback */
.detail-card-img .screenshot-pending,
.phone-screen .screenshot-pending,
.watch-screen .screenshot-pending {
  display: none;
}

.detail-card-img.no-img .screenshot-pending,
.phone-screen.no-img .screenshot-pending,
.watch-screen.no-img .screenshot-pending {
  display: flex;
}

/* Detail card img needs positioning for absolute children */
.detail-card-img {
  position: relative;
}

/* Shorter image slot for cropped/square screenshots */
.detail-card-img-short {
  height: 140px;
  background: var(--gray-950);
}

.detail-card-img-short .detail-card-screenshot {
  object-fit: contain;
  object-position: center;
  background: var(--gray-950);
}

/* Compact screenshot display (no phone frame, used for cropped images) */
.experience-screenshot-compact {
  max-width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 20px 40px rgba(0,0,0,0.4);
}

.experience-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Experience Section --- */
.experience {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--gray-950) 0%, rgba(15,20,35,1) 50%, var(--gray-950) 100%);
}

.experience-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.experience-row:last-child {
  margin-bottom: 0;
}

.experience-row-reverse {
  direction: rtl;
}

.experience-row-reverse > * {
  direction: ltr;
}

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

.experience-phone {
  position: relative;
}

.experience-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-400);
  margin-bottom: 12px;
}

.experience-ad-astra {
  font-weight: 800;
  color: #3b82f6;
}

.experience-text h3 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.experience-text p {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.experience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.experience-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-300);
}

.experience-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
  margin-top: 8px;
  flex-shrink: 0;
}

/* --- Games Section --- */
.games-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--gray-950) 0%, rgba(12, 16, 28, 1) 50%, var(--gray-950) 100%);
}

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

.game-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s ease;
}

.game-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.game-card-screenshot {
  height: 380px;
  overflow: hidden;
  position: relative;
  background: var(--gray-950);
}

.game-card-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.game-card-screenshot.no-img .screenshot-pending {
  display: flex;
}

.game-card-body {
  padding: 24px;
}

.game-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.game-card-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.game-card-body p {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Details / Explore Grid --- */
.details {
  padding: 120px 0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.detail-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s ease;
  display: block;
}

.detail-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.detail-card-img {
  height: 160px;
  overflow: hidden;
}

.detail-card-img .screenshot-placeholder {
  height: 100%;
  border-radius: 0;
  border: none;
}

.detail-card-body {
  padding: 20px;
}

.detail-card-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.detail-card-body p {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* --- Watch Section --- */
.watch {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--gray-950) 0%, rgba(15,20,35,1) 100%);
}

.watch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.watch-frame {
  width: 180px;
  height: 220px;
  background: var(--gray-800);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.1),
    0 25px 50px rgba(0,0,0,0.5);
  position: relative;
}

.watch-frame::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 6px;
  height: 36px;
  background: var(--gray-700);
  border-radius: 3px;
}

.watch-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #1a2332 0%, #0f1922 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.watch-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.watch-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
}

.watch-placeholder svg {
  color: var(--blue-400);
}

.watch-placeholder span {
  font-size: 0.7rem;
  font-weight: 600;
}

.watch-text .section-title {
  text-align: left;
}

.watch-text p {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* --- Widget Section --- */
.widgets-section {
  padding: 100px 0;
}

.widgets-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.widgets-text .section-title {
  text-align: left;
}

.widgets-text p {
  color: var(--gray-400);
  line-height: 1.7;
  margin-top: 16px;
}

.widgets-visual {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}

.widget-mockup {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.widget-small {
  width: 150px;
  height: 150px;
}

.widget-medium {
  width: 300px;
  height: 150px;
}

.widget-content {
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(160deg, rgba(59,130,246,0.15) 0%, rgba(6,182,212,0.08) 100%);
}

.widget-content svg {
  color: var(--amber-400);
}

.widget-temp {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.widget-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
}

.widget-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-header-row .widget-temp {
  font-size: 1.5rem;
}

.widget-city {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-left: auto;
}

.widget-hours {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.widget-hour {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--gray-300);
}

.widget-hour span:first-child {
  color: var(--gray-500);
  font-size: 0.65rem;
}

/* --- Social Section --- */
.social-section {
  padding: 120px 0;
  background: linear-gradient(180deg, rgba(15,20,35,1), var(--gray-950));
}

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

.social-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.35s ease;
}

.social-card:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
}

.social-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.12);
  color: var(--purple-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.social-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.social-card p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* --- Download CTA --- */
.download {
  padding: 120px 0;
  text-align: center;
}

.download-content {
  max-width: 520px;
  margin: 0 auto;
}

.download-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.download h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.download p {
  color: var(--gray-400);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* --- Footer --- */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-company {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: 4px;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-row {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .feature-card-large .feature-screenshot-slot {
    grid-column: 1;
    grid-row: auto;
  }

  .experience-row,
  .experience-row-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .experience-row-reverse > * {
    direction: ltr;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .watch-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .watch-text .section-title {
    text-align: center;
  }

  .widgets-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .widgets-text .section-title {
    text-align: center;
  }

  .widgets-visual {
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 16px 60px;
  }

  .phone-frame {
    width: 240px;
    height: 500px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .widget-medium {
    width: 100%;
    max-width: 300px;
  }
}

/* --- Feature Detail Page Styles --- */
.feature-page {
  padding-top: 100px;
}

.feature-hero {
  padding: 60px 0 80px;
  text-align: center;
}

.feature-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.feature-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.feature-hero p {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.feature-screenshot-hero {
  max-width: 320px;
  margin: 48px auto;
}

.feature-body {
  padding: 80px 0;
}

.feature-body-inner {
  max-width: 720px;
  margin: 0 auto;
}

.feature-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.feature-body p {
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-body ul {
  list-style: none;
  margin-bottom: 32px;
}

.feature-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gray-300);
  line-height: 1.6;
}

.feature-body ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
  margin-top: 9px;
  flex-shrink: 0;
}

.feature-screenshots-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.feature-screenshots-row .screenshot-placeholder {
  height: 280px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 24px;
  transition: color 0.2s;
}

.back-link:hover {
  color: white;
}

/* --- Feature page CTA bar --- */
.feature-cta-bar {
  padding: 64px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.feature-cta-bar h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-cta-bar p {
  color: var(--gray-400);
  margin-bottom: 24px;
}
