
:root {
  --color-bg: #060b10;
  --color-bg-alt: #0f1722;
  --color-surface: #111827;
  --color-primary: #1d4ed8;
  --color-primary-soft: rgba(37, 99, 235, 0.15);
  --color-accent: #22c55e;
  --color-text: #e5e7eb;
  --color-muted: #9ca3af;
  --color-border: #1f2933;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 14px 35px rgba(0, 0, 0, 0.45);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #1e293b 0, #020617 45%, #000 100%);
  color: var(--color-text);
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #dbe3ec;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #111827;
}

.logo-mark {
  width: 331px;
  height: 62px;
  max-width: none;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Navigation */

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.92rem;
  color: #475569;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list a:hover {
  color: #111827;
  background-color: #eef2f7;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--color-muted);
  max-width: 34rem;
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hero-highlights li::before {
  content: ". ";
  color: var(--color-accent);
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 52%);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1.5rem 1.7rem;
}

.hero-card h2 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.hero-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.8rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.hero-card li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-right: 0.45rem;
  background: linear-gradient(to bottom right, #38bdf8, #22c55e);
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  padding: 3rem 0;
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.25), rgba(15, 23, 42, 0.9));
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  border-bottom: 1px solid rgba(15, 23, 42, 1);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

.section-header p {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(to right, #2563eb, #22c55e);
  color: #0b1120;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.6);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.85);
  color: var(--color-text);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 1);
}

/* Cards and grids */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.section-top {
  margin-top: 2.2rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), #020617);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.card-list li::before {
  content: "? ";
  color: #38bdf8;
  font-size: 0.7rem;
}

.card-highlight {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.98));
  border-color: rgba(96, 165, 250, 0.6);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.about-grid p {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.about-aside {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-card);
}

.about-aside h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.info-list span {
  font-weight: 500;
  color: var(--color-text);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-form {
  background: rgba(15, 23, 42, 0.95);
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.form-row input,
.form-row textarea {
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: var(--color-text);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
  background-color: rgba(15, 23, 42, 0.98);
}

.contact-aside {
  font-size: 0.92rem;
  color: var(--color-muted);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding: 1.2rem 0 1.5rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #000);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 62px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    right: 1.5rem;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    padding: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-card);
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-list-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-list a {
    padding: 0.45rem 0.75rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .card,
  .hero-card,
  .contact-form {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }

  .section {
    padding: 2.4rem 0;
  }

  .section-alt {
    padding: 2.4rem 0;
  }
}
