@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
  --bg-color: #000000;
  --text-primary: #ffffff;
  --text-secondary: #86868b;
  --accent-blue: #0071e3;
  --accent-orange: #ff4500;
  --card-bg: #111111;
  --card-border: rgba(255, 255, 255, 0.1);
  --border-radius-lg: 44px;
  --border-radius-md: 28px;
  --max-width: 90%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Manrope', sans-serif;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

html,
body {
  background-color: #000;
  overflow-x: hidden;
  width: 100%;
}

/* === Navigation (Centered Pill Design) === */
.nav1 {
  width: 100%;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: fixed;
  top: 0;
  z-index: 1000;
  border-bottom: none;
}

.nav1 button {
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav1 button img {
  width: 40px;
  height: 40px;
}

.nav1 h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-left: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
}

.nav2 {
  display: flex;
  gap: 30px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  padding: 10px 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav2 button {
  background: transparent;
  border: none;
  color: #a1a1a6;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 4px 0;
}

.nav2 button:hover,
.nav2 button#tapped {
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn i {
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.trans-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1002;
  margin-left: 20px;
}

.trans-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .trans-btn {
    margin-left: 0;
    margin-right: 15px;
  }
}

/* === Hero Section (Image Inspiration) === */
.hero-stack {
  height: 100vh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 100px;
  overflow: hidden;
  position: relative;
  background-color: #000;
}

.hero-sub {
  font-size: 19px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.hero-title {
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 700;
  letter-spacing: -1.2px;
  margin-bottom: 50px;
  max-width: 800px;
  line-height: 1.1;
  padding: 0 20px;
}

.phone-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  position: relative;
}

.phone {
  position: absolute;
  height: 120%;
  width: auto;
  max-height: 1100px;
  object-fit: contain;
  top: 0;
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.6s ease;
  opacity: 0;
  pointer-events: none;
}

/* Initial Stacked Position (Centered) */
.p-left,
.p-center,
.p-right {
  transform: scale(1.6) translateY(400px);
  z-index: 2;
}

/* Fanned Out Positions (Animated) */
.hero-stack.animate .phone {
  opacity: 1;
}

.hero-stack.animate .p-left {
  z-index: 1;
  transform: translateX(-410px) translateY(230px) scale(1.3);
}

.hero-stack.animate .p-center {
  z-index: 3;
  transform: scale(1.80) translateY(160px);
}

.hero-stack.animate .p-right {
  z-index: 2;
  transform: translateX(410px) translateY(230px) scale(1.3);
}

/* === Section Headers === */
.section-header {
  text-align: center;
  margin: 120px 0 60px;
}

.section-header h2 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
}

/* === Accordion Blocks === */
.accordion-wrapper {
  max-width: var(--max-width);
  margin: 0 auto 100px;
  display: flex;
  gap: 80px;
  align-items: center;
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 80px;
  border: 1px solid var(--card-border);
}

.acc-left {
  flex: 1.2;
}

.acc-right {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.acc-right img {
  width: 100%;
  max-width: 300px;
  border-radius: 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.acc-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px 0;
  cursor: pointer;
}

.acc-item:last-child {
  border-bottom: none;
}

.acc-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
}

