/*
Theme Name: Owllet Apple
Theme URI: https://owlletmedia.com
Author: Owllet Media
Description: Apple-inspired minimalist homepage theme for Owllet Media.
Version: 1.0.2
Text Domain: owllet-apple
*/

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --link: #0066cc;
  --nav-height: 44px;
  --max-width: 980px;
  /*
   * San Francisco on Apple devices via -apple-system / BlinkMacSystemFont.
   * Inter is loaded as the closest match on Windows, Android, and Linux.
   */
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 400;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  font-synthesis: none;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header.dark {
  background: rgba(0, 0, 0, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.site-header.dark .site-logo,
.site-header.dark .nav-links a {
  color: #f5f5f7;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 0.88;
  text-decoration: none;
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: none;
}

/* Hero sections */
.hero {
  text-align: center;
  padding: 55px 22px 0;
  overflow: hidden;
}

.hero.dark {
  background: var(--bg-dark);
  color: #f5f5f7;
}

.hero.light {
  background: var(--bg-alt);
}

.hero.white {
  background: var(--bg);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0 0 6px;
}

.hero-subtitle {
  font-family: var(--font-text);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  letter-spacing: 0.004em;
  line-height: 1.14;
  margin: 0 0 14px;
  color: var(--text-muted);
}

.hero.dark .hero-subtitle {
  color: #a1a1a6;
}

.hero-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-bottom: 40px;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
}

.hero-links a {
  color: var(--link);
}

.hero.dark .hero-links a {
  color: #2997ff;
}

.hero-visual {
  max-width: 1000px;
  margin: 0 auto;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-height: 580px;
  object-fit: contain;
}

/* Gradient placeholders when no image */
.visual-placeholder {
  width: min(680px, 90vw);
  height: min(420px, 50vw);
  border-radius: 18px;
  background: linear-gradient(145deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero.dark .visual-placeholder {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.visual-placeholder.media {
  background: linear-gradient(145deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
}

.visual-placeholder.studio {
  background: linear-gradient(145deg, #2d3436 0%, #636e72 50%, #b2bec3 100%);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 980px;
  margin: 12px auto;
  padding: 0 12px;
}

.product-card {
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  padding: 47px 22px 0;
  min-height: 500px;
  position: relative;
}

.product-card.light {
  background: var(--bg-alt);
}

.product-card.dark {
  background: var(--bg-dark);
  color: #f5f5f7;
}

.product-card.white {
  background: var(--bg);
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}

.product-card p {
  font-family: var(--font-text);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  letter-spacing: 0.004em;
  margin: 0 0 12px;
  color: var(--text-muted);
}

.product-card.dark p {
  color: #a1a1a6;
}

.card-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 17px;
  margin-bottom: 30px;
}

.card-visual {
  height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.card-visual .mini-placeholder {
  width: 80%;
  height: 200px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.6));
}

.product-card.dark .mini-placeholder {
  background: linear-gradient(180deg, rgba(41, 151, 255, 0.2), rgba(41, 151, 255, 0.5));
}

/* Promo strip */
.promo-strip {
  background: var(--bg-alt);
  text-align: center;
  padding: 52px 22px;
}

.promo-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.promo-strip p {
  font-family: var(--font-text);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.004em;
  color: var(--text-muted);
  margin: 0 0 18px;
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  padding: 34px 22px 20px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-note {
  border-bottom: 1px solid #d2d2d7;
  padding-bottom: 12px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid #d2d2d7;
  text-decoration: none;
}

.footer-links a:last-child {
  border-right: none;
}

.footer-copy {
  margin: 0;
}

@media (max-width: 734px) {
  .nav-links {
    display: none;
  }

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

  .product-card {
    min-height: 420px;
  }
}
