/* =========================================================
   Commando Brands — style.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ----- Reset & Base ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:       #0A0A0F;
  --surface:  #111118;
  --border:   #1E1E2E;
  --text:     #EEEEEF;
  --muted:    #8888A0;
  --accent:   #2563EB;
  --accent-hover: #1d4ed8;
  --radius-card: 12px;
  --radius-btn:  8px;
  --max-w:    1100px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

/* ----- Layout Utilities ----- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ----- Navigation ----- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

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

.nav-logo:hover {
  text-decoration: none;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

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

/* ----- Hero ----- */
.hero {
  padding: 120px 0 100px;
  text-align: center;
}

.hero-logo {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-top: 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Section headings ----- */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 10px;
  max-width: 540px;
}

/* ----- Cards ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.card-name {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.15s;
}

.card-link:hover {
  gap: 10px;
  text-decoration: none;
}

/* ----- About teaser ----- */
.about-teaser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.about-teaser-text .section-title {
  font-size: 1.75rem;
}

.about-teaser-text p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 480px;
  font-size: 0.9375rem;
}

/* ----- Page hero (inner pages) ----- */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.page-hero .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

.page-hero p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 520px;
  font-size: 1rem;
}

/* ----- About page ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
}

.about-body p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
}

.founder-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.founder-card .founder-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
}

.founder-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

.values-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.values-list li::before {
  content: '—';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ----- Contact page ----- */
.contact-section {
  max-width: 600px;
}

.contact-section h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-section p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  margin-top: 32px;
}

.contact-card .contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-card .contact-email {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
}

/* ----- Privacy page ----- */
.privacy-body {
  max-width: 780px;
}

.privacy-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.privacy-body h2:first-of-type {
  border-top: none;
  margin-top: 24px;
}

.privacy-body p,
.privacy-body li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.privacy-body ul,
.privacy-body ol {
  padding-left: 20px;
}

.privacy-body ul li { list-style-type: disc; }
.privacy-body ol li { list-style-type: decimal; }

.privacy-meta {
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 32px;
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand .nav-logo {
  font-size: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 6px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

.footer-bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

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

/* ----- Divider ----- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

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

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

  .nav-links li a {
    display: block;
    padding: 12px 24px;
    font-size: 1rem;
  }

  section { padding: 56px 0; }

  .hero { padding: 72px 0 64px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-teaser {
    flex-direction: column;
    padding: 32px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

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

@media (max-width: 480px) {
  .hero-logo { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .about-teaser { padding: 24px; }
  .card { padding: 24px; }
}
