/* ============================================================
   CatalyftAI — Global Stylesheet
   ============================================================ */

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

:root {
  --bg:           #F2F5FF;
  --surface:      #FFFFFF;
  --ink:          #0D1527;
  --muted:        #5A6A7E;
  --border:       #DDE5F0;

  --primary:       #4F46E5;
  --primary-dark:  #3730A3;
  --primary-mid:   #6366F1;
  --primary-light: #EEF2FF;

  --accent:       #06B6D4;
  --accent-dark:  #0891B2;
  --accent-light: #ECFEFF;

  --amber:       #F59E0B;
  --amber-dark:  #D97706;
  --amber-light: #FFFBEB;

  --green:       #10B981;
  --green-dark:  #059669;
  --green-light: #ECFDF5;

  --gradient:      linear-gradient(135deg, #3730A3 0%, #4F46E5 50%, #06B6D4 100%);
  --gradient-edu:  linear-gradient(135deg, #78350F 0%, #F59E0B 100%);
  --gradient-web:  linear-gradient(135deg, #065F46 0%, #10B981 100%);
  --gradient-soft: linear-gradient(135deg, #EEF2FF 0%, #ECFEFF 100%);

  --max:       1160px;
  --radius:    20px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --shadow:    0 20px 60px rgba(13,21,39,0.09);
  --shadow-sm: 0 4px 20px rgba(13,21,39,0.06);
  --shadow-lg: 0 32px 80px rgba(13,21,39,0.14);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Manrope', sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; }

/* ---- NAV ---- */
header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
nav {
  max-width: var(--max); margin: 0 auto;
  padding: 0 28px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text { font-size: 1.12rem; font-weight: 800; color: var(--ink); letter-spacing: -0.025em; }
.logo-text em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.9rem;
  padding: 7px 13px; border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-cta {
  background: var(--primary) !important; color: #fff !important;
  font-weight: 700 !important; padding: 9px 20px !important;
  border-radius: var(--radius-xs) !important;
  transition: background 0.2s, transform 0.15s !important;
  box-shadow: 0 4px 14px rgba(79,70,229,0.28) !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--surface); z-index: 999;
  flex-direction: column; padding: 20px 24px 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.mobile-close {
  background: var(--bg); border: none; width: 36px; height: 36px;
  border-radius: var(--radius-xs); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.mobile-nav a {
  text-decoration: none; color: var(--ink); font-size: 1.05rem; font-weight: 600;
  padding: 13px 16px; border-radius: var(--radius-sm); transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover { background: var(--bg); color: var(--primary); }
.mobile-cta { background: var(--primary) !important; color: #fff !important; text-align: center; margin-top: 8px; }
.mobile-cta:hover { background: var(--primary-dark) !important; }

/* ---- TYPOGRAPHY ---- */
.label {
  display: block; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.label-amber  { color: var(--amber); }
.label-green  { color: var(--green); }
.label-indigo { color: var(--primary); }

.h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; }
.h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.14; }
.h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.lead { font-size: clamp(0.98rem, 1.8vw, 1.1rem); color: var(--muted); line-height: 1.72; }

/* ---- LAYOUT ---- */
section { padding: 88px 28px; }
.inner { max-width: var(--max); margin: 0 auto; }
.surface { background: var(--surface); }
.bg-soft  { background: var(--bg); }

.section-header { margin-bottom: 52px; }
.section-header .h2 { margin: 10px 0 16px; }
.section-header .lead { max-width: 560px; }
.section-header.center { text-align: center; }
.section-header.center .lead { margin: 0 auto; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

/* ---- HERO ---- */
.page-hero {
  background: var(--gradient); color: #fff;
  padding: 100px 28px 90px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute;
  width: 900px; height: 900px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -450px; right: -200px; pointer-events: none;
}
.page-hero::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: rgba(255,255,255,0.03);
  bottom: -350px; left: -150px; pointer-events: none;
}
.page-hero-inner { max-width: 740px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  border-radius: 100px; padding: 6px 18px; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 28px; letter-spacing: 0.02em;
}
.page-hero h1 { color: #fff; margin-bottom: 20px; }
.page-hero .lead { color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-xs);
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-white     { background: #fff; color: var(--primary); box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.btn-white:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.btn-outline-white { background: rgba(255,255,255,0.1); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { background: rgba(255,255,255,0.2); }
.btn-primary   { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(79,70,229,0.28); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 24px rgba(79,70,229,0.38); }
.btn-amber     { background: var(--amber); color: #fff; box-shadow: 0 4px 16px rgba(245,158,11,0.28); }
.btn-amber:hover { background: var(--amber-dark); }
.btn-green     { background: var(--green); color: #fff; box-shadow: 0 4px 16px rgba(16,185,129,0.28); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline   { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- CARDS ---- */
.card-grid   { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }

.card {
  background: var(--surface); border-radius: var(--radius);
  padding: 32px 28px; border: 1px solid var(--border);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-link   { text-decoration: none; color: inherit; display: block; }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.ci-indigo { background: var(--primary-light); }
.ci-amber  { background: var(--amber-light); }
.ci-green  { background: var(--green-light); }
.ci-cyan   { background: var(--accent-light); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.93rem; color: var(--muted); line-height: 1.65; }
.card-arrow { display: inline-flex; align-items: center; gap: 5px; margin-top: 20px; font-weight: 700; font-size: 0.88rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.pricing-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 36px 30px; border: 1.5px solid var(--border);
  position: relative; transition: transform 0.25s, box-shadow 0.25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,0.08); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; padding: 4px 18px;
  border-radius: 100px; font-size: 0.74rem; font-weight: 700;
  white-space: nowrap; letter-spacing: 0.04em;
}
.price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); margin: 16px 0 4px; line-height: 1; }
.price-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }
.card-divider { height: 1px; background: var(--border); margin: 20px 0; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--muted);
}
.feature-list li::before {
  content: '';
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%234F46E5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.feature-list.amber li::before { background-color: var(--amber-light); background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23F59E0B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---- HIGHLIGHT BOX ---- */
.highlight-box { background: var(--gradient); color: #fff; border-radius: var(--radius); padding: 48px 44px; }
.highlight-box h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1.25; }
.highlight-box p { opacity: 0.88; line-height: 1.68; }
.highlight-box-amber { background: var(--gradient-edu); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.stat-item { background: rgba(255,255,255,0.13); border-radius: 12px; padding: 18px 16px; }
.stat-num { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.stat-label { font-size: 0.77rem; opacity: 0.8; margin-top: 5px; line-height: 1.4; }

/* ---- CALLOUT BANNER ---- */
.callout-banner {
  border-radius: var(--radius); padding: 52px 52px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
}
.callout-amber { background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%); border: 1px solid #FCD34D; }
.callout-banner h2 { margin-bottom: 12px; }

/* ---- PROCESS ---- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.process-step { background: var(--surface); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--border); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; margin-bottom: 16px;
}
.process-step h4 { font-weight: 700; font-size: 0.97rem; margin-bottom: 8px; }
.process-step p  { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ---- CONTACT FORM ---- */
.form-wrap {
  background: var(--surface); border-radius: var(--radius);
  padding: 52px 48px; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); max-width: 720px; margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-xs);
  font-family: 'Manrope', sans-serif; font-size: 0.95rem;
  color: var(--ink); background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-status { padding: 14px 18px; border-radius: var(--radius-xs); font-weight: 600; font-size: 0.9rem; margin-top: 16px; display: none; }
.form-status.success { background: var(--green-light); color: #065F46; border: 1px solid #A7F3D0; display: block; }
.form-status.error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; display: block; }

/* ---- CTA ---- */
.cta-section { background: var(--gradient); color: #fff; text-align: center; padding: 96px 28px; }
.cta-section h2 { color: #fff; margin-bottom: 18px; }
.cta-section .lead { color: rgba(255,255,255,0.88); max-width: 500px; margin: 0 auto 40px; }

/* ---- FOOTER ---- */
footer { background: #08101E; color: rgba(255,255,255,0.6); padding: 64px 28px 32px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.88rem; line-height: 1.68; margin-top: 14px; max-width: 270px; }
.footer-col h4 { color: rgba(255,255,255,0.9); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { text-decoration: none; color: rgba(255,255,255,0.58); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }

/* ---- TAGS ---- */
.tag { display: inline-block; padding: 5px 12px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.tag-indigo { background: var(--primary-light); color: var(--primary); }
.tag-amber  { background: var(--amber-light); color: var(--amber-dark); }
.tag-green  { background: var(--green-light); color: var(--green-dark); }
.tag-cyan   { background: var(--accent-light); color: var(--accent-dark); }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .callout-banner { grid-template-columns: 1fr; padding: 36px 32px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 64px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-wrap { padding: 28px 20px; }
  .highlight-box { padding: 32px 28px; }
  .page-hero { padding: 72px 20px 64px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
