:root {
  --text: #1a1a1a;
  --muted: #555555;
  --accent: #4dd2ff;
  --accent-2: #d58cff;
  --accent-3: #ffe74d;
  --danger: #ff5d5d;

  --bg: #ffffff;
  --bg-soft: #f8fafd;
  --border: #e9edf3;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1180px;
  --ring: 0 0 0 3px rgba(77, 210, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between; /* spreads items */
}

.nav-links {
  display: none;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  min-width: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

/* Nav links */
nav {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  color: var(--text);
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

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

/* Hamburger */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 0;
}



.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--danger);
  margin-bottom: 14px;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--text);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

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

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

.hero-badges span {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.phone-stack {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-card {
  position: absolute;
  width: 280px;
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.phone-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

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

.accent-blue {
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, rgba(77, 210, 255, 0.22), #ffffff);
}

.accent-purple {
  bottom: 20px;
  right: 10px;
  background: linear-gradient(135deg, rgba(213, 140, 255, 0.2), #ffffff);
}

.floating-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.dot-yellow {
  width: 90px;
  height: 90px;
  background: rgba(255, 231, 77, 0.55);
  top: 10px;
  right: 40px;
}

.dot-red {
  width: 70px;
  height: 70px;
  background: rgba(255, 93, 93, 0.35);
  bottom: 0;
  left: 50px;
}

/* Clickable card wrapper */
.card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link-wrapper:hover .phone-card {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

/* 2-column content inside phone cards */
.card-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.card-text h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

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

.card-image img {
  width: 100%;
  max-width: 180px;
  border-radius: 16px;
  display: block;
  margin-left: auto;
}

/* Sections */
.apps-section,
.features-section,
.comparison-section,
.cta-section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

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

/* App Cards */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.app-card {
  padding: 32px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.app-card-blue {
  background: linear-gradient(180deg, rgba(77, 210, 255, 0.14), #ffffff);
}

.app-card-purple {
  background: linear-gradient(180deg, rgba(213, 140, 255, 0.14), #ffffff);
}

.card-top {
  margin-bottom: 16px;
}

.pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 14px;
}

.app-card h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.app-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--danger);
  font-size: 1.2rem;
  line-height: 1;
}

.card-link {
  font-weight: 700;
  color: var(--text);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.accent-blue-bg {
  background: rgba(77, 210, 255, 0.28);
}

.accent-purple-bg {
  background: rgba(213, 140, 255, 0.28);
}

.accent-yellow-bg {
  background: rgba(255, 231, 77, 0.45);
}

.accent-red-bg {
  background: rgba(255, 93, 93, 0.22);
}

.feature-box h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: #fafcff;
  font-size: 1rem;
}

.comparison-table td {
  color: var(--muted);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* CTA */
.cta-box {
  background: linear-gradient(
    135deg,
    rgba(77, 210, 255, 0.15),
    rgba(213, 140, 255, 0.16),
    rgba(255, 231, 77, 0.18)
  );
  border-radius: 32px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.cta-text p {
  color: var(--muted);
  max-width: 650px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

/* General form/input helpers if used elsewhere */
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: #fff;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: none;
  box-shadow: var(--ring);
  border-color: transparent;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .apps-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

  .cta-box {
    display: block;
  }

  .cta-actions {
    margin-top: 20px;
  }

  .hero-visual {
    margin-top: 20px;
  }
}

/* Tablet and mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  nav {
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 1001;
  }

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

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

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text);
  }

  .nav-links a:hover {
    background: #f7f7f7;
    color: var(--text);
  }

  .hero {
    padding-top: 50px;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

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

  .phone-stack {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .phone-card {
    width: 100%;
    max-width: 320px;
    position: relative;
  }

  .accent-blue,
  .accent-purple {
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 10px auto;
  }

  .floating-dot {
    display: none;
  }

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

  .cta-box {
    padding: 28px;
  }

  .footer-content {
    flex-direction: column;
  }

  .card-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .card-image img {
    margin: 0 auto;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .container {
    width: min(94%, var(--max-width));
  }

  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.08;
    word-break: break-word;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
  }

  .hero-badges {
    gap: 10px;
  }

  .hero-badges span {
    width: 100%;
    text-align: center;
  }

  .logo-text {
    font-size: 15px;
  }

  @media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 1001;
  }

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