:root {
  --accent: #0085f6;
  --accent-2: #29aae1;
  --accent-3: #66b7ff;
  --ink: #f6f7ff;
  --muted: #a9a6bd;
  --bg: #0e0c15;
  --bg-soft: #15131d;
  --border: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(37, 33, 52, 0.6);
  --header-bg: rgba(14, 12, 21, 0.7);
  --glow: rgba(0, 133, 246, 0.45);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background particles */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particles {
  position: absolute;
  inset: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 14px var(--glow);
}

.brand-name {
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

/* Hero */
main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 120px 0 84px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 22px var(--glow);
}

.btn-primary:hover {
  box-shadow: 0 10px 30px var(--glow);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.btn-ghost:hover {
  border-color: var(--accent);
}

/* Sections */
section {
  padding: 84px 0;
}

.apps,
.about {
  border-top: 1px solid var(--border);
}

.section-head {
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

/* App card */
.app-card {
  display: flex;
  gap: 36px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}

.app-card:hover {
  border-color: rgba(0, 133, 246, 0.45);
}

.app-icon-wrap {
  flex-shrink: 0;
}

.app-icon {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
}

.app-card:hover .app-icon {
  transform: scale(1.04) rotate(-1deg);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight:700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-3);
  background: rgba(0, 133, 246, 0.12);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.app-info h3 {
  font-size: 1.5rem;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.app-tagline {
  font-weight: 600;
  margin: 0 0 12px;
}

.app-desc {
  color: var(--muted);
  margin: 0 0 24px;
}

/* About */
.about-copy {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0;
}

/* Contact */
.contact {
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.contact-email {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--accent-3);
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer p {
  margin: 0;
}

/* Responsive */
@media (max-width: 680px) {
  .site-nav {
    gap: 18px;
  }

  .app-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .app-icon {
    width: 96px;
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
