:root {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
  --bg-a: #eee7d7;
  --bg-b: #f6eee3;
  --surface: rgba(255, 255, 255, 0.95);
  --text: #2c3e50;
  --muted: #555;
  --primary: #7eacb5;
  --accent: #608bc1;
  --action: #c96868;
  --success: #2ecc71;
  --success-hover: #27ae60;
  --warning: #fadfa1;
  --danger: #d9534f;
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: InterVariable, Inter, sans-serif;
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family: Inter, 'Segoe UI', system-ui, -apple-system, sans-serif;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: #333;
}

.nav {
  background-color: var(--action);
  padding: 12px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  margin: 0;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  color: white;
  padding: 9px 14px;
  background-color: var(--accent);
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

.container {
  background: var(--surface);
  width: 90%;
  max-width: 760px;
  margin: 22px auto 28px;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.container--wide {
  width: min(97vw, 1320px);
  max-width: 1320px;
}

h1 {
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

p,
.hint {
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin: 8px;
  padding: 12px 18px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background: var(--action);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: var(--warning);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

label {
  display: block;
  margin: 12px 0 8px;
  color: var(--text);
  font-weight: 600;
  text-align: left;
}

input {
  display: block;
  width: min(100%, 460px);
  margin: 0 auto 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
  background: #fff;
  font-size: 1rem;
}

.messages {
  margin: 0 0 12px;
}

.message {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: #f7f9fc;
  color: var(--text);
  border: 1px solid #e8edf4;
}

.message.error {
  border-color: #f2b7b7;
  background: #fff2f2;
  color: #7b1f1f;
}

.flashcards {
  max-width: 100%;
}

.flashcards__meta {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  margin: 6px 0 18px;
}

.flashcards__card {
  width: 100%;
  border: none;
  border-radius: 15px;
  background: #f7f9fc;
  color: var(--text);
  padding: 20px;
  text-align: left;
  cursor: pointer;
}

.flashcards__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.flashcards__content {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.flashcards__hint {
  color: #6f7e8a;
  font-size: 0.9rem;
}

.flashcards__controls {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.flashcards__controls #next,
.flashcards__controls #flip,
.flashcards__controls #prev {
  background: var(--success);
}

.flashcards__controls #next:hover,
.flashcards__controls #flip:hover,
.flashcards__controls #prev:hover {
  background: var(--success-hover);
  color: white;
}

.landing {
  text-align: left;
}

.landing-hero {
  background: linear-gradient(140deg, rgba(96, 139, 193, 0.12), rgba(201, 104, 104, 0.12));
  border: 1px solid rgba(96, 139, 193, 0.22);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 24px;
}

.landing-kicker {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--accent);
}

.landing-subtitle {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.landing-note {
  margin: 0;
  font-size: 0.92rem;
  color: #5f6b73;
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.landing-cta-main {
  background: var(--action);
}

.landing-cta-secondary {
  background: var(--accent);
}

.landing-section {
  margin: 0 0 28px;
}

.landing-section h2 {
  margin: 0 0 8px;
  color: var(--text);
}

.landing-section-subtitle {
  margin: 0 0 14px;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.landing-card {
  background: #f7f9fc;
  border: 1px solid #dbe4ee;
  border-radius: 14px;
  padding: 16px;
}

.landing-card h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.landing-card-subtitle {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.landing-quiz-question {
  color: var(--text);
  margin: 0 0 10px;
  font-weight: 700;
}

.landing-quiz-options {
  display: grid;
  gap: 8px;
}

.landing-quiz-option {
  width: 100%;
  margin: 0;
  text-align: left;
  background: #8ea0b5;
}

.landing-quiz-option:hover {
  color: white;
}

.landing-quiz-option.is-correct {
  background: var(--success);
}

.landing-quiz-option.is-incorrect {
  background: var(--danger);
}

.landing-quiz-feedback {
  margin: 10px 0 0;
  min-height: 24px;
  font-weight: 600;
}

.landing-quiz-feedback.is-correct {
  color: #1f8f4d;
}

.landing-quiz-feedback.is-incorrect {
  color: #b43f3b;
}

.landing-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.landing-benefit {
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  padding: 12px;
  background: #fbfcfe;
}

.landing-benefit h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1rem;
}

.landing-benefit p {
  margin: 0;
  font-size: 0.94rem;
}

.landing-evidence {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: #64717a;
}

.landing-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
}

.landing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: white;
}

.landing-table th,
.landing-table td {
  border-bottom: 1px solid #edf2f7;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.landing-table th {
  background: #edf3fa;
  color: var(--text);
  font-weight: 700;
}

.landing-table tbody tr:last-child td {
  border-bottom: none;
}

.feature-section--pricing .feature-section__text {
  grid-column: 1 / -1;
}

.feature-section--pricing .feature-section__demo {
  grid-column: 1 / -1;
}

.pricing-modern {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.pricing-modern__head,
.pricing-modern__label,
.pricing-modern__cell,
.pricing-plan {
  border-radius: 16px;
  padding: 16px 18px;
}

.pricing-modern__head--label {
  background: #e9f0f8;
  color: #466384;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
}

.pricing-plan {
  border: 1px solid #cfddec;
  background: linear-gradient(160deg, #ffffff, #f7fbff);
  text-align: center;
  box-shadow: 0 10px 24px rgba(46, 77, 112, 0.12);
}

.pricing-plan h3 {
  margin: 0 0 8px;
  color: #2c3e50;
  font-size: 1.5rem;
  line-height: 1.2;
}

.pricing-plan__price {
  margin: 0;
  color: #365c88;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
}

.pricing-plan__price small {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5b6c7f;
}

.pricing-plan--paid {
  background: linear-gradient(165deg, #fef6e9, #ffffff);
  border-color: #ead5b0;
}

.pricing-modern__label {
  background: #f2f7fc;
  color: #2f4966;
  font-weight: 700;
  display: flex;
  align-items: center;
  font-size: 1.02rem;
}

.pricing-modern__cell {
  background: #ffffff;
  border: 1px solid #d8e4f0;
  color: #31485f;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
}

.landing-shell {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-top: 24px;
  margin-bottom: 0;
}

.hero {
  background: radial-gradient(circle at 85% 15%, rgba(96, 139, 193, 0.42), transparent 35%),
    radial-gradient(circle at 15% 85%, rgba(201, 104, 104, 0.22), transparent 42%),
    linear-gradient(140deg, #fbf4e9, #f8ebe5 44%, #eef6ff);
  border: 1px solid #cfdfef;
  border-radius: 26px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  text-align: left;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.hero__kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #436d9f;
  font-weight: 800;
}

.hero__sub {
  margin: 0 0 12px;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__btn-main {
  background: #c96868;
}

.hero__btn-alt {
  background: #608bc1;
}

.hero__stats {
  display: grid;
  gap: 12px;
}

.hero__stat {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #cfe0ef;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  text-align: left;
  box-shadow: 0 10px 24px rgba(44, 62, 80, 0.1);
}

.hero__stat strong {
  color: #2c3e50;
}

.hero__stat span {
  color: #52616d;
  font-size: 0.93rem;
}

.feature-section {
  background: linear-gradient(160deg, #ffffff, #f5fafe);
  border: 1px solid #d4e1ee;
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(380px, 1.15fr);
  gap: 20px;
  align-items: start;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(66, 87, 115, 0.12);
}

.feature-section::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(96, 139, 193, 0.25), rgba(96, 139, 193, 0));
  pointer-events: none;
}

.feature-section::after {
  content: attr(data-mark);
  position: absolute;
  bottom: 10px;
  right: 16px;
  font-size: 4.6rem;
  font-weight: 900;
  color: rgba(84, 117, 156, 0.08);
  letter-spacing: 0.02em;
  line-height: 1;
  pointer-events: none;
}

.feature-section--reverse {
  grid-template-columns: minmax(380px, 1.15fr) minmax(240px, 0.85fr);
}

.feature-section--reverse .feature-section__demo {
  order: 1;
}

.feature-section--reverse .feature-section__text {
  order: 2;
}

.feature-section__tag {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b7ca3;
  font-weight: 700;
}

.feature-section h2 {
  margin: 0 0 8px;
}

.feature-section p {
  margin: 0;
}

.feature-section__text {
  position: relative;
  z-index: 1;
}

.demo-frame {
  border: 1px solid #ccdced;
  border-radius: 18px;
  overflow: hidden;
  background: #f7fbff;
  box-shadow: 0 18px 34px rgba(46, 77, 112, 0.18);
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
}

.feature-section__demo--flashcard .demo-frame {
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin: 0 auto;
}

.feature-section:hover .demo-frame {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(46, 77, 112, 0.22);
}

.demo-frame .flashcards,
.demo-frame .landing-quiz {
  padding: 14px;
}

.demo-frame .quiz-container {
  background: rgba(255, 255, 255, 0.95);
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: background 0.8s ease, color 0.8s ease;
}

.demo-frame .quiz-container h1 {
  color: #2c3e50;
  margin: 0 0 10px;
}

.demo-frame .quiz-container .subtitle {
  color: #727ea1;
  font-size: 1.2em;
  margin-bottom: 30px;
  font-style: italic;
  opacity: 0.8;
}

.demo-frame .quiz-container .score-display {
  background: #f4f6fb;
  border: 2px solid #727ea1;
  color: #727ea1;
  padding: 15px;
  border-radius: 12px;
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 30px;
}

.demo-frame .quiz-container #startBtn {
  margin: 30px auto;
  padding: 15px 40px;
  font-size: 1.2em;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background: #727ea1;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(114, 126, 161, 0.3);
  font-weight: bold;
}

.demo-frame .quiz-container #startBtn:hover {
  background: #5e6888;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(114, 126, 161, 0.4);
}

.demo-frame .quiz-container #quiz {
  margin-top: 30px;
}

.demo-frame .quiz-container .question {
  margin-bottom: 25px;
  padding: 20px;
  background: #f4f6fb;
  border: 2px solid #727ea1;
  border-radius: 15px;
  color: #2c3e50;
  font-size: 1.2em;
  line-height: 1.6;
}

.demo-frame .quiz-container .question b {
  color: #727ea1;
  display: block;
  margin-bottom: 8px;
  opacity: 0.8;
}

.demo-frame .quiz-container .options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.demo-frame .quiz-container .options button {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background: #727ea1;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(114, 126, 161, 0.3);
}

.demo-frame .quiz-container .options button:hover {
  background: #5e6888;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(114, 126, 161, 0.4);
}

.demo-frame .quiz-container .options input[type="range"] {
  width: 100%;
  accent-color: #727ea1;
}

.demo-frame .quiz-container .slider-value {
  font-size: 1.2em;
  color: #727ea1;
  font-weight: bold;
}

.demo-frame .quiz-container .feedback {
  margin: 20px 0;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
}

.demo-frame .quiz-container .feedback.correct {
  background: #85bf73;
  color: white;
}

.demo-frame .quiz-container .feedback.incorrect {
  background: #c96868;
  color: white;
}

.demo-frame .quiz-container .continue-btn {
  margin-top: 8px;
  padding: 10px 18px;
  background: #727ea1;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95em;
}

.demo-frame .quiz-container .continue-btn:hover {
  background: #5e6888;
}

.demo-frame .quiz-container .drag-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.demo-frame .quiz-container .drag-item {
  background: #727ea1;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: move;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(114, 126, 161, 0.3);
}

.demo-frame .quiz-container .drag-item.dragging {
  opacity: 0.55;
}

.demo-frame .quiz-container .drop-zones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.demo-frame .quiz-container .drop-zone {
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
  border-radius: 14px;
  min-height: 88px;
  border: 2px dashed #608bc1;
  transition: all 0.2s ease;
}

.demo-frame .quiz-container .drop-zone h3 {
  margin: 0 0 8px;
  color: #727ea1;
  font-size: 1em;
  text-align: center;
}

.demo-frame .quiz-container .drop-zone.over {
  border-color: #727ea1;
  background: rgba(114, 126, 161, 0.08);
}

.demo-frame .quiz-container .target-list {
  display: grid;
  gap: 8px;
}

.demo-frame .quiz-container .target-row {
  border: 2px dashed #608bc1;
  border-radius: 12px;
  padding: 10px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
}

.demo-frame .quiz-container .target-row span {
  font-size: 0.9em;
  color: #2c3e50;
  text-align: left;
}

.demo-frame .quiz-container .target-row.over {
  border-color: #727ea1;
  background: rgba(114, 126, 161, 0.08);
}

.demo-frame .quiz-container .pair-wrap,
.demo-frame .quiz-container .categorize-wrap {
  display: grid;
  gap: 10px;
}

.demo-frame .game-container {
  background: #eafaea;
  margin: 0;
  padding: 16px;
  height: 100%;
  max-width: 600px;
  justify-self: center;
}

.demo-frame .game-container h1 {
  text-align: center;
  color: #2c3e50;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 0 15px;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}

.demo-frame .game-container h3 {
  text-align: center;
  color: #a94a4a;
  margin: 0 0 20px;
}

.demo-frame .game-container #stats {
  background: #f4d793;
  color: #2c3e50;
  padding: 14px;
  border-radius: 15px;
  margin-bottom: 1.2rem;
  text-align: center;
  font-size: 1rem;
}

.demo-frame .game-container #stats span {
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  margin: 0 4px;
}

.demo-frame .game-container #stats #untested {
  background: #e3f2fd;
  color: #1976d2;
}

.demo-frame .game-container #stats #bad {
  background: #ffebee;
  color: #c62828;
}

.demo-frame .game-container #stats #ok {
  background: #fff3e0;
  color: #f57c00;
}

.demo-frame .game-container #stats #good {
  background: #e8f5e9;
  color: #2e7d32;
}

