@font-face {
  font-family: "Lora";
  src: url("./../fonts/Lora/Lora-Regular.ttf");
  font-weight: regular;
  font-style: normal;
}

@font-face {
  font-family: "Lora";
  src: url("./../fonts/Lora/Lora-Bold.ttf");
  font-weight: bold;
  font-style: normal;
}

:root {
  --bg: #0b0a12;
  --bg-2: #0e0d19;
  --panel: #131225;
  --panel-2: #1a1830;
  --text: #f7f7fb;
  --muted: #c9c6e5;
  --violet: #7c5cff;
  --violet-2: #5a39e6;
  --border: rgba(255, 255, 255, 0.12);
  --radius: 14px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background-image: linear-gradient(rgba(0, 0, 0, 0.837), rgba(0, 0, 0, 0.832)),
    url("./../images/back.jpg");
  background-size: 100% 100%, cover;
  background-position: 0 0, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
  font-family: "Lora", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Arial, sans-serif;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  body {
    background-attachment: scroll, scroll;
  }
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding-left: 18px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(19, 18, 37, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 10px;
}
.topbar .logo {
  margin-bottom: 5px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.logo img {
  height: 28px;
  width: auto;
  border-radius: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}
.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-2) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(92, 64, 255, 0.28);
}
.btn-primary:hover {
  filter: brightness(1.06);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  white-space: nowrap;
  border-color: var(--border);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* New burger (different approach) */
.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}
.burger span {
  height: 2px;
  width: 20px;
  background: #fff;
  border-radius: 2px;
  margin: 0 auto;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(12, 11, 24, 0.98);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  z-index: 1000;
}
.mobile-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 86px 20px 24px;
}
.menu-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(19, 18, 37, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 10px;
}
.menu-top .top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-top .top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}
.menu-close:hover {
  background: rgba(255, 255, 255, 0.14);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.mobile-nav a {
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.07);
}
.menu-open .mobile-menu {
  transform: translateY(0);
}

/* On tablet/mobile: show logo+CTAs on top row, burger below */
@media (max-width: 1024px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
  }
  .nav > .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .nav-links {
    display: none;
  }
  .burger {
    display: flex;
    align-self: flex-end;
  }
}

.hero {
  padding: 64px 0 40px;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.hero h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
}
.hero p {
  color: var(--muted);
  margin: 0 0 16px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-media {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.hero-media img {
  width: 100%;
  height: auto;
}

/* Sections */
.section {
  padding: 48px 0;
}
.section h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.section p {
  color: var(--muted);
  margin: 0 0 6px;
}

.grid {
  display: grid;
  gap: 14px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: #e9e8ff;
}
.card p,
.card li {
  color: var(--muted);
}
.section-img {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.faq p {
  margin: 8px 0 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--muted);
}
.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 24px;
  }
  .section h2 {
    font-size: 18px;
  }
}
ul.card {
  padding-left: 40px;
}
