/* SefHub — shared stylesheet */

:root {
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-200: #BFDBFE;
  --blue-300: #93C5FD;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --blue-800: #1E40AF;
  --blue-900: #1E3A8A;
  --orange-100: #FFEDD5;
  --orange-200: #FED7AA;
  --orange-300: #FDBA74;
  --orange-400: #FB923C;
  --orange-500: #F97316;
  --orange-600: #EA580C;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 14px 40px rgba(15,23,42,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-800);
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--slate-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--slate-900);
  letter-spacing: -0.01em;
}
.brand-text { letter-spacing: -0.02em; }
.brand-text .accent { color: var(--orange-500); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--slate-600); font-weight: 500; font-size: 15px;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-700); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  font-family: inherit;
  transition: transform 0.1s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer; border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--orange-500); color: white; box-shadow: 0 4px 14px rgba(249,115,22,0.30); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(249,115,22,0.35); }
.btn-secondary { background: white; color: var(--blue-700); border-color: var(--blue-200); }
.btn-secondary:hover { border-color: var(--blue-700); }
.btn-ghost { background: transparent; color: var(--slate-700); }
.btn-ghost:hover { background: var(--slate-100); color: var(--slate-900); }
.btn-large { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ========== HERO ========== */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 90px;
  background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 85%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero::before { width: 420px; height: 420px; background: var(--blue-300); top: -160px; right: -100px; opacity: 0.5; }
.hero::after { width: 320px; height: 320px; background: var(--orange-300); bottom: -160px; left: -80px; opacity: 0.4; }
.hero-content { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: white; border: 1px solid var(--slate-200);
  font-size: 13px; font-weight: 600; color: var(--blue-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
h1.display {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--slate-900);
  margin-bottom: 22px;
}
h1.display .accent {
  background: linear-gradient(120deg, var(--orange-500), var(--orange-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 19px; color: var(--slate-600); max-width: 620px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-mock {
  position: relative; max-width: 980px; margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(15,23,42,0.18);
  border: 1px solid var(--slate-200);
}

/* ========== SECTIONS ========== */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--orange-500); text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 12px; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; letter-spacing: -0.025em; color: var(--slate-900);
  margin-bottom: 16px; line-height: 1.15;
}
.section-head p { font-size: 17px; color: var(--slate-600); }

/* ========== MODULE GRID ========== */
.module-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.module-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.module-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: var(--blue-50); color: var(--blue-700);
}
.module-icon.orange { background: var(--orange-100); color: var(--orange-600); }
.module-card h3 { font-size: 18px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; letter-spacing: -0.01em; }
.module-card p { color: var(--slate-600); font-size: 15px; line-height: 1.6; }

/* ========== FEATURE ROWS ========== */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse > .feature-text { order: 2; }
.feature-text h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--slate-900); margin-bottom: 16px; letter-spacing: -0.02em; line-height: 1.2; }
.feature-text > p { color: var(--slate-600); font-size: 16.5px; margin-bottom: 20px; }
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 10px; color: var(--slate-700); font-size: 15.5px;
}
.feature-list li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%;
  background-color: var(--orange-100);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 6 L5 9 L10 3' stroke='%23F97316' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
  flex-shrink: 0; margin-top: 2px;
}
.feature-visual {
  background: linear-gradient(135deg, var(--blue-50), white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 30px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  border-radius: var(--radius-xl); padding: 64px 48px;
  text-align: center; color: white;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(var(--orange-500), transparent 70%);
  opacity: 0.45;
}
.cta-banner::after {
  content: ""; position: absolute; bottom: -120px; left: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(var(--blue-500), transparent 70%);
  opacity: 0.4;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; line-height: 1.2; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 17px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ========== FAQ ========== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600; font-size: 17px; color: var(--slate-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--orange-500); font-size: 26px; font-weight: 300; line-height: 1;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding-top: 14px; color: var(--slate-600); font-size: 15.5px; line-height: 1.7; }

/* ========== CONTACT ========== */
.contact-section { background: var(--slate-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 24px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; margin-bottom: 12px; }
.contact-info > p { color: var(--slate-600); margin-bottom: 24px; }
.contact-method { display: flex; gap: 14px; align-items: center; padding: 14px 0; }
.contact-method-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: white; border: 1px solid var(--slate-200);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-method strong { display: block; color: var(--slate-900); font-weight: 600; font-size: 14.5px; }
.contact-method span { color: var(--slate-600); font-size: 14px; }
.form-card {
  background: white; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--slate-700); margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--slate-200); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--slate-900);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100);
}
.form-row textarea { resize: vertical; min-height: 110px; }

