/* University Bubble — Website Stylesheet */
:root {
  --navy: #171E4C;
  --navy-light: #1e2550;
  --navy-dark: #0f1338;
  --orange: #FF9500;
  --orange-light: #FFB340;
  --orange-pale: #FFF8ED;
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --text: #1D1D1F;
  --text-secondary: #86868B;
  --border: #E5E5EA;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--navy); background: var(--bg); }

.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

.nav-cta:hover { background: var(--navy-light) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 70%, #252d5e 100%);
  display: flex;
  align-items: center;
  padding: 96px 32px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,149,0,0.18) 0%, transparent 65%);
  top: -150px; right: -150px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,149,0,0.08) 0%, transparent 70%);
  bottom: -100px; left: 10%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,149,0,0.18);
  border: 1px solid rgba(255,149,0,0.45);
  color: var(--orange-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--orange); }

.hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  margin-bottom: 48px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy);
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.btn-store:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-store-ghost {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  box-shadow: none;
}

.btn-store-ghost:hover { background: rgba(255,255,255,0.2); }

.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── PHONE MOCKUP ── */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.phone {
  width: 260px;
  height: 540px;
  background: #08091a;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 50px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 0 1px rgba(0,0,0,0.5);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s;
}

.phone:hover {
  transform: rotateY(-2deg) rotateX(2deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.p-topbar {
  background: var(--navy);
  padding: 12px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-topbar-title {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.p-notch {
  width: 80px; height: 20px;
  background: #08091a;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}

.p-body {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.p-section-label {
  font-size: 8px;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 4px 0;
}

.p-card {
  background: var(--surface);
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-card-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-card-icon svg { width: 14px; height: 14px; }

.p-card-info { flex: 1; min-width: 0; }

.p-card-title { font-size: 9px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.p-card-meta { font-size: 8px; color: var(--text-secondary); }

.p-card-badge {
  font-size: 8px;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
  padding: 2px 6px;
  border-radius: 100px;
}

.p-tabs {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 8px 4px;
  display: flex;
  justify-content: space-around;
}

.p-tab {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-tab.active { background: var(--navy); }
.p-tab svg { width: 14px; height: 14px; }

/* ── SECTION SHARED ── */
.container { max-width: 1200px; margin: 0 auto; }

section { padding: 100px 32px; }

.section-label {
  display: inline-block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy);
  padding: 32px;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  font-weight: 500;
}

/* ── FEATURES ── */
.features { background: var(--bg); }

.features-header { text-align: center; margin-bottom: 64px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card:nth-child(4),
.feature-card:nth-child(5) {
  grid-column: span 1;
}

.feature-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-wrap svg { width: 28px; height: 28px; }

.feature-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

/* ── AUBURN EXCLUSIVE ── */
.auburn-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #252d5e 100%);
  padding: 100px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.auburn-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,149,0,0.12) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.auburn-inner { position: relative; z-index: 1; }

.auburn-logo {
  width: 80px; height: 80px;
  background: rgba(255,149,0,0.2);
  border: 2px solid rgba(255,149,0,0.4);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.auburn-logo svg { width: 40px; height: 40px; }

.auburn-section h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.auburn-section h2 .accent { color: var(--orange); }

.auburn-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

.auburn-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}

.auburn-pill {
  background: rgba(255,149,0,0.18);
  border: 1px solid rgba(255,149,0,0.4);
  color: var(--orange-light);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
}

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--surface); }

.how-it-works-header { margin-bottom: 64px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-num {
  width: 48px; height: 48px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.step h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── DOWNLOAD CTA ── */
.download-cta {
  background: var(--orange-pale);
  text-align: center;
  padding: 100px 32px;
}

.download-cta h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.download-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.dl-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.dl-btn:hover { background: var(--navy-light); transform: translateY(-3px); }

.dl-btn svg { flex-shrink: 0; }

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  padding: 56px 32px 40px;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo-mark {
  width: 32px; height: 32px;
  background: var(--orange);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: 240px;
  line-height: 1.6;
}

.footer-links-group h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-group a:hover { color: #fff; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ── INNER PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #252d5e 100%);
  padding: 128px 32px 72px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-hero .updated {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── PROSE (legal pages) ── */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}

.prose h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 56px;
  margin-bottom: 16px;
  padding-top: 8px;
  border-top: 2px solid var(--orange);
  display: inline-block;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 10px;
}

.prose p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}

.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.prose li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 8px;
}

.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--navy); text-decoration: underline; transition: color 0.2s; }
.prose a:hover { color: var(--orange); }

.prose .highlight-box {
  background: var(--orange-pale);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 32px 0;
}

.prose .highlight-box p { margin: 0; }

/* ── SUPPORT PAGE ── */
.support-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}

.faq-group { margin-bottom: 64px; }

.faq-group-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 18px 24px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  background: var(--surface);
  border: none;
  text-align: left;
  transition: background 0.2s;
}

.faq-q:hover { background: var(--bg); }

.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--text-secondary);
}

