/* ===========================
   HOGGL MARKETING SITE
   =========================== */

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

:root {
  --purple:       #7A117A;
  --purple-deep:  #5B0D5B;
  --purple-mid:   #9B2E9B;
  --purple-tint:  #EEEDFE;
  --purple-soft:  #F5F0FF;
  --white:        #FFFFFF;
  --text-dark:    #1A1A2E;
  --text-mid:     #4A4A6A;
  --text-light:   #8888AA;
  --border:       #E8E4F8;
  --r:            8px;
  --r-lg:         16px;
  --r-xl:         24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   NAV
   =========================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  height: 32px;
  width: auto;
}

.nav-logo-text {
  height: 22px;
  width: auto;
  /* black logo on white nav — no filter needed */
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--purple); }

.nav-cta {
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--purple-deep); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--purple);
  cursor: pointer;
  margin-left: auto;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  gap: 16px;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 16px;
  font-weight: 500;
}

.nav-mobile .mobile-cta {
  background: var(--purple);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--r);
  text-align: center;
  font-weight: 600;
}

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-soft) 0%, var(--white) 60%);
  padding: 80px 0;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.orb1 {
  width: 500px; height: 500px;
  background: var(--purple-tint);
  top: -150px; right: -100px;
}

.orb2 {
  width: 300px; height: 300px;
  background: #D8B4FE;
  bottom: -100px; left: 5%;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--purple-tint);
  color: var(--purple);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.headline-accent {
  color: var(--purple);
  position: relative;
}

.headline-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--purple-tint);
  border-radius: 2px;
  z-index: -1;
}

.hero-body {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r);
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.btn-apple {
  background: var(--text-dark);
  color: var(--white);
}

.btn-google {
  background: var(--white);
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}

.store-icon { width: 22px; height: 22px; flex-shrink: 0; }

.btn-store span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 15px;
  font-weight: 700;
}

.btn-store small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-light);
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: var(--text-dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(90,13,91,0.25), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: #2a2a2a;
  border-radius: 3px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--purple);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ===========================
   FEATURES
   =========================== */

.features {
  padding: 96px 0;
  background: var(--white);
}

.section-eyebrow {
  display: inline-block;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

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

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

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--purple);
  box-shadow: 0 12px 32px rgba(122,17,122,0.1);
  transform: translateY(-3px);
}

/* Inline style — icon tile + text side by side, matching welcome screen */
.feature-card--inline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
}

.feature-icon-tile {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--purple-tint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-tile svg {
  width: 20px;
  height: 20px;
  fill: var(--purple);
}

.feature-card-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.feature-card-text p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
}

.feature-icon { font-size: 32px; margin-bottom: 16px; }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ===========================
   FOUNDING MEMBERS
   =========================== */

.founding {
  padding: 96px 0;
  background: var(--purple-soft);
}

.founding-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.founding-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
}

.founding-content strong {
  color: var(--purple);
  font-weight: 700;
}

.founding-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.founding-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.perk-icon {
  font-size: 18px;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Form */
.founding-form-wrap {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(122,17,122,0.1);
}

.founding-form-hidden {
  display: none;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(122,17,122,0.1);
}

.form-group input::placeholder {
  color: var(--text-light);
}

.form-submit {
  width: 100%;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  padding: 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 12px;
}

.form-submit:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
}

.form-small {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* Success state */
.founding-success {
  text-align: center;
  padding: 16px 0;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.founding-success h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.founding-success p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ===========================
   ABOUT
   =========================== */

.about {
  padding: 96px 0;
  background: var(--purple-soft);
}

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

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
}

.about-blob {
  width: 260px;
  height: 260px;
  background: linear-gradient(135deg, var(--purple-tint), #D8B4FE);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  50% { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; }
}

.about-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.about-stat-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 14px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
  min-width: 120px;
}

.about-stat-card:first-of-type { top: 20px; left: 0; }
.card-right { bottom: 20px; right: 0; }

.stat-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 4px;
  font-weight: 500;
}

.about-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ===========================
   POLICIES
   =========================== */

.policies {
  padding: 96px 0;
  background: var(--white);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.policy-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.policy-card:hover {
  border-color: var(--purple);
  background: var(--purple-soft);
  transform: translateY(-2px);
}

.policy-icon { font-size: 28px; flex-shrink: 0; }

.policy-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.policy-info p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.policy-arrow {
  margin-left: auto;
  color: var(--purple);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.policy-card:hover .policy-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ===========================
   CONTACT
   =========================== */

.contact {
  padding: 96px 0;
  background: var(--purple);
}

.contact .section-eyebrow { color: rgba(255,255,255,0.7); }
.contact .section-title { color: var(--white); }
.contact .section-subtitle { color: rgba(255,255,255,0.75); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}

.contact-icon { font-size: 32px; margin-bottom: 14px; }

.contact-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 12px;
}

.contact-card a {
  color: var(--purple-tint);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-card a:hover { opacity: 0.8; text-decoration: underline; }

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: var(--text-dark);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-icon {
  height: 28px;
  width: auto;
  filter: invert(1);
}

.footer-text-img {
  height: 20px;
  width: auto;
  filter: invert(1);
}

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

.footer-legal {
  font-size: 12px !important;
  margin-top: 8px !important;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

/* ===========================
   POLICY PAGES
   =========================== */

.policy-page-header {
  background: var(--purple);
  padding: 56px 0 48px;
}

.policy-page-header h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.policy-page-header .policy-meta {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

.policy-body {
  padding: 56px 0 96px;
  background: var(--white);
}

.policy-content {
  max-width: 720px;
}

.policy-content > p:first-child {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.policy-body h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 12px;
  padding-top: 8px;
}

.policy-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
  margin: 24px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.policy-body p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

.policy-body ul,
.policy-body ol {
  margin: 0 0 16px 20px;
}

.policy-body li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 6px;
}

.policy-body a {
  color: var(--purple);
  text-decoration: underline;
}

.policy-body strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* ===========================
   RESPONSIVE
   =========================== */

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

  .hero { padding: 48px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 200px; height: 400px; }

  .features { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid--four { grid-template-columns: 1fr; }

  .about { padding: 64px 0; }
  .founding-inner { grid-template-columns: 1fr; gap: 40px; }
  .founding-form-wrap { padding: 28px 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { min-height: 240px; }
  .about-blob { width: 200px; height: 200px; }
  .about-logo-img { width: 90px; height: 90px; }

  .policy-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .about-blob { animation: none; }
  html { scroll-behavior: auto; }
}