.demo-frame .game-container .flashcard {
  width: 100%;
  height: 240px;
  perspective: 1000px;
  cursor: pointer;
  margin-bottom: 0.9rem;
}

.demo-frame .game-container .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.demo-frame .game-container .card-inner.flipped {
  transform: rotateY(180deg);
}

.demo-frame .game-container .card-front,
.demo-frame .game-container .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.demo-frame .game-container .card-back {
  background: #fff6da;
  transform: rotateY(180deg);
  line-height: 1.6;
}

.demo-frame .game-container .buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.demo-frame .game-container .buttons h4 {
  color: #758a93;
  margin: 0;
  font-weight: 600;
}

.demo-frame .game-container .button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-frame .game-container .button-group button {
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.demo-frame .game-container .button-group .bad {
  background: #c66e52;
}

.demo-frame .game-container .button-group .ok {
  background: #e9b63b;
}

.demo-frame .game-container .button-group .good {
  background: #5d866c;
}

.demo-frame .game-container .button-group button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 46px 52px;
  margin-bottom: 24px;
  display: block;
  text-align: left;
}

.hero__text {
  max-width: 920px;
}

.hero__kicker {
  margin: 0 0 10px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  text-shadow: none;
}

.hero__sub {
  margin: 0 0 22px;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #4e5b66;
}

