/* Troopo — App Landing Page */

:root {
  --primary: #2563EB;
  --primary-dark: #1E40AF;
  --primary-light: #DBEAFE;
  --primary-lighter: #EFF6FF;
  --black: #09090B;
  --gray-900: #18181B;
  --gray-700: #52525B;
  --gray-600: #71717A;
  --gray-500: #6B7280;
  --gray-400: #A1A1AA;
  --gray-300: #E5E7EB;
  --gray-100: #F9FAFB;
  --white: #FFFFFF;
  --green-500: #22C55E;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', system-ui, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-300);
  z-index: 10;
}

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

.logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

nav a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-700);
  text-decoration: none;
  margin-left: 32px;
  transition: color 0.2s;
}

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

/* Hero */
.hero {
  padding: 80px 0 72px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-lighter) 0%, var(--white) 100%);
}

.hero-badge {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  transition: background 0.2s;
}

.store-btn:hover {
  background: var(--gray-700);
}

.store-btn span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.store-btn small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

.store-btn span {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--gray-100);
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--black);
  text-align: center;
  margin-bottom: 48px;
}

.section h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--black);
  margin-bottom: 12px;
}

.section p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--black);
  margin-bottom: 8px;
}

.feature p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Download Section */
.download-section {
  text-align: center;
}

.download-section p {
  max-width: 400px;
  margin: 0 auto 24px;
}

/* Contact */
.contact-email {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary) !important;
  margin-top: 8px;
}

/* Footer */
footer {
  border-top: 1px solid var(--gray-300);
  padding: 32px 0 24px;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.footer-logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
}

.footer-brand p {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

.footer-brand a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-brand a:hover {
  color: var(--primary);
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.2s;
}

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

.copyright {
  font-size: 13px;
  color: var(--gray-400);
}

/* Mobile */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 34px; }
  .subtitle { font-size: 16px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 26px; margin-bottom: 32px; }
  .features-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .feature-icon { margin: 0; flex-shrink: 0; }
  .footer-content { flex-direction: column; gap: 16px; }
  .footer-links { margin-top: 8px; }
  .footer-links a { margin-left: 0; margin-right: 16px; }
  nav a { margin-left: 20px; font-size: 14px; }
}
