/* ============================================
   WayliLoc Website — style.css
   ============================================ */

/* === CSS Variables === */
:root {
  --teal: #2BBFB3;
  --teal-dark: #239E94;
  --teal-light: #E6F9F7;
  --navy: #0D1B2A;
  --navy-light: #1B2D3E;
  --light-bg: #F2FAFF;
  --blue: #0074E1;
  --orange: #FF9900;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-500: #6C757D;
  --gray-700: #495057;
  --gray-900: #212529;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

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

/* === Typography === */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

h3 {
  font-size: 1.25rem;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn-dark {
  background: var(--navy);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.store-btn-dark:hover {
  background: var(--navy-light);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  white-space: nowrap;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-store-buttons {
  display: flex;
  gap: 8px;
}

.header-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  transition: all var(--transition);
}

.header-store-btn:hover {
  background: var(--teal);
}

.header-store-btn svg {
  width: 18px;
  height: 18px;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu (outside header, needs high z-index) */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 24px;
  z-index: 1001;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--navy);
}

.mobile-menu a:hover {
  color: var(--teal);
}

.mobile-store-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.mobile-store-buttons .store-btn-dark {
  color: var(--white);
  border-bottom: none;
  padding: 12px 24px;
}

.mobile-store-buttons .store-btn-dark:hover {
  color: var(--white);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background:
    linear-gradient(135deg, rgba(13, 27, 42, 0.85) 0%, rgba(22, 42, 62, 0.75) 50%, rgba(13, 27, 42, 0.8) 100%),
    url('../img/hero-phone.jpg') center/cover no-repeat;
  padding: 160px 0 100px;
  color: var(--white);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 191, 179, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 116, 225, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 191, 179, 0.15);
  color: var(--teal);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--teal);
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero .store-buttons {
  margin-bottom: 32px;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 100px 0;
  background: var(--white);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

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

.feature-icon-teal {
  background: var(--teal-light);
  color: var(--teal);
}

.feature-icon-blue {
  background: #E8F0FE;
  color: var(--blue);
}

.feature-icon-orange {
  background: #FFF3E0;
  color: var(--orange);
}

.feature-icon-navy {
  background: #E8EDF2;
  color: var(--navy);
}

.feature-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 100px 0;
  background: var(--light-bg);
}

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

.steps::before {
  content: '';
  position: absolute;
  top: 212px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 3px;
  background: linear-gradient(to right, var(--teal), var(--blue));
  border-radius: 2px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step-number.step-2 {
  border-color: var(--blue);
  color: var(--blue);
}

.step-number.step-3 {
  border-color: var(--teal);
  color: var(--teal);
}

.step h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

.step p {
  color: var(--gray-500);
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex-shrink: 0;
  scroll-snap-align: center;
}

.gallery-phone {
  width: 220px;
  height: 440px;
  background: var(--gray-900);
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.gallery-phone:hover {
  transform: scale(1.05);
}

.gallery-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

/* Map roads for gallery */
.map-road {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
}

.map-road-h {
  height: 3px;
  width: 100%;
  top: 50%;
}

.map-road-v {
  width: 3px;
  height: 100%;
  left: 40%;
}

/* Placeholder screens */
.screen-map {
  background: linear-gradient(180deg, #D4E8D4 0%, #B8D8B8 50%, #A0C8A0 100%);
  width: 100%;
  height: 100%;
  position: relative;
}

.screen-profile {
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
}

.screen-profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal);
  margin-bottom: 12px;
}

.screen-profile-line {
  width: 80%;
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
  margin-bottom: 8px;
}

.screen-profile-line.short {
  width: 50%;
}

.screen-history {
  background: var(--white);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 40px 15px 15px;
  gap: 8px;
}

.screen-history-bar {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: var(--gray-200);
}

.screen-history-item {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: var(--light-bg);
}

.screen-history-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.screen-history-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.screen-history-text span {
  height: 6px;
  border-radius: 3px;
  background: var(--gray-300);
}

.screen-history-text span:first-child {
  width: 70%;
}

.screen-history-text span:last-child {
  width: 45%;
}

.screen-sos {
  background: linear-gradient(180deg, var(--navy) 0%, #1B2D3E 100%);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.screen-sos-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #FF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 0 40px rgba(255, 68, 68, 0.4);
}

.screen-sos-text {
  width: 60%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.screen-notifications {
  background: var(--white);
  width: 100%;
  height: 100%;
  padding: 40px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screen-notif-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 10px;
  background: var(--light-bg);
}

.screen-notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal-light);
  flex-shrink: 0;
}

.screen-notif-icon.orange {
  background: #FFF3E0;
}

.screen-notif-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.screen-notif-lines span {
  height: 6px;
  border-radius: 3px;
  background: var(--gray-200);
}

.screen-notif-lines span:first-child {
  width: 80%;
  background: var(--gray-300);
}

.screen-notif-lines span:nth-child(2) {
  width: 100%;
}

.screen-notif-lines span:last-child {
  width: 50%;
}

/* Gallery label */
.gallery-label {
  text-align: center;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Gallery scroll wrapper */
.gallery-scroll-wrapper {
  position: relative;
}

/* Fade edges to hint scrollability */
.gallery-scroll-wrapper::before,
.gallery-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
  display: none;
}

.gallery-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.gallery-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

/* Swipe hint */
.gallery-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 0.85rem;
  animation: swipeHint 2s ease-in-out infinite;
}

.gallery-swipe-hint svg {
  width: 20px;
  height: 20px;
}

@keyframes swipeHint {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(8px); opacity: 1; }
}

