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

html {
  scroll-behavior: smooth;
}

:root {
  --accent: #00FFB3;
  --accent-muted: rgba(0, 255, 179, 0.2);
  --accent-glow: rgba(0, 255, 179, 0.3);
  --bg: #000000;
  --card-bg: rgba(17, 24, 39, 0.45);
  --card-border: rgba(75, 85, 99, 0.35);
  --text-primary: #f4f4f5;
  --text-secondary: #b4bcc8;
  --text-muted: #7c8494;
  
  --font-main: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Orbitron', sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-weight: 500;
  line-height: 1.5;
  font-size: 0.95rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

/* Background & Overlays */
.bg-animation {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.4;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(0, 255, 179, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 179, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 255, 179, 0.1);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .header-actions {
    gap: 1.5rem;
  }
}

.header-nav-link {
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.header-nav-link:hover {
  color: var(--accent);
  background: rgba(0, 255, 179, 0.06);
}

@media (max-width: 400px) {
  .header-nav-link {
    display: none;
  }
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--accent-muted);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: var(--accent-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-family: var(--font-main);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #000;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background-color: #00d9a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 179, 0.5);
}

.btn-primary:disabled {
  background-color: var(--card-border);
  color: var(--text-muted);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-primary:disabled:hover {
  background-color: var(--card-border);
  transform: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent-muted);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 0.8rem 1.8rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: min(100vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(104px + env(safe-area-inset-top, 0px)) 0 3rem;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 1.35rem;
}

.hero-logo img {
  height: 140px;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  inset: 0;
  background: var(--accent);
  filter: blur(60px);
  opacity: 0.3;
  transform: scale(0.8);
  z-index: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--accent), #00d9a0, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.hero-trial-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  line-height: 1.45;
  text-align: center;
}

.tech-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tech-badge {
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  text-align: left;
  max-width: 100%;
}

@media (min-width: 520px) {
  .tech-badge {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
  }
}

.badge-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.badge-value {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 2.8vw, 0.95rem);
  font-weight: 500;
  color: var(--accent);
  line-height: 1.3;
  word-break: break-word;
}

.corner-accent {
  position: absolute;
  width: 256px;
  height: 256px;
  border-style: solid;
  border-color: rgba(0, 255, 179, 0.2);
  pointer-events: none;
}

.corner-accent.tl {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 32px;
}

.corner-accent.br {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 32px;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header--tight {
  margin-bottom: 1.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 34rem;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Features Section */
.features-section {
  padding: 2.25rem 0 2.75rem;
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 179, 0.5), transparent);
}

.features-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  max-width: 920px;
  margin: 0 auto 1.25rem;
}

@media (min-width: 600px) {
  .features-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

.metric-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(17, 24, 39, 0.35);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.features-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    align-items: stretch;
  }
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  min-height: auto;
}

.feature-card--detail {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.5rem 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
}

.feature-card--detail .feature-icon {
  grid-row: 1 / span 2;
  align-self: start;
  margin-bottom: 0;
}

.feature-card--detail .feature-name {
  grid-column: 2;
  margin-bottom: 0.2rem;
}

.feature-card--detail .feature-desc {
  grid-column: 2;
}

.feature-card:hover {
  border-color: rgba(0, 255, 179, 0.35);
  box-shadow: 0 8px 28px -12px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-muted);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.75rem;
  transition: background 0.25s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(0, 255, 179, 0.25);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.feature-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.5;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 255, 179, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .card-glow {
  opacity: 1;
}

@media (max-width: 767px) {
  .feature-card--detail {
    grid-template-columns: 1fr;
    padding: 1rem 1.05rem;
  }

  .feature-card--detail .feature-icon {
    grid-row: auto;
    margin-bottom: 0.5rem;
  }

  .feature-card--detail .feature-name,
  .feature-card--detail .feature-desc {
    grid-column: 1;
  }
}

/* Platforms — low-key footer-style block */
.platforms-section {
  padding: 1.25rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.platforms-simple {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.platforms-simple-title {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
  text-transform: none;
}

.platforms-simple-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 auto 0.85rem;
  max-width: 32rem;
  font-weight: 400;
}

.platforms-simple-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.15rem;
  margin-bottom: 0.75rem;
}

.platforms-simple-list li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.platforms-simple-name {
  color: var(--text-secondary);
}

.platforms-simple-st {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.platforms-dash-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.platforms-dash-link:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  padding: 4rem 0 calc(4rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  height: 48px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
}

.footer-url {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-url:hover {
  text-decoration: underline;
}

.footer-copy {
  text-align: right;
}

.copy-text {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.footer-motto {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .hero {
    min-height: 0;
    padding: calc(100px + env(safe-area-inset-top, 0px)) 0 3rem;
  }

  .hero-title { font-size: clamp(2rem, 8vw, 2.5rem); }
  .hero-tagline { font-size: clamp(1rem, 4vw, 1.25rem); }
  .hero-logo img { height: clamp(100px, 28vw, 140px); width: auto; }
  .section-title { font-size: 2rem; }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .features-metrics {
    grid-template-columns: 1fr;
  }
  
  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-copy {
    text-align: center;
  }
}
