/* ── Applydex.com shared styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --ink: #0b1220;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f7f8fb;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--ink);
  text-decoration: none;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 18px;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff !important; padding: 8px 16px; border-radius: 8px;
}
.nav-cta:hover { opacity: 0.9; text-decoration: none; }
@media(max-width:640px){ .nav-links a:not(.nav-cta){ display:none; } }

/* HERO */
.hero {
  background: linear-gradient(180deg, #f5f3ff 0%, #fff 100%);
  padding: 100px 24px 80px;
  text-align: center;
}
.hero h1 {
  font-size: 58px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.05; max-width: 760px; margin: 0 auto 20px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
  font-size: 20px; color: var(--ink-2); max-width: 580px;
  margin: 0 auto 36px; line-height: 1.5;
}
@media(max-width:640px){ .hero h1 { font-size: 40px; } .hero p { font-size: 17px; } }
.hero-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px 28px; border-radius: 10px;
  box-shadow: 0 10px 28px rgba(79,70,229,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(79,70,229,0.38); text-decoration: none; color:#fff; }
.btn-secondary {
  background: #fff; color: var(--brand); font-weight: 700; font-size: 16px;
  padding: 14px 28px; border-radius: 10px;
  border: 2px solid var(--line);
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--brand); text-decoration: none; }

/* SECTIONS */
.section { padding: 80px 24px; }
.section-alt { background: var(--bg); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-sub { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 52px; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media(max-width:768px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 28px; box-shadow: 0 2px 8px rgba(16,24,40,0.04);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; font-size: 20px;
  margin-bottom: 16px;
  background: #eef2ff; color: var(--brand);
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* PRICING CARD */
.pricing-card {
  background: #fff; border: 2px solid var(--brand);
  border-radius: 16px; padding: 48px 40px;
  max-width: 440px; margin: 0 auto;
  text-align: center;
  box-shadow: 0 16px 48px rgba(79,70,229,0.12);
}
.price-amount { font-size: 64px; font-weight: 800; color: var(--ink); }
.price-amount sup { font-size: 28px; vertical-align: top; margin-top: 12px; display: inline-block; }
.price-period { font-size: 18px; color: var(--muted); font-weight: 400; }
.pricing-features { list-style: none; margin: 28px 0; text-align: left; }
.pricing-features li { padding: 9px 0; font-size: 15px; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.pricing-features li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* INNER PAGE HEADER */
.page-header {
  background: linear-gradient(180deg, #f5f3ff 0%, #fff 60%);
  padding: 72px 24px 48px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-header h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.page-header p { font-size: 16px; color: var(--muted); }

/* PROSE */
.prose {
  max-width: 760px; margin: 0 auto; padding: 60px 24px;
  font-size: 16px; line-height: 1.75; color: var(--ink-2);
}
.prose h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 36px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 24px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 36px 0; }
.prose .last-updated { font-size: 13px; color: var(--muted); margin-bottom: 36px; padding: 10px 16px; background: #eef2ff; border-radius: 8px; display: inline-block; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 900px; margin: 0 auto; }
@media(max-width:768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.contact-info p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.contact-item .ci-icon { width: 40px; height: 40px; border-radius: 10px; background: #eef2ff; color: var(--brand); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; font-weight: 700; }
.contact-item .ci-text .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-item .ci-text .val { font-size: 15px; font-weight: 600; color: var(--ink); }

/* FOOTER */
footer {
  background: var(--ink); color: #9ca3af;
  padding: 48px 24px 24px;
  font-size: 13px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px;
}
@media(max-width:768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand .logo-text { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-brand .logo-text .logo-icon { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800; }
.footer-brand p { font-size: 13px; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col a { display: block; color: #9ca3af; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { max-width: 1100px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid #1f2937; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
