/* ===================================================================
   LeviSens — reconstructed stylesheet
   Palette recovered from the original Carrd export:
     ink/bg   #27282A / #000000
     accent   #3860EB (blue)  #5C83EE (light blue)  #32BA9A (teal)
     muted    #747989
   Font: Inter
   =================================================================== */

:root {
  --bg:        #1c1d1f;
  --bg-alt:    #232427;
  --panel:     #27282A;
  --text:      #f4f6fb;
  --muted:     #9a9fb0;
  --muted-2:   #747989;
  --blue:      #3860EB;
  --blue-light:#5C83EE;
  --teal:      #32BA9A;
  --border:    rgba(255, 255, 255, 0.10);
  --radius:    14px;
  --maxw:      1080px;
  --shadow:    0 18px 48px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-light); text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============================ HEADER / NAV ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 21, 23, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo  { height: 34px; width: auto; }
.nav__name  {
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text);
  font-size: 1.05rem;
}

.nav__menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.18s ease;
}
.nav__menu a:hover { color: var(--text); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(72px, 14vw, 150px) 0 clamp(64px, 12vw, 120px);
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(56, 96, 235, 0.28), transparent 60%),
    radial-gradient(760px 420px at 80% 0%, rgba(50, 186, 154, 0.16), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero__logo {
  width: clamp(120px, 22vw, 180px);
  margin: 0 auto 22px;
  filter: drop-shadow(0 10px 30px rgba(56, 96, 235, 0.35));
}
.hero__title {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, var(--blue-light), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tagline {
  margin: 14px auto 34px;
  max-width: 640px;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  color: var(--muted);
  font-weight: 500;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  color: #fff;
}
.btn--ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: var(--blue-light); }

/* ============================ SECTIONS ============================ */
.section { padding: clamp(56px, 10vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section__inner { max-width: 820px; }
.section__inner--center { text-align: center; margin-inline: auto; }

.section__title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  margin: 0 0 22px;
  position: relative;
  display: inline-block;
}
.section__title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.section__inner--center .section__title::after { margin-inline: auto; }

.lead { font-size: 1.15rem; color: var(--text); }
.section p { color: var(--muted); }
.section .lead { color: #d9dde8; }

/* ============================ TECHNOLOGY ============================ */
.tech-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 32px 0;
}
.tech-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.tech-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tech-card:hover img { transform: scale(1.05); }

/* Accordion */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
}
.accordion__chevron { transition: transform 0.3s ease; color: var(--blue-light); }
.accordion__trigger[aria-expanded="true"] .accordion__chevron { transform: rotate(180deg); }
.accordion__panel { padding: 0 22px 22px; }
.accordion__panel p { margin-top: 0; }

.feature-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

/* ============================ TEAM ============================ */
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 14px;
}
.team-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  margin-bottom: 16px;
}
.team-card__name { margin: 0 0 10px; font-size: 1.25rem; }
.team-card__bio  { margin: 0; color: var(--muted); }

/* ============================ CONNECT ============================ */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.connect-btn {
  display: block;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}
.connect-btn:hover {
  transform: translateY(-3px);
  border-color: var(--blue-light);
  background: linear-gradient(135deg, rgba(56,96,235,0.16), rgba(50,186,154,0.12));
}

/* ============================ FOOTER ============================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
}
.site-footer p { margin: 0; color: var(--muted-2); font-size: 0.9rem; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__menu.is-open { max-height: 320px; }
  .nav__menu li { width: 100%; }
  .nav__menu a {
    display: block;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
  }

  .tech-gallery,
  .team,
  .connect-grid { grid-template-columns: 1fr; }

  .tech-card img { height: 220px; }
}
