/* ==========================================================================
   Creer Connect AI — Global Styles
   Pure CSS3, no frameworks.
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Design Tokens ---------- */
:root {
  --white: #ffffff;
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --primary-50: #dbeafe;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --shadow-sm: 0 1px 2px rgba(17,24,39,.04), 0 1px 3px rgba(17,24,39,.06);
  --shadow-md: 0 4px 12px rgba(17,24,39,.06), 0 8px 24px rgba(17,24,39,.06);
  --shadow-lg: 0 12px 40px rgba(37,99,235,.12), 0 4px 12px rgba(17,24,39,.06);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --grad: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  --grad-soft: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  --container: 1200px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: 'Manrope', 'Inter', sans-serif; color: var(--text); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: var(--primary-50); color: var(--primary-600);
  border-radius: 999px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
}
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,235,.45); }
.btn-secondary { background: var(--white); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-ghost { color: var(--text); padding: 10px 16px; }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--border); background: rgba(255,255,255,.72); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: white; font-weight: 800;
  box-shadow: 0 8px 20px rgba(37,99,235,.35);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: 0.94rem; font-weight: 500; color: #374151;
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--text); display: block; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; padding: 16px 24px 24px;
    background: white; border-bottom: 1px solid var(--border);
  }
  .nav.open .nav-links a { padding: 12px 14px; }
}

