/* ============================================
   MAIN CSS — Fonts + Reset + Tokens + Utilities
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  /* Colors */
  --primary:      #E29F29;
  --primary-dark: #C4881A;
  --bg-site-dark: #0E0D0C;   /* ← change once, applies everywhere */
  --black:        #0D0D0D;
  --dark:         #1A1A1A;
  --gray-700:     #444444;
  --gray-500:     #777777;
  --gray-300:     #BBBBBB;
  --gray-100:     #F5F5F5;
  --white:        #FFFFFF;

  /* Fonts */
  --font-body:    'Inter', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;

  /* Sizes */
  --announce-h:  45px;
  --header-h:    85px;
  --max-width:  1300px;
  --radius:     8px;
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; overflow-x: hidden; }
body  {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--announce-h) + var(--header-h)); /* 45 + 85 = 130px */
  overflow-x: hidden;
  max-width: 100%;
}

/* Adjust body offset when header shrinks on mobile */
@media (max-width: 768px) {
  body { padding-top: calc(var(--announce-h) + 70px); }
}
@media (max-width: 576px) {
  body { padding-top: calc(40px + 70px); } /* announce auto + nav 70px */
}
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: var(--primary); }
ul, ol { list-style: none; padding: 0; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ── Headings ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--black);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 3vw, 2rem);   font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem;  font-weight: 600; }
h6 { font-size: 1rem;    font-weight: 600; }

p  { line-height: 1.8; color: var(--gray-700); margin-bottom: 1rem; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-dark     { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: #333; border-color: #333; }

/* ── Section ── */
.section { padding: 80px 0; }
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title    { margin-bottom: 12px; }
.section-subtitle { color: var(--gray-500); font-size: 1.05rem; max-width: 560px; }
.accent-line {
  display: block;
  width: 48px; height: 4px;
  background: var(--primary);
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ── Utilities ── */
.text-primary { color: var(--primary) !important; }
.text-white   { color: var(--white)   !important; }
.text-black   { color: var(--black)   !important; }
.text-center  { text-align: center; }
.bg-light     { background: var(--gray-100); }
.bg-dark      { background: var(--dark); }
.bg-black     { background: var(--black); }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }

/* ── Main content ── */
main { min-height: 60vh; }

/* ── Scroll offset for fixed header ── */
section[id] {
  scroll-margin-top: 90px;
}

/* ── Responsive utilities ── */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
}

/* ══════════════════════════════════════════════
   HERO SECTION — First Body Section
   Height: 690px  |  Left text + Right phones
══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  height: 690px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/main-image-homepage.webp');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

/* Dark overlay so text is readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.72);
  z-index: 1;
}

/* Centered inner container — 1300px max */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 40px 60px;     /* top 30px, bottom 60px as specified */
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 40px;
  box-sizing: border-box;
}

/* ── LEFT: Text ── */
.hero-content {
  flex: 0 0 auto;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Tag line — Inter Regular 16px LH30 LS1px #E29F29 */
.hero-tag {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

/* Main heading — Plus Jakarta Sans SemiBold 50px LH62 LS1px #FFFFFF */
.hero-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 50px;             /* reduced from 55px so 'Into a QR Experience' fits 1 line */
  line-height: 62px;
  letter-spacing: 1px;
  color: #FFFFFF;
  margin: 0 0 24px;
  white-space: nowrap;         /* prevent any mid-word wrapping on desktop */
}

/* "QR Experience" in gold */
.hero-highlight {
  color: var(--primary);
}

/* Description — Inter Regular 18px LH30 LS0.5px #FFFFFF */
.hero-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  margin: 0 0 36px;
}

/* Buttons row */
.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Filled button — same style as nav-cta */
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  background: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid var(--primary);
  transition: background 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover {
  background: #C4881A;
  border-color: #C4881A;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Outline / transparent button */
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ── RIGHT: Two phones ── */
.hero-phones {
  position: relative;
  flex: 0 0 auto;
  width: 600px;                /* wide enough for both phones */
  height: 100%;
  align-self: stretch;
  overflow: visible;
}

/*
  iPhone LEFT — IN FRONT (z-index:2), more to the left, slightly higher
  Right-click Chrome → Inspect → Elements panel → .phone-left to tweak live
*/
.phone-left {
  position: absolute;
  bottom: 0px;                /* sits higher than right */
  left: -180px;                 /* pushed further left */
  height: 100%%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  z-index: 2;                  /* IN FRONT */
  filter: drop-shadow(-16px 24px 40px rgba(0,0,0,0.65));
}

/*
  iPhone RIGHT — BEHIND (z-index:1), slightly lower & right
*/
.phone-right {
  position: absolute;
  bottom: 0px;                 /* lower — creates depth behind left */
  right: -30px;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  z-index: 1;                  /* BEHIND */
  filter: drop-shadow(16px 24px 40px rgba(0,0,0,0.65));
}

/* ══════════════════════════════════════════════
   HERO RESPONSIVE
══════════════════════════════════════════════ */

/* Large laptop ≤ 1200px */
@media (max-width: 1200px) {
  .hero-heading { font-size: 44px; line-height: 56px; }
  .hero-phones  { width: 520px; }
  .phone-left   { height: 82%; left: -30px; }
  .phone-right  { height: 78%; right: -20px; }
}

/* Laptop ≤ 1024px */
@media (max-width: 1024px) {
  .hero-heading { font-size: 38px; line-height: 50px; white-space: normal; }
  .hero-inner   { gap: 24px; padding: 30px 28px 60px; }
  .hero-phones  { width: 420px; }
  .phone-left   { height: 76%; left: -20px; }
  .phone-right  { height: 72%; right: -10px; }
}

/* ═══════════════════════════════════════════
   TABLET  ≤ 900px  — stack text + phones
═══════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Section — auto height, no horizontal overflow */
  .hero-section {
    height: auto;
    min-height: unset;
    overflow-x: hidden;
  }

  /* Inner — stack vertically, centered */
  .hero-inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    padding: 48px 32px 0;
    gap: 40px;
  }

  /* Left text block — full width, centered */
  .hero-content {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }
  .hero-heading {
    font-size: 36px;
    line-height: 48px;
    white-space: normal;
  }
  .hero-desc  { font-size: 16px; line-height: 28px; }
  .hero-br    { display: none; }
  .hero-btns  { justify-content: center; }

  /* Phones — flex row, centered, left in front */
  .hero-phones {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 380px;
    align-self: auto;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
  }

  /* Left phone — front, 100% height */
  .phone-left {
    position: relative;
    bottom: auto;
    left: 50px;
    height: 100%;
    width: auto;
    z-index: 2;
    filter: drop-shadow(-8px 16px 28px rgba(0,0,0,0.6));
    transform: none;
  }

  /* Right phone — behind, 100% height, overlapping left */
  .phone-right {
    position: relative;
    bottom: auto;
    right: 50px;
    height: 100%;
    width: auto;
    z-index: 1;
    margin-left: -55px;
    align-self: flex-end;
    filter: drop-shadow(8px 16px 28px rgba(0,0,0,0.5));
  }
}

