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

:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --border: #e3e8ef;
  --text: #11181c;
  --muted: #5f6b76;
  --accent: #1d6fff;
  --accent-dim: #2b7bff;
  --accent-soft: #eaf2ff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* NAV */
nav {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'DM Mono', monospace;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

/* HERO */
.hero {
  padding: 6rem 0 4rem;
}

.hero-tag {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(1.75rem, 8vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.8;
}

/* SECTION */
.section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

/* PRODUCT GROUP (category within PRODUCTS) */
.product-group {
  margin-top: 2.75rem;
}

.product-group:first-of-type {
  margin-top: 0;
}

.group-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
  margin-bottom: 0.9rem;
  padding-left: 0.6rem;
  border-left: 2px solid var(--accent);
}

/* APP CARD */
.app-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.app-card:not(.is-soon):hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(29, 111, 255, 0.10);
  transform: translateY(-2px);
}

.app-card.is-soon {
  background: var(--bg);
  border-style: dashed;
}

.app-card + .app-card {
  margin-top: 0.85rem;
}

.app-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  overflow: hidden;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.app-body { flex: 1; min-width: 0; }

.app-name {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.85rem;
}

.app-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.app-links a:hover { opacity: 0.7; }

.badge-soon {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 0.1rem 0.55rem;
}

/* ABOUT */
.about-text {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 2;
  max-width: 560px;
}

.about-text strong {
  color: var(--text);
  font-weight: 500;
}

/* CONTACT */
.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  transition: all 0.2s;
}

.contact-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* FOOTER */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'DM Mono', monospace;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero, .section { animation: fadeUp 0.6s ease both; }
.section:nth-of-type(2) { animation-delay: 0.08s; }
.section:nth-of-type(3) { animation-delay: 0.16s; }
.section:nth-of-type(4) { animation-delay: 0.24s; }
.section:nth-of-type(5) { animation-delay: 0.32s; }

/* MOBILE */
@media (max-width: 600px) {
  .nav-links { display: none; }
}
