/* ============================================================
   KALIDE — Global Styles (Light Theme)
   ============================================================ */

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

:root {
  --bg:        #ffffff;
  --bg-off:    #f7f7f5;
  --border:    #e8e8e8;
  --text:      #111111;
  --muted:     #666666;
  --accent:    #1a1a1a;
  --blue:      #4A90D9;
  --font:      'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   NAV
   ============================================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 24px;
  width: auto;
  filter: brightness(0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-buy {
  background: var(--text) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: opacity 0.2s !important;
}
.nav-buy:hover { opacity: 0.75 !important; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 100px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.hero-cta:hover { opacity: 0.7; }

.hero-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
}

/* ============================================================
   FULL BLEED IMAGE
   ============================================================ */

.full-bleed {
  width: 100%;
  overflow: hidden;
  max-height: 520px;
}

.full-bleed img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   PRODUCT SECTION
   ============================================================ */

.product {
  padding: 100px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.product-header {
  text-align: center;
  margin-bottom: 70px;
}

.product-logo {
  height: 52px;
  width: auto;
  margin: 0 auto 28px;
}

.product-tagline {
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.product-demo {
  margin: 0 auto 90px;
  max-width: 680px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 60px rgba(0,0,0,0.08);
}

.product-demo img {
  width: 100%;
  height: auto;
}

.product-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.product-description h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.product-description p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
  margin: 32px 0 40px;
}

.feature-list li {
  padding: 13px 0 13px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text);
  position: relative;
}

.feature-list li:first-child { border-top: 1px solid var(--border); }

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
}

.cta-inline {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-buy {
  display: inline-block;
  background: var(--text);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.btn-buy:hover { opacity: 0.75; }

.btn-link {
  font-size: 15px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.btn-link:hover { color: var(--text); }

.product-detail-gif {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}

.product-detail-gif img {
  width: 100%;
  height: auto;
}

/* ============================================================
   VIDEOS SECTION
   ============================================================ */

.videos-section {
  margin-bottom: 90px;
}

.videos-heading {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-align: center;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.videos-grid--two {
  grid-template-columns: 1fr 1fr;
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  background: #000;
}

.video-label {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-off);
  border-bottom: 1px solid var(--border);
}

/* Responsive 16:9 wrapper — override Vimeo's 87.5% with true 56.25% */
.video-wrapper {
  position: relative;
  padding-top: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   WALLPAPER SECTION
   ============================================================ */

.wallpaper-section {
  position: relative;
  margin-top: 100px;
  overflow: hidden;
  max-height: 560px;
}

.wallpaper-section img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wallpaper-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
  padding: 40px;
}

.wallpaper-overlay p {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  color: #ffffff;
  max-width: 600px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.btn-buy-white {
  display: inline-block;
  background: #ffffff;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 44px;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.btn-buy-white:hover { opacity: 0.85; }

/* ============================================================
   MAILING LIST
   ============================================================ */

.mailing-list {
  padding: 100px 40px;
  text-align: center;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
}

.mailing-list h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.mailing-list p {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 17px;
}

.email-form {
  display: flex;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 16px;
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.email-form input:focus { border-color: var(--text); }
.email-form input::placeholder { color: #aaa; }

.email-form button {
  background: var(--text);
  color: #fff;
  border: none;
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity 0.2s;
}
.email-form button:hover { opacity: 0.75; }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 80px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-logo {
  height: 18px;
  width: auto;
  margin-bottom: 8px;
  opacity: 0.4;
}

.footer-left p {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.footer-links a:hover { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { gap: 16px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 40px;
  }

  .product { padding: 60px 24px; }

  .product-body {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .videos-grid--two {
    grid-template-columns: 1fr;
  }

  .full-bleed img,
  .wallpaper-section img { height: 280px; }

  footer {
    flex-direction: column;
    gap: 24px;
    padding: 40px 24px;
    text-align: center;
  }

  .footer-links { flex-wrap: wrap; justify-content: center; }
  .email-form { flex-direction: column; }
}
