/* EJtech landing — design clean, mobile-first */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px); border-bottom: 1px solid #e2e8f0; z-index: 100;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: .5rem; font-size: 1.25rem; color: #1e3a8a; }
.brand strong { color: #2563eb; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { font-weight: 500; color: #475569; }
.nav-links a:hover { color: #2563eb; }
.nav-btn-secondary { padding: .5rem 1rem; border: 1px solid #cbd5e1; border-radius: 8px; color: #334155 !important; }
.nav-btn-primary {
  padding: .55rem 1.1rem; background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white !important; border-radius: 8px; font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}
.nav-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37, 99, 235, .35); }
@media (max-width: 680px) {
  .nav-links a:not(.nav-btn-primary):not(.nav-btn-secondary) { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-badge {
  display: inline-block; padding: .35rem .85rem; background: #dbeafe; color: #1e40af;
  border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3rem; line-height: 1.1; font-weight: 800; color: #0f172a; margin-bottom: 1.5rem;
}
.grad {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 1.15rem; color: #475569; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.btn-primary-lg {
  padding: .95rem 1.75rem; background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white; border-radius: 10px; font-weight: 700; font-size: 1.05rem;
  transition: transform .15s, box-shadow .15s;
  display: inline-block;
}
.btn-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 99, 235, .4); }
.btn-secondary-lg {
  padding: .95rem 1.75rem; background: white; color: #1e40af;
  border: 2px solid #cbd5e1; border-radius: 10px; font-weight: 600; font-size: 1.05rem;
  display: inline-block;
}
.btn-secondary-lg:hover { border-color: #2563eb; }
.hero-trust { font-size: .9rem; color: #64748b; }

/* Hero screenshot mockup */
.hero-screenshot { position: relative; }
.window-frame {
  background: white; border: 1px solid #e2e8f0; border-radius: 14px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, .12); overflow: hidden;
}
.window-bar {
  height: 32px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0;
  display: flex; align-items: center; gap: .4rem; padding: 0 .8rem;
}
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.window-bar span:nth-child(1) { background: #ef4444; }
.window-bar span:nth-child(2) { background: #eab308; }
.window-bar span:nth-child(3) { background: #22c55e; }
.screenshot-body { padding: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.ss-card {
  padding: .85rem; border-radius: 10px; border-left: 4px solid #2563eb;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
}
.ss-card-2 { border-left-color: #f59e0b; }
.ss-label { font-size: .7rem; text-transform: uppercase; color: #64748b; letter-spacing: .5px; font-weight: 600; }
.ss-value { font-size: 1.4rem; font-weight: 800; color: #0f172a; margin: .3rem 0; }
.ss-trend { font-size: .8rem; color: #16a34a; font-weight: 600; }
.ss-warn { color: #d97706; }
.ss-chat {
  grid-column: span 2; padding: .85rem; background: #f8fafc; border-radius: 10px;
  display: flex; flex-direction: column; gap: .5rem;
}
.ss-msg-user, .ss-msg-ai {
  padding: .55rem .85rem; border-radius: 14px; font-size: .85rem; max-width: 90%;
}
.ss-msg-user { background: #2563eb; color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.ss-msg-ai { background: white; color: #334155; border: 1px solid #e2e8f0; align-self: flex-start; border-bottom-left-radius: 4px; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.25rem; }
  .hero-screenshot { display: none; }
}

/* ============ FEATURES ============ */
.features { padding: 5rem 0; background: white; }
.section-title { font-size: 2.25rem; font-weight: 800; text-align: center; color: #0f172a; margin-bottom: .75rem; }
.section-sub { text-align: center; color: #64748b; font-size: 1.1rem; margin-bottom: 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feat {
  padding: 1.75rem; background: #f8fafc; border-radius: 14px; border: 1px solid #e2e8f0;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feat:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15, 23, 42, .08); border-color: #cbd5e1; }
.feat-ico { font-size: 2rem; margin-bottom: .75rem; }
.feat h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; color: #0f172a; }
.feat p { color: #475569; font-size: .95rem; line-height: 1.6; }
@media (max-width: 880px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* ============ USE-CASES ============ */
.use-cases { padding: 5rem 0; background: #f8fafc; }
.usecases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.uc {
  padding: 1.5rem 1.25rem; background: white; border-radius: 12px; text-align: center;
  border: 1px solid #e2e8f0;
}
.uc-ico { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.uc h4 { font-size: 1.05rem; margin-bottom: .35rem; color: #0f172a; }
.uc p { font-size: .85rem; color: #64748b; }
@media (max-width: 800px) { .usecases-grid { grid-template-columns: 1fr 1fr; } }

/* ============ PRICING ============ */
.pricing { padding: 5rem 0; background: white; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; align-items: stretch; }
.plan {
  position: relative; padding: 2rem 1.75rem; background: white; border: 2px solid #e2e8f0;
  border-radius: 16px; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.plan:hover { transform: translateY(-4px); border-color: #cbd5e1; }
.plan-highlight {
  border-color: #2563eb; background: linear-gradient(180deg, #eff6ff, #ffffff);
  transform: scale(1.03);
  box-shadow: 0 30px 60px rgba(37, 99, 235, .12);
}
.plan-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #2563eb; color: white; padding: .25rem .85rem;
  border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .5px;
}
.plan-name { font-size: 1rem; font-weight: 700; text-transform: uppercase; color: #64748b; letter-spacing: 1px; }
.plan-price { font-size: 2.5rem; font-weight: 800; color: #0f172a; margin: .75rem 0 .25rem; }
.plan-price span { font-size: 1rem; color: #64748b; font-weight: 500; }
.plan-desc { color: #64748b; margin-bottom: 1.25rem; font-size: .9rem; }
.plan ul { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.plan ul li { padding: .35rem 0; color: #334155; font-size: .92rem; }
.btn-plan {
  display: block; padding: .85rem; text-align: center; background: white;
  color: #1e40af; border: 2px solid #1e40af; border-radius: 10px;
  font-weight: 700; transition: background .15s;
}
.btn-plan:hover { background: #eff6ff; }
.btn-plan-primary { background: linear-gradient(135deg, #2563eb, #1e40af); color: white; border-color: transparent; }
.btn-plan-primary:hover { background: #1e40af; box-shadow: 0 12px 28px rgba(37, 99, 235, .35); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan-highlight { transform: none; } }

/* ============ FAQ ============ */
.faq { padding: 5rem 0; background: #f8fafc; }
.faq-list { max-width: 760px; margin: 2rem auto 0; }
.faq-list details {
  background: white; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 1.25rem 1.5rem; margin-bottom: .75rem; cursor: pointer;
}
.faq-list summary {
  font-weight: 600; color: #0f172a; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::after { content: '+'; font-size: 1.5rem; color: #64748b; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin-top: 1rem; color: #475569; line-height: 1.7; }

/* ============ CTA FINAL ============ */
.cta-final {
  padding: 5rem 0; text-align: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #7c3aed 100%);
  color: white;
}
.cta-final h2 { font-size: 2.25rem; margin-bottom: .75rem; }
.cta-final p { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; }
.cta-final .btn-primary-lg { background: white; color: #1e40af; }
.cta-final .btn-primary-lg:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }

/* ============ FOOTER ============ */
.footer { padding: 3rem 0 1.5rem; background: #0f172a; color: #cbd5e1; }
.footer .brand { color: white; margin-bottom: .75rem; }
.footer .brand strong { color: #60a5fa; }
.footer-tag { color: #94a3b8; font-size: .9rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem;
}
.footer h5 { color: white; font-size: .95rem; margin-bottom: .75rem; }
.footer a { display: block; padding: .25rem 0; color: #94a3b8; font-size: .9rem; }
.footer a:hover { color: white; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid #1e293b; text-align: center; color: #64748b; font-size: .85rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
