/* ==========================================================================
   BARBERR - Outfit (Headings) & Roboto (Body) Pure Studio Landing Page
   ========================================================================== */

/* Galgo Condensed Font Definition */
@font-face {
  font-family: 'Galgo Condensed';
  src: local('Galgo Condensed'), 
       local('GalgoCondensed'), 
       local('Galgo'),
       url('../assets/fonts/galgo-condensed.woff2') format('woff2'),
       url('../assets/fonts/galgo-condensed.woff') format('woff'),
       url('../assets/fonts/galgo-condensed.ttf') format('truetype'),
       url('../assets/fonts/galgo.otf') format('opentype'),
       url('../assets/fonts/Galgo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Font Family & Variable Definitions */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-watermark: 'Galgo Condensed', 'Galgo', 'Antonio', 'Bebas Neue', sans-serif;
  
  /* Pure Clean Studio Color Palette */
  --bg-gradient: radial-gradient(circle at 40% 30%, #ffffff 0%, #f4f5f8 55%, #e4e6ec 100%);
  --text-dark: #0a0a0c;
  --text-primary: #121316;
  --text-secondary: #575a65;
  --text-muted: #888c99;
  
  --accent-black: #0c0d0f;
  --accent-black-hover: #212328;
  --accent-white: #ffffff;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, 
.brand-name, 
.eyebrow-tag, 
.btn-submit, 
.btn-header-cta, 
.feature-title,
.btn-modal-submit {
  font-family: var(--font-heading);
}

/* Background Atmosphere Glow */
.bg-studio-light {
  position: fixed;
  top: -250px;
  left: -150px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Single Viewport Container */
.banner-viewport {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Ambient Animated Black Particles Canvas */
.bg-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Giant Full-Width Solid-Filled Background Watermark */
.bg-watermark-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 100vw;
  text-align: center;
  font-family: var(--font-watermark);
  font-size: clamp(140px, 28vw, 440px);
  font-weight: 900;
  letter-spacing: clamp(4px, 1.4vw, 18px);
  text-transform: uppercase;
  line-height: 0.85;
  color: rgba(0, 0, 0, 0.02);
  -webkit-text-stroke: 0;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}

.container {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
}

/* Header Navbar - Pure Transparent Minimal (Shares Container Grid) */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 8px;
  position: relative;
  z-index: 10;
  width: 100%;
  background: transparent;
}

/* Header Navbar Instagram Button - Pill Shape & Interactive Real Instagram Gradient */
.navbar-instagram-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px 0 13px;
  border-radius: var(--radius-pill);
  background: rgb(255, 255, 255);
  color: #000000;
  border: none;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.navbar-instagram-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s ease;
}

.navbar-instagram-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(220, 39, 67, 0.45), 0 2px 8px rgba(240, 148, 51, 0.35);
}

.navbar-instagram-btn:hover::before {
  opacity: 1;
}

.navbar-instagram-btn:active {
  transform: translateY(0) scale(0.97);
}

.navbar-instagram-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.navbar-instagram-btn:hover svg {
  transform: rotate(-6deg) scale(1.08);
}

.instagram-btn-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
  margin: 0;
}

.header-logo-icon {
  display: block !important;
  height: 38px;
  width: 38px;
  min-width: 32px;
  min-height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform var(--transition-bounce);
}

.brand-logo:hover .header-logo-icon {
  transform: scale(1.08) rotate(-4deg);
}

.brand-name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  color: #000;
  line-height: 1;
}

.brand-tag {
  font-size: 14px;
  font-weight: 700;
  vertical-align: super;
  margin-left: 1px;
}

.btn-header-cta {
  background: var(--accent-black);
  color: var(--accent-white);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-bounce);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.btn-header-cta:hover {
  background: var(--accent-black-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Hero Main Grid */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: calc(100vh - 110px);
  gap: 40px;
  padding: 28px 0 40px;
}

.hero-content {
  max-width: 640px;
  width: 100%;
}

.eyebrow-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #111215;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.eyebrow-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111215;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.eyebrow-break {
  display: inline;
}

/* Uppercase & Reduced Font Weight for Coming Soon */
.hero-title {
  font-size: clamp(48px, 4.5vw, 68px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.2px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 22px;
  white-space: nowrap;
}

.hero-title .gradient-text {
  color: #7b7f8c;
  display: inline;
}

.typing-dots {
  display: inline-block;
  margin-left: 2px;
}

.typing-dots .dot {
  display: inline-block;
  opacity: 0;
}

.typing-dots .dot-1 {
  animation: typeDot1 1.6s infinite ease-in-out;
}

.typing-dots .dot-2 {
  animation: typeDot2 1.6s infinite ease-in-out;
}

.typing-dots .dot-3 {
  animation: typeDot3 1.6s infinite ease-in-out;
}

@keyframes typeDot1 {
  0%, 10% {
    opacity: 0;
    transform: translateY(0);
  }
  20%, 85% {
    opacity: 1;
    transform: translateY(0);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes typeDot2 {
  0%, 35% {
    opacity: 0;
    transform: translateY(0);
  }
  45%, 85% {
    opacity: 1;
    transform: translateY(0);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes typeDot3 {
  0%, 60% {
    opacity: 0;
    transform: translateY(0);
  }
  70%, 85% {
    opacity: 1;
    transform: translateY(0);
  }
  95%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
}

/* Subscription Form Box */
.hero-form-group {
  max-width: 480px;
  width: 100%;
}

.subscribe-box {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  height: 54px;
  padding: 6px 6px 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 
    0 12px 32px -4px rgba(0, 0, 0, 0.07),
    0 2px 8px rgba(0, 0, 0, 0.02),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  margin-bottom: 38px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 480px;
  width: 100%;
}

.subscribe-box:focus-within {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 
    0 20px 42px -6px rgba(0, 0, 0, 0.12),
    0 0 0 3px rgba(0, 0, 0, 0.03),
    0 0 0 1px #ffffff inset;
  transform: translateY(-1px);
}

.input-icon {
  color: #555;
  display: flex;
  align-items: center;
}

.subscribe-input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  flex: 1;
  width: 100%;
}

.subscribe-input::placeholder {
  color: #9999a3;
  font-weight: 400;
}

.btn-submit {
  background: #000000;
  color: #ffffff;
  padding: 0 22px;
  height: 42px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
  background: #1c1d22;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.btn-submit:active {
  transform: translateY(0) scale(0.98);
}

.btn-submit svg {
  transition: transform var(--transition-fast);
}

.btn-submit:hover svg {
  transform: translateX(3px);
}

.btn-submit.loading {
  pointer-events: none;
  opacity: 0.9;
  cursor: wait;
}

.btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin 0.65s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

.form-feedback {
  margin-top: -30px;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  animation: fadeIn 0.3s ease;
}

.form-feedback.success {
  display: flex;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-feedback.already {
  display: flex;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.form-feedback.error {
  display: flex;
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Feature Badges - Enlarged & Spacious */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 100%;
  width: 100%;
}

.feature-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  padding: 16px 12px 14px;
  cursor: default;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  color: inherit;
  user-select: none;
  box-shadow: 0 4px 14px -3px rgba(0, 0, 0, 0.03);
}

.feature-badge:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.08);
}

.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #111;
}

.badge-chair-icon {
  height: 28px;
  width: 28px;
  object-fit: contain;
  display: block !important;
  transition: filter var(--transition-fast);
}

.feature-badge:hover .icon-circle {
  background: #000;
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.feature-badge:hover .badge-chair-icon {
  filter: brightness(0) invert(1);
}

.feature-title {
  font-size: 15px;
  font-weight: 800;
  color: #000;
  line-height: 1.25;
}

.feature-sub {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 2px;
}

/* Coming Soon Store Badges - In One Single Line */
.store-availability-wrap {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  width: 100%;
}

.store-availability-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.store-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.store-availability-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #64748b;
  text-transform: uppercase;
}

.store-badges-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.store-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0c0d10;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  cursor: default;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.store-badge-card:hover {
  transform: translateY(-2px);
  background: #15171d;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.store-icon {
  flex-shrink: 0;
  display: block;
}

.appstore-icon,
.apple-icon {
  width: 22px;
  height: 22px;
}

.play-icon {
  width: 22px;
  height: 22px;
}

.store-badge-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-badge-sub {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
}

.store-badge-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #ffffff;
  line-height: 1.15;
  margin-top: 2px;
}

/* Right Graphic Area (Clean Standalone Phone) */
.hero-graphic-area {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Aesthetic Black Circular Backdrop behind Phone */
.phone-backdrop-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: #000000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22), 0 8px 24px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  z-index: 1;
}

/* Straight Upright 3D Phone Frame with Slim Bezels */
.phone-device-3d {
  width: 290px;
  height: 590px;
  background: #09090b;
  border-radius: 46px;
  border: 4px solid #1c1d22;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.18),
    0 10px 25px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 2px #2b2d35;
  position: relative;
  overflow: hidden;
  transform: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: default;
  z-index: 5;
}

.phone-device-3d::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 38%, transparent 40%, transparent 100%);
  pointer-events: none;
  z-index: 25;
  border-radius: inherit;
}

