/* ===================================================================
   SnowSand Enterprises — Concept A: Clean & Minimal (Light Theme)
   Typography: Inter (headings) + system-ui (body)
   Palette: #FFFFFF / #F4F6F9 / #0D1B2A / #3A86FF / #CBD5E1
   =================================================================== */

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

:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F6F9;
  --color-text: #0D1B2A;
  --color-text-muted: #4A5568;
  --color-accent: #3A86FF;
  --color-accent-hover: #2563EB;
  --color-footer-bg: #0D1B2A;
  --color-footer-text: #CBD5E1;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1120px;
  --header-height: 112px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

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

a:hover {
  color: var(--color-accent-hover);
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Navbar ---------- */
.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 64px;
  width: auto;
  max-width: 320px;
  display: block;
  object-fit: contain;
}

/* Footer logo: white monochrome variant via CSS filter */
.footer-logo {
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}



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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 3rem;
  color: var(--color-text);
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}



/* =====================================================
   Hero orbs — full intensity visual anchor
   ===================================================== */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: float 10s ease-in-out infinite;
}

.hero-orbs .horb-1 { width: 320px; height: 320px; background: #3A86FF; top: 5%;  right: 5%;  animation-delay: 0s;  }
.hero-orbs .horb-2 { width: 200px; height: 200px; background: #0D1B2A; bottom: 10%; left: 5%;  animation-delay: -3s; }
.hero-orbs .horb-3 { width: 150px; height: 150px; background: #6CB4FF; top: 45%; left: 40%; animation-delay: -5s; }
.hero-orbs .horb-4 { width: 260px; height: 260px; background: #C8922A; bottom: 5%;  right: 15%; animation-delay: -2s; opacity: 0.45; }
.hero-orbs .horb-5 { width: 130px; height: 130px; background: #E8B84B; top: 15%; left: 20%; animation-delay: -6s; opacity: 0.45; }

/* =====================================================
   Section orbs — dialed back, brand continuity
   ===================================================== */
.section-orbs {
  position: relative;
  pointer-events: none;
  overflow: visible;
  height: 0;
  z-index: 0;
}

.section-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.10;
  animation: float 12s ease-in-out infinite;
}

.section-orbs .sorb-1 { width: 400px; height: 400px; background: #3A86FF; top: 80px;   right: -80px;  animation-delay: 0s;  }
.section-orbs .sorb-2 { width: 300px; height: 300px; background: #C8922A; top: 300px;  left: -60px;   animation-delay: -4s; }
.section-orbs .sorb-3 { width: 280px; height: 280px; background: #6CB4FF; top: 600px;  right: 10%;    animation-delay: -7s; }
.section-orbs .sorb-4 { width: 240px; height: 240px; background: #E8B84B; top: 900px;  left: 20%;     animation-delay: -2s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-20px) scale(1.05); }
}


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-text);
  color: #fff;
}

.btn-primary:hover {
  background: #1a2d42;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ---------- Section: About ---------- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  max-width: 600px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.75;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(58, 134, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 16px;
}

.pillar-icon i,
.pillar-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  stroke-width: 1.75;
}

.pillar h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------- App Card ---------- */
.app-card {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}

.app-card:hover {
  box-shadow: var(--shadow-md);
}

.app-icon {
  flex: 0 0 100px;
  height: 100px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--color-accent), #0D1B2A);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.app-details h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.app-details .app-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.app-details p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-text);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: background var(--transition);
  text-decoration: none;
  line-height: 1;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-badge small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.store-badge:hover {
  background: #1a2d42;
  color: #fff;
  text-decoration: none;
}

.store-badge--google {
  background: #01875f;
}

.store-badge--google:hover {
  background: #016b4c;
}

.store-badge svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- Apps Page ---------- */
.apps-coming-soon {
  text-align: center;
  padding: 48px 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  font-style: italic;
}

/* ---------- Legal Pages (Privacy, Terms) ---------- */
.legal-page {
  padding: 48px 0 80px;
}

.legal-page h1 {
  font-size: 2.25rem;
  margin-bottom: 8px;
}

.legal-page .legal-updated {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p,
.legal-page li {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page ul li {
  list-style: disc;
}

.legal-page a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ---------- Contact Page ---------- */
.contact-section {
  padding: 48px 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 16px;
  text-decoration: none;
}

.contact-email:last-of-type {
  margin-bottom: 32px;
}

.contact-email i,
.contact-email svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  stroke-width: 2;
  flex-shrink: 0;
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding: 0;
  background: none;
  border-radius: 0;
  margin-top: 8px;
}

.contact-note i,
.contact-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--color-accent);
  stroke-width: 2;
}

.contact-form {
  background: none;
  border-radius: 0;
  padding: 0;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.15);
}

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

.form-submit {
  width: auto;
  padding-left: 40px;
  padding-right: 40px;
  align-self: flex-start;
  position: relative;
  transition: opacity 0.2s;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Contact form feedback messages (SSIO-10) */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #d1fae5;
}

.form-feedback--error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.form-feedback a {
  color: inherit;
  text-decoration: underline;
}

.feedback-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 48px 0 24px;
}

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

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(203, 213, 225, 0.6);
  text-align: center;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: var(--color-bg-alt);
  padding: 48px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  /* Scale down logo for mobile header (64px header height) */
  .logo-img {
    height: 40px;
    max-width: 200px;
  }

  .footer-logo-img {
    height: 36px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 24px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-graphic {
    flex: none;
    width: 100%;
    max-width: 300px;
    height: 240px;
  }

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

  .app-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.65rem;
  }

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

  .store-badges {
    flex-direction: column;
    align-items: center;
  }
}
