/* ==========
   Base setup
   ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #020617;
  --panel: #0b1120;
  --panel-soft: #111827;
  --border-soft: #1f2937;
  --accent: #2563eb;        /* single accent color */
  --text-main: #e5e7eb;
  --text-subtle: #9ca3af;
  --radius-lg: 1.1rem;
  --radius-md: 0.8rem;
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.75);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%);
  color: var(--text-main);
}

/* Main wrapper */

.page-shell {
  min-height: 100vh;
}

/* Layout */

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  padding: 5rem 0 3rem;
}

/* ==========
   Header
   ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.25rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: #f9fafb;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

nav a {
  margin-left: 1.1rem;
  font-size: 0.9rem;
  color: #d1d5db;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.15s ease-out;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  font-weight: 600;
}

nav a.active::after {
  width: 100%;
}

/* ==========
   Hero
   ========== */

.hero {
  margin-bottom: 2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 1.4rem;
  align-items: stretch;
}

.hero-inner-single {
  grid-template-columns: minmax(0, 1.4fr);
}

.hero-text {
  animation: fadeInUp 0.4s ease-out both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.8);
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.accent-text {
  color: var(--accent);
}

.hero-sub {
  max-width: 36rem;
  line-height: 1.6;
  font-size: 1rem;
  color: #d1d5db;
}

.hero-note {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.hero-actions {
  margin: 1.2rem 0 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Hero card */

.hero-card {
  animation: fadeInUp 0.45s ease-out both;
}

.hero-card-inner {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.05rem;
}

.hero-card-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.hero-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0.2rem 0 0.7rem;
}

.hero-card li {
  font-size: 0.93rem;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.hero-card-footer {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* ==========
   Sections
   ========== */

.section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.section-text {
  line-height: 1.6;
  font-size: 0.98rem;
  color: #d1d5db;
}

/* Divider */

.divider {
  border: none;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  margin: 0.9rem 0;
}

/* Cards / grid */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.card {
  background: var(--panel);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-subtle);
}

/* Highlight block */

.highlight {
  position: relative;
}

.highlight-inner {
  position: relative;
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.45);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.2rem;
}

/* Bullet lists */

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0.45rem 0 0.8rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #d1d5db;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.step-card {
  position: relative;
  background: var(--panel);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 0.9rem 0.9rem 0.9rem;
  box-shadow: var(--shadow-soft);
}

.step-number {
  position: absolute;
  top: -0.5rem;
  left: 0.9rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--accent);
  color: #f9fafb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.7);
}

.step-card h3 {
  margin-top: 0.7rem;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-subtle);
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.7rem;
}

.faq-item {
  background: var(--panel);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 0.85rem 0.9rem;
}

.faq-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-subtle);
}

/* ==========
   Buttons
   ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out,
    background 0.1s ease-out, border-color 0.1s ease-out;
  white-space: nowrap;
}

.btn.primary {
  background: var(--accent);
  color: #f9fafb;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.6);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.8);
}

.btn.secondary {
  background: var(--panel);
  color: #e5e7eb;
  border-color: rgba(75, 85, 99, 0.9);
}

.btn.secondary:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.85);
}

.btn.ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(75, 85, 99, 0.9);
}

.btn.ghost:hover {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.95);
}

/* ==========
   Contact
   ========== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr);
  gap: 1.3rem;
}

.contact-info-card,
.contact-form-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: var(--panel-soft);
  color: #e5e7eb;
  font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.6);
}

/* Small text */

.small {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* ==========
   Footer
   ========== */

footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: #020617;
  color: var(--text-subtle);
  font-size: 0.83rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 0.25rem 1rem;
}

footer a {
  color: #bfdbfe;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ==========
   Animations (simple, one-time)
   ========== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========
   Responsive
   ========== */

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  nav a {
    margin-left: 0.6rem;
  }

  main {
    padding-top: 4.6rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 0.8rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
