:root {
  --bg: #07111f;
  --panel: rgba(255,255,255,.09);
  --text: #eef6ff;
  --muted: #b8c7d9;
  --accent: #66e3ff;
  --accent2: #a98bff;
  --white: #fff;
  --danger: #ffd5d5;
  --success: #d7ffe6;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #153b68, var(--bg) 42%, #03070d);
}
a { color: inherit; }
.hero { min-height: 100vh; padding: 28px clamp(18px, 4vw, 70px); }
.nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 70px; }
.brand { font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; }
.nav-button, .primary-button, button {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06101c;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .8rem; font-weight: 800; letter-spacing: .14em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 1; margin: 18px 0; }
p { color: var(--muted); line-height: 1.65; }
.hero-card, .form-card, .feature-row article { background: var(--panel); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 80px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
.hero-card { border-radius: 34px; overflow: hidden; transform: rotate(1deg); }
.hero-card img, .form-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.content { padding: 0 clamp(18px, 4vw, 70px) 70px; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-row article { border-radius: 24px; padding: 24px; }
.form-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.form-shell { width: min(1100px, 100%); display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.form-art { min-height: 620px; border-radius: 30px; overflow: hidden; }
.form-card { border-radius: 30px; padding: clamp(24px, 4vw, 44px); }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--accent); text-decoration: none; }
.contact-form { display: grid; gap: 16px; margin-top: 22px; }
label { display: grid; gap: 7px; color: var(--white); font-weight: 700; }
input { width: 100%; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 15px; background: rgba(255,255,255,.08); color: var(--white); font-size: 1rem; }
input:focus { outline: 2px solid var(--accent); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alert { border-radius: 14px; padding: 12px 14px; margin: 16px 0; color: #07111f; font-weight: 700; }
.alert.success { background: var(--success); }
.alert.error { background: var(--danger); }
@media (max-width: 820px) {
  .hero-grid, .feature-row, .form-shell, .two-col { grid-template-columns: 1fr; }
  .form-art { min-height: 260px; }
}

/* Admin dashboard */
.admin-page { min-height: 100vh; padding: 28px; display: grid; place-items: center; }
.admin-shell { width: min(1250px, 100%); display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: stretch; }
.admin-hero, .admin-card { background: var(--panel); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 80px rgba(0,0,0,.28); backdrop-filter: blur(18px); border-radius: 30px; padding: clamp(24px, 4vw, 44px); }
.admin-hero img { width: 100%; height: 320px; object-fit: cover; border-radius: 24px; margin-top: 24px; display: block; }
.admin-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 20px; }
.admin-search { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; margin: 22px 0; }
.clear-link { color: var(--accent); text-decoration: none; font-weight: 800; }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 820px; background: rgba(255,255,255,.05); }
.admin-table th, .admin-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; vertical-align: top; }
.admin-table th { color: var(--accent); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-table td { color: var(--text); }
.admin-table tr:hover { background: rgba(255,255,255,.06); }
@media (max-width: 920px) {
  .admin-shell, .admin-search { grid-template-columns: 1fr; }
  .admin-topline { display: grid; }
}