.hero__actions {
  gap: 12px;
}

.hero__actions .btn {
  margin: 0;
}

.hero__stats {
  display: none;
}

.feature-section {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 34px;
  margin-bottom: 20px;
  display: block;
}

.feature-section::before,
.feature-section::after {
  content: none;
  display: none;
}

.feature-section__title {
  width: 100%;
  margin: 0 0 20px;
  color: #2c3e50;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.15;
  text-align: left;
  font-weight: 700;
}

.feature-section__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
}

.feature-section__content--reverse {
  grid-template-columns: 2fr 1fr;
}

.feature-section__content--reverse .feature-section__text {
  order: 2;
}

.feature-section__content--reverse .feature-section__demo {
  order: 1;
}

.feature-section__text p {
  margin: 0;
  color: #555;
  font-size: 1.02rem;
  line-height: 1.6;
  text-align: left;
}

.feature-section__demo {
  min-width: 0;
}

.demo-frame {
  border: none;
  background: transparent;
  box-shadow: none;
}

.feature-section:hover .demo-frame {
  transform: none;
  box-shadow: none;
}

.pricing-plan,
.pricing-plan--paid {
  background: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.99);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 600px) {
  body {
    padding: 0;
  }

  .container {
    width: 94%;
    margin: 14px auto;
    padding: 15px;
  }

  h1 {
    margin-bottom: 10px;
    font-size: 1.3rem;
  }

  .btn {
    width: 85%;
    margin: 8px auto;
    display: block;
    padding: 10px;
  }

  .flashcards__content {
    font-size: 1rem;
  }

  .flashcards__meta {
    font-size: 1rem;
  }

  .landing-hero {
    padding: 16px;
  }

  .landing-subtitle {
    font-size: 1rem;
  }

  .landing-cta-row .btn {
    width: 100%;
  }

  .landing-table {
    min-width: 540px;
  }

  .nav {
    padding: 10px;
    justify-content: center;
  }

  .hero {
    padding: 26px 20px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero__sub {
    font-size: 1.03rem;
    margin-bottom: 16px;
  }

  .feature-section {
    padding: 20px;
  }

  .feature-section__content,
  .feature-section__content--reverse {
    grid-template-columns: 1fr;
  }

  .feature-section__content--reverse .feature-section__demo,
  .feature-section__content--reverse .feature-section__text {
    order: initial;
  }

  .pricing-modern {
    grid-template-columns: 1fr;
  }

  .pricing-modern__head--label {
    justify-content: center;
  }

  .pricing-plan h3 {
    font-size: 1.35rem;
  }
}

/* Landing page v2 */
.landing-v2 {
  display: grid;
  gap: 20px;
}

.lp-kicker {
  margin: 0 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5175a0;
  font-weight: 800;
}

.lp-hero,
.lp-band,
.lp-feature,
.lp-pricing,
.lp-faq {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(44, 62, 80, 0.13);
  border: 1px solid rgba(96, 139, 193, 0.16);
}

.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 22px;
  padding: 34px;
  text-align: left;
  background:
    radial-gradient(circle at 92% 8%, rgba(96, 139, 193, 0.22), transparent 30%),
    radial-gradient(circle at 4% 94%, rgba(201, 104, 104, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.95);
}

.lp-hero h1 {
  margin: 0 0 12px;
  line-height: 1.05;
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
}

.lp-lead {
  margin: 0;
  color: #4f5e68;
  font-size: 1.1rem;
  max-width: 62ch;
}

.lp-highlights {
  margin: 14px 0 18px;
  padding-left: 18px;
  color: #455560;
  display: grid;
  gap: 8px;
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-cta-row .btn {
  margin: 0;
}

.lp-btn-primary {
  background: var(--action);
}

.lp-btn-secondary {
  background: var(--accent);
}

.lp-btn-neutral {
  background: #7b8894;
}

.lp-hero__panel {
  background: linear-gradient(155deg, #f4f9ff, #f8f3eb);
  border-radius: 18px;
  border: 1px solid #d7e4f1;
  padding: 18px;
}

.lp-hero__panel h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.lp-metrics {
  display: grid;
  gap: 10px;
}

.lp-metric {
  background: #fff;
  border: 1px solid #deebf7;
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
  text-align: left;
}

.lp-metric strong {
  color: #2f4966;
}

.lp-metric span {
  color: #5b6b77;
  font-size: 0.92rem;
}

.lp-band {
  padding: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-band__card {
  text-align: left;
  border: 1px solid #dde8f2;
  border-radius: 14px;
  padding: 14px;
  background: #fcfdff;
}

.lp-band__card h3 {
  margin: 0 0 8px;
  color: #2c3e50;
}

.lp-band__card p {
  margin: 0;
  color: #55636d;
}

.lp-feature {
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}

.lp-feature--reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
}

.lp-feature--reverse .lp-feature__intro {
  order: 2;
}

.lp-feature--reverse .lp-feature__demo {
  order: 1;
}

.lp-feature__intro {
  text-align: left;
}

.lp-feature__intro h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
}

.lp-feature__intro p {
  margin: 0;
  color: #55636d;
  line-height: 1.6;
}

.lp-feature .demo-frame {
  border: 1px solid #d9e5f0;
  border-radius: 18px;
  background: #f8fbff;
  box-shadow: 0 16px 26px rgba(60, 84, 113, 0.14);
}

.lp-feature .demo-frame--flashcard {
  background: #eafaea;
  box-shadow: none;
}

.lp-feature--exam .demo-frame {
  background: linear-gradient(135deg, #ffd08a 0%, #fff2de 100%);
  border-color: #f0c688;
}

.lp-feature--exam .demo-frame .exam-game-container {
  background: rgba(255, 255, 255, 0.95);
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
  padding: 40px;
  border-radius: 20px;
  color: #333;
}

.lp-feature--exam .demo-frame .exam-game-container .question-section {
  margin-bottom: 30px;
  text-align: left;
}

.lp-feature--exam .demo-frame .exam-game-container #question {
  font-size: 1.3em;
  font-weight: 500;
  color: #2c3e50;
  line-height: 1.6;
  margin-bottom: 15px;
  padding: 20px;
  background: #ffe9c2;
  border: 2px solid #854836;
  border-radius: 15px;
}

.lp-feature--exam .demo-frame .exam-game-container .marks-info {
  display: inline-flex;
  align-items: center;
  background: #854836;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 20px;
}

.lp-feature--exam .demo-frame .exam-game-container textarea {
  width: 100%;
  min-height: 120px;
  padding: 20px;
  font-size: 1em;
  font-family: "Inter", Arial, sans-serif;
  border: 2px solid #854836;
  border-radius: 12px;
  resize: vertical;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

.lp-feature--exam .demo-frame .exam-game-container textarea:focus {
  outline: none;
  border-color: #6f3c2d;
  box-shadow: 0 0 0 3px rgba(133, 72, 54, 0.1);
  background: #fff;
}

.lp-feature--exam .demo-frame .exam-game-container .button-group {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.lp-feature--exam .demo-frame .exam-game-container button {
  padding: 12px 24px;
  font-size: 1em;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.lp-feature--exam .demo-frame .exam-game-container button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.lp-feature--exam .demo-frame .exam-game-container #markBtn,
.lp-feature--exam .demo-frame .exam-game-container #nextBtn {
  background: #854836;
  color: #fff;
  box-shadow: 0 4px 15px rgba(133, 72, 54, 0.3);
}

.lp-feature--exam .demo-frame .exam-game-container #markBtn:hover:not(:disabled),
.lp-feature--exam .demo-frame .exam-game-container #nextBtn:hover:not(:disabled) {
  background: #6f3c2d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 60, 45, 0.4);
}

.lp-feature--exam .demo-frame .exam-game-container .mark-buttons {
  display: flex;
  gap: 10px;
}

.lp-feature--exam .demo-frame .exam-game-container .mark-yes {
  background: #ffb22c;
  color: #2c3e50;
  box-shadow: 0 4px 15px rgba(255, 178, 44, 0.3);
}

.lp-feature--exam .demo-frame .exam-game-container .mark-yes:hover {
  background: #d6962a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 150, 42, 0.4);
}

.lp-feature--exam .demo-frame .exam-game-container .mark-no {
  background: #5e5f63;
  color: #fff;
  box-shadow: 0 4px 15px rgba(94, 95, 99, 0.3);
}

.lp-feature--exam .demo-frame .exam-game-container .mark-no:hover {
  background: #4a4b4f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 75, 79, 0.4);
}

.lp-feature--exam .demo-frame .exam-game-container .marking-section {
  background: rgba(133, 72, 54, 0.1);
  padding: 25px;
  border-radius: 15px;
  margin-top: 25px;
  border: 2px solid #854836;
}

.lp-feature--exam .demo-frame .exam-game-container .marking-point {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #2c3e50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #854836;
}

.lp-feature--exam .demo-frame .exam-game-container .score-display {
  background: #854836;
  color: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin: 20px 0;
  font-size: 1.2em;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(133, 72, 54, 0.3);
}

.lp-feature--exam .demo-frame .exam-game-container .hidden {
  display: none;
}

.lp-feature--keywords .demo-frame {
  background: linear-gradient(135deg, #cae0bc 0%, #eafaea 100%);
  border-color: #c8dbbe;
}

.lp-feature--keywords .demo-frame .keyword-game-container {
  background: #eafaea;
  width: 90%;
  max-width: 760px;
  margin: 20px auto;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.lp-feature--keywords .demo-frame .keyword-game-container h1 {
  color: #2c3e50;
  font-size: 2.3em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.lp-feature--keywords .demo-frame #kw-score {
  font-size: 1.3em;
  color: #7eacb5;
  font-weight: bold;
  margin: 20px 0;
}

.lp-feature--keywords .demo-frame #kw-definition-box {
  font-size: 1.3em;
  margin: 24px 0;
  padding: 20px;
  background: #f4d793;
  border-radius: 15px;
  color: #2c3e50;
  line-height: 1.6;
}

.lp-feature--keywords .demo-frame #kw-options-container button {
  width: 85%;
  margin: 9px auto;
  padding: 12px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background: #780c28;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.lp-feature--keywords .demo-frame #kw-options-container button:hover {
  background: #cae0bc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.lp-feature--keywords .demo-frame #kw-next-button {
  margin: 25px auto;
  padding: 15px 30px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background: #2ecc71;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

.lp-feature--keywords .demo-frame #kw-next-button:hover {
  background: #27ae60;
  transform: translateY(-2px);
}

.lp-feature--keywords .demo-frame #kw-hints-container {
  margin: 28px 0;
  padding: 14px;
  background: #fff6da;
  border-radius: 15px;
}

.lp-feature--keywords .demo-frame #kw-hints-container h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.lp-feature--keywords .demo-frame .hint-btn {
  margin: 8px;
  padding: 10px 20px;
  font-size: 0.9em;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  background: #f1c40f;
  color: #2c3e50;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
}

.lp-feature--keywords .demo-frame .hint-btn:hover:not(:disabled) {
  background: #f39c12;
  transform: translateY(-2px);
}

.lp-feature--keywords .demo-frame .hint-btn:disabled {
  background: #ecf0f1;
  color: #95a5a6;
  cursor: not-allowed;
  box-shadow: none;
}

.lp-feature--keywords .demo-frame #kw-resultContainer {
  justify-content: center;
  z-index: 1000;
  position: fixed;
  border: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  display: none;
  width: 90vw;
  max-width: 600px;
  height: auto;
  min-height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  padding: 30px;
}

