/* Fonts */
@font-face {
  font-family: "Recoleta";
  src: url("./assets/Recoleta Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Recoleta";
  src: url("./assets/Recoleta Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Recoleta";
  src: url("./assets/Recoleta SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors from DASHBOARD_DA.md */
  --primary: #FFBC2C;
  --shell: #1A1A1A;
  --surface: #FFFFFA; /* Capsule blanc crème */
  --surface-alt: #F6F1E7;
  --surface-soft: #FFF8DC;
  --text-dark: #1A1A1A;
  --text-on-dark: #FFFFFF;
  --neutral-900: #2A2929; /* Gris Capsule */
  --neutral-800: #3D3D3D;
  --border-mid: #CCCCCC;
  --muted: #AAAAAA;
}

* { box-sizing: border-box; }
html, body { 
  height: 100vh; 
  overflow: hidden;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text-dark);
  background: var(--shell);
}

.hero-shell {
  height: 100vh;
  width: 100%;
  padding: 4px;
  display: flex;
  background: var(--primary);
  overflow: visible;
}

.hero-container {
  background: var(--shell); /* inverted: inner dark */
  border-radius: 16px;
  width: 100%;
  height: 98%;
  display: flex;
  flex-direction: column;
  overflow: visible;
  color: var(--text-on-dark);
  position: relative;
}

.hero-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 24px 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  justify-self: start;
}

.logo-text { height: 40px; width: auto; }
.logo-lottie { width: 80px; height: 80px; cursor: pointer; }
.store-buttons { justify-self: end; }
.login-container {
  justify-self: end;
  display: flex;
  align-items: center;
  background: #333;
  border-radius: 24px;
  padding: 0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.login-text {
  color: var(--text-on-dark);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 0 16px 0 20px;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.login-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  color: var(--shell);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.login-container:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(51, 51, 51, 0.4);
}

.login-container:hover .login-btn {
  background: #FFD700;
}

.store-buttons { display: flex; gap: 16px; }
.store-buttons.center { justify-self: center; display: inline-flex; gap: 16px; margin-top: 52px; position: relative; z-index: 10; }
.store-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 28px;
  border: 2px solid var(--primary);
  color: var(--shell);
  background: var(--primary);
  text-decoration: none;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}
.store-button:hover { 
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 188, 44, 0.4);
  background: #FFD700;
}
.store-icon { 
  display: inline-block; 
  width: 22px; 
  height: 22px; 
  color: var(--shell);
  fill: var(--shell);
}

