@font-face {
  font-family: "JapanRamen";
  src: url("./Raku-LandingPage_Folder/Fonts/JapanRamen-9M7ZZ.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Parkinsans";
  src: url("./Raku-LandingPage_Folder/Fonts/Parkinsans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Parkinsans";
  src: url("./Raku-LandingPage_Folder/Fonts/Parkinsans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Parkinsans";
  src: url("./Raku-LandingPage_Folder/Fonts/Parkinsans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Parkinsans";
  src: url("./Raku-LandingPage_Folder/Fonts/Parkinsans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MyriadPro";
  src: url("./Raku-LandingPage_Folder/Fonts/MyriadPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08080a;
  --bg-soft: #101015;
  --text: #f5f5f6;
  --muted: #c9c9ca;
  --accent: #ff5a3d;
  --accent-2: #ff7a3d;
  --soft: #f1e5dc;
  --radius: 20px;
  --container: 1100px;
}

@media (min-width: 1280px) {
  :root {
    --container: 1220px;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Parkinsans", "MyriadPro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  border: 0;
  background: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
}

.btn::before {
  background: linear-gradient(120deg, #281112 0%, #ff5a3d 45%, #ff7a3d 70%, #ff9c5a 100%);
}

.btn::after {
  inset: 1px;
  background: linear-gradient(120deg, #1b1012 0%, #ff4e2e 45%, #ff7a3d 100%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gradient {
  box-shadow: 0 16px 48px rgba(255, 90, 61, 0.32);
}

.btn-outline::before {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline::after {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  color: var(--text);
}

.store-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.2px;
  backdrop-filter: blur(10px);
  position: relative;
}

.store-btn::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.store-btn.ios::before {
  background-image: url("./apple-13.svg");
}

.store-btn.android::before {
  background-image: url("./android-3.svg");
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    radial-gradient(420px 240px at 5% 10%, rgba(255, 102, 54, 0.4), transparent 70%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.92), rgba(6, 6, 7, 0.72));
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.brand-text {
  font-family: "JapanRamen", "Parkinsans", sans-serif;
  font-weight: 700;
  letter-spacing: 1.2px;
  font-size: clamp(36px, 4vw, 44px);
  color: var(--accent);
}

.nav-links {
  display: none;
  gap: 28px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.92;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.nav-mobile-ctas {
  display: none;
  align-items: center;
  gap: 12px;
}


.store-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease;
  text-decoration: none;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
}

.store-dot:hover {
  transform: translateY(-1px);
}

.store-dot.ios { background-image: url("./apple-13.svg"); }
.store-dot.android { background-image: url("./android-3.svg"); }

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  background: url("./mockup-1.png") center right / cover no-repeat;
}


.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 80vh;
}


.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  text-align: left;
  width: min(520px, 100%);
  margin-right: auto;
  padding: 48px 0 32px;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.eyebrow {
  color: var(--soft);
  opacity: 0.85;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0.3px;
  line-height: 1.15;
}

.lede {
  margin: 12px 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  position: relative;
  padding: 110px 0;
  background: var(--bg);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px 380px at 20% 15%, rgba(255, 122, 61, 0.22), transparent 75%);
  opacity: 0.9;
}

.section > .container {
  position: relative;
  z-index: 2;
}

.section-title {
  margin: 6px 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.section-body {
  margin: 0 0 32px;
  max-width: 640px;
  color: var(--muted);
}

  .split {
    background:
    radial-gradient(820px 540px at 85% 5%, rgba(255, 150, 102, 0.12), transparent 70%),
    linear-gradient(200deg, #0b0b0f 0%, #090a0c 75%);
  }

.split::before {
  opacity: 0.5;
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.feature-list {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
  font-size: 17px;
  color: var(--muted);
}

.feature-list li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.audience {
  position: relative;
  overflow: hidden;
  background: url("./mockup-2.png") center left / cover no-repeat;
}

.audience-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.audience-copy {
  display: grid;
  gap: 12px;
  max-width: 520px;
  text-align: center;
  align-items: flex-start;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.audience-benefits {
  margin-top: 4px;
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  width: 100%;
}

.audience-benefits li,
.audience-benefits .point {
  color: var(--muted);
  font-weight: 500;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(5, 5, 7, 0.6);
  text-align: center;
}

.audience-benefits li::before,
.audience-benefits .point::before {
  display: none;
}

.special {
  background:
    radial-gradient(760px 420px at 50% 0%, rgba(255, 144, 94, 0.24), transparent 70%),
    linear-gradient(200deg, #0d0405 0%, #060708 82%);
  text-align: center;
}

.special::before {
  opacity: 0.35;
}

.special-list {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
}

.special-list li {
  position: relative;
  padding-left: 28px;
  text-align: left;
}

.special-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.closing {
  position: relative;
  overflow: hidden;
  background: url("./mockup-3.png") center right / cover no-repeat;
}

.closing-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}

.closing-copy {
  display: grid;
  gap: 24px;
  max-width: 520px;
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-footer {
  background:
    linear-gradient(90deg, rgba(34, 6, 6, 0.96), rgba(8, 8, 11, 0.88));
  padding: 36px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: auto 1fr auto;
  }
}

.footer-brand {
  font-weight: 600;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
  font-weight: 500;
}

.footer-ctas {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .hero-inner,
  .audience-inner,
  .closing-inner {
    gap: 36px;
  }

  .hero-media,
  .audience-media,
  .closing-media {
    min-height: 380px;
  }
}

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

  .nav-inner {
    height: 84px;
    transition: height 0.3s ease;
  }

  .audience-inner,
  .closing-inner {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 14px;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-mobile-ctas {
    display: inline-flex;
  }

  .store-dot {
    width: 36px;
    height: 36px;
    background-size: 18px;
  }

  .hero-actions,
  .btn {
    width: 100%;
    justify-content: flex-start;
  }
  
  .store-ctas {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .footer-ctas {
    display: none;
  }
}

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

  /* Navbar starts smaller on mobile */
  .nav-inner {
    height: 60px;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Navbar expands after scroll */
  .navbar-scrolled .nav-inner {
    height: 84px;
  }

  .hero .container {
    padding: 0 16px; /* Only side padding */
    width: 100%;
    max-width: none;
  }

  .overlay-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    --overlay-opacity: 0;
  }
  

  /* Dark overlay that fades in for text contrast */
  .overlay-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
      rgba(8, 8, 10, 0.3) 0%,
      rgba(8, 8, 10, 0.6) 30%,
      rgba(8, 8, 12, 0.85) 60%,
      rgba(8, 8, 12, 0.95) 85%,
      rgba(8, 8, 12, 0.98) 100%
    );
    opacity: var(--overlay-opacity);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s ease-out;
  }

  .btn {
    width: 100%;
    padding: 11px 20px;
  }
  
  .store-btn {
    width: auto;
    flex: 1;
    min-width: 120px;
    padding: 10px 16px;
    font-size: 14px;
    justify-content: center;
    text-align: center;
  }

  .btn::before {
    background: linear-gradient(120deg, #281112 0%, #ff5a3d 45%, #ff7a3d 70%, #ff9452 100%);
  }

  .btn::after {
    inset: 1.2px;
  }

  .section {
    padding: 54px 0; /* tighter vertical rhythm */
    position: relative; /* Ensure proper stacking */
  }
  
  /* Hero section maintains full height on mobile */
  .hero.section {
    padding: 0;
  }
  
  /* Even tighter spacing for special section before closing */
  #special.section {
    padding-bottom: 32px;
  }

  .hero-layout {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* align content to left */
    justify-content: flex-start !important; /* normal flow */
    position: relative; /* for absolute child positioning */
    z-index: 3; /* Above gradient overlay */
    padding-bottom: 0; /* no extra padding needed */
  }

  .audience-inner {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 2;
    padding-bottom: 0;
  }
  
  .closing-inner {
    min-height: auto;
    padding: 60px 0 40px;
    position: relative;
    z-index: 2;
  }

  /* Mobile-specific background images */
  .hero {
    /* use fixed pseudo background for overlay effect */
    background: none !important;
    position: relative;
    min-height: 100vh; /* exact viewport height */
    display: flex;
    flex-direction: column;
    margin-top: -60px; /* Pull up to account for smaller initial navbar */
    padding-top: 60px; /* Add padding back */
    margin-bottom: 0; /* Ensure no extra gap */
    transition: margin-top 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Adjust hero when navbar expands */
  .navbar-scrolled ~ main .hero {
    margin-top: -84px;
    padding-top: 84px;
  }

  .hero.is-active::before { opacity: 1; visibility: visible; }

  .hero::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("./public-feature-phone.png") center / cover no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease-out;
    z-index: 0; /* behind content */
    pointer-events: none;
  }

  /* Hero gradient overlay - always visible when hero is active */
  .hero.is-active::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.92) 10%,
      rgba(0, 0, 0, 0.85) 20%,
      rgba(0, 0, 0, 0.75) 35%,
      rgba(0, 0, 0, 0.65) 50%,
      rgba(0, 0, 0, 0.5) 65%,
      rgba(0, 0, 0, 0.3) 80%,
      rgba(0, 0, 0, 0.1) 95%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 1;
  }

  .audience {
    background: none !important;
    position: relative;
    min-height: 120vh; /* Extra height to allow text to stay centered while scrolling */
    margin-top: -20px; /* Pull up to remove gap after what-we-do */
  }

  .audience.is-active::before { opacity: 1; visibility: visible; }
  .audience::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("./public-hero-hand.png") center / cover no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease-out;
    z-index: 0;
    pointer-events: none;
  }

  /* Ensure split section sits above any fixed BG and is opaque */
  #what-we-do.section.split { background: var(--bg); }
  #what-we-do.section.split::before { display: none; }
  #what-we-do.section.split .container { position: relative; z-index: 2; }

  /* Ensure split section content sits above background and is readable */
  #what-we-do.section.split::before { display: none; }
  #what-we-do.section.split .container { position: relative; z-index: 2; }

  /* Closing section - no background, image will be added after content */
  .closing {
    background: var(--bg);
    padding-bottom: 0;
    padding-top: 36px; /* Reduce top spacing */
  }
  
  .closing::before {
    display: none; /* Remove any gradient overlay */
  }

  /* Text content styling */
  .audience-copy,
  .closing-copy {
    padding: 24px 0 24px; /* tighter spacing */
    width: 100%;
    max-width: none;
    position: relative;
    z-index: 2;
    will-change: transform, opacity;
    /* Initial state handled by JavaScript */
  }
  
  /* Hero copy container */
  .hero-copy {
    padding: 0;
    width: calc(100% - 32px); /* Account for side padding */
    max-width: none;
    position: absolute; /* Use absolute positioning */
    top: 55%; /* Moved down slightly from center */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center using transform */
    z-index: 4; /* Above gradient overlay */
    will-change: transform, opacity;
    transition: none; /* Initial reveal controlled per-child */
    display: flex;
    flex-direction: column;
    align-items: center; /* center-align for mobile */
    text-align: center; /* center text */
  }

  /* Hero title styling */
  .hero-title {
    font-size: clamp(32px, 7vw, 48px); /* Slightly smaller on mobile */
    margin-bottom: 8px; /* very tight for bottom positioning */
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  /* Make lede text white on mobile for better visibility */
  .hero-copy .lede {
    color: #ffffff;
    opacity: 0.95;
  }

  /* Enhanced cloud behind the hero title for readability */
  .hero-title::before {
    content: "";
    position: absolute;
    inset: -20px -24px;
    border-radius: 32px;
    background:
      radial-gradient(65% 65% at 50% 50%, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.25) 70%, rgba(0,0,0,0) 95%);
    filter: blur(16px);
    z-index: -1;
  }

  /* Audience copy initial state hidden (image-first reveal) */
  .audience-copy { opacity: 0; transform: translate3d(0, 80px, 0); visibility: hidden; }

  /* Make audience section text white on mobile */
  .audience-copy .section-title,
  .audience-copy .eyebrow {
    color: #ffffff;
  }

  .audience-copy .section-body {
    color: #ffffff;
    opacity: 0.95;
  }

  /* Change audience bullets to circular style on mobile */
  .audience-benefits {
    background: none;
  }

  .audience-benefits li {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 28px;
    text-align: left;
    position: relative;
    color: #ffffff;
    opacity: 0.95;
  }

  .audience-benefits li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
  }

  /* Tighten what-we-do spacing specifically */
  #what-we-do.section.split { 
    padding-top: 120px; /* Increased spacing from hero section */
    padding-bottom: 40px;
    position: relative;
    z-index: 5; /* Ensure it sits above fixed backgrounds */
  }

  .audience-copy,
  .closing-copy {
    text-align: center;
  }

  .closing-copy {
    text-align: center;
    opacity: 1 !important; /* Always visible */
    transform: none !important;
    padding-bottom: 0;
  }

  .closing-copy .store-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 12px 40px;
    width: calc(100% - 24px);
  }
  
  /* Closing visual moved into markup */
  .closing-visual {
    width: 100%;
    height: 320px;
    background: url("./public-icon-3d.png") center / contain no-repeat;
    background-size: 100%;
    margin: 8px 0 16px;
  }

  .hero-copy .eyebrow {
    display: none;
  }

  /* Enhance text readability over blurred backgrounds */
  .overlay-section h1,
  .overlay-section h2 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  }

  .overlay-section p {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  }

  /* Add subtle animations to buttons */
  .overlay-section .btn {
    transform: translateZ(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .overlay-section .btn:active {
    transform: scale(0.98) translateZ(0);
  }

  /* Optimize performance for smooth scrolling */
  .overlay-section * {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  /* Add subtle bounce animation to store buttons */
  @keyframes subtle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
  }

  .store-btn:hover {
    animation: subtle-bounce 0.6s ease-in-out;
  }
}