:root {
  --bg-color: #05080f;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-primary: #38bdf8;
  --accent-secondary: #a78bfa;
  --accent-warm: #fbbf24;
  --card-bg: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-glow: rgba(56, 189, 248, 0.2);
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Space Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  -webkit-user-drag: none;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.24;
  background-image:
    radial-gradient(white, rgba(255,255,255,.16) 1px, transparent 2px),
    radial-gradient(white, rgba(255,255,255,.12) 1px, transparent 1px);
  background-position: 0 0, 50px 100px;
  background-size: 520px 520px, 320px 320px;
  animation: starDrift 180s linear infinite;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.13), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(167, 139, 250, 0.14), transparent 28%),
    radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, 0.54) 100%);
  pointer-events: none;
  z-index: -1;
}

@keyframes starDrift {
  from { background-position: 0 0, 50px 100px; }
  to { background-position: -520px -520px, -270px -220px; }
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 15, 0.72);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  height: 70px;
  justify-content: space-between;
  padding: 0 4rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  align-items: center;
  display: flex;
  font-family: var(--font-display);
  font-weight: 800;
  gap: 0.65rem;
}

.brand-mark {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.015)),
    #08101a;
  border: 1px solid rgba(148,163,184,0.42);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(56,189,248,0.1), 0 10px 24px rgba(0,0,0,0.22);
  color: #ffffff;
  display: inline-grid;
  font-size: 0.72rem;
  font-weight: 800;
  grid-template-columns: 1fr 1fr;
  height: 32px;
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
  place-items: center;
  position: relative;
  width: 40px;
}

.brand-mark::before {
  background: var(--accent-primary);
  content: '';
  height: 18px;
  left: 50%;
  opacity: 0.85;
  position: absolute;
  top: 7px;
  transform: translateX(-50%) rotate(18deg);
  width: 2px;
}

.brand-mark span {
  position: relative;
  z-index: 1;
}

.brand-wordmark {
  color: rgba(226,232,240,0.72);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-divider {
  color: rgba(255,255,255,0.18);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0.1rem;
}

.subtitle-app {
  color: rgba(255,255,255,0.92);
  font-size: 1.06rem;
  font-weight: 800;
}

nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 1.5rem;
}

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

.hero {
  align-items: center;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  margin: 2rem auto 3.5rem;
  max-width: 1200px;
  min-height: calc(76vh - 70px);
  padding: 0 2rem;
}

.hero-content {
  flex: 1.1;
  min-width: 0;
}

.app-icon {
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35), 0 0 34px rgba(56,189,248,0.18);
  display: block;
  height: 92px;
  margin-bottom: 1.5rem;
  width: 92px;
}

.hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}

.hero h1 .title-main {
  display: block;
}

.hero h1 .title-kicker {
  align-items: center;
  color: var(--accent-primary);
  display: flex;
  font-size: 0.72em;
  gap: 0.28em;
  letter-spacing: 0.02em;
  margin-top: 0.12em;
  text-transform: uppercase;
}

.hero h1 .title-kicker::before {
  background: var(--accent-primary);
  content: '';
  display: block;
  height: 0.12em;
  width: 1.05em;
}

.accent {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--accent-primary);
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}

.app-badge {
  align-items: center;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  box-shadow:
    0 7px 0 0 #12141c,
    0 12px 20px rgba(0, 0, 0, 0.5),
    0 0 16px rgba(56, 189, 248, 0.16);
  display: inline-flex;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
}

.app-badge:hover {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 9px 0 0 #12141c,
    0 15px 25px rgba(0, 0, 0, 0.62),
    0 0 22px rgba(56, 189, 248, 0.28);
  transform: translateY(-2px);
}

.app-badge:active {
  box-shadow:
    0 3px 0 0 #12141c,
    0 6px 10px rgba(0,0,0,0.4);
  transform: translateY(4px);
}

.app-badge img {
  filter: invert(1);
  height: 26px;
  width: 26px;
}

.badge-text {
  text-align: left;
}

