/* Derby Website — styles.css */

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0f1117;
  --bg-secondary: #1a1d27;
  --bg-card: #222632;
  --bg-card-hover: #2a2f3e;
  --accent: #4f8cff;
  --accent-hover: #6ba0ff;
  --accent-subtle: rgba(79, 140, 255, 0.12);
  --text-primary: #e8eaf0;
  --text-secondary: #9ca3b4;
  --text-muted: #6b7280;
  --border: #2e3344;
  --success: #34d399;
  --warning: #fbbf24;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --max-width: 1140px;
  --transition: 0.2s ease;
}

/* ── Light Theme ── */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-subtle: rgba(59, 130, 246, 0.1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.92);
}

[data-theme="light"] .hero {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

[data-theme="light"] .feature-card,
[data-theme="light"] .pricing-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ── Theme Toggle ── */
.theme-toggle {
  position: fixed;
  top: 16px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}

.theme-toggle:hover {
  transform: scale(1.1);
  border-color: var(--accent);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: all 0.3s ease;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.nav-links .lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-links .lang-switch .flag {
  font-size: 1.2em;
  line-height: 1;
}

.nav-links .lang-switch .flag-icon {
  display: inline-block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  overflow: hidden;
  vertical-align: middle;
}

.nav-links .lang-switch svg.flag-icon {
  display: inline-block;
}

/* Nav login with badge */
.nav-links .nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: not-allowed;
  opacity: 0.7;
}

.nav-links .nav-login:hover {
  color: var(--text-secondary);
}

.nav-badge {
  display: inline-block;
  background: var(--warning);
  color: #1a1d27;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(79, 140, 255, 0.08) 0%, transparent 60%);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(79, 140, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Features ── */
.features {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

a.feature-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(79, 140, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.feature-card.feature-new {
  position: relative;
  border-color: rgba(79, 140, 255, 0.4);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(79, 140, 255, 0.05) 100%);
}

.feature-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* ── Download ── */
.download {
  text-align: center;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.platform-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.platform-card.suggested {
  border-color: var(--accent);
  background: rgba(79, 140, 255, 0.06);
  position: relative;
}

.platform-card.suggested::before {
  content: attr(data-badge);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.platform-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.platform-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.platform-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* ── Pricing ── */
.pricing {
  background: var(--bg-secondary);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
}

.pricing-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.pricing-card .price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "\2713";
  color: var(--success);
  margin-right: 10px;
  font-weight: 700;
}

.pricing-features li.disabled {
  color: var(--text-muted);
}

.pricing-features li.disabled::before {
  content: "\2014";
  color: var(--text-muted);
}

/* ── Comparison Table ── */
.comparison {
  background: var(--bg-secondary);
}

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.comparison-table thead th {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 16px;
  border-bottom: none;
}

.comparison-table thead th:not(:first-child) {
  text-align: center;
  width: 120px;
}

.comparison-table thead th.featured-col {
  color: var(--accent);
}

.comparison-table tbody td:first-child {
  color: var(--text-secondary);
}

.comparison-table tbody td a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px dashed var(--text-muted);
  transition: color var(--transition), border-color var(--transition);
}

.comparison-table tbody td a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.comparison-table tbody td:not(:first-child) {
  text-align: center;
  font-size: 1.1rem;
}

.comparison-table tbody td.check {
  color: var(--success);
  font-weight: 700;
}

.comparison-table tbody td.dash {
  color: var(--text-muted);
}

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

.comparison-table .group-header td {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 32px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-subtle);
  background: rgba(79, 140, 255, 0.04);
}

.comparison-table .group-header:first-child td {
  padding-top: 8px;
}

/* ── Scales ── */
.scales {
  background: var(--bg-secondary);
}

.scales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.scale-category {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}

.scale-category h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.scale-category > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.scale-list {
  list-style: none;
}

.scale-list li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.scale-list li:last-child {
  border-bottom: none;
}

.scale-list li a {
  color: var(--accent);
  font-weight: 600;
}

.scale-list li a:hover {
  color: var(--accent-hover);
}

.scales-note {
  text-align: center;
  margin-top: 32px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ── Contact ── */
.contact {
  text-align: center;
}

.contact-info {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-item {
  text-align: center;
}

.contact-item .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 1rem;
}

.facebook-link:hover {
  text-decoration: underline;
}

.facebook-icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  color: #1877f2;
}

.contact-options {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.contact-card {
  text-align: center;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 1rem;
}

.email-link:hover {
  text-decoration: underline;
}

.email-icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

/* ── Footer ── */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  list-style: none;
  margin-top: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ── Feature Detail Pages ── */
.feature-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(79, 140, 255, 0.08) 0%, transparent 60%);
}

.feature-hero .feature-icon-lg {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.feature-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.feature-detail {
  padding: 64px 0;
}

.feature-detail .detail-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-detail h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-detail p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-detail ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.feature-detail ul li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.feature-detail ul li:last-child {
  border-bottom: none;
}

.pro-con {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.pro-con-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.pro-con-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.pro-con-card.pro h3 {
  color: var(--success);
}

.pro-con-card.con h3 {
  color: var(--warning);
}

.pro-con-card ul li {
  border-bottom: none;
  padding: 4px 0;
}

.pro-con-card.pro ul li::before {
  content: "+";
  color: var(--success);
  font-weight: 700;
  margin-right: 8px;
}

.pro-con-card.con ul li::before {
  content: "\2013";
  color: var(--warning);
  font-weight: 700;
  margin-right: 8px;
}

.report-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 32px;
}

.screenshot-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-placeholder img {
  border-radius: var(--radius);
}

.feature-screenshot {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: opacity var(--transition);
}

.feature-screenshot:hover {
  opacity: 0.85;
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--text-primary);
}

.feature-detail.alt {
  background: var(--bg-secondary);
}

.feature-cta {
  text-align: center;
  padding: 64px 0;
}

.feature-cta p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1rem;
}

.breadcrumb {
  padding: 80px 0 0;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb span {
  color: var(--text-muted);
  margin: 0 8px;
}

.breadcrumb .current {
  color: var(--text-secondary);
}

@media (max-width: 768px) {

  .pro-con {
    grid-template-columns: 1fr;
  }
}

/* ── Download Gate Modal ── */
.download-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.download-modal.active {
  opacity: 1;
  visibility: visible;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.download-modal-content {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 40px 32px;
}

.download-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color var(--transition);
}

.download-modal-close:hover {
  color: var(--text-primary);
}

.download-modal-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.download-modal-content > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.15);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-error {
  color: #ef4444;
  font-size: 0.82rem;
  display: block;
  margin-top: 4px;
  min-height: 1.2em;
}

.download-modal-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

.download-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-checkbox {
  margin-top: 20px;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox-label span {
  padding-top: 1px;
}

.checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--accent-hover);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }

  .hero {
    padding: 120px 0 64px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

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

  .platform-cards {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .contact-info {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .download-modal-content {
    margin: 0 16px;
    padding: 32px 20px;
  }
}
