/* ===== CSS Custom Properties ===== */
:root {
  --color-primary: #0F7B8A;
  --color-primary-dark: #0A5A66;
  --color-secondary: #1A1A2E;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F7FA;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-success: #28A745;
  --color-error: #DC3545;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --max-width: 1100px;
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--color-primary-dark);
}

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--color-secondary);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

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

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

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links strong {
  color: #fff;
  font-size: 0.95rem;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-secondary);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 300px;
  }

  .nav-links li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

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

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

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

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

/* ===== Hero Section ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #3D3D5C 0%, #1E2340 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.app-icon {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.2;
}

.app-name {
  color: var(--color-primary);
}

.hero .app-name,
.page-header .app-name {
  color: #7FDBEA;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #A8A0B0;
  letter-spacing: 0.5px;
  margin: 12px auto 32px;
}

.hero .tagline {
  padding-top: 12px;
  color: #A8A0B0;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-screenshots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-top: 48px;
  padding: 0 20px;
}

.hero-screenshots img {
  width: 200px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-screenshots img:nth-child(2) {
  width: 230px;
  transform: translateY(-20px);
}

@media (max-width: 767px) {
  .hero {
    padding: 110px 0 60px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .hero-screenshots img {
    width: 120px;
    border-radius: 14px;
  }

  .hero-screenshots img:nth-child(2) {
    width: 140px;
    transform: translateY(-10px);
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

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

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

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: #fff;
  color: #fff;
}

/* ===== Sections ===== */
.section {
  padding: 24px 0 48px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Pain Points Grid ===== */
.pain-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pain-point {
  text-align: center;
  padding: 32px 20px;
}

.pain-point-icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-alt);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

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

.pain-point h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--color-secondary);
}

.pain-point p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .pain-points {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== How It Works ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step img {
  width: 220px;
  margin: 0 auto 20px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-secondary);
}

.step p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ===== Privacy Callout ===== */
.privacy-callout {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}

.privacy-callout h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.privacy-callout p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.privacy-callout .app-name {
  color: #7FDBEA;
}

/* ===== Sign-up / Contact Forms ===== */
.form-section {
  padding: 80px 0;
  text-align: center;
}

.form-section h2 {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.form-section > .container > p {
  color: var(--color-text-light);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.form-wrapper {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-stack);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 123, 138, 0.1);
}

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

.form-wrapper .btn {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  display: block;
  background: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
}

.form-message.error {
  display: block;
  background: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
}

/* ===== Feature Blocks (alternating image + text) ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
}

.feature-block:nth-child(even) .feature-text {
  order: -1;
}

.feature-text h2 {
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.feature-images {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.feature-images img {
  width: 200px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-images img:only-child {
  width: 240px;
}

@media (max-width: 767px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .feature-block:nth-child(even) .feature-text {
    order: 0;
  }

  .feature-images img {
    width: 160px;
  }

  .feature-images img:only-child {
    width: 200px;
  }
}


/* ===== Page Header (for inner pages) ===== */
.page-header {
  padding: 120px 0 50px;
  background: linear-gradient(135deg, #3D3D5C 0%, #1E2340 100%);
  color: #fff;
  text-align: center;
}

.page-header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.app-icon-sm {
  width: 68px;
  height: 68px;
  border-radius: 16px;
}

@media (max-width: 767px) {
  .page-header-brand {
    flex-direction: column;
    gap: 12px;
  }

  .app-icon-sm {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
}

.page-header h1 em {
  font-style: normal;
  color: #fff !important;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-top: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

section.page-header > p.tagline {
  margin: 12px auto 16px;
  font-size: 1.2rem;
  color: #A8A0B0 !important;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--color-bg);
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--color-text-light);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

@media (max-width: 767px) {
  .privacy-callout h2,
  .form-section h2,
  .cta-section h2,
  .section-header h2 {
    font-size: 1.5rem;
  }
}

/* ===== Contact Info ===== */
.contact-info {
  text-align: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #E5E7EB;
}

.contact-info p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.contact-info a {
  font-weight: 600;
  font-size: 1.05rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-secondary);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 32px 0;
  font-size: 0.9rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links strong {
  color: #fff;
}

.footer-trademark {
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Utility ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