.hero-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero-top {
  flex: 1; /* 50% of hero-content */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 48px;
  position: relative;
  z-index: 2;
  transform: translateY(-60px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #2A2929 0%, #1F1F1F 100%);
  color: var(--surface);
  border: 1px solid #444;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  border-radius: 20px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 4px 12px rgba(42, 41, 41, 0.4);
  background: linear-gradient(180deg, #333232 0%, #252525 100%);
}

.headline {
  margin: 28px 0 12px 0;
  font-family: Recoleta, Georgia, serif;
  font-weight: 600;
  /* Big but responsive */
  font-size: clamp(28px, 6vw, 60px);
  line-height: 1.1;
  color: var(--text-on-dark);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.copy {
  margin: 20px 0 0 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  max-width: 600px;
  color: var(--muted);
}

.hero-phones {
  flex: 1; /* 50% of hero-content */
  position: relative;
  display: flex;
  align-items: flex-start; /* phones touch the top edge of this block */
  justify-content: center;
  padding: 0 48px;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}

.phones-3d {
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: -220px;
  perspective: 1200px;
}

.phone {
  position: relative;
  width: 380px;
  height: 760px;
  border-radius: 36px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform-origin: 50% 80%;
  margin: 0;
  padding: 0;
}

/* Overlap and depth */
.phone-center { z-index: 3; }
.phone-right { z-index: 2; }
.phone-left  { z-index: 1; }

/* Overlapping phones with center on top */
.phone-left { transform: translateY(40px); }
.phone-right { transform: translateY(40px); }
.phone-center { transform: translateY(-20px); }


/* notch removed for full-image mockups */

.phone-screen {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Simple fake UI stripes */
/* decorative overlays removed */

/* Responsive design improvements */
@media (max-width: 1200px) {
  .hero-header { padding: 20px 24px; }
  .hero-top { padding: 0 32px; }
  .phone { width: 320px; height: 640px; }
}

@media (max-width: 960px) {
  .hero-header { 
    padding: 16px 20px;
    grid-template-columns: auto auto;
    gap: 16px;
  }
  .brand { gap: 12px; }
  .logo-text { height: 32px; }
  .logo-lottie { width: 60px; height: 60px; }
  .hero-top { 
    padding: 0 24px;
    transform: translateY(-40px);
  }
  .hero-phones { padding: 0 24px; }
  .phones-3d { 
    gap: -80px;
    left: 24px;
    right: 24px;
  }
  .phone { width: 200px; height: 400px; }
  .phone-left { transform: translateY(40px); }
  .phone-right { transform: translateY(40px); }
  .phone-center { transform: translateY(-20px); }
}

@media (max-width: 720px) {
  .hero-header { 
    padding: 12px 16px;
    grid-template-columns: 1fr auto;
  }
  .brand { gap: 8px; }
  .logo-text { height: 28px; }
  .logo-lottie { width: 50px; height: 50px; }
  .login-text { 
    font-size: 12px;
    padding: 0 12px 0 16px;
  }
  .login-btn { 
    width: 40px; 
    height: 40px; 
  }
  .pill { 
    display: none;
  }
  .hero-top { 
    padding: 0 20px;
    transform: translateY(-20px);
  }
  .headline { 
    font-size: clamp(24px, 8vw, 40px);
    margin: 20px 0 8px 0;
  }
  .copy { 
    font-size: 14px;
    line-height: 20px;
    margin: 16px 0 0 0;
  }
  .store-buttons.center { 
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
  }
  .store-button {
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 24px;
    justify-content: center;
    min-width: 160px;
  }
  .hero-phones { 
    padding: 0;
    position: relative;
  }
  .phones-3d { 
    display: none;
  }
  .hero-phones::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 120%;
    height: 50vh;
    background-image: url('./assets/mobile mobile.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 100;
    margin-left: -10%;
  }
}

@media (max-width: 480px) {
  .hero-shell { padding: 2px; }
  .hero-container { 
    border-radius: 12px;
    height: 99%;
  }
  .hero-header { 
    padding: 8px 12px;
    gap: 8px;
  }
  .brand { gap: 6px; }
  .logo-text { height: 24px; }
  .logo-lottie { width: 40px; height: 40px; }
  .login-container { 
    background: transparent;
    padding: 0;
  }
  .login-text { display: none; }
  .login-btn { 
    width: 36px; 
    height: 36px;
    border-width: 1px;
  }
  .hero-top { 
    padding: 0 16px;
    transform: translateY(0px);
  }
  .pill { 
    padding: 8px 12px;
    font-size: 12px;
    gap: 6px;
  }
  .headline { 
    font-size: clamp(20px, 10vw, 32px);
    margin: 16px 0 6px 0;
  }
  .copy { 
    font-size: 13px;
    line-height: 18px;
    margin: 12px 0 0 0;
  }
  .store-buttons.center { 
    margin-top: 24px;
    gap: 10px;
  }
  .store-button {
    padding: 10px 14px;
    font-size: 13px;
    min-width: 140px;
  }
  .store-icon { 
    width: 18px; 
    height: 18px; 
  }
  .hero-phones { 
    padding: 0;
    position: relative;
  }
  .phones-3d { 
    display: none;
  }
  .hero-phones::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 120%;
    height: 50vh;
    background-image: url('./assets/mobile mobile.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 100;
    margin-left: -10%;
  }
}

@media (max-width: 360px) {
  .hero-top { padding: 0 12px; }
  .headline { 
    font-size: clamp(18px, 12vw, 28px);
    line-height: 1.2;
  }
  .copy { font-size: 12px; }
  .store-buttons.center { 
    gap: 8px;
  }
  .store-button {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 120px;
  }
  .hero-phones::after {
    height: 50vh;
    width: 130%;
    margin-left: -15%;
  }
}