.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  background: var(--surface);
}

.faq-item.open .faq-a { display: block; }

.contact-card {
  background: linear-gradient(135deg, var(--navy) 0%, #252d5e 100%);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  margin-top: 48px;
}

.contact-card h2 {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.contact-email-btn:hover { background: var(--orange-light); transform: translateY(-2px); }

.delete-account-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 48px;
}

.delete-account-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.delete-account-box p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.delete-account-box ol {
  padding-left: 24px;
}

.delete-account-box li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-note { justify-content: center; }
  .phone-wrap { display: none; }

  .features-grid { grid-template-columns: 1fr; }

  .how-it-works-header { text-align: center; }
  .how-it-works-header .section-sub { margin: 0 auto; }

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

  section { padding: 72px 20px; }
  .stats-bar { padding: 28px 20px; }
  .stats-inner { gap: 24px; }
  .stat-num { font-size: 28px; }

  .download-cta, .auburn-section { padding: 72px 20px; }

  .contact-card { padding: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── HERO ENTRANCE ANIMATIONS ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes floatPhone {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0px); }
  50%       { transform: rotateY(-8deg) rotateX(4deg) translateY(-18px); }
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -50px) scale(1.08); }
  66%       { transform: translate(-25px, 25px) scale(0.94); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-35px, 40px) scale(1.06); }
  66%       { transform: translate(30px, -30px) scale(0.92); }
}

@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(20px, -20px); }
}

@keyframes shimmerBadge {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0);   opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

@keyframes msgPop {
  from { opacity: 0; transform: translateY(10px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* ── HERO ORB ELEMENTS ── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(255,149,0,0.22) 0%, transparent 68%);
  top: -140px; right: -80px;
  animation: orbDrift1 16s ease-in-out infinite;
}

.hero-orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(59,130,246,0.14) 0%, transparent 70%);
  bottom: 40px; left: 3%;
  animation: orbDrift2 20s ease-in-out infinite;
}

.hero-orb-3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,149,0,0.10) 0%, transparent 70%);
  top: 45%; left: 38%;
  animation: orbDrift3 24s ease-in-out infinite reverse;
}

/* Hero text entrance */
.hero-badge   { animation: fadeSlideUp 0.65s cubic-bezier(.22,1,.36,1) both; animation-delay: 0.05s; }
.hero h1      { animation: fadeSlideUp 0.75s cubic-bezier(.22,1,.36,1) both; animation-delay: 0.2s; }
.hero-sub     { animation: fadeSlideUp 0.75s cubic-bezier(.22,1,.36,1) both; animation-delay: 0.35s; }
.hero-actions { animation: fadeSlideUp 0.75s cubic-bezier(.22,1,.36,1) both; animation-delay: 0.5s; }
.hero-note    { animation: fadeSlideUp 0.65s cubic-bezier(.22,1,.36,1) both; animation-delay: 0.6s; }

/* Phone entrance + float */
.phone-wrap { animation: fadeSlideRight 0.85s cubic-bezier(.22,1,.36,1) both; animation-delay: 0.3s; }

.phone {
  animation: floatPhone 7s ease-in-out infinite;
  animation-delay: 1.2s;
}
.phone:hover { animation-play-state: paused; }

