:root {
  --teal: #196774;
  --teal-dark: #124D58;
  --teal-light: #1E7A8A;
  --orange: #F0941F;
  --orange-accent: #EF6024;
  --dark: #363432;
  --dark-surface: #2A2826;
  --muted: #90A19D;
  --light: #F4F4F8;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 100;
  padding: 1rem 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}

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

nav .nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Layout */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--dark), var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 10rem 0 6rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Section headings */
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* About */
.about {
  background: var(--white);
}

.about-content {
  max-width: 720px;
}

.about-content p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 1.25rem;
}

/* Apps Grid */
.apps {
  background: var(--light);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}

.app-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.app-card .app-category {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.app-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.app-card p {
  color: #666;
  font-size: 0.95rem;
}

.app-card .badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-shipped {
  background: #E6F4EA;
  color: #1B7A3D;
}

.badge-dev {
  background: #FFF3E0;
  color: #B36B00;
}

/* Values */
.values {
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.value-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.value-item p {
  color: #666;
  font-size: 0.95rem;
}

/* Contact */
.contact {
  background: var(--light);
}

.contact-info {
  font-size: 1.05rem;
}

.contact-info a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
}

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

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

footer .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* Legal pages */
.legal {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.legal .last-updated {
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal p, .legal ul {
  color: #444;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.legal ul {
  padding-left: 1.5rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 8rem 0 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  nav .nav-links {
    gap: 1rem;
  }

  nav .nav-links a {
    font-size: 0.85rem;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }
}
