/* ============================================
   ValorIQ Landing Page — Styles
   Colors derived from logo: navy + teal
   ============================================ */

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

:root {
  --navy: #1a2744;
  --navy-light: #253554;
  --teal: #00b4c5;
  --teal-dark: #009aa8;
  --teal-light: #00d4d8;
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-muted: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-accent: #f0fdfa;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 44px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  padding: 14px 32px;
  box-shadow: 0 4px 14px rgba(0, 180, 197, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 180, 197, 0.4);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: var(--radius);
}

.btn-nav {
  background: var(--teal);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.btn-nav:hover {
  background: var(--teal-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy) 0%, #1e3355 50%, #163040 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 197, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 216, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 120px 0 80px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-light));
}

/* --- Sections --- */
.section {
  padding: 88px 0;
}

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

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

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-title.light {
  color: #fff;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 40px;
}

/* --- Problem Section --- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.problem-lead {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 16px;
}

.problem-list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.problem-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-body);
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.6;
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.problem-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--teal);
}

.problem-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 180, 197, 0.1);
  color: var(--teal);
}

.problem-card-icon.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.problem-card-icon.muted {
  background: rgba(100, 116, 139, 0.1);
  color: #64748b;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* --- Features / Solution Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-light);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 180, 197, 0.12), rgba(26, 39, 68, 0.08));
  border-radius: 14px;
  color: var(--teal);
}

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

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- MVP Section --- */
.mvp-content {
  max-width: 560px;
  margin: 48px auto 0;
}

.mvp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mvp-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.mvp-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 197, 0.12);
  border-radius: 50%;
  color: var(--teal);
}

.mvp-item span {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.mvp-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 32px;
  font-style: italic;
}

/* --- Screenshots Gallery --- */
.screenshots-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.screenshot-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.screenshot-item-wide {
  grid-column: 1 / -1;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  padding: 14px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--bg-white);
}

/* --- Early Access / Accent Section --- */
.section-accent {
  background: linear-gradient(160deg, var(--navy) 0%, #1e3355 100%);
  padding: 72px 0;
}

.early-access-content {
  text-align: center;
}

.early-access-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 12px;
  margin-bottom: 28px;
}

.early-access-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.badge {
  padding: 10px 24px;
  background: rgba(0, 180, 197, 0.15);
  color: var(--teal-light);
  border: 1px solid rgba(0, 180, 197, 0.3);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
}

.early-access-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Trust Section --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.trust-item {
  text-align: center;
  padding: 32px 24px;
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 16px;
  color: var(--navy);
}

.trust-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 16px;
}

/* --- Final CTA Section --- */
.section-cta {
  background: var(--bg-light);
  padding: 88px 0;
}

.cta-content {
  text-align: center;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.cta-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* --- Data Anonymity Notice --- */
.data-anonymity {
  max-width: 680px;
  margin: 48px auto 0;
  padding: 28px 32px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.data-anonymity p,
.data-anonymity li {
  font-size: 0.75rem;
  color: #8b95a5;
  line-height: 1.7;
}

.data-anonymity-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.data-anonymity-list {
  list-style: none;
  padding: 8px 0;
}

.data-anonymity-list li {
  padding: 3px 0 3px 18px;
  position: relative;
}

.data-anonymity-list li::before {
  content: '\2022';
  position: absolute;
  left: 4px;
  color: #a0aab8;
}

/* --- Data Usage Disclaimer --- */
.section-disclaimer {
  padding: 36px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.disclaimer-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8b95a5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-disclaimer p {
  font-size: 0.7rem;
  color: #9aa3b0;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 6px;
}

.section-disclaimer p:last-child {
  margin-bottom: 0;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 8px;
}

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

.footer-status {
  font-size: 0.8rem;
  color: var(--teal);
  margin-top: 4px;
}

.footer-contact a {
  color: var(--teal-light);
  font-weight: 500;
}

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

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Responsive
   ============================================ */

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
  }

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

  .nav-mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 120px 0 60px;
  }

  .section {
    padding: 64px 0;
  }

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

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

  .feature-card {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .feature-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .screenshots-gallery {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-item {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .trust-icon {
    margin: 0;
    flex-shrink: 0;
  }

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

  .section-cta {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content {
    padding: 100px 0 48px;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
  }

  .hero-cta {
    align-items: stretch;
  }

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