.lp-feature--keywords .demo-frame #kw-resultText {
  color: #a8cd89;
  font-size: 2em;
  margin-bottom: 15px;
}

.lp-feature--keywords .demo-frame #kw-pointsText {
  color: #608bc1;
  font-size: 1.5em;
  margin-bottom: 20px;
}

.lp-feature--keywords .demo-frame #kw-sentenceButton {
  width: 85%;
  margin: 15px auto;
  padding: 15px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background: #3498db;
  color: white;
  transition: all 0.3s ease;
}

.lp-feature--keywords .demo-frame #kw-sentenceButton:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.lp-feature--keywords .demo-frame .sentence-option {
  width: 85%;
  margin: 10px auto;
  padding: 15px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  background: #7eacb5;
  color: white;
  transition: all 0.3s ease;
  display: block;
}

.lp-feature--keywords .demo-frame .sentence-option:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.lp-feature--keywords .demo-frame #kw-bonusRound {
  transition: background-color 0.3s ease;
}

.lp-feature--keywords .demo-frame .tooltip {
  position: relative;
  display: inline-block;
}

.lp-feature--keywords .demo-frame .tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.lp-feature--keywords .demo-frame .tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.lp-feature--keywords .demo-frame .tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.lp-pricing {
  padding: 30px;
  text-align: left;
}

