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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #3b82f6;
  --dark: #0f172a;
  --dark2: #1e293b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --card-bg: #1e293b;
  --border: #334155;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

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

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

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: radial-gradient(ellipse at top, #1e3a5f 0%, var(--dark) 60%);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* SECTIONS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

/* ABOUT */
.about {
  background: var(--dark2);
}

.about p {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* APPS */
.apps {
  background: var(--dark);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.app-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.app-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.app-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.app-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.btn-sm {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.4rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.btn-sm:hover {
  background: var(--accent);
  color: white;
}

/* CONTACT */
.contact {
  background: var(--dark2);
  text-align: center;
}

.contact > .container > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-item span {
  font-size: 1.3rem;
}

.contact-item p {
  color: var(--text-muted);
  margin: 0;
}

/* FOOTER */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  nav ul {
    gap: 1rem;
  }

  .stats {
    gap: 2rem;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
