/* ============================================
   SeeU Landing Page - Styles (Figma-faithful)
   ============================================ */

:root {
  --blue-primary: #027EFE;
  --blue-light: #3A9BFF;
  --navy: #001C67;
  --white: #FFFFFF;
  --white-soft: rgba(255, 255, 255, 0.85);
  --white-muted: rgba(255, 255, 255, 0.6);
  --font: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  background: var(--blue-primary);
  overflow: visible;
}

/* Decorative blurred ellipse top-left */
.hero-deco {
  position: absolute;
  width: 975px;
  height: 1031px;
  left: -222px;
  top: -104px;
  background: radial-gradient(ellipse at center, rgba(216, 241, 254, 0.5) 0%, transparent 70%);
  filter: blur(107px);
  pointer-events: none;
  z-index: 1;
}

/* Grid layout: desktop 2 columns, mobile 1 column */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0 80px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 80px 80px;
  align-items: start;
}

/* Desktop grid placement */
.hero-header {
  grid-column: 2;
  grid-row: 1;
}

.hero-phones {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

.hero-body {
  grid-column: 2;
  grid-row: 2;
}

/* ============================================
   Logo Section
   ============================================ */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.logo-icon {
  width: 160px;
  height: auto;
  margin-bottom: 16px;
}

.logo-text {
  width: 260px;
  height: auto;
}

.tagline {
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0;
}

.tagline strong {
  font-weight: 600;
}

/* ============================================
   Phone Mockups
   ============================================ */
.phones-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 597 / 520;
  margin: 0 auto;
  padding-bottom: 40px;
  overflow: visible;
}

.phone {
  position: absolute;
}

/* Oval shadow below each phone - wide horizontal ellipse */
.phone::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 5%;
  width: 90%;
  height: 10px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  filter: blur(7px);
  z-index: 0;
}

.phone-frame {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.phone-screen {
  position: absolute;
  z-index: 1;
  top: 1.9%;
  left: 4.8%;
  width: 90.9%;
  height: 97%;
  border-radius: 25px;
  object-fit: cover;
}

/* Left phone */
.phone-left {
  left: 2%;
  top: 8%;
  width: 35%;
  z-index: 1;
}

/* Center phone (larger, in front) */
.phone-center {
  left: 29.5%;
  top: 0;
  width: 42%;
  z-index: 3;
}

.phone-center .phone-screen {
  border-radius: 30px;
}

/* Right phone */
.phone-right {
  right: 2%;
  top: 9%;
  width: 35%;
  z-index: 2;
}

/* Store Badges */
.store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.store-badges a {
  display: block;
  transition: transform 0.2s, opacity 0.2s;
}

.store-badges a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.store-badges img {
  width: 160px;
  height: auto;
  display: block;
}

/* ============================================
   Hero Body (Description + Privacy)
   ============================================ */
.divider {
  background: rgba(0, 0, 0, 0.25);
  height: 2px;
}

.divider-short {
  width: 70px;
  margin: 28px auto;
}

.divider-long {
  width: 100%;
  margin: 28px 0;
}

.description {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: #FFFFFF;
}

.privacy-section h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.privacy-section p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.privacy-section a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 44px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 8px 40px;
  align-items: start;
}

/* Desktop: logo, links, copy on LEFT column; contact on RIGHT column */
.footer-logo {
  display: block;
  width: 148px;
  height: auto;
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  grid-column: 1;
  grid-row: 2;
}

.footer-links a {
  font-size: 14px;
  color: var(--white);
}

.footer-separator {
  color: var(--white);
  font-size: 14px;
}

.footer-copy {
  font-size: 14px;
  color: var(--white);
  grid-column: 1;
  grid-row: 3;
}

.footer-contact {
  text-align: right;
  max-width: 420px;
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: end;
  align-self: center;
}

.footer-contact h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.footer-contact p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--white);
}

.footer-contact a {
  color: var(--blue-primary);
  text-decoration: none;
}

.footer-contact a:hover {
  opacity: 0.8;
}

/* ============================================
   Legal Pages (Terms & Privacy)
   ============================================ */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  background: var(--blue-primary);
  padding: 32px 80px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.legal-header-logo {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--white);
}

.legal-header-logo span {
  opacity: 0.85;
}

.legal-back {
  font-size: 14px;
  color: var(--white-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-body {
  flex: 1;
  background: #f8f9fb;
  color: #1e293b;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
}

.legal-container h1 {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.legal-container .legal-date {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 40px;
}

.legal-container h2 {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: #0f172a;
}

.legal-container p {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 16px;
}

.legal-container ul {
  margin: 0 0 16px 24px;
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
}

.legal-container li {
  margin-bottom: 6px;
}

.legal-footer {
  background: var(--navy);
  padding: 24px 80px;
  text-align: center;
}

.legal-footer p {
  font-size: 13px;
  color: var(--white-muted);
}

.legal-footer a {
  color: var(--blue-light);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1100px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 40px;
    gap: 32px;
  }

  .hero-header {
    text-align: center;
    max-width: 500px;
    width: 100%;
  }

  .hero-phones {
    width: 100%;
    max-width: 500px;
  }

  .hero-body {
    max-width: 500px;
    width: 100%;
  }

  .divider-short {
    margin: 20px auto;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 40px;
    gap: 16px;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-contact {
    text-align: center;
    max-width: 100%;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 40px 24px;
    gap: 28px;
  }

  .hero-deco {
    width: 600px;
    height: 600px;
    left: -150px;
    top: -80px;
  }

  .logo-icon {
    width: 140px;
  }

  .logo-text {
    width: 230px;
  }

  .tagline {
    font-size: 20px;
  }

  .description {
    font-size: 15px;
  }

  .phones-container {
    max-width: 420px;
  }

  .phone-screen {
    border-radius: 20px;
  }

  .phone-center .phone-screen {
    border-radius: 22px;
  }

  .store-badges img {
    width: 145px;
  }

  .footer-inner {
    padding: 40px 24px;
  }

  .footer-logo {
    width: 120px;
  }

  .footer-links a,
  .footer-separator,
  .footer-copy {
    font-size: 14px;
  }

  .footer-contact h3 {
    font-size: 16px;
  }

  .footer-contact p {
    font-size: 14px;
  }

  /* Legal pages */
  .legal-header {
    padding: 24px;
    flex-direction: column;
    gap: 12px;
  }

  .legal-container {
    padding: 40px 24px;
  }

  .legal-container h1 {
    font-size: 26px;
  }

  .legal-footer {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 32px 20px;
  }

  .logo-icon {
    width: 120px;
  }

  .logo-text {
    width: 200px;
  }

  .tagline {
    font-size: 18px;
  }

  .phones-container {
    max-width: 310px;
    aspect-ratio: unset;
  }

  .phone-left,
  .phone-right {
    display: none;
  }

  .phone-center {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }

  .store-badges img {
    width: 140px;
  }

  .privacy-section h2 {
    font-size: 15px;
  }

  .privacy-section p {
    font-size: 13px;
  }
}
