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

:root {
  --product-bg: #B8C4CA;
  --info-bg: #FFFFFF;
  --charcoal: #1A1A1A;
  --gray: #5C5C5C;
  --accent: #4A4A4A;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Product Zone */
.product-zone {
  flex: 7;
  background: var(--product-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

/* Background Grid */
.product-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Background Typography */
.bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif;
  font-size: 280px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -10px;
}

/* Vertical Side Text */
.side-text {
  position: absolute;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  text-transform: uppercase;
}

.side-text-left {
  left: 24px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
}

.side-text-right {
  right: 24px;
  top: 50%;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.annotated-device {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  position: relative;
  z-index: 1;
}

.product-description {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

/* Feature Annotations */
.annotation {
  position: absolute;
  top: var(--y, 0);
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.annotation[data-sound] {
  pointer-events: auto;
  cursor: pointer;
}

.annotation.left {
  right: 100%;
  padding-right: 16px;
  align-items: flex-end;
  text-align: right;
}

.annotation.right {
  left: 100%;
  padding-left: 16px;
  align-items: flex-start;
  text-align: left;
}

.annotation .label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--accent);
  white-space: nowrap;
}

.annotation .desc {
  font-size: 9px;
  font-weight: 300;
  color: var(--gray);
  white-space: nowrap;
  margin-top: 2px;
}

/* Line with tick - left */
.annotation.left::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.annotation.left::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 6px;
  background: var(--accent);
}

/* Line with tick - right */
.annotation.right::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.annotation.right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 6px;
  background: var(--accent);
}

/* Device */
.device {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.device-frame {
  width: 340px;
  height: 420px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.15),
    -15px 0 25px -8px rgba(0, 0, 0, 0.25),
    15px 0 25px -8px rgba(0, 0, 0, 0.25),
    inset -4px 0 8px rgba(0, 0, 0, 0.08),
    inset 4px 0 8px rgba(0, 0, 0, 0.08);
}

.device-screen {
  display: block;
  width: 356px;
  height: auto;
  margin-top: -25px;
  margin-left: -8px;
}

/* Info Zone */
.info-zone {
  flex: 3;
  background: var(--info-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px;
}

.info-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.logo {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--charcoal);
}

.tagline {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
}

.privacy-link {
  font-size: 10px;
  font-weight: 300;
  color: var(--gray);
  text-decoration: none;
  margin-top: 6px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.privacy-link:hover {
  opacity: 1;
}

.info-right {
  text-align: right;
}

.description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray);
  margin-bottom: 16px;
}


.apple-icon {
  vertical-align: -2px;
  margin-right: 4px;
}

/* Capsules */
.capsule {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--product-bg);
  color: var(--gray);
  transition: all 0.2s ease;
}

.soon-capsule {
  cursor: default;
}

.contact-capsule {
  display: block;
  margin-top: 10px;
  cursor: pointer;
  text-align: center;
}

.contact-capsule:hover {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

.contact-capsule.copied {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

/* Mobile Edge Pulses */
.edge-pulse {
  display: none;
  position: absolute;
  top: var(--y);
  width: 10px;
  height: 10px;
  background: rgba(232, 228, 220, 0.9);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow:
    0 0 8px rgba(232, 228, 220, 0.6),
    0 0 16px rgba(232, 228, 220, 0.3);
}

.edge-pulse.left {
  left: 0;
  transform: translate(-50%, -50%);
}

.edge-pulse.right {
  right: 0;
  transform: translate(50%, -50%);
}

.edge-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 228, 220, 0.8);
  animation: edgePulse 2s ease-out infinite;
}

@keyframes edgePulse {
  0% { transform: scale(1); opacity: 0.7; }
  50% { opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0.3; }
}

/* Tooltip for edge pulse */
.pulse-tooltip {
  position: fixed;
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 11px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: 180px;
}

.pulse-tooltip.active {
  opacity: 1;
}

.pulse-tooltip .tt-label {
  font-weight: 500;
  margin-bottom: 2px;
}

.pulse-tooltip .tt-desc {
  font-weight: 300;
  opacity: 0.7;
  font-size: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .annotation {
    display: none;
  }

  .edge-pulse {
    display: block;
  }

  .bg-text {
    transform: translate(-50%, -50%);
    font-size: 120px;
    writing-mode: vertical-lr;
    text-orientation: upright;
    letter-spacing: -20px;
  }
}

@media (max-width: 600px) {
  .product-zone {
    padding: 40px 24px;
  }

  .device-frame {
    width: 280px;
    height: 346px;
  }

  .device-screen {
    width: 294px;
    margin-top: -20px;
    margin-left: -7px;
  }

  .info-zone {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 24px;
  }

  .info-right {
    text-align: left;
  }
}