.acc-trigger i {
  transition: transform 0.4s;
  font-size: 16px;
  color: var(--text-secondary);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin-top 0.4s;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

.acc-item.active .acc-body {
  max-height: 1000px;
  /* Increased for mobile images */
  margin-top: 15px;
}

.mobile-acc-img {
  display: none;
  width: 100%;
  border-radius: 24px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.acc-item.active .acc-trigger i {
  transform: rotate(180deg);
  color: var(--text-primary);
}

/* === Horizontal Carousel === */
.carousel-container {
  padding: 40px 0 100px;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 24px;
  padding: 0 40px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.carousel-controls button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.carousel-controls button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.promo-card {
  min-width: 380px;
  height: 540px;
  background: #ffffff;
  border-radius: 40px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.promo-card * {
  color: #000;
}

.promo-card .lbl {
  font-size: 13px;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.promo-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.promo-card .img-box {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.promo-card .img-box img {
  width: 100%;
  max-width: 250px;
  border-radius: 20px;
}

.promo-card .plus {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 44px;
  height: 44px;
  background: #f5f5f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.3s;
}

.promo-card .plus:hover {
  transform: scale(1.1);
}

.card-detail {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
}

.promo-card.expanded .card-detail {
  top: 0;
}

.card-detail h4 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.card-detail p {
  font-size: 16px;
  line-height: 1.6;
  color: #1d1d1f;
}

.close-detail {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  color: #000;
  cursor: pointer;
}

/* === Bento Showcases === */
.bento-section {
  max-width: var(--max-width);
  margin: 0 auto 100px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.bento-card-lg {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.bento-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

.bento-img {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.bento-img img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
}

/* === Responsive Refactor === */
@media (max-width: 900px) {
  .nav1 {
    padding: 15px 24px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu-btn i {
    transition: transform 0.3s ease, opacity 0.2s ease;
  }

  .nav1 h1 {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
  }

  .nav2 {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 30px;
    gap: 20px;
    z-index: 999;
    border-bottom: 1px solid var(--card-border);
    /* Reset Desktop Pill */
    transform: none;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #000;
  }

  .nav2.active {
    display: flex;
  }

  .nav2 button {
    font-size: 18px;
    text-align: left;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Extreme Spacing Mobile */
  .section-header {
    margin: 120px 0 60px;
  }

  .accordion-wrapper {
    flex-direction: column;
    padding: 60px 24px;
    gap: 60px;
    border: none;
    background: transparent;
    margin-bottom: 80px;
  }

  .acc-right {
    display: none;
  }

  .mobile-acc-img {
    display: block;
  }

  .hero-stack {
    height: 70vh;
    min-height: 500px;
    padding-top: 60px;
    padding-bottom: 0;
  }

  .phone-container {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
    position: relative;
  }

  /* Restoring 3-phone stack for mobile with proper scaling */
  .phone {
    height: 100%;
    width: auto;
    position: absolute;
    top: 0;
    opacity: 1 !important;
  }

  .p-left {
    transform: translateX(-110px) translateY(60px) scale(0.75) !important;
    z-index: 1;
    opacity: 0.7 !important;
    display: block !important;
  }

  .p-center {
    transform: scale(0.9) translateY(20px) !important;
    z-index: 3;
    display: block !important;
  }

  .p-right {
    transform: translateX(110px) translateY(60px) scale(0.75) !important;
    z-index: 2;
    opacity: 0.7 !important;
    display: block !important;
  }

  /* Bento Mobile Refactor (Spacious & Centered) */
  .bento-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 30px;
    margin-bottom: 120px;
  }

  .bento-card,
  .bento-card-lg {
    flex-direction: column;
    text-align: center;
    padding: 60px 30px;
    gap: 30px;
  }

  .bento-img {
    margin-top: 0;
  }

  .bento-img img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 24px;
  }

  .bento-card h3 {
    font-size: 26px;
  }

  .bento-card p {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* === Footer === */
.main-footer {
  padding: 80px 40px;
  border-top: 1px solid #111;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto 60px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: #86868b;
  text-decoration: none;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid #111;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  color: #444;
  font-size: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-nav a:hover {
  color: #ffffff;
  transition: color 0.3s ease;
}

.footer-bottom a {
  color: #86868b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
  .main-footer {
    padding: 50px 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .footer-nav a {
    font-size: 13px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-bottom span,
  .footer-bottom div {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .main-footer {
    padding: 30px 15px;
  }

  .footer-top {
    gap: 20px;
    margin-bottom: 30px;
  }

  .footer-nav {
    gap: 12px;
  }

  .footer-nav a {
    font-size: 12px;
  }

  .footer-bottom {
    gap: 15px;
    font-size: 11px;
  }
}

/* === Premium Motion Utilities === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-reveal>* {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stagger-reveal.active>* {
  opacity: 1;
  transform: translateY(0);
}

.stagger-reveal.active>*:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger-reveal.active>*:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger-reveal.active>*:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger-reveal.active>*:nth-child(4) {
  transition-delay: 0.4s;
}

/* === Futuristic AINARA Background === */
.ainara-mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000 100%);
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  animation: meshFloat 20s infinite alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.1) 0%, transparent 70%);
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 60%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.05) 0%, transparent 70%);
  animation-delay: -10s;
}

/* === Store Badges === */
.store-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 50px;
  z-index: 10;
  position: relative;
}

.store-badges img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(134, 134, 139, 0.4);
  border-radius: 8px;
}

.store-badges img:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .store-badges {
    flex-direction: column;
    gap: 15px;
  }
}

@keyframes meshFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(100px, 50px) scale(1.2);
  }
}

/* Translation Banner */
.translation-banner {
  background: rgba(255, 69, 0, 0.05);
  border: 1px solid rgba(255, 69, 0, 0.15);
  border-radius: 24px;
  padding: 25px;
  margin: 20px 0;
  color: var(--accent-orange);
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

/* === Buttons === */
.submit-btn {
  background-color: var(--accent-blue) !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  padding: 12px 28px !important;
  border-radius: 12px !important;
  width: auto !important;
}

.submit-btn:hover {
  background-color: #0077ed !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 20px rgba(0, 113, 227, 0.3) !important;
}

.submit-btn:active {
  transform: translateY(0) !important;
}