/* ================================
   GLOBAL
================================ */
:root {
  --bg: #060e20;
  --bg2: #091328;
  --surface: #0f1930;
  --surface-soft: #141f38;
  --surface-soft-2: #192540;

  --text: #dee5ff;
  --text-muted: #a3aac4;

  --primary: #cc97ff;
  --primary-strong: #9c48ea;
  --secondary: #e197fc;
  --tertiary: #ff95a0;
  --text-button: #46007c;

  --border: #40485d;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ================================
   LAYOUT
================================ */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 20px 40px;
}

/* ================================
   LOGO
================================ */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 32px;
  height: 32px;
}

/* Main H1 */
h1 {
  font-size: 67px;
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: center;
  margin-top: 80px;
}
.gradient-text-alt {
  background: linear-gradient(to right, var(--tertiary), var(--primary-strong));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================================
   NAVIGATION BAR
================================ */
.logo {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.logo-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--primary);
  font-size: 20px;
  text-decoration: none;
}

.nav-menu {
  color: var(--primary-strong);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* Push first menu item to center zone */
.nav-menu:first-of-type {
  margin-left: auto;
}

/* spacing between Articles and Tools */
.nav-menu + .nav-menu {
  margin-left: 24px;
}

/* optional: keeps right side balanced */
.logo-img {
  margin-right: 8px;
}

/* ================================
   HEADER
================================ */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px;
  backdrop-filter: blur(20px);
  background: rgba(9, 19, 40, 0.6);
  display: flex;
  justify-content: space-between;
  z-index: 100;
}

.logo {
  font-weight: 800;
  color: var(--primary);
  font-size: 20px;
}

/* ================================
   TYPOGRAPHY
================================ */
/* Base body text */
body {
  font-size: 22px; /* was ~16px → slightly larger */
  line-height: 1.7;
}

.subtitle {
  margin: 0 auto 15px;
  max-width: 90%; /* prevents text from feeling cramped */
  line-height: 1.5;
}

/* Section Titles (H2) */
.section-title {
  color: var(--primary); /* Primary pink */
  font-weight: 700;
  margin-bottom: 24px;
}

a {
  color: var(--primary-strong);
  text-decoration: none;
  font-weight: 500;
}

/* ===============================
CONTACT FORM
=================================*/
/* Contact Section Styles */
.contact-section {
  margin-top: 40px;
  max-width: 600px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.hidden-field {
  display: none;
}

.form-group input,
.form-group textarea {
  width: 95%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-button {
  background-color: var(--primary-strong);
  color: var(--text);
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background-color: var(--text-button);
}

/* ========================================= 
COOKIE CONSENT MODAL 
========================================= */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
}
.cookie-modal.show {
  display: flex;
}
.cookie-modal-content {
  background: #0f172a;
  border: 1px solid rgba(124, 43, 238, 0.25);
  border-radius: 14px;
  max-width: 520px;
  width: 90%;
  padding: 28px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.cookie-modal-content h3 {
  text-align: center;
  margin-bottom: 20px;
}

.cookie-modal-content p {
  text-align: left;
}

.cookie-modal a {
  color: var(--primary-strong);
  text-decoration: none;
  font-weight: 500;
}
.cookie-modal a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.cookie-buttons button {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.cookie-buttons button:hover {
  transform: translateY(-1px);
}
#accept-cookies-modal {
  background: var(--primary-strong);
  color: white;
}
#decline-cookies-modal {
  background: #444;
  color: white;
}

/* ================================
   FOOTER
================================ */
footer {
  margin-top: 40px;
  padding: 30px;
  text-align: center;
  color: #777;
  font-size: 14px;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1280px) {
  .container {
    max-width: 1200px;
  }
}
