
:root {
  --bg: #020617;
  --bg-soft: #05071b;
  --bg-soft-alt: #050817;
  --accent-pink: #f472b6;
  --accent-violet: #a855f7;
  --accent-cyan: #22d3ee;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.8);
  --shadow-glow: 0 0 45px rgba(59, 130, 246, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.18), transparent 55%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom, rgba(129, 140, 248, 0.18), transparent 55%),
    var(--bg);
  color: var(--text-main);
  min-height: 100vh;
}

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

main {
  flex: 1;
}

section {
  padding: 4rem 0;
}

.section-header {
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: clamp(1.8rem, 2.3vw, 2.4rem);
  margin: 0 0 0.4rem;
}

.section-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Header / Nav */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.92), rgba(15,23,42,0.78));
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.6rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 25%, var(--accent-cyan), transparent 60%),
    radial-gradient(circle at 75% 75%, var(--accent-pink), transparent 60%),
    var(--bg-soft);
  box-shadow: var(--shadow-glow);
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.logo-text-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  transition: width 0.18s ease-out;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-badge {
  font-size: 0.74rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
  margin-left: 0.3rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lang-toggle {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-muted);
  cursor: pointer;
}

.lang-toggle strong {
  color: var(--text-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.86rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out, background 0.12s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 0% 0%, var(--accent-pink), transparent 60%),
              radial-gradient(circle at 100% 100%, var(--accent-cyan), transparent 60%),
              linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
  color: #0b1120;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.58);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.75);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(236, 72, 153, 0.7);
}

/* Mobile Nav */

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}
.nav-toggle span::after {
  top: 5px;
}

.nav-mobile-open .nav-toggle span {
  background: transparent;
}

.nav-mobile-open .nav-toggle span::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-mobile-open .nav-toggle span::after {
  transform: rotate(-45deg);
  top: 0;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0 1.6rem 1.1rem;
}

/* Hero */

.hero {
  padding-top: 3rem;
  padding-bottom: 4.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.4), transparent 80%);
  color: var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 2.9rem);
  margin: 1.1rem 0 0.4rem;
}

.hero-title span.gradient {
  background: linear-gradient(120deg, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 540px;
  margin: 0.5rem 0 1.6rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.3rem;
}

.hero-meta-item {
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-cyan);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-secondary {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
}

.hero-secondary strong {
  color: var(--text-main);
}

/* Hero Visual */

.hero-visual {
  position: relative;
  min-height: 260px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.3rem 1.3rem 1.4rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(244, 114, 182, 0.35), transparent 65%),
    radial-gradient(circle at 120% 0%, rgba(56, 189, 248, 0.35), transparent 65%),
    var(--bg-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hero-pill {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.75);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
}

.hero-card-title {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.hero-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.8rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.hero-list li {
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-main);
}

.hero-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
}

.hero-screen {
  border-radius: 18px;
  height: 190px;
  background:
    linear-gradient(180deg, rgba(15,23,42,0.5), rgba(15,23,42,1)),
    url("https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?auto=format&fit=crop&w=900&q=80")
      center/cover no-repeat;
  border: 1px solid rgba(148, 163, 184, 0.65);
  box-shadow: 0 18px 40px rgba(15,23,42,0.9);
  position: relative;
}

.hero-screen-badge {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  font-size: 0.7rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Cards / Grids */

.card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, rgba(30, 64, 175, 0.45), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.28), transparent 55%),
              var(--bg-soft-alt);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 36px rgba(15,23,42,0.9);
  position: relative;
  overflow: hidden;
}

.card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.card-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0 0 0.9rem;
}

.card-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* App grid */

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.app-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.pill {
  font-size: 0.72rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Page hero */

.page-hero {
  padding-top: 3.2rem;
  padding-bottom: 2.6rem;
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.page-hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.page-hero-title {
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  margin: 0;
}

.page-hero-subtitle {
  margin: 0;
  color: var(--text-muted);
  max-width: 620px;
}

/* Content layout */

.content {
  padding-top: 0;
  padding-bottom: 4rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2.4rem;
}

.content-main {
  font-size: 0.95rem;
  color: var(--text-main);
}

.content-main h2 {
  font-size: 1.2rem;
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}

.content-main p {
  color: var(--text-muted);
  line-height: 1.7;
}

.content-main ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.content-aside {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.aside-card {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 1rem 1.2rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Lists */

.badge-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge {
  font-size: 0.72rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(3, 7, 18, 0.98);
}

.footer-inner {
  padding: 2.4rem 1.6rem 1.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.1fr 1.2fr 1.2fr;
  gap: 2rem;
}

.footer-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* Hero typed text */

.hero-typed {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  opacity: 0.9;
}

.hero-typed span {
  border-right: 2px solid rgba(34, 211, 238, 0.7);
  padding-right: 0.25rem;
}

/* Extra subtle hero animations */

@keyframes heroGlow {
  0% {
    box-shadow: 0 18px 36px rgba(15,23,42,0.9), 0 0 0 rgba(56, 189, 248, 0.0);
  }
  100% {
    box-shadow: 0 24px 60px rgba(15,23,42,0.95), 0 0 45px rgba(56, 189, 248, 0.35);
  }
}

@keyframes floatSoft {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-6px);
  }
}

.hero-card {
  animation: heroGlow 4.8s ease-in-out infinite alternate,
             floatSoft 6.5s ease-in-out infinite alternate;
}

/* Animations & Scroll Reveal */


.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}


.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* Utilities */

.text-muted {
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1.2rem;
  }
  .nav {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .app-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  section {
    padding: 3.2rem 0;
  }
  .hero {
    padding-top: 2.2rem;
  }
}
