/* =========
   Base Styles
   ========= */
:root {
  --primary: #0f2740;
  --accent: #ff7a00;
  --accent-soft: #fff3e6;
  --background: #f5f7fb;
  --card-bg: #ffffff;
  --border: #e0e6ef;
  --muted: #6b7280;
  --success: #16a34a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--background);
  color: var(--primary);
  line-height: 1.6;
}

/* Containers & Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.section {
  padding: 3.5rem 0;
}

.section-accent {
  background-color: #eef3fb;
}

.section-cta {
  background: linear-gradient(135deg, var(--primary), #122841);
  color: #f9fafb;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

.section-subtitle {
  margin: 0 auto 2rem;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
}

/* Header */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #ffa94d);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
}

.logo-text strong {
  display: block;
  font-size: 1rem;
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
}

.main-nav a {
  text-decoration: none;
  margin-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--primary);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.btn-nav {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-nav.active,
.btn-nav:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* Hero */

.hero {
  background: radial-gradient(circle at top left, #ffe8d2 0, #f5f7fb 50%, #e5edff 100%);
  padding: 3rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 0.5rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  background-color: #ffffff;
  border-radius: 1.3rem;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 10px 30px rgba(15, 39, 64, 0.12);
}

.hero-card h2 {
  margin-top: 0;
}

.hero-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}

.hero-list li {
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Buttons */

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-light,
.btn-block,
.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  opacity: 0.95;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-light {
  background-color: #f9fafb;
  color: var(--primary);
}

.btn-block {
  width: 100%;
  margin-top: 0.6rem;
  background-color: var(--primary);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Grid & Cards */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background-color: var(--card-bg);
  border-radius: 1.1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background-color: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* Plan Cards */

.plan-card {
  position: relative;
}

.plan-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 30px rgba(255, 122, 0, 0.15);
}

.plan-label {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}

.plan-tagline {
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* Lists */

.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0.8rem 0;
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
  color: var(--success);
}

.list-bullets {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--primary);
}

.info-card {
  background-color: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  padding: 1.4rem 1.3rem;
}

.info-highlight {
  font-size: 0.9rem;
  color: var(--primary);
  border-left: 3px solid var(--accent);
  padding-left: 0.8rem;
  margin-top: 1rem;
}

/* Two Column */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 1.8rem;
  align-items: flex-start;
}

/* CTA Section */

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

/* Page Hero (for inner pages) */

.page-hero {
  padding: 2.6rem 0 2.2rem;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 0.4rem;
}

.page-hero p {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
}

/* Contact Page */

.contact-form-card {
  background-color: #ffffff;
  border-radius: 1.1rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border);
}

.form-intro {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.contact-form .form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  flex: 1;
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  font: inherit;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.15);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.contact-info .contact-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}

.contact-info .contact-list li {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

/* Footer */

.site-footer {
  background-color: #0b1725;
  color: #e5e7eb;
  padding: 1.8rem 0 1.2rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* =======
   Responsive
   ======= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .main-nav a {
    margin-left: 0.8rem;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .page-hero {
    padding-top: 2rem;
  }

  .contact-form .form-row {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 0.8rem;
  }
}
