/* assets/css/style.css */

:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #ff5c5c;
  --accent-soft: rgba(255, 92, 92, 0.12);
  --text: #f4f4f7;
  --muted: #a0a3b1;
  --border: #23273a;
  --max-width: 960px;
  --radius: 14px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151b3a 0, #050816 55%, #02030a 100%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

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

a:hover {
  text-decoration: underline;
}

.site-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* Header / nav */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0 1.5rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-flag {
  font-size: 1.15rem;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  font-size: 0.9rem;
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}
/* Logo link styling */
.logo-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-link:hover {
  opacity: 0.8;
}



.logo-link:hover {
  opacity: 0.8;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

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

.btn-outline:hover {
  border-color: var(--accent);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.hero-text h1 span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(5, 8, 22, 0.75);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-footnote {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-card {
  background: radial-gradient(circle at top, #202745 0, #0b1020 55%, #050816 100%);
  border-radius: 24px;
  padding: 1.2rem 1rem;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1rem;
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0.75rem;
  color: var(--muted);
}

/* Sections */

.section {
  margin-bottom: 2.5rem;
  padding: 1.2rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(5, 8, 22, 0.9);
}

.section h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.card {
  padding: 0.8rem 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(9, 13, 30, 0.85);
}

.card h3 {
  margin-top: 0;
  font-size: 1rem;
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

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

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

/* Layout for inner pages */

.main-narrow {
  max-width: 720px;
}

main h1 {
  font-size: 1.6rem;
  margin-top: 0.2rem;
  margin-bottom: 0.75rem;
}

main p {
  line-height: 1.6;
  color: var(--muted);
}

main ul {
  color: var(--muted);
}

/* Responsive */

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

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