/* apple.css - The new architectural layout styles */
body.apple-theme {
  background: #000;
  color: #fff;
  overflow-x: hidden;
  margin: 0;
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Apple Nav */
.apple-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.apple-nav .nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo { display:flex; align-items:center; gap:10px; text-decoration:none; font-size:1.2rem; font-weight:600;}
.nav-logo-icon { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--color-gold), var(--color-gold-deeper)); display: flex; align-items: center; justify-content: center;}

/* Layout */
.apple-section {
  position: relative;
  width: 100%;
}

/* Hero Reveal */
.hero-reveal {
  height: 250vh; /* space for scrolling inside the pin */
  background: #000;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-core-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transform: scale(1.1); /* Scales down with JS animating */
}
.hero-text-container {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -50px;
}
.hero-title-main {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(to bottom, #ffffff 10%, #aaaaaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  text-shadow: 0 0 80px rgba(255,255,255,0.1);
}
.hero-subtitle-main {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: #a0a0a5;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* Intro Scroll */
.intro-scroll {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000;
  padding: 100px 0;
}
.intro-container {
  max-width: 900px;
  margin: 0 auto;
}
.intro-heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  opacity: 0.15; /* Activated by GSAP */
}
.intro-p {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  line-height: 1.4;
  color: #888;
  opacity: 0.15; /* Activated by GSAP */
}

/* Bento Services */
.bento-services {
  padding: 100px 0 200px;
  background: #000;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  grid-auto-rows: minmax(350px, auto);
}
.bento-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #0a0a0b;
  border: 1px solid rgba(255,255,255,0.08);
}
.bento-large { grid-column: span 8; height: 500px; }
.bento-tall { grid-column: span 4; grid-row: span 2; }
.bento-wide { grid-column: span 8; height: 350px; background: #0a0a0b; }

/* Mobile fallback */
@media (max-width: 900px) {
  .bento-large, .bento-tall, .bento-wide { grid-column: span 12; grid-row: span 1; height: 400px; }
}

.bento-bg-img {
  position: absolute;
  top: -15%; left: -10%; width: 120%; height: 130%; /* taller for parallax */
  object-fit: cover;
  opacity: 0.8;
  filter: saturate(1.2);
}
.bento-content {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 40px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
}
.bento-wide .bento-content { background: transparent; }

.bento-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}
.bento-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.bento-content p {
  color: #bbb;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.5;
  max-width: 90%;
}

/* Light Mode Reveal */
.light-mode-reveal {
  padding: 20rem 20px 15rem;
  /* Colors controlled by GSAP, start dark, end light */
  background: #000; 
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 10;
}
.light-container {
  max-width: 800px;
  margin: 0 auto;
}
.light-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.light-desc {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: currentColor;
  opacity: 0.6;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.apple-btn {
  background: #1d1d1f;
  color: #fff;
  border-radius: 50px;
  padding: 18px 40px;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}
.light-mode-reveal .apple-btn {
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.apple-rich-footer { background: #050508; color: #a0a0a5; padding: 100px 0 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 60px; margin-bottom: 80px; }
.footer-logo-text { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.footer-tagline { color: #888; font-size: 1.1rem; margin-top: 15px; }
.footer-heading { font-size: 1.2rem; margin-bottom: 25px; font-weight: 600; color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 15px; }
.footer-links a { color: #888; text-decoration: none; font-size: 1.1rem; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; color: #888; text-decoration: none; font-size: 1.1rem; margin-bottom: 15px; transition: color 0.3s; }
.footer-contact-item:hover { color: #fff; }
.footer-contact-item i { width: 20px; height: 20px; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px; color: #666; font-size: 1rem; }
.footer-privacy { color: #666; text-decoration: none; }
.footer-privacy:hover { color: #fff; }
@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* Process Sequence */
.process-sequence {
  padding: 150px 0;
  background: #000;
}
.process-layout {
  display: flex;
  gap: 100px;
}
.process-left {
  flex: 1;
}
.process-sticky {
  position: sticky;
  top: 150px;
}
.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.2rem;
  color: #888;
  max-width: 400px;
}
.process-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 15vh;
  padding-bottom: 20vh;
}
.process-step {
  background: #0a0a0b;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  padding: 40px;
  transition: transform 0.4s ease;
  opacity: 0.5;
}
.step-num {
  font-size: 1rem;
  font-weight: 700;
  color: #d4a853;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
}
.process-step h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #ffffff;
}
.process-step p {
  color: #cccccc;
  font-size: 1.1rem;
}

/* Results Case Study */
.results-study {
  padding: 100px 0 150px;
  background: #050508;
}
.text-center { text-align: center; margin-bottom: 60px; }
.results-cards {
  display: flex;
  gap: 30px;
}
.result-card {
  flex: 1;
  background: #0a0a0b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 50px;
  text-align: center;
}
.result-stat {
  display: block;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #666);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.result-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.result-card p {
  color: #888;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .process-layout { flex-direction: column; gap: 50px; }
  .process-sticky { position: static; }
  .process-right { gap: 30px; padding-bottom: 0; }
  .results-cards { flex-direction: column; }
}

/* Pricing Premium */
.pricing-premium { padding: 150px 0; background: #000; }
.pricing-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); border-radius: 32px; padding: 80px; text-align: center; max-width: 800px; margin: 0 auto; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.pricing-text { font-size: 1.3rem; line-height: 1.6; color: #ccc; margin-bottom: 20px; }
.pricing-qualifier { color: #888; font-size: 0.9rem; margin-bottom: 40px; }
.apple-btn-outline { display: inline-block; padding: 18px 40px; background: #d4a853; color: #000; border: none; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: all 0.3s; }
.apple-btn-outline:hover { background: #e0b45d; color: #000; transform: scale(1.05); }

/* About Premium */
.about-premium { padding: 150px 0; background: #050508; }
.about-layout { display: flex; align-items: center; gap: 80px; }
.about-image-wrapper { flex: 1; border-radius: 32px; overflow: hidden; height: 600px; position: relative; }
.about-img { width: 100%; height: 130%; object-fit: cover; top: -15%; left: 0; position: absolute; }
.about-content { flex: 1; }
.about-content p { font-size: 1.2rem; line-height: 1.6; color: #a0a0a5; margin-bottom: 20px; }
.highlight-quote { font-size: 1.5rem !important; color: #fff !important; font-style: italic; border-left: 2px solid #d4a853; padding-left: 20px; margin-top: 40px; }

/* FAQ Premium */
.faq-premium { padding: 150px 0; background: #000; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-trigger { width: 100%; text-align: left; background: none; border: none; color: #fff; font-size: 1.3rem; padding: 30px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: #a0a0a5; font-size: 1.1rem; line-height: 1.6; }
.faq-content p { padding-bottom: 30px; margin: 0; }
.faq-item.active .faq-content { max-height: 500px; }
.faq-item.active .faq-trigger i { transform: rotate(180deg); }
.faq-trigger i { transition: transform 0.4s ease; color: #d4a853; }

@media (max-width: 900px) {
  .about-layout { flex-direction: column; }
  .about-image-wrapper { height: 400px; width: 100%; }
}
