* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f1f8ff;
  color: #111827;
}

a {
  text-decoration: none;
}

.navbar {
  width: 100%;
  padding: 18px 7%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: #008cff;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: #1f2937;
  font-weight: 600;
}

.nav-btn {
  background: #008cff;
  color: white !important;
  padding: 10px 18px;
  border-radius: 999px;
}

.hero {
  min-height: 650px;
  padding: 70px 7%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
  background: linear-gradient(135deg, #eaf7ff, #ffffff);
}

.tag {
  display: inline-block;
  background: #ffdd00;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 62px;
  line-height: 1.05;
  margin: 0;
  max-width: 680px;
}

.hero p {
  font-size: 21px;
  color: #4b5563;
  line-height: 1.6;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 14px;
  font-weight: 800;
}

.primary-btn {
  background: #008cff;
  color: white;
}

.secondary-btn {
  background: #e5f3ff;
  color: #0077dd;
}

.trust {
  margin-top: 22px;
  color: #4b5563;
  font-weight: 600;
}

.hero-card {
  background: white;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 140, 255, 0.18);
}

.hero-card h3 {
  margin-top: 0;
  font-size: 24px;
}

.mini-paper {
  background: #ffffff;
  border: 3px solid #008cff;
  border-radius: 18px;
  padding: 25px;
}

.line {
  height: 10px;
  background: #dbeafe;
  border-radius: 10px;
  margin-bottom: 12px;
}

.line.big {
  width: 70%;
  height: 16px;
}

.question-row {
  padding: 14px;
  margin-top: 14px;
  border: 2px dashed #b7d9f5;
  border-radius: 12px;
  font-size: 19px;
  font-weight: bold;
}

.section {
  padding: 80px 7%;
  text-align: center;
}

.section h2,
.demo-section h2,
.app-section h2 {
  font-size: 42px;
  margin-bottom: 12px;
}

.section-subtitle {
  color: #6b7280;
  font-size: 19px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card,
.price-card {
  background: white;
  padding: 28px;
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
  text-align: left;
}

.feature-card h3,
.price-card h3 {
  font-size: 23px;
  margin-top: 0;
}

.feature-card p,
.price-card p,
.price-card li {
  color: #5b6472;
  line-height: 1.6;
}

.demo-section {
  padding: 70px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  background: #008cff;
  color: white;
}

.demo-section p {
  font-size: 20px;
  line-height: 1.6;
}

.steps {
  display: grid;
  gap: 18px;
}

.steps div {
  background: white;
  color: #111827;
  padding: 22px;
  border-radius: 18px;
  font-size: 20px;
  font-weight: bold;
}

.steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  background: #ffdd00;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 430px));
  gap: 25px;
  justify-content: center;
}

.price-card.pro {
  border: 3px solid #008cff;
}

.price {
  font-size: 44px;
  font-weight: 900;
  color: #008cff;
}

.price span {
  font-size: 18px;
  color: #6b7280;
}

.price-card ul {
  padding-left: 20px;
}

.full {
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

.app-section {
  padding: 80px 7%;
  background: #eaf7ff;
  text-align: center;
}

.app-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  max-width: 1150px;
  margin: auto;
  text-align: left;
}

.panel,
.preview {
  background: white;
  padding: 24px;
  border-radius: 22px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.panel label {
  display: block;
  margin-bottom: 15px;
  font-weight: bold;
}

select,
input {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: 2px solid #d7e7f5;
  border-radius: 14px;
  font-size: 16px;
}

button {
  width: 100%;
  border: none;
  background: #008cff;
  color: white;
  padding: 14px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.green {
  background: #20b26b;
}

.red {
  background: #ff4d4d;
}

.worksheet {
  background: white;
  border: 3px solid #1d9bf0;
  border-radius: 18px;
  padding: 30px;
  min-height: 650px;
  font-family: var(--worksheet-font-family, Arial, Helvetica, sans-serif);
}

.worksheet-header {
  text-align: center;
  border-bottom: 3px solid #1d9bf0;
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
  text-align: left;
  font-size: 15px;
}

.questions {
  display: grid;
  grid-template-columns: var(--questions-columns, repeat(2, 1fr));
  gap: var(--questions-gap, 18px);
}

.question {
  font-size: var(--question-font-size, 22px);
  padding: var(--question-padding, 14px);
  border: 2px dashed #b7d9f5;
  border-radius: var(--question-radius, 14px);
  border-style: var(--question-border-style, dashed);
  background: var(--question-background, white);
  line-height: var(--question-line-height, 1.4);
}

.answer-line {
  display: inline-block;
  min-width: 80px;
  border-bottom: 2px solid #222;
  margin-left: 10px;
}

.empty {
  display: block;
  text-align: center;
  color: #777;
  font-size: 20px;
  padding-top: 180px;
}

.answer-key {
  margin-top: 30px;
  border-top: 2px solid #ddd;
  padding-top: 15px;
}

.answer-grid {
  display: grid;
  grid-template-columns: var(--answer-columns, repeat(5, 1fr));
  gap: var(--answer-gap, 8px);
  font-size: 14px;
}

footer {
  padding: 35px 7%;
  background: #111827;
  color: white;
  text-align: center;
}

@media (max-width: 950px) {
  .hero,
  .demo-section,
  .app-layout,
  .features,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .nav-links {
    display: none;
  }

  .questions {
    grid-template-columns: 1fr;
  }
}