.badge-text span {
  color: #94a3b8;
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.badge-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-visual {
  display: flex;
  flex: 0.9;
  justify-content: center;
  position: relative;
}

.visual-container {
  animation: float 6s ease-in-out infinite;
  height: 560px;
  position: relative;
  width: 420px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.ipad-frame {
  aspect-ratio: 2264 / 2952;
  bottom: 0;
  height: auto;
  left: -24px;
  position: absolute;
  width: 320px;
  z-index: 1;
}

.ipad-frame > img,
.phone-frame > img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.ipad-screenshot {
  border-radius: 20px;
  height: 93.2%;
  left: 4.4%;
  overflow: hidden;
  position: absolute;
  top: 3.4%;
  width: 91.2%;
  z-index: 0;
}

.phone-frame {
  aspect-ratio: 1406 / 2822;
  border-radius: 36px;
  height: auto;
  position: absolute;
  right: 126px;
  top: 70px;
  transform: rotate(30deg);
  width: 200px;
  z-index: 10;
}

.phone-screenshot {
  border-radius: 36px;
  height: 93.3%;
  left: 7.1%;
  overflow: hidden;
  position: absolute;
  top: 3.5%;
  width: 85.8%;
}

.ipad-screenshot img,
.phone-screenshot img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.glow-backdrop {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(167,139,250,0.07) 34%, transparent 66%);
  border-radius: 50%;
  height: 110%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  z-index: 0;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 8rem;
  max-width: 1100px;
  padding: 0 2rem;
}

.feature-item {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  padding: 2.2rem 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.feature-item::before {
  background: radial-gradient(circle at 50% 120%, rgba(255,255,255,0.045), transparent 70%);
  content: '';
  inset: -50%;
  position: absolute;
}

.feature-item:hover {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 10px 30px rgba(0,0,0,0.38);
  transform: translateY(-4px);
}

.feature-item h3,
.highlight-content h2,
.showcase-section h2 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
}

.feature-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.feature-item h3::before {
  background: var(--accent-primary);
  content: '';
  display: block;
  height: 3px;
  margin-bottom: 1.15rem;
  width: 32px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
}

.highlight-section {
  align-items: center;
  display: flex;
  gap: 4rem;
  margin: 0 auto 8rem;
  max-width: 1200px;
  padding: 0 2rem;
}

.highlight-section.reverse {
  flex-direction: row-reverse;
}

.highlight-content {
  flex: 1;
}

.highlight-content h2,
.showcase-section h2 {
  font-size: 2.5rem;
  line-height: 1.06;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.highlight-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.35rem;
}

.highlight-visual {
  display: flex;
  flex: 1;
  justify-content: center;
}

.highlight-image {
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.48);
  max-width: 360px;
  overflow: hidden;
}

.highlight-image.wide {
  max-width: 520px;
}

.highlight-image img {
  display: block;
  width: 100%;
}

.showcase-section {
  margin: 0 auto 8rem;
  max-width: 1200px;
  padding: 0 2rem;
  text-align: center;
}

.showcase-section h2 {
  margin-bottom: 3rem;
}

.carousel-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-color: var(--glass-border) transparent;
  scrollbar-width: thin;
}

.carousel-container::-webkit-scrollbar {
  height: 6px;
}

.carousel-container::-webkit-scrollbar-thumb {
  background-color: var(--glass-border);
  border-radius: 3px;
}

.carousel-item {
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.36);
  flex: 0 0 260px;
  overflow: hidden;
}

.carousel-item img {
  display: block;
  width: 100%;
}

footer {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 5rem 2rem 3rem;
  text-align: center;
}

footer p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-page {
  margin: 5rem auto 8rem;
  max-width: 900px;
  padding: 0 2rem;
}

.content-panel {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
}

.content-panel h1,
.content-panel h2 {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
}

.content-panel h1 {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.content-panel .date {
  color: var(--accent-primary);
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: -0.6rem 0 1.8rem;
  text-transform: uppercase;
}

.content-panel h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 0.8rem;
}

.content-panel p,
.content-panel li {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-panel ul {
  margin: 1rem 0 0 1.25rem;
}

.content-panel a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-email {
  margin-top: 0.5rem;
}

@media (max-width: 1000px) {
  header {
    padding: 0 2rem;
  }

  .hero {
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

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

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

  .highlight-section {
    flex-direction: column !important;
    text-align: center;
  }
}

@media (max-width: 600px) {
  header {
    padding: 0 1.25rem;
  }

  nav {
    display: none;
  }

  .logo-divider {
    display: none;
  }

  .brand-wordmark {
    display: none;
  }

  .subtitle-app {
    font-size: 1.1rem;
  }

  .hero {
    margin: 2rem auto 3.5rem;
    min-height: auto;
    padding: 0 1.25rem;
  }

  .hero h1 {
    font-size: 1.95rem;
    max-width: 320px;
  }

  .hero p {
    font-size: 1.03rem;
    max-width: 320px;
  }

  .tagline {
    font-size: 0.82rem;
    line-height: 1.45;
    max-width: 320px;
  }

  .features-grid,
  .highlight-section,
  .showcase-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-visual {
    display: none;
  }

  .highlight-content h2,
  .showcase-section h2 {
    font-size: 2rem;
  }

  .content-page {
    margin: 2.5rem auto 5rem;
    padding: 0 1.25rem;
  }

  .content-panel {
    border-radius: 18px;
    padding: 2rem 1.4rem;
  }

  .content-panel h1 {
    font-size: 2.25rem;
  }
}