.phone-device-3d:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 30px 65px rgba(0, 0, 0, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 2px #353842;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

.phone-camera-lens {
  width: 10px;
  height: 10px;
  background: #111;
  border: 2px solid #222;
  border-radius: 50%;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 30px;
  position: relative;
  user-select: none;
}

.app-screen-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  justify-content: space-between;
  padding: 40px 0 20px;
  transition: opacity 0.3s ease;
}

.phone-app-logo {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Off-White Circular Badge for Logo (No Stroke, Compact, Still) */
.phone-logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f1f2f5;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.phone-brand-chair-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
  display: block !important;
  animation: none;
  transform: none;
}

.phone-brand-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: #000000;
  margin-bottom: 8px;
}

.phone-app-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #5d6370;
  text-transform: uppercase;
  max-width: 180px;
  line-height: 1.4;
  font-family: var(--font-body);
}

.phone-bottom-status {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Continuous Sliding Infinite Progress Bar on White Screen */
.loading-bar-track {
  width: 110px;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.loading-bar-fill {
  position: absolute;
  top: 0;
  left: -40px;
  height: 100%;
  width: 40px;
  background: #000000;
  border-radius: 4px;
  animation: continuousProgress 1.8s infinite ease-in-out;
}

@keyframes continuousProgress {
  0% {
    left: -40px;
    width: 25px;
  }
  50% {
    width: 50px;
  }
  100% {
    left: 115px;
    width: 25px;
  }
}

.phone-status-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #4b5160;
  text-transform: uppercase;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  color: #000;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s var(--transition-bounce);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.15);
}

.modal-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-family: var(--font-body);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #ddd;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: #000;
}

