:root {
  --primary: rgb(209, 0, 0);
  --secondary: #ffafa9;
  --accent: #1e293b;
  --bg: #f9fafb;
  --white: #ffffff;
  --text: #1e293b;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Header */
header {
  background: var(--secondary);
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-weight: bold;
  font-size: 1.4rem;
  color: var(--primary);
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

nav a:hover {
  color: var(--white);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  /* background-color: var(--secondary); */
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Steps */
.steps {
  padding: 3rem 2rem;
  text-align: center;
}

.steps h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.steps ol {
  list-style: decimal inside;
  max-width: 500px;
  margin: auto;
  text-align: left;
}

/* Features */
.features-preview,
.features-detail {
  padding: 3rem 2rem;
  background: var(--white);
}

.features-preview h2,
.features-detail h1 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card img {
  width: 48px;
  margin-bottom: 1rem;
}

/* Feature details */
.feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
}

.feature.reverse {
  flex-direction: row-reverse;
}

.feature img {
  width: 64px;
}

/* Pricing */
.pricing {
  padding: 3rem 2rem;
}

.pricing h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: auto;
}

.plan {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease;
}

.plan:hover {
  transform: translateY(-4px);
}

.plan.highlight {
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.plan h2 {
  margin-bottom: 0.5rem;
}

.plan p {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: bold;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.plan ul li {
  margin: 0.5rem 0;
}

button,
.btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
}

button:hover,
.btn:hover {
  background: var(--accent);
}

/* Contact */
.contact {
  padding: 3rem 2rem;
  max-width: 700px;
  margin: auto;
}

form {
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

form button {
  align-self: flex-start;
}

/* Footer */
footer {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}