/* ========== FOOTER ========== */
footer {
  background: var(--slate-900); color: var(--slate-300);
  padding: 64px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 44px;
}
.footer-brand .brand { color: white; }
.footer-brand p { color: var(--slate-400); font-size: 14px; max-width: 280px; margin-top: 14px; line-height: 1.6; }
.footer-col h4 { color: white; font-size: 13px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col a {
  display: block; color: var(--slate-400); padding: 6px 0; font-size: 14px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--orange-400); }
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--slate-400);
}
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: var(--orange-400); }

/* ========== PAGE HEADER (sub-pages) ========== */
.page-header {
  position: relative; overflow: hidden;
  padding: 96px 0 64px; text-align: center;
  background: linear-gradient(180deg, #EFF6FF 0%, white 90%);
}
.page-header::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: var(--blue-200); filter: blur(70px); opacity: 0.5;
  top: -140px; right: -100px;
}
.page-header::after {
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: var(--orange-200); filter: blur(70px); opacity: 0.5;
  bottom: -100px; left: -80px;
}
.page-header > .container { position: relative; }
.page-header h1 { font-size: clamp(34px, 4.5vw, 48px); font-weight: 800; letter-spacing: -0.03em; color: var(--slate-900); margin-bottom: 14px; }
.page-header > .container > p { font-size: 18px; color: var(--slate-600); max-width: 640px; margin: 0 auto; }

/* ========== PROSE ========== */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 22px; font-weight: 700; color: var(--slate-900); margin: 36px 0 14px; letter-spacing: -0.01em; }
.prose h3 { font-size: 17px; font-weight: 700; color: var(--slate-900); margin: 22px 0 10px; }
.prose p, .prose li { color: var(--slate-700); font-size: 15.5px; margin-bottom: 12px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }
.prose ul li, .prose ol li { margin-bottom: 6px; }
.prose strong { color: var(--slate-900); }

/* ========== PRICING ========== */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.price-card {
  background: white; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 36px 28px; position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--blue-500); box-shadow: 0 20px 50px rgba(37,99,235,0.18);
  transform: translateY(-8px);
}
.price-tag {
  position: absolute; top: -12px; right: 24px;
  background: var(--orange-500); color: white;
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.price-card h3 { font-size: 20px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.price-card .desc { color: var(--slate-600); font-size: 14px; margin-bottom: 20px; min-height: 42px; }
.price-amount { font-size: 40px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; line-height: 1.1; }
.price-amount span { font-size: 16px; font-weight: 500; color: var(--slate-500); }
.price-card hr { border: none; border-top: 1px solid var(--slate-200); margin: 24px 0; }
.price-features { list-style: none; flex-grow: 1; margin-bottom: 22px; }
.price-features li { padding: 8px 0; color: var(--slate-700); font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }
.price-features li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background-color: var(--blue-50); flex-shrink: 0; margin-top: 3px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 6 L5 9 L10 3' stroke='%231D4ED8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: center; }

/* ========== ABOUT PAGE ========== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.value-card {
  background: white; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 28px;
}
.value-card .num { font-size: 13px; font-weight: 700; color: var(--orange-500); letter-spacing: 0.1em; margin-bottom: 10px; }
.value-card h3 { font-size: 19px; font-weight: 700; color: var(--slate-900); margin-bottom: 10px; }
.value-card p { color: var(--slate-600); font-size: 15px; }

.story-block { max-width: 760px; margin: 0 auto; }
.story-block p { color: var(--slate-700); font-size: 17px; margin-bottom: 18px; line-height: 1.8; }
.story-block p.first { font-size: 21px; line-height: 1.6; color: var(--slate-900); font-weight: 500; }

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mt-xl { margin-top: 64px; }
.mb-xl { margin-bottom: 64px; }
.bg-soft { background: var(--slate-50); }

/* ========== RESPONSIVE ========== */
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; margin-bottom: 64px; }
  .feature-row.reverse > .feature-text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .price-card.featured { transform: none; }
  .nav-links { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 24px; }
  .form-card { padding: 24px; }
  .nav-cta .btn-secondary { display: none; }
}