.btn-modal-submit {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 16px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-modal-submit:hover {
  background: #222;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   MOBILE & TABLET RESPONSIVE SYSTEM (Desktop remains 100% untouched)
   ========================================================================== */

@media (max-width: 991px) {
  /* Container & Global Mobile Safety */
  .container {
    padding: 0 20px;
  }

  /* Watermark: Solid-filled background texture on mobile */
  .bg-watermark-text {
    font-size: clamp(75px, 22vw, 160px);
    color: rgba(0, 0, 0, 0.016);
    opacity: 1;
    -webkit-text-stroke: 0;
    letter-spacing: clamp(2px, 0.8vw, 8px);
  }

  /* Clean Transparent Mobile Header */
  .site-header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    margin-bottom: 8px;
  }

  .navbar {
    padding: 16px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .brand-logo {
    gap: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }

  .navbar-instagram-btn {
    height: 34px;
    padding: 0 12px 0 10px;
    gap: 6px;
    border-width: 1.2px;
  }

  .navbar-instagram-btn svg {
    width: 15px;
    height: 15px;
  }

  .instagram-btn-text {
    font-size: 12px;
  }

  .header-logo-icon {
    height: 34px !important;
    width: 34px !important;
    min-width: 34px;
    min-height: 34px;
  }

  .brand-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.2px;
  }

  /* Hero Wrapper: Intentional Mobile Vertical Order */
  .hero-wrapper {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 36px;
    gap: 0;
  }

  .hero-content {
    display: contents;
  }

  /* 1. COMING SOON Header Text */
  .hero-header-text {
    order: 1;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
    padding: 0 4px;
  }

  .hero-header-text .eyebrow-tag {
    font-size: 11px;
    letter-spacing: 2.2px;
    font-weight: 800;
    color: #2b2e38;
    margin-bottom: 12px;
    line-height: 1.4;
    display: block;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  .eyebrow-break {
    display: block;
  }

  .hero-header-text .hero-title {
    font-size: clamp(34px, 8vw, 52px);
    line-height: 1.05;
    letter-spacing: -1.2px;
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .hero-header-text .hero-title .gradient-text {
    color: #7b7f8c;
  }

  .hero-header-text .hero-subtitle {
    font-size: 16px;
    line-height: 1.45;
    color: var(--text-secondary);
    max-width: 330px;
    margin: 0 auto 30px;
    padding: 0 4px;
  }

  /* 3. Phone Mockup - Replaced position, now BELOW Features */
  .hero-graphic-area {
    order: 3;
    width: 100%;
    margin: 0 auto 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .phone-backdrop-circle {
    width: 270px;
    height: 270px;
    background: #ffffff !important;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.95), 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  }

  .phone-device-3d {
    width: 250px;
    height: 508px;
    border-radius: 40px;
    border: 3.5px solid #1c1d22;
    box-shadow: 
      0 18px 45px rgba(0, 0, 0, 0.12),
      0 8px 18px rgba(0, 0, 0, 0.06),
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 0 0 2px #2b2d35;
  }

  .phone-notch {
    width: 80px;
    height: 20px;
    top: 10px;
    border-radius: 16px;
    padding-right: 8px;
  }

  .phone-camera-lens {
    width: 8px;
    height: 8px;
  }

  .phone-screen {
    padding: 34px 18px 22px;
  }

  .app-screen-view {
    padding: 24px 0 14px;
  }

  .phone-app-logo {
    margin-top: 18px;
  }

  .phone-logo-circle {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .phone-brand-chair-logo {
    height: 24px;
    width: 24px;
  }

  .phone-brand-title {
    font-size: 26px;
    margin-bottom: 6px;
  }

  .phone-app-tagline {
    font-size: 10px;
    letter-spacing: 1.6px;
    max-width: 160px;
    line-height: 1.35;
  }

  .loading-bar-track {
    width: 95px;
    height: 3.5px;
  }

  .phone-status-text {
    font-size: 10px;
    letter-spacing: 2.5px;
  }

  /* 2. Feature Section: 2 x 2 Clean Compact Grid (Now ABOVE Phone) */
  .features-grid {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 16px;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 34px;
    padding: 0 4px;
  }

  .feature-badge {
    padding: 12px 6px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  }

  .icon-circle {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
  }

  .badge-chair-icon {
    height: 22px;
    width: 22px;
  }

  .feature-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
  }

  .feature-sub {
    font-size: 13px;
    margin-top: 2px;
  }

  /* 4. Email CTA: Ultra-Premium Minimal Inline Pill */
  .hero-form-group {
    order: 4;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 28px;
    padding: 0 4px;
  }

  .subscribe-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: var(--radius-pill) !important;
    height: 52px !important;
    padding: 5px 5px 5px 16px !important;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
    backdrop-filter: blur(14px) !important;
    margin-bottom: 8px !important;
    transition: all var(--transition-fast) !important;
    width: 100% !important;
  }

  .subscribe-box:focus-within {
    box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.1) !important;
    background: #ffffff !important;
  }

  .input-icon {
    color: #71717a !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-right: 8px !important;
  }

  .subscribe-input {
    flex: 1 !important;
    min-width: 0 !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 14px !important;
    color: #111113 !important;
    font-weight: 500 !important;
    padding: 0 !important;
  }

  .subscribe-input::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
  }

  .btn-submit {
    flex-shrink: 0 !important;
    width: auto !important;
    height: 42px !important;
    padding: 0 16px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: var(--radius-pill) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14) !important;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  }

  .btn-submit:hover,
  .btn-submit:active {
    background: #1c1d22 !important;
    transform: scale(0.98) !important;
  }

  .form-feedback {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
    padding: 10px 16px !important;
  }

  /* 5. Store Badges Section */
  .store-availability-wrap {
    order: 5;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 38px;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .store-availability-header {
    justify-content: center;
  }

  .store-availability-label {
    font-size: 10.5px;
    letter-spacing: 2px;
  }

  .store-badges-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 4px;
  }

  .store-badge-card {
    width: 148px;
    padding: 8px 12px;
    gap: 10px;
    border-radius: 12px;
    justify-content: center;
  }

  .store-icon {
    width: 20px;
    height: 20px;
  }

  .store-badge-sub {
    font-size: 8.5px;
  }

  .store-badge-title {
    font-size: 13px;
  }

}

/* Tablet intermediary adjustments */
@media (min-width: 641px) and (max-width: 991px) {
  .hero-header-text {
    max-width: 520px;
  }
  .hero-header-text .hero-title {
    font-size: clamp(38px, 6vw, 52px);
  }
  .features-grid {
    max-width: 440px;
    gap: 18px 24px;
  }
  .hero-form-group {
    max-width: 380px;
  }
}

/* Responsive adjustments for mobile screens <= 480px */
@media (max-width: 480px) {
  .hero-header-text .hero-title {
    font-size: clamp(28px, 7.8vw, 38px);
  }
}

/* Responsive adjustments for screens <= 375px (iPhone mini / SE) */
@media (max-width: 375px) {
  .hero-header-text .hero-title {
    font-size: clamp(24px, 7.2vw, 30px);
    letter-spacing: -0.8px;
  }
  .hero-header-text .hero-subtitle {
    font-size: 15px;
    max-width: 300px;
  }
  .phone-device-3d {
    width: 236px;
    height: 480px;
    border-radius: 36px;
  }
  .phone-screen {
    padding: 28px 16px 18px;
  }
  .features-grid {
    gap: 12px 10px;
    max-width: 310px;
  }
  .icon-circle {
    width: 46px;
    height: 46px;
  }
  .feature-title {
    font-size: 14px;
  }
  .feature-sub {
    font-size: 12px;
  }
  .store-badge-card {
    width: 140px;
    padding: 7px 10px;
  }
  .subscribe-box {
    height: 48px !important;
    padding: 4px 4px 4px 14px !important;
  }
  .subscribe-input {
    font-size: 13.5px !important;
  }
  .btn-submit {
    height: 38px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
}

/* Responsive adjustments for very small screens <= 330px */
@media (max-width: 330px) {
  .hero-header-text .hero-title {
    font-size: 22px;
  }
  .phone-device-3d {
    width: 220px;
    height: 450px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 240px;
  }
  .subscribe-box {
    height: 46px !important;
    padding: 4px 4px 4px 12px !important;
  }
  .subscribe-input {
    font-size: 12.5px !important;
  }
  .btn-submit {
    height: 36px !important;
    padding: 0 11px !important;
    font-size: 11.5px !important;
  }
  .store-badges-container {
    flex-direction: column;
  }
  .store-badge-card {
    width: 100%;
    max-width: 200px;
  }
}
