/* ===============================
GLOBAL RESET
=============================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #2f3e34;
  background: #ffffff;
  overflow-x: hidden; /* FIX: prevents horizontal overflow clipping text on mobile */
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* ===============================
NAVBAR
=============================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  box-sizing: border-box;
  z-index: 1000;
  background: transparent;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  letter-spacing: 4px;
  color: #ffffff;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.logo span {
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  gap: 38px;
  align-items: center;
}

.nav-links a {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 13px;
  text-transform: uppercase;
}

/* ===============================
PRIMARY BUTTON
=============================== */

.updates-btn {
  display: inline-block;
  background: #9F7A32;
  color: #ffffff !important;
  padding: 14px 36px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  transition: 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.updates-btn:hover {
  background: #846425;
  transform: translateY(-2px);
}

/* ===============================
REAL-STYLE APP STORE BUTTONS
=============================== */

.download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 12px 26px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: 0.25s ease;
}

.store-badge:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(217,175,87,0.9);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.store-icon {
  font-size: 24px;
  line-height: 1;
}

.play-icon {
  font-size: 21px;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-small {
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  opacity: 0.82;
}

.store-large {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero-social {
  margin-top: 6px;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-social-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-social-icons a {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.hero-social-icons a:hover {
  color: #D9AF57;
}

/* ===============================
HERO SECTION
=============================== */

.hero {
  height: 100vh;
  margin: 0;
  padding: 0 7%;
  background:
    linear-gradient(
      rgba(0,0,0,0.28),
      rgba(0,0,0,0.28)
    ),
    url("assets/hero.jpg") center top / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 520px;
  margin: 0 auto;
  padding-top: 45px;
  color: white;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 56px);
  line-height: 1.06;
  margin: 0 0 8px;
  color: #ffffff;
  font-weight: 700;
}

.hero h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: #D9AF57;
  margin: 0 0 16px;
}

.hero p {
  font-size: clamp(15px, 2vw, 16px);
  margin: 0 auto 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 430px;
}

.download-buttons {
  margin-top: 22px;
}

.hero-follow-label {
  margin-top: 16px;
}

/* SOCIAL ICONS — ALIGNED WITH STORE BUTTON STYLE */

.hero-social-icons {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.hero-social-icons img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  padding: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1.2px solid rgba(255,255,255,0.25);
  transition: 0.25s ease;
}

.hero-social-icons img:hover {
  transform: translateY(-2px) scale(1.06);
  background: rgba(255,255,255,0.18);
  border-color: rgba(217,175,87,0.8);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

/* ===============================
WHAT IS ATLAS
=============================== */

.what-is-atlas {
  background: #ffffff;
  padding: 80px 8% 75px;
  text-align: center;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid #eee8dd;
}

.what-is-atlas h2 {
  letter-spacing: 6px;
  font-size: 18px;
  margin-bottom: 55px;
  color: #2f3e34;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.feature {
  max-width: 320px;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
}

.feature:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 24%;
  height: 52%;
  width: 1px;
  background: rgba(0,0,0,0.08);
}

.feature h3 {
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.feature p {
  font-size: 15px;
  line-height: 1.55;
  max-width: 250px;
}

/* ===============================
WHY ATLAS EXISTS
=============================== */

.why-atlas {
  background: #f5f3ee;
}

.why-container {
  display: grid;
  grid-template-columns: 44% 56%;
  height: 400px;
}

.why-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px 9% 55px;
}

.why-text h2 {
  letter-spacing: 4px;
  font-size: 22px;
  margin-bottom: 18px;
  color: #2f3e34;
}

.why-text p {
  font-size: 15px;
  color: #2f3e34;
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 520px;
}

.why-image {
  height: 400px;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: brightness(0.93) contrast(1.05);
}

/* ===============================
WHAT MAKES ATLAS DIFFERENT
=============================== */

.different-section {
  background: #ffffff;
  padding: 70px 8% 65px;
  text-align: center;
}

.different-section h2 {
  letter-spacing: 6px;
  font-size: 18px;
  margin-bottom: 55px;
  color: #2f3e34;
}

.different-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  max-width: 1150px;
  margin: 0 auto;
}

.different-item {
  flex: 1;
  position: relative;
  padding: 0 10px;
}

.different-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 28%;
  height: 48%;
  width: 1px;
  background: rgba(0,0,0,0.08);
}

.different-icon {
  font-size: 36px;
  color: #C8973A;
  margin-bottom: 22px;
}

.different-item h3 {
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #2f3e34;
}

.different-item p {
  font-size: 15px;
  line-height: 1.55;
  color: #2f3e34;
  max-width: 250px;
  margin: 0 auto;
}

/* ===============================
SEE WHO'S AROUND TODAY
=============================== */

.around-now {
  position: relative;
  min-height: 390px;
  background: url("assets/see-whos-around.jpg") center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 70px 8%;
}