/* ═══════════════════════════════════════════
   MOBILE  ≤ 600px
═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero-inner   { padding: 40px 20px 0; gap: 28px; }
  .hero-tag     { font-size: 12px; letter-spacing: 0.8px; }
  .hero-heading { font-size: 28px; line-height: 38px; }
  .hero-desc    { font-size: 15px; line-height: 26px; margin-bottom: 22px; }

  .hero-btn-primary,
  .hero-btn-outline {
    height: 44px;
    font-size: 13px;
    padding: 0 18px;
  }

  .hero-phones  { height: 290px; max-width: 100%; }
  .phone-left   { height: 100%; }
  .phone-right  { height: 100%; margin-left: -55px; }
}

/* ═══════════════════════════════════════════
   MOBILE  ≤ 430px
═══════════════════════════════════════════ */
@media (max-width: 430px) {
  .hero-inner   { padding: 50px 16px 0; gap: 24px; margin-bottom: 50px;}
  .hero-heading { font-size: 30px; line-height: 40px; }
  .hero-desc    { font-size: 14px; line-height: 24px; }

  .hero-btns    { gap: 10px; }
  .hero-btn-primary,
  .hero-btn-outline { height: 42px; font-size: 12px; padding: 0 14px; }

  .hero-phones  { height: 250px; }
  .phone-left   { height: 100%; }
  .phone-right  { height: 100%; margin-left: -40px; }
}

/* ═══════════════════════════════════════════
   MOBILE  ≤ 360px  (small phones)
═══════════════════════════════════════════ */
@media (max-width: 360px) {
  .hero-inner   { padding: 28px 14px 0; }
  .hero-heading { font-size: 22px; line-height: 32px; }
  .hero-phones  { height: 210px; }
  .phone-left   { height: 100%; }
  .phone-right  { height: 100%; margin-left: -32px; }
}



/* ══════════════════════════════════════════════
   WORK IN PROGRESS — Animated Section
══════════════════════════════════════════════ */

/* Full-viewport centered layout */
.wip-main {
  min-height: calc(100vh - 130px - 740px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: #FFFFFF;
}

.wip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

/* ── LIVE badge ── */
.wip-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(226, 159, 41, 0.10);
  border: 1px solid rgba(226, 159, 41, 0.30);
  border-radius: 100px;
  padding: 6px 14px;
}

.wip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E29F29;
  display: inline-block;
  animation: wip-pulse 1.4s ease-in-out infinite;
}

.wip-live-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--primary);
}

/* ── Main heading — breathes in/out ── */
.wip-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.15;
  color: #0D0D0D;
  animation: wip-breathe 3s ease-in-out infinite;
}

.wip-highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

/* Underline sweep on highlight */
.wip-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  animation: wip-underline 2s ease-in-out infinite alternate;
  transform-origin: left;
}

/* ── Subtitle ── */
.wip-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #777777;
  line-height: 1.7;
  max-width: 420px;
  animation: wip-fade 2.5s ease-in-out infinite alternate;
}

/* ── Shimmer progress bar ── */
.wip-bar-wrap {
  width: 280px;
  height: 4px;
  background: rgba(226, 159, 41, 0.15);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 8px;
}

.wip-bar {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 100px;
  animation: wip-shimmer 1.8s ease-in-out infinite;
}

/* ── Three bouncing dots ── */
.wip-dots {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.wip-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  animation: wip-bounce 1.2s ease-in-out infinite;
}
.wip-dots span:nth-child(2) { animation-delay: 0.2s; opacity: 0.7; }
.wip-dots span:nth-child(3) { animation-delay: 0.4s; opacity: 0.4; }

/* ══════════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════════ */
@keyframes wip-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.4; }
}

@keyframes wip-breathe {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.03); opacity: 0.88; }
}

@keyframes wip-underline {
  from { transform: scaleX(0.6); }
  to   { transform: scaleX(1); }
}

@keyframes wip-fade {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}

@keyframes wip-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

@keyframes wip-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── WIP responsive ── */
@media (max-width: 576px) {
  .wip-main { padding: 40px 16px; }
  .wip-bar-wrap { width: 200px; }
}