/* ============================================
   CTA / DOWNLOAD
   ============================================ */
/* ============================================
   PEOPLE BANNER
   ============================================ */
.people-banner {
  position: relative;
  padding: 100px 0;
  background: url('../img/friends-group.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.people-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.8) 0%, rgba(43, 191, 179, 0.7) 100%);
}

.people-banner-content {
  position: relative;
  z-index: 1;
}

.people-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 2rem;
}

.people-banner p {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto;
}

/* Step images */
.step-image {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  position: relative;
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(43, 191, 179, 0.92) 0%, rgba(35, 158, 148, 0.92) 100%),
    url('../img/world-map.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta .store-buttons {
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

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

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================
   INNER PAGES (Support, Privacy, Delete Account)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 140px 0 60px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.page-header-decor {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.page-header-decor svg {
  position: absolute;
  opacity: 0.06;
}

.page-header-decor .decor-1 { width: 180px; height: 180px; top: 5%; left: 3%; transform: rotate(-15deg); }
.page-header-decor .decor-2 { width: 120px; height: 120px; top: 15%; right: 6%; transform: rotate(12deg); }
.page-header-decor .decor-3 { width: 80px; height: 80px; bottom: 5%; left: 12%; transform: rotate(25deg); }
.page-header-decor .decor-4 { width: 100px; height: 100px; bottom: 10%; right: 12%; transform: rotate(-20deg); }
.page-header-decor .decor-5 { width: 60px; height: 60px; top: 40%; left: 28%; transform: rotate(45deg); }

@media (max-width: 768px) {
  .page-header-decor .decor-1 { width: 100px; height: 100px; }
  .page-header-decor .decor-2 { width: 70px; height: 70px; }
  .page-header-decor .decor-3,
  .page-header-decor .decor-5 { display: none; }
}

.page-content {
  padding: 60px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 36px 0 12px;
}

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

.page-content p, .page-content li {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 24px;
  list-style: disc;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  gap: 16px;
  transition: background var(--transition);
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
}

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

.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--teal);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--gray-500);
  line-height: 1.7;
}

/* Contact Form */
.contact-form {
  background: var(--light-bg);
  padding: 40px;
  border-radius: var(--radius-md);
  margin-top: 40px;
}

.contact-form h2 {
  margin-top: 0;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(43, 191, 179, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form validation states */
.form-error {
  display: none;
  color: #E53935;
  font-size: 0.82rem;
  margin-top: 6px;
  font-weight: 500;
}

.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #E53935;
  background: #FFF5F5;
}

.form-group input.input-error:focus,
.form-group textarea.input-error:focus {
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.form-group input.input-valid,
.form-group textarea.input-valid {
  border-color: var(--teal);
}

.form-group input.input-valid:focus,
.form-group textarea.input-valid:focus {
  box-shadow: 0 0 0 3px rgba(43, 191, 179, 0.1);
}

/* Delete Account Steps */
.delete-steps {
  counter-reset: step;
}

.delete-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.delete-step:last-child {
  border-bottom: none;
}

.delete-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.delete-step-content h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.delete-step-content p {
  margin-bottom: 0;
}

.warning-box {
  background: #FFF3E0;
  border-left: 4px solid var(--orange);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.warning-box p {
  color: var(--gray-700);
  margin-bottom: 0;
}

.warning-box strong {
  color: var(--orange);
}

/* ============================================
   AUTH CALLBACK PAGE
   ============================================ */
.auth-callback {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 24px;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.auth-card .logo {
  justify-content: center;
  margin-bottom: 32px;
}

.auth-card .logo img {
  height: 50px;
}

.auth-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.auth-success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--teal);
}

.auth-card h2 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.auth-card p {
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.6;
}

.auth-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.auth-hint {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* Loading state */
.auth-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   ANIMATIONS (Intersection Observer)
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
/* Hide nav, show burger at 1100px */
@media (max-width: 1100px) {
  .nav-links,
  .header-store-buttons {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Show gallery scroll hints on tablet */
  .gallery-scroll-wrapper::before,
  .gallery-scroll-wrapper::after {
    display: block;
  }

  .gallery-swipe-hint {
    display: flex;
  }

  /* Tablet gallery: slightly smaller phones */
  .gallery-phone {
    width: 200px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

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

  .hero-content {
    max-width: 100%;
  }

  .hero .store-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .people-banner {
    padding: 60px 0;
  }

  .people-banner h2 {
    font-size: 1.5rem;
  }

  .step-image {
    height: 140px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .contact-form {
    padding: 24px;
  }

  .auth-card {
    padding: 32px 24px;
  }

  .gallery-track {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .store-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .store-btn {
    justify-content: center;
  }

  .hero-stats {
    gap: 24px;
  }

  .gallery-phone {
    width: 160px;
    height: 320px;
    border-radius: 24px;
  }

  .gallery-phone .gallery-screen {
    border-radius: 18px;
  }

  .gallery-scroll-wrapper::before,
  .gallery-scroll-wrapper::after {
    width: 40px;
  }
}