.lp-pricing__intro h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.lp-pricing__intro p {
  margin: 0 0 16px;
  color: #55636d;
}

.lp-pricing__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 10px;
}

.lp-pricing__head,
.lp-pricing__plan,
.lp-pricing__label,
.lp-pricing__cell {
  border-radius: 14px;
  padding: 14px;
}

.lp-pricing__head {
  background: #e8f1fa;
  color: #35557a;
  font-weight: 800;
  display: flex;
  align-items: center;
}

.lp-pricing__plan {
  border: 1px solid #d2e0ee;
  background: #fff;
  text-align: center;
}

.lp-pricing__plan h3 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.lp-pricing__plan p {
  margin: 0;
  color: #2f5177;
  font-weight: 800;
}

.lp-pricing__plan small {
  color: #5e6f82;
  font-weight: 600;
  margin-left: 4px;
}

.lp-pricing__plan--paid {
  border-color: #e5d0a8;
  background: linear-gradient(170deg, #fef7eb, #fff);
}

.lp-pricing__label {
  background: #f2f7fc;
  color: #304e6f;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.lp-pricing__cell {
  background: #fff;
  border: 1px solid #d9e5f1;
  color: #405666;
  display: flex;
  align-items: center;
}

.lp-cta-row--pricing {
  margin-top: 16px;
}

.lp-faq {
  padding: 26px;
  text-align: left;
}

.lp-faq h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.7vw, 2rem);
}

