/* ============================================
   Smart Pig — Variables & Reset
============================================ */
:root {
  --dark-green: #1a3d3a;
  --teal: #2a9d8f;
  --teal-light: #3fb6a8;
  --bg-light: #f5f7f7;
  --white: #ffffff;
  --text-dark: #1a2826;
  --text-muted: #5f7472;
  --border-light: #e3e9e8;
  --shadow: 0 10px 30px rgba(26, 61, 58, 0.08);
  --radius: 18px;
  --max-width: 1180px;
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

section {
  padding: 80px 0;
}

section[id] {
  scroll-margin-top: 100px;
}

/* ============================================
   Typography
============================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header p {
  margin-top: 14px;
  font-size: 1.05rem;
}

/* ============================================
   Buttons
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(42, 157, 143, 0.35);
}

.btn-primary:hover {
  background-color: var(--dark-green);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--dark-green);
  color: var(--dark-green);
}

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

/* Store buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--dark-green);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 14px;
  position: relative;
  opacity: 0.92;
  cursor: default;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

.store-btn .store-text {
  text-align: left;
  line-height: 1.2;
}

.store-btn .store-text small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.8;
  font-weight: 400;
}

.store-btn .store-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.store-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--teal);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ============================================
   Header / Navbar
============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(245, 247, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark-green);
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--dark-green);
  padding: 7px;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s ease;
  position: relative;
}

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

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

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

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

.menu-toggle span {
  width: 26px;
  height: 3px;
  background-color: var(--dark-green);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ============================================
   Hero Section
============================================ */
.hero {
  padding: 90px 0 60px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 22px;
}

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

.hero-content p {
  font-size: 1.1rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 18px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(42,157,143,0.25), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-phone {
  position: relative;
  width: 280px;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(26, 61, 58, 0.25);
  border: 8px solid var(--dark-green);
  z-index: 1;
}

.hero-phone-secondary {
  position: absolute;
  width: 200px;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(26, 61, 58, 0.2);
  border: 6px solid var(--white);
  bottom: -20px;
  left: -40px;
  z-index: 2;
  transform: rotate(-6deg);
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(42, 157, 143, 0.12);
  color: var(--teal);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.coming-soon-pill .dot {
  width: 8px;
  height: 8px;
  background-color: var(--teal);
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* ============================================
   Stats / Trust strip
============================================ */
.trust-strip {
  background-color: var(--dark-green);
  padding: 36px 0;
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 24px;
  text-align: center;
}

.trust-item h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.trust-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================
   Features Section
============================================ */
.features {
  background-color: var(--white);
}

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

.feature-card {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border-light);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background-color: var(--white);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: rgba(42, 157, 143, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--teal);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.96rem;
}

/* ============================================
   Highlight / Alternating sections
============================================ */
.highlight {
  overflow: hidden;
}

.highlight .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.highlight.reverse .container {
  direction: rtl;
}

.highlight.reverse .container > * {
  direction: ltr;
}

.highlight-image {
  display: flex;
  justify-content: center;
}

.highlight-image img {
  width: 100%;
  max-width: 320px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 8px solid var(--white);
}

.highlight-text .eyebrow {
  margin-bottom: 14px;
}

.highlight-text h2 {
  margin-bottom: 18px;
}

.highlight-text p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.highlight-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  stroke: var(--teal);
  margin-top: 2px;
}

/* ============================================
   Screenshots Gallery
============================================ */
.gallery {
  background-color: var(--white);
}

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

.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   CTA Section
============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--dark-green), var(--teal));
  border-radius: 28px;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 70px 50px;
  text-align: center;
  color: var(--white);
}

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

.cta-section p {
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 10px;
  font-size: 1.05rem;
}

.cta-section .store-buttons {
  justify-content: center;
  margin-top: 36px;
}

.cta-section .store-btn {
  background-color: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
}

.cta-section .store-btn:hover {
  background-color: rgba(255,255,255,0.22);
}

/* ============================================
   Footer
============================================ */
footer {
  background-color: var(--dark-green);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand .logo-badge {
  width: 36px;
  height: 36px;
  background-color: var(--teal);
  padding: 6px;
}

.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

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

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
}

/* ============================================
   Privacy Policy Page
============================================ */
.policy-hero {
  padding: 70px 0 40px;
  text-align: center;
}

.policy-content {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 50px;
  max-width: 860px;
  margin: 0 auto 80px;
  box-shadow: var(--shadow);
}

.policy-content h2 {
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

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

.policy-content p {
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.policy-content ul {
  margin: 0 0 14px 0;
  padding-left: 22px;
  list-style: disc;
}

.policy-content ul li {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.policy-content strong {
  color: var(--text-dark);
}

.last-updated {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 992px) {
  .hero .container,
  .highlight .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .highlight.reverse .container {
    direction: ltr;
  }

  .hero-content {
    order: 1;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto;
  }

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

  .hero-visual {
    order: 0;
    margin-bottom: 20px;
    transform: translateX(24px);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .highlight-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta .btn-outline {
    display: none;
  }

  .navbar {
    position: relative;
    justify-content: center;
  }

  .logo {
    margin: 0 auto;
  }

  .nav-cta {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-light);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip .container {
    flex-direction: column;
    gap: 28px;
  }

  .cta-section {
    padding: 50px 24px;
    border-radius: 20px;
  }

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

  .policy-content {
    padding: 30px 22px;
  }

  section {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .store-buttons {
    flex-direction: column;
  }

  .hero-phone {
    width: 220px;
  }

  .hero-phone-secondary {
    width: 150px;
    left: -20px;
  }

  .hero-visual {
    transform: translateX(16px);
  }
}
