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

:root {
  --bg: #08080C;
  --surface: #141419;
  --surface-light: #1C1C24;
  --surface-highlight: #252530;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text: #F5F5F7;
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-tertiary: rgba(255, 255, 255, 0.3);
  --accent: #D4A34E;
  --accent-light: #E8C170;
  --accent-muted: rgba(212, 163, 78, 0.2);
  --success: #2ED573;
  --danger: #FF4757;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.mobile-video-bg {
  display: none;
}

.container {
  display: flex;
  height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 40px;
  gap: 48px;
  align-items: stretch;
}

.phone-section {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.phone-wrapper {
  position: relative;
  height: 100%;
  aspect-ratio: 0.49;
}

.phone-store-btn {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 4px 10px;
  gap: 6px;
}

.phone-frame {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 2;
  object-fit: contain;
}

.phone-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78%;
  aspect-ratio: 9 / 16;
  border-radius: 32px;
  overflow: hidden;
  z-index: 3;
  background: #000;
}

.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.content-section {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.hero {
  flex-shrink: 0;
  padding-bottom: 24px;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.look {
  font-weight: 700;
  color: var(--accent);
}

.beauty {
  font-weight: 300;
  color: var(--text);
}

.tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.gold {
  color: var(--accent);
  font-weight: 700;
}

.scroll-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.scroll-inner {
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 8px;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.scroll-inner::-webkit-scrollbar {
  width: 4px;
}

.scroll-inner::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-inner::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}

.scroll-inner::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

.snap-item {
  scroll-snap-align: start;
  margin-bottom: 20px;
}

.offering {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
}

.offering:hover {
  border-color: var(--accent-muted);
  background: var(--surface-light);
}

.offering-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.offering-header h3 {
  margin-bottom: 0;
}

.offering h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.offering p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.coming-soon {
  border-color: var(--accent-muted);
}

.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-muted);
  padding: 4px 12px;
  border-radius: 20px;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.join-beta-btn {
  padding: 6px 16px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}

.join-beta-btn:hover {
  background: var(--accent-muted);
}

.join-beta-btn.active {
  background: var(--accent);
  color: #000;
}

.beta-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease, padding-top 0.35s ease;
}

.beta-section.expanded {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.beta-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.signup-form {
  margin: 0;
}

.form-group {
  display: flex;
  gap: 12px;
}

.form-group input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: var(--surface-light);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input::placeholder {
  color: var(--text-tertiary);
}

.form-group input:focus {
  border-color: var(--accent);
}

.form-group button {
  padding: 10px 20px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s, transform 0.15s;
  white-space: nowrap;
}

.form-group button:hover {
  background: var(--accent-light);
}

.form-group button:active {
  transform: scale(0.97);
}

.form-group button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  margin-top: 8px;
  font-size: 0.8rem;
  min-height: 18px;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--danger);
}

.testflight-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface-light);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
  flex-shrink: 0;
}

.testflight-btn:hover {
  border-color: var(--accent-muted);
  background: var(--surface-highlight);
}

.testflight-btn svg {
  flex-shrink: 0;
}

.store-label {
  display: block;
  font-size: 0.5rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.phone-footer {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: nowrap;
}

@media (max-width: 900px) {
  body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .container {
    flex-direction: column;
    padding: 0;
    gap: 0;
    height: 100vh;
    height: 100dvh;
    position: relative;
  }

  .phone-section {
    display: none;
  }

  .mobile-video-bg {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .mobile-video-bg video {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .mobile-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(8, 8, 12, 0.3) 0%,
      rgba(8, 8, 12, 0.15) 30%,
      rgba(8, 8, 12, 0.3) 60%,
      rgba(8, 8, 12, 0.85) 100%
    );
  }

  .content-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .hero {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 48px 20px 16px;
    background: linear-gradient(
      180deg,
      rgba(8, 8, 12, 0.7) 0%,
      rgba(8, 8, 12, 0.4) 70%,
      transparent 100%
    );
  }

  .scroll-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    overflow: hidden;
  }

  .scroll-hint {
    display: block;
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    z-index: 5;
    pointer-events: none;
  }

  .scroll-inner {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    padding: 0 16px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .scroll-inner::-webkit-scrollbar {
    display: none;
  }

  .snap-item {
    scroll-snap-align: end;
    margin-bottom: 0;
  }

  .snap-item:last-child {
    margin-bottom: 0;
  }

  .mobile-spacer {
    flex-shrink: 0;
  }

  .snap-item {
    flex-shrink: 0;
    padding-bottom: 16px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .tagline {
    font-size: 0.9rem;
  }

  .form-group {
    flex-direction: column;
  }

  .form-group button {
    width: 100%;
  }

  .offering {
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .offering-header {
    flex-wrap: wrap;
    gap: 8px;
  }

}

.scroll-hint {
  display: none;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  padding: 12px 0;
  letter-spacing: 0.05em;
  animation: bounceHint 2s ease-in-out infinite;
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  .offering {
    padding: 18px;
  }

  .testflight-btn {
    padding: 4px 10px;
  }

  .store-name {
    font-size: 0.75rem;
  }
}