/* ---------- Hero ---------- */
.hero { padding: 90px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 700px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(37,99,235,.10), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero p.lead { font-size: 1.1rem; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 24px; margin-top: 34px; color: var(--muted); font-size: 0.9rem; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Dashboard Illustration ---------- */
.dashboard-illus {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow-lg);
}
.dashboard-illus::after {
  content: ""; position: absolute; inset: auto -30px -30px auto; width: 180px; height: 180px;
  background: var(--grad); filter: blur(60px); opacity: .35; z-index: -1; border-radius: 50%;
}
.d-topbar { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.d-topbar .d-dot { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.d-topbar .d-dot.r { background: #fecaca; } .d-topbar .d-dot.y { background: #fde68a; } .d-topbar .d-dot.g { background: #bbf7d0; }
.d-topbar .d-title { margin-left: 8px; font-size: 0.82rem; color: var(--muted); }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.d-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; animation: floaty 6s ease-in-out infinite;
}
.d-card:nth-child(2){ animation-delay: -1.5s;} .d-card:nth-child(3){ animation-delay: -3s;} .d-card:nth-child(4){ animation-delay: -4.5s;}
.d-card .lbl { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.d-card .val { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-top: 6px; letter-spacing: -0.02em; }
.d-card .trend { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 0.72rem; font-weight: 600; color: #16a34a; }
.d-card.accent { background: var(--grad); color: white; border-color: transparent; }
.d-card.accent .lbl, .d-card.accent .val, .d-card.accent .trend { color: white; }

.d-bar {
  margin-top: 14px; padding: 14px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.d-bar .lbl { font-size: 0.75rem; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.d-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.d-bars i {
  flex: 1; background: var(--grad); border-radius: 4px 4px 0 0; display: block;
  animation: barGrow 1.2s ease-out both;
}
@keyframes barGrow { from { height: 0 !important; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.d-status {
  margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: var(--radius); color: #065f46;
  font-size: 0.85rem; font-weight: 500;
}
.d-status .pulse { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16,185,129,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.7); } 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }

/* ---------- Trusted logos ---------- */
.trusted { padding: 40px 0 60px; }
.trusted-label { text-align: center; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 28px; }
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; align-items: center; }
.logo-row .logo {
  height: 30px; display: grid; place-items: center; color: #9ca3af; font-weight: 700; letter-spacing: 0.02em;
  filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s, color .2s;
  font-size: 1.05rem; font-family: 'Manrope', sans-serif;
}
.logo-row .logo:hover { filter: none; opacity: 1; color: var(--primary); }
@media (max-width: 800px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px;
  background: var(--grad); opacity: 0; filter: blur(60px); transition: opacity .3s;
}
.feature-card:hover::after { opacity: .15; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50);
  color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; font-size: 20px;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { font-size: 0.92rem; }

/* ---------- Takeover Section ---------- */
.takeover { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.takeover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .takeover-grid { grid-template-columns: 1fr; } }
.flow {
  display: flex; flex-direction: column; gap: 10px; padding: 30px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.flow-node {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  opacity: 0; animation: rise .5s ease forwards;
}
.flow-node:nth-child(1) { animation-delay: .1s; }
.flow-node:nth-child(3) { animation-delay: .3s; }
.flow-node:nth-child(5) { animation-delay: .5s; }
.flow-node:nth-child(7) { animation-delay: .7s; }
.flow-node .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; }
.flow-node .name { font-weight: 600; color: var(--text); }
.flow-node .sub { font-size: 0.82rem; color: var(--muted); }
.flow-arrow { text-align: center; color: var(--primary); opacity: .6; }
@keyframes rise { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }

/* ---------- Dashboard preview ---------- */
.dash-preview {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 24px; box-shadow: var(--shadow-md); overflow: hidden;
}
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.dp-title { font-weight: 700; }
.dp-title small { display: block; color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.dp-badge { padding: 6px 12px; background: #ecfdf5; color: #065f46; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.dp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 800px) { .dp-stats { grid-template-columns: repeat(2, 1fr); } }
.dp-stat { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.dp-stat .l { font-size: 0.78rem; color: var(--muted); }
.dp-stat .v { font-size: 1.5rem; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; }
.dp-stat .t { font-size: 0.72rem; margin-top: 4px; color: #16a34a; font-weight: 600; }
.dp-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
@media (max-width: 800px) { .dp-cols { grid-template-columns: 1fr; } }
.dp-chart { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.dp-chart .l { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; display: flex; justify-content: space-between; }
.dp-chart svg { width: 100%; height: 140px; }
.dp-list { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.dp-list .l { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.dp-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 0.86rem; }
.dp-item:last-child { border-bottom: 0; }
.dp-item .av { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: white; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; }
.dp-item .st { margin-left: auto; font-size: 0.72rem; padding: 3px 8px; border-radius: 999px; background: #dbeafe; color: var(--primary-600); font-weight: 600; }
.dp-item .st.human { background: #fef3c7; color: #92400e; }

/* ---------- How it works ---------- */
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--primary), transparent); }
.tl-item { position: relative; padding: 14px 0 28px 0; }
.tl-item::before {
  content: ""; position: absolute; left: -32px; top: 20px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--primary); box-shadow: 0 0 0 4px var(--primary-50);
}
.tl-step { font-size: 0.75rem; color: var(--primary); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tl-item h3 { margin: 4px 0 6px; font-size: 1.1rem; }
.tl-item p { font-size: 0.94rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card.highlight { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); transform: scale(1.02); }
.price-badge { position: absolute; top: -12px; right: 20px; padding: 6px 12px; background: var(--grad); color: white; font-size: 0.72rem; font-weight: 700; border-radius: 999px; letter-spacing: 0.04em; }
.price-name { font-weight: 700; font-size: 1.05rem; }
.price-amt { font-size: 2.6rem; font-weight: 800; margin: 12px 0 4px; letter-spacing: -0.03em; }
.price-amt small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.price-list { margin-bottom: 26px; flex: 1; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 0.92rem; color: #374151; }
.price-list li::before { content: "✓"; color: var(--primary); font-weight: 800; margin-top: 1px; }
.price-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Reasons/why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  padding: 24px; background: white; border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .2s, border-color .2s;
}
.why-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.why-card .ico { color: var(--primary); font-size: 22px; margin-bottom: 12px; }
.why-card h3 { font-size: 1rem; margin-bottom: 4px; }
.why-card p { font-size: 0.88rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi {
  padding: 28px; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .2s, box-shadow .2s;
}
.testi:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; font-size: 0.9rem; }
.testi p { color: #374151; font-size: 0.96rem; }
.testi-user { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: white; display: grid; place-items: center; font-weight: 700; }
.testi-user .name { font-weight: 600; color: var(--text); font-size: 0.92rem; }
.testi-user .role { font-size: 0.8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 1rem; color: var(--text);
}
.faq-q .plus { color: var(--primary); font-size: 1.3rem; transition: transform .25s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 0.94rem; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- CTA ---------- */
.cta {
  background: var(--grad); border-radius: var(--radius-xl); padding: 64px 40px;
  text-align: center; color: white; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255,255,255,.14), transparent 40%);
  pointer-events: none;
}
.cta h2, .cta p { color: white; position: relative; }
.cta p { opacity: .9; margin: 14px auto 28px; max-width: 560px; }
.cta .btn { position: relative; }
.cta .btn-primary { background: white; color: var(--primary); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.cta .btn-primary:hover { background: #f8fafc; color: var(--primary-600); }
.cta .btn-secondary { background: transparent; color: white; border-color: rgba(255,255,255,.4); }
.cta .btn-secondary:hover { background: rgba(255,255,255,.1); border-color: white; color: white; }

/* ---------- Footer ---------- */
footer { background: white; border-top: 1px solid var(--border); padding: 70px 0 30px; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 300px; }
.foot-col h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
.foot-col a { display: block; padding: 6px 0; font-size: 0.9rem; color: var(--muted); transition: color .15s; }
.foot-col a:hover { color: var(--primary); }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; gap: 10px; }

/* ---------- Legal page ---------- */
.page-hero { padding: 80px 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.page-hero p { margin-top: 12px; }
.legal { max-width: 820px; margin: 0 auto; padding: 30px 24px 100px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { color: #374151; font-size: 0.96rem; line-height: 1.75; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal ul li { margin: 4px 0; }
.legal .meta { color: var(--muted); font-size: 0.85rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info .info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info .info-item .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; }
.contact-info .info-item strong { display: block; margin-bottom: 2px; }
.contact-info .info-item span { color: var(--muted); font-size: 0.9rem; }
form.contact-form { background: white; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; transition: border-color .15s, box-shadow .15s;
  background: var(--bg); color: var(--text);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
/* ================= CHANGE START: Login page custom layout added ================= */
.login-page {
    min-height: 100vh;
}

.login-main {
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    padding: 40px 24px;
}

.login-grid {
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 60px;
    align-items: center;
}

.login-left h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.4rem, 4vw, 3.7rem);
}

.login-left .lead {
    font-size: 1.1rem;
    max-width: 560px;
    color: var(--muted);
}

.login-trust {
    display: flex;
    gap: 22px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.login-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-trust .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}

#auth-wrapper {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 34px;
    max-width: 430px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

#auth-wrapper::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: var(--grad);
}

.login-card-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: var(--text);
}

.login-input {
    background: var(--bg);
    border: 1px solid var(--border);
}

.login-input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-50);
}

@media (max-width: 900px) {
    .login-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 32px;
    }

    .login-left {
        text-align: center;
    }

    .login-left .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .login-trust {
        justify-content: center;
    }
}

.feature-card.upcoming-feature {
  position: relative;
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: none;
}

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

.feature-card.upcoming-feature .feature-icon {
  background: #e2e8f0;
  filter: grayscale(1);
  opacity: 0.75;
}

.feature-card.upcoming-feature h3 {
  color: #64748b;
}

.feature-card.upcoming-feature > p {
  color: #94a3b8;
}

.upcoming-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.asterisk {
  color: #ef4444;
  font-weight: 800;
}

.upcoming-message {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}