/* ===== Tikvex Landing Page ===== */
:root {
  --teal: #00C2B8;
  --teal-dark: #00A89F;
  --teal-soft: #E6FAF8;
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.15);
  --shadow-sm: 0 4px 20px rgba(0, 194, 184, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 8px 24px rgba(0, 194, 184, 0.35);
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 12px 28px rgba(0, 194, 184, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid #E2E8F0;
}

.btn-ghost:hover {
  background: white;
  border-color: var(--teal);
  color: var(--teal);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text {
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

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

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

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.accent {
  color: var(--teal);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(280px, 70vw);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 10px #1a1a1a, 0 0 0 12px #333;
  background: #111;
}

.phone-screen {
  width: 100%;
  display: block;
}

.floating-badge {
  position: absolute;
  top: 12%;
  right: 5%;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 30px rgba(0, 194, 184, 0.45);
  animation: float 4s ease-in-out infinite;
}

.fb-icon {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Features ===== */
.features {
  padding: 5rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

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

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

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

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

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ===== How it works ===== */
.how {
  padding: 5rem 0;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(0, 194, 184, 0.3);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--muted);
}

.step-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), #99E6E1);
  margin-top: 24px;
  flex-shrink: 0;
}

/* ===== Screenshots ===== */
.screenshots {
  padding: 5rem 0;
  background: white;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.screen-card {
  text-align: center;
}

.screen-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #1a1a1a;
  margin-bottom: 1rem;
  background: #111;
}

.screen-frame img {
  width: 100%;
}

.screen-card p {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ===== Promo ===== */
.promo {
  padding: 4rem 0;
  background: linear-gradient(135deg, #F0FDFA 0%, #E0F7F5 50%, #CCFBF1 100%);
}

.promo-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.promo-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.promo-tagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.promo-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.promo-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}

.check {
  width: 24px;
  height: 24px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.promo-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0F766E;
  color: white;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.promo-img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ===== CTA ===== */
.cta {
  padding: 5rem 0;
  background: linear-gradient(160deg, #0F766E 0%, #00A89F 50%, #00C2B8 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta > .container > p,
.cta-inner > p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.store-btn {
  min-width: 180px;
}

.cta-note {
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: #94A3B8;
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer .logo-text {
  color: white;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.copyright {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-inline: auto;
  }

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

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

  .hero-visual {
    order: -1;
  }

  .floating-badge {
    right: 10%;
    top: 8%;
  }

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

  .screens-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }

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

  .promo-list li {
    justify-content: center;
  }

  .promo-secure {
    margin-inline: auto;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .step-line {
    width: 2px;
    height: 40px;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: var(--shadow);
  }

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

  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .floating-badge {
    width: 72px;
    height: 72px;
    font-size: 0.6rem;
  }
}
