/* File: styles.css */

/* ===== Root & Global Reset ===== */
:root {
  --bg: #f7fbff;
  --card: #ffffff;
  --accent: #0b63ff;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: #081328;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px;
}

/* ===== Header ===== */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #66a3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

.nav a {
  margin-left: 16px;
  color: var(--accent);
  text-decoration: none;
}

.nav a:hover {
  opacity: 0.8; /* Subtle hover effect */
}

/* ===== Hero Section ===== */
.hero {
  padding: 36px 0;
}

.lead {
  color: var(--muted);
  max-width: 720px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(11, 99, 255, 0.12);
  color: var(--accent);
}

/* ===== Steps ===== */
.steps {
  list-style: decimal;
  margin-left: 18px;
}

.muted {
  color: var(--muted);
}

/* ===== Pricing Grid ===== */
.pricing-grid {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.card {
  background: var(--card);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(9, 25, 46, 0.06);
  flex: 1;
  min-width: 240px;
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card.featured {
  border: 2px solid rgba(11, 99, 255, 0.12);
}

.price {
  font-size: 20px;
  font-weight: 700;
}

.per {
  font-size: 12px;
  color: var(--muted);
}

/* ===== Forms ===== */
.form-card {
  margin-top: 12px;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(10, 20, 40, 0.06);
  margin-top: 6px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid rgba(10, 20, 40, 0.04);
  margin-top: 28px;
  padding: 16px 0;
}

/* ===== Modal Styles ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 520px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(10, 20, 40, 0.15);
  position: relative;

  /* Slide up effect */
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.modal.open .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.close-btn {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.close-btn:hover {
  opacity: 0.7;
}

.modal-content label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  margin-top: 6px;
}

.modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.modal-status {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #1f8a3e;
  min-height: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .pricing-grid {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 16px;
  }
}


/* ===== Remove Underlines Globally ===== */
a,
a:visited,
a:active,
u {
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
  opacity: 0.85; /* subtle feedback on hover */
}
