/* UrbanDev Studio — Global Styles */

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

:root {
  --bg: #0a0a0a;
  --bg-card: #1a1a1a;
  --bg-card-hover: #202020;
  --border: #2a2a2a;
  --border-light: #333333;
  --text: #ffffff;
  --text-muted: #888888;
  --text-subtle: #555555;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --play-green: #01875f;
  --play-green-hover: #016b4c;
  --radius: 10px;
  --radius-sm: 6px;
  --max-width: 1100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ─── HEADER ─── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

header.scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  white-space: nowrap;
}

.logo:hover {
  color: var(--text);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

nav a:hover,
nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-muted);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.mobile-nav.open {
  display: flex;
}

/* ─── FOOTER ─── */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-subtle);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-subtle);
}

.footer-email {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-email:hover {
  color: var(--accent);
}

/* ─── CONTAINER ─── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  font-family: var(--font);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.10);
}

.btn-play {
  background: var(--play-green);
  color: #fff;
}

.btn-play:hover {
  background: var(--play-green-hover);
  color: #fff;
}

/* ─── APP CARD ─── */

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-light);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.app-card-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: rgba(1, 135, 95, 0.15);
  color: #2dd4a5;
  border: 1px solid rgba(1, 135, 95, 0.3);
  white-space: nowrap;
}

.app-card-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ─── COMING SOON CARD ─── */

.app-card-placeholder {
  background: transparent;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  color: var(--text-subtle);
  text-align: center;
}

.app-card-placeholder svg {
  opacity: 0.4;
}

.app-card-placeholder span {
  font-size: 14px;
  font-weight: 500;
}

/* ─── SECTION TITLES ─── */

.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 520px;
  line-height: 1.65;
}

/* ─── PAGE HEADER ─── */

.page-header {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