.around-now::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.around-band {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.around-band-image,
.around-band-gradient {
  display: none;
}

.around-band-card {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 24px 55px rgba(0,0,0,0.18);
  padding: 44px 52px;
  text-align: center;
  box-sizing: border-box;
}

.around-band-card h2 {
  letter-spacing: 5px;
  font-size: 18px;
  margin: 0 0 20px;
  color: #111;
}

.around-band-card p {
  color: #333;
  line-height: 1.6;
  margin: 0 0 22px;
  font-size: 15px;
}

.note-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.note-tags span {
  display: inline-block;
  background: transparent;
  border: 1px solid #D9AF57;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  color: #333;
}

/* ===============================
WHAT PEOPLE ARE SAYING
=============================== */

.testimonials {
  background: #ffffff;
  padding: 50px 8% 55px;
  text-align: center;
}

.testimonials h2 {
  letter-spacing: 4px;
  font-size: 18px;
  margin-bottom: 42px;
  color: #2f3e34;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1150px;
  margin: 0 auto;
}

.testimonial {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.quote {
  font-family: Georgia, serif;
  font-size: 32px;
  color: #C8973A;
  margin-bottom: 10px;
}

.testimonial p {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: #2f3e34;
  margin: 0 auto;
  max-width: 220px;
  min-height: 110px;
}

.testimonial-author {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #C8973A;
  letter-spacing: 0.04em;
}

/* ===============================
FOUNDER NOTE
=============================== */

.founder-note {
  background: #ffffff;
  padding: 48px 8% 30px;
  text-align: center;
}

.founder-inner {
  max-width: 560px;
  margin: 0 auto;
}

.founder-note h2 {
  letter-spacing: 4px;
  font-size: 18px;
  margin-bottom: 22px;
  color: #2f3e34;
}

.founder-note h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(to right, transparent, #C8973A, transparent);
}

.founder-note p {
  font-family: Georgia, serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: #2f3e34;
  margin-bottom: 14px;
}

.founder-signature {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 2px;
  color: #6b6f72;
}

.founder-note::after {
  content: "";
  display: block;
  width: min(140px, 45%);
  height: 2px;
  margin: 26px auto 0;
  background: linear-gradient(to right, transparent, rgba(200,151,58,0.65), transparent);
}

/* ===============================
LIVE IN CEBU
=============================== */

.launch-cebu {
  display: flex;
  align-items: stretch;
  background: #f8f6f2;
}

.launch-left {
  flex: 1;
  padding: 90px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.launch-left h2 {
  letter-spacing: 3px;
  margin-bottom: 25px;
}

.launch-left p {
  color: #5c6a63;
  line-height: 1.7;
  font-size: 17px;
}

.launch-right {
  flex: 1;
  min-height: 420px;
}

.launch-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===============================
FINAL DOWNLOAD CTA
=============================== */

.final-download {
  background: #2f3e34;
  color: #ffffff;
  padding: 90px 10%;
  text-align: center;
}

.final-download-inner {
  max-width: 760px;
  margin: 0 auto;
}

.final-download h2 {
  letter-spacing: 3px;
  margin-bottom: 22px;
  color: #ffffff;
}

.final-download p {
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.final-download .download-buttons {
  justify-content: center;
}

.cta-note {
  margin-top: 24px;
  font-size: 14px !important;
  color: rgba(255,255,255,0.55) !important;
}

/* ===============================
UPDATES CTA
=============================== */

.updates-cta {
  background: #eee6d8;
  padding: 90px 8%;
  text-align: center;
}

.cta-photos {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.cta-photos img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  transition: 0.25s ease;
}

.cta-photos img:nth-child(2) {
  transform: scale(1.08);
  box-shadow: 0 14px 26px rgba(0,0,0,0.18);
}

.cta-photos img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
  filter: saturate(1.08) contrast(1.05);
}

.cta-photos img:nth-child(2):hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.24);
}

.updates-cta h2 {
  letter-spacing: 5px;
  font-size: 18px;
  margin-bottom: 20px;
  color: #111;
}

.updates-cta p {
  font-size: 16px;
  color: #333;
  margin-bottom: 28px;
}

.updates-cta .updates-btn {
  min-width: 260px;
}

.updates-cta .cta-note {
  margin-top: 18px;
  font-size: 15px;
  color: #333;
}

/* ===============================
FOOTER (LIGHT VERSION)
=============================== */

.footer {
  background: #f5f3ee;
  padding: 28px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 3px;
  font-weight: 700;
  color: #111;
  font-size: 14px;
}

.footer-brand img {
  width: 26px;
  height: 26px;
}

.footer-links a {
  color: #777;
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #C8973A;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.social-icon {
  width: 22px;
  height: 22px;
  transition: 0.25s ease;
}

.footer-social a:nth-child(1):hover .social-icon { color: #E4405F; }
.footer-social a:nth-child(2):hover .social-icon { color: #1877F2; }
.footer-social a:nth-child(3):hover .social-icon { color: #000000; }
.footer-social a { color: #999; }

/* ===============================
FEATURE ICONS FINAL FIX
=============================== */

.feature-icon {
  width: 54px !important;
  height: 54px !important;
  margin: 0 auto 22px !important;
  color: #C8973A !important;
  font-size: 0 !important;
}

.feature-icon svg {
  width: 54px !important;
  height: 54px !important;
  display: block !important;
}

.feature-icon svg circle,
.feature-icon svg ellipse,
.feature-icon svg line,
.feature-icon svg path,
.feature-icon svg rect {
  fill: none !important;
  stroke: #C8973A !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* ===============================
FOOTER LEGAL LINE
=============================== */

.footer-legal {
  background: #061B33;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 26px 8%;
  font-size: 15px;
  letter-spacing: 0.6px;
  line-height: 1.6;
}

/* ===============================
RESPONSIVE — TABLET (max 900px)
=============================== */

@media (max-width: 900px) {

  .navbar {
    padding: 0 24px;
  }

  .features,
  .different-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .why-container {
    grid-template-columns: 1fr;
  }

  .why-text {
    padding: 70px 7%;
  }

  .why-image {
    min-height: 300px;
  }

  .launch-cebu {
    flex-direction: column;
  }

  .feature:not(:last-child)::after,
  .different-item:not(:last-child)::after {
    display: none;
  }
}

/* ===============================
RESPONSIVE — MOBILE (max 768px)
FIX: Consolidated all three previously
conflicting blocks into one clean block.
This resolves text clipping and layout
breakage on Samsung Galaxy S23+.
=============================== */

@media (max-width: 768px) {

  /* --- NAVBAR --- */
  .navbar {
    height: 72px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row; /* FIX: was being overridden to column by earlier block */
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
  }

  .logo img {
    height: 36px;
    width: auto;
  }

  .logo span {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .nav-links a {
    font-size: 10px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    display: inline-block; /* FIX: was set to none in earlier block */
  }

  .nav-links a:not(.updates-btn) {
    display: inline-block; /* FIX: was hidden by earlier conflicting rule */
  }

  .nav-links .updates-btn {
    display: none; /* Hide "Learn more" button only — keeps nav tidy */
  }

  /* --- HERO --- */
  .hero {
    min-height: 100svh;
    height: auto; /* FIX: was conflicting between 100vh and 100svh */
    padding: 120px 22px 70px;
    background-position: center center;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 0;
    width: 100%; /* FIX: ensures content doesn't overflow and clip */
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero h2 {
    font-size: 23px;
    margin-bottom: 18px;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%; /* FIX: was capped at 330px, causing clipping on wide phones */
    margin-bottom: 22px;
  }

  /* --- DOWNLOAD BUTTONS --- */
  .download-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
  }

  .store-badge {
    width: 100%;
    max-width: 300px;
    min-width: unset;
    justify-content: center;
  }

  /* --- HERO SOCIAL --- */
  .hero-follow-label {
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  .hero-social-icons {
    gap: 26px;
    margin-top: 10px;
  }

  .hero-social-icons img {
   width: 38px;
   height: 38px;
   border-radius: 6px;
   padding: 3px;
   transition: 0.25s ease;
}

  /* --- SECTION PADDING --- */
  .what-is-atlas,
  .different-section,
  .updates-cta,
  .testimonials,
  .founder-note {
    padding: 60px 7%;
  }

  /* --- FEATURES / GRID STACKING --- */
  .features,
  .different-grid,
  .testimonial-grid {
    display: flex;
    flex-direction: column;
    gap: 42px;
  }

  .feature,
  .different-item,
  .testimonial {
    max-width: 100%;
  }

  .feature p {
    max-width: 100%; /* FIX: was 250px — caused text clipping on narrow screens */
  }

  /* --- WHY ATLAS --- */
  .why-container {
    display: flex;
    flex-direction: column;
    height: auto; /* FIX: fixed 400px height was clipping content on mobile */
  }

  .why-text {
    width: 100%;
    padding: 50px 7%;
    text-align: left;
  }

  .why-image {
    width: 100%;
    height: 280px;
  }

  .why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* --- FOUNDER NOTE --- */
  .founder-note {
    display: block;
    clear: both;
    padding: 60px 7% 70px;
    background: #fff;
  }

  .founder-inner {
    max-width: 100%; /* FIX: was 560px which clipped text on small screens */
  }

  .founder-note h2 {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 24px;
  }

  .founder-note p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 18px;
  }

  .founder-signature {
    margin-top: 20px;
    font-size: 12px;
    letter-spacing: 1.8px;
  }

  /* --- SEE WHO'S AROUND --- */
  .around-band {
    flex-direction: column;
  }

  .around-band-card {
    width: calc(100% - 36px);
    margin: -50px auto 0;
    padding: 32px 24px;
    box-sizing: border-box; /* FIX: ensures padding doesn't push card wider than viewport */
  }

  /* --- AROUND-NOW SECTION PADDING --- */
  .around-now {
    padding: 70px 5%;
  }

  /* --- CTA PHOTOS --- */
  .cta-photos img {
    width: 72px;
    height: 72px;
  }

  /* --- FOOTER --- */
  .footer {
    flex-direction: column;
    gap: 24px;
    padding: 30px 7%;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-legal {
    font-size: 13px;
    padding: 22px 7%;
  }
}