.lp-faq__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-faq__item {
  background: #fcfdff;
  border: 1px solid #dbe7f2;
  border-radius: 14px;
  padding: 14px;
}

.lp-faq__item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.lp-faq__item p {
  margin: 0;
  color: #55626b;
  line-height: 1.55;
}

.footer {
  background: #222;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
  text-align: left;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-credit {
  margin: 0;
  text-align: center;
  color: #bbb;
}

.footer-credit a {
  color: #d9d9d9;
  text-decoration: none;
}

.footer-credit a:hover {
  color: #fff;
}

.footer--landing {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-top: 40px;
  margin-left: -50vw;
  margin-right: -50vw;
  border-radius: 0;
}

@media (max-width: 980px) {
  .lp-hero {
    grid-template-columns: 1fr;
  }

  .lp-band {
    grid-template-columns: 1fr;
  }

  .lp-feature,
  .lp-feature--reverse {
    grid-template-columns: 1fr;
  }

  .lp-feature--reverse .lp-feature__intro,
  .lp-feature--reverse .lp-feature__demo {
    order: initial;
  }

  .lp-faq__grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-column {
    text-align: center;
  }
}

@media (max-width: 900px) {
  .lp-pricing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    gap: 8px;
  }

  .lp-pricing__head {
    display: none;
  }

  .lp-pricing__label {
    grid-column: 1 / -1;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .lp-pricing__head,
  .lp-pricing__plan,
  .lp-pricing__cell {
    padding: 12px;
    font-size: 0.95rem;
  }

  .lp-pricing__plan h3 {
    font-size: 1.15rem;
  }

  .lp-pricing__cell {
    font-size: 0.92rem;
    line-height: 1.45;
  }
}

@media (max-width: 600px) {
  .lp-hero,
  .lp-feature,
  .lp-pricing,
  .lp-faq {
    padding: 20px;
  }

  .lp-band {
    padding: 12px;
  }

  .lp-cta-row .btn {
    width: 100%;
  }

  .lp-feature--exam .demo-frame .exam-game-container {
    width: 86%;
    padding: 25px;
    margin: 10px auto;
  }

  .lp-feature--exam .demo-frame .exam-game-container .button-group {
    flex-direction: column;
  }

  .lp-feature--exam .demo-frame .exam-game-container button {
    width: 95%;
  }

  .lp-feature--exam .demo-frame .exam-game-container .mark-buttons {
    flex-direction: row;
  }

  .lp-feature--exam .demo-frame .exam-game-container .mark-buttons button {
    width: auto;
    flex: 1;
  }

  .lp-feature--exam .demo-frame .exam-game-container #question {
    font-size: 1.15em;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 17px;
  }

  .lp-feature--keywords .demo-frame .keyword-game-container {
    width: 88%;
    margin: 10px auto;
    padding: 15px;
  }

  .lp-feature--keywords .demo-frame .keyword-game-container h1 {
    margin-bottom: 10px;
    font-size: 1.3em;
  }

  .lp-feature--keywords .demo-frame #kw-definition-box {
    font-size: 1em;
    margin: 30px 0;
    padding: 10px;
    background: #f7f9fc;
    border-radius: 15px;
    color: #2c3e50;
    line-height: 1.6;
  }

  .lp-feature--keywords .demo-frame #kw-options-container button {
    width: 85%;
    margin: 8px auto;
    padding: 6px;
    font-size: 1em;
  }

  .lp-feature--keywords .demo-frame #kw-resultContainer {
    width: 80vw;
  }

  .lp-feature--keywords .demo-frame .hint-btn {
    margin: 3px;
    padding: 4px 8px;
    font-size: 0.7em;
  }

  .lp-feature--keywords .demo-frame #kw-score {
    font-size: 1em;
  }

  .lp-feature--keywords .demo-frame #kw-hinttitle {
    font-size: 0.9em;
  }

  .lp-feature--keywords .demo-frame #kw-hints-container {
    padding: 4px;
  }
}

@media (max-width: 768px) {
  .lp-feature--exam .demo-frame .exam-game-container {
    width: 90%;
    padding: 25px;
    margin: 10px auto;
  }

  .lp-feature--exam .demo-frame .exam-game-container .button-group {
    flex-direction: column;
  }

  .lp-feature--exam .demo-frame .exam-game-container button {
    width: 100%;
  }

  .lp-feature--exam .demo-frame .exam-game-container .mark-buttons {
    flex-direction: row;
  }

  .lp-feature--exam .demo-frame .exam-game-container .mark-buttons button {
    width: auto;
    flex: 1;
  }

  .lp-feature--keywords .demo-frame .keyword-game-container {
    width: 90%;
    margin: 10px auto;
    padding: 25px;
  }
}





.main-hero {
    background: linear-gradient(135deg, #FADFA1 0%, #FADFA1 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
    width: 100vw;
    margin-top: -25px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
}

.main-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.main-hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.main-cta-btn {
    background-color: #A8CD89;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-cta-btn:hover {
    background-color: #761e94;
}

.main-gradient-bar {
    width: 100vw;       
    height: 20px;
    margin-left: -294px;     
    background-color: #608BC1; 
    background-size: 300%;
}

.main-hero a {
  text-decoration: none;
}