/* Badge shimmer */
.hero-badge {
  background: linear-gradient(
    110deg,
    rgba(255,149,0,0.18) 0%,
    rgba(255,149,0,0.18) 35%,
    rgba(255,179,64,0.42) 50%,
    rgba(255,149,0,0.18) 65%,
    rgba(255,149,0,0.18) 100%
  );
  background-size: 200% 100%;
  animation:
    fadeSlideUp 0.65s cubic-bezier(.22,1,.36,1) both 0.05s,
    shimmerBadge 3s linear 1.5s infinite;
}

/* ── CHAT PHONE UI ── */
.p-statusbar {
  background: var(--navy);
  padding: 5px 14px 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-stime {
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.p-sicons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.p-chat-header {
  background: var(--navy);
  padding: 4px 12px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.p-chat-meta { flex: 1; }

.p-chat-name {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.p-chat-sub {
  color: rgba(255,255,255,0.5);
  font-size: 7.5px;
  margin-top: 1px;
}

.p-avatar-stack {
  display: flex;
}

.p-mini-av {
  width: 16px; height: 16px;
  border-radius: 50%;
  font-size: 5.5px;
  font-weight: 800;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--navy);
  margin-left: -4px;
  flex-shrink: 0;
}

.p-mini-av:first-child { margin-left: 0; }

.p-chat-body {
  flex: 1;
  background: #F0F0F3;
  padding: 8px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
}

.p-date-sep {
  text-align: center;
  font-size: 7px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.p-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.p-msg-mine { flex-direction: row-reverse; }

.p-av {
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 6.5px;
  font-weight: 800;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.p-bwrap {
  display: flex;
  flex-direction: column;
  max-width: 78%;
}

.p-sender-name {
  font-size: 7px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 2px;
  padding-left: 3px;
}

.p-bubble {
  background: #fff;
  border-radius: 10px 10px 10px 3px;
  padding: 6px 8px;
  font-size: 8px;
  color: #1D1D1F;
  line-height: 1.45;
  box-shadow: 0 1px 3px rgba(0,0,0,0.09);
}

.p-bubble-me {
  background: var(--navy);
  color: #fff;
  border-radius: 10px 10px 3px 10px;
}

.p-ts {
  font-size: 6px;
  color: #a0a0a8;
  margin-top: 2px;
  padding-left: 3px;
}

.p-ts-right {
  text-align: right;
  padding-left: 0;
  padding-right: 3px;
}

.p-typing-bubble {
  background: #fff;
  border-radius: 10px 10px 10px 3px;
  padding: 7px 10px;
  display: flex;
  gap: 3px;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.09);
  width: fit-content;
}

.p-typing-bubble span {
  width: 4px; height: 4px;
  background: #a0a0a8;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}

.p-typing-bubble span:nth-child(2) { animation-delay: 0.18s; }
.p-typing-bubble span:nth-child(3) { animation-delay: 0.36s; }

.p-input-row {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.p-input-pill {
  flex: 1;
  background: #F5F5F7;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 10px;
  font-size: 7.5px;
  color: #a0a0a8;
}

.p-send {
  width: 22px; height: 22px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Message pop-in sequence */
.p-msg-anim-1 { animation: msgPop 0.4s cubic-bezier(.22,1,.36,1) both; animation-delay: 1.4s; opacity: 0; }
.p-msg-anim-2 { animation: msgPop 0.4s cubic-bezier(.22,1,.36,1) both; animation-delay: 1.85s; opacity: 0; }
.p-msg-anim-3 { animation: msgPop 0.4s cubic-bezier(.22,1,.36,1) both; animation-delay: 2.3s; opacity: 0; }
.p-msg-anim-4 { animation: msgPop 0.4s cubic-bezier(.22,1,.36,1) both; animation-delay: 2.75s; opacity: 0; }

/* ── NAV LOGO ── */
.nav-logo { gap: 10px; }

.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 0;
  transition: transform 0.25s ease;
}

.nav-logo-mark svg {
  width: 40px;
  height: 40px;
  display: block;
}

.nav-logo:hover .nav-logo-mark { transform: scale(1.06); }

.nav-logo-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.2px;
}

/* ── PHONE CAROUSEL ── */
.phone-screen { position: relative; }

.p-carousel {
  flex: 1;
  display: flex;
  width: 300%;
  min-height: 0;
  animation: screenCycle 18s cubic-bezier(.7,0,.3,1) infinite;
  animation-delay: 4s;
  will-change: transform;
}

.p-screen {
  width: 33.3333%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

@keyframes screenCycle {
  0%, 27%   { transform: translateX(0); }
  33%, 60%  { transform: translateX(-33.3333%); }
  66%, 93%  { transform: translateX(-66.6667%); }
  99%, 100% { transform: translateX(0); }
}

/* Dots indicator */
.p-screen-dots {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 5;
  pointer-events: none;
}

.p-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(23,30,76,0.25);
  transition: all 0.4s ease;
}

@keyframes dot1 {
  0%, 27%   { background: var(--navy); width: 14px; border-radius: 3px; }
  30%, 100% { background: rgba(23,30,76,0.25); width: 5px; border-radius: 50%; }
}
@keyframes dot2 {
  0%, 30%   { background: rgba(23,30,76,0.25); width: 5px; border-radius: 50%; }
  33%, 60%  { background: var(--navy); width: 14px; border-radius: 3px; }
  63%, 100% { background: rgba(23,30,76,0.25); width: 5px; border-radius: 50%; }
}
@keyframes dot3 {
  0%, 63%   { background: rgba(23,30,76,0.25); width: 5px; border-radius: 50%; }
  66%, 93%  { background: var(--navy); width: 14px; border-radius: 3px; }
  96%, 100% { background: rgba(23,30,76,0.25); width: 5px; border-radius: 50%; }
}

.p-dot-1 { animation: dot1 18s cubic-bezier(.7,0,.3,1) infinite; animation-delay: 4s; background: var(--navy); width: 14px; border-radius: 3px; }
.p-dot-2 { animation: dot2 18s cubic-bezier(.7,0,.3,1) infinite; animation-delay: 4s; }
.p-dot-3 { animation: dot3 18s cubic-bezier(.7,0,.3,1) infinite; animation-delay: 4s; }

/* ── PAGE HEADER (dining / campus) ── */
.p-page-header {
  background: var(--navy);
  padding: 6px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.p-ph-title {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.p-ph-sub {
  color: rgba(255,255,255,0.5);
  font-size: 8px;
  margin-top: 1px;
}

.p-ph-tabs {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.p-ph-tab {
  font-size: 7.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
}

.p-ph-tab.active {
  color: var(--navy);
  background: var(--orange);
}

.p-page-body {
  flex: 1;
  background: #F0F0F3;
  padding: 7px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.p-sec-label {
  font-size: 7px;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 2px 0;
}

/* ── COUPON CARD ── */
.p-coupon-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
}

.p-coupon-left {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}

.p-coupon-discount {
  font-size: 14px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.5px;
  line-height: 1;
}

.p-coupon-off {
  font-size: 7px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

.p-coupon-right {
  flex: 1;
  padding: 6px 8px;
  min-width: 0;
}

.p-coupon-name {
  font-size: 9px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.p-coupon-cond {
  font-size: 7px;
  color: var(--text-secondary);
  margin-top: 1px;
  line-height: 1.3;
}

.p-coupon-code {
  display: inline-block;
  font-size: 7px;
  font-weight: 800;
  color: var(--orange);
  background: var(--orange-pale);
  border: 1px dashed var(--orange);
  border-radius: 4px;
  padding: 2px 6px;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

/* ── DINING GRID ── */
.p-dining-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.p-rest-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.p-rest-img {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.p-rest-emoji-sub {
  font-size: 8px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.p-rest-info {
  padding: 5px 6px 6px;
}

.p-rest-name {
  font-size: 8px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-rest-meta {
  font-size: 7px;
  color: var(--text-secondary);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.p-star {
  color: var(--orange);
  font-size: 8px;
}

/* ── HOUSING GRID ── */
.p-housing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.p-house-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.p-house-img {
  width: 100%;
  height: 48px;
}

.p-house-info {
  padding: 5px 6px 6px;
}

.p-house-name {
  font-size: 8px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.p-house-tags {
  display: flex;
  gap: 3px;
  margin-top: 2px;
  margin-bottom: 3px;
}

.p-tag {
  font-size: 6.5px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-pale);
  padding: 1px 4px;
  border-radius: 100px;
  border: 1px solid rgba(255,149,0,0.3);
}

.p-house-price {
  font-size: 10px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.p-per {
  font-size: 7px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0;
}
