/* Metchi – same theme as app: dark + red */
:root {
  --bg: #0D0D0F;
  --surface: #1A1A1E;
  --card: #252530;
  --card-border: #2D2D3A;
  --primary: #E53935;
  --primary-glow: rgba(229, 57, 53, 0.2);
  --accent-orange: #FF6B35;
  --text: #FFFFFF;
  --text-secondary: #B0B0B5;
  --text-muted: #6B6B70;
  --online: #4CAF50;
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 2rem;
}

.site-header .wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Main content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 60vh;
}

/* Hero (landing) */
.hero {
  text-align: center;
  padding: 4rem 2rem 5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  box-shadow: 0 6px 28px var(--primary-glow);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* Features / sections */
.section {
  padding: 3rem 0;
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.section p {
  color: var(--text-secondary);
  margin: 0 0 1rem;
  max-width: 65ch;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

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

/* Page titles */
.page-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.page-subtitle {
  color: var(--text-secondary);
  margin: 0 0 2rem;
}

/* Legal / long content */
.legal-content,
.about-content {
  color: var(--text-secondary);
}

.legal-content h2,
.about-content h2 {
  font-size: 1.35rem;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}

.legal-content h2:first-child,
.about-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.about-content p {
  margin: 0 0 1rem;
}

.legal-content ul,
.about-content ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

/* Contact form */
.contact-form {
  max-width: 480px;
}

.contact-form label {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--text);
  margin-bottom: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--card-border);
  padding: 2rem;
  margin-top: 4rem;
}

.site-footer .wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--card-border);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    padding: 3rem 1rem 4rem;
  }

  main {
    padding: 1.5rem;
  }
}
