/* ============================================
   star7.dev — Global Styles
   Dark premium aesthetic, carbon-fiber inspired
   ============================================ */

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

:root {
  --black: #0d0d0d;
  --dark-1: #1a1a1a;
  --dark-2: #2a2a2a;
  --gray: #444;
  --light-gray: #999;
  --red: #cc0000;
  --red-bright: #e60000;
  --white: #f0f0f0;
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--dark-1);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Carbon fiber background pattern --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.015) 2px,
      rgba(255, 255, 255, 0.015) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.015) 2px,
      rgba(255, 255, 255, 0.015) 4px
    ),
    radial-gradient(ellipse at 50% 0%, rgba(204, 0, 0, 0.06) 0%, transparent 60%);
}

/* --- Navigation --- */
nav {
  width: 100%;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

nav a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: color 0.3s, border-color 0.3s;
}

nav a:hover {
  color: var(--white);
  border-color: var(--red);
}

/* --- Main content wrapper --- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* --- Logo --- */
.logo {
  width: 280px;
  max-width: 80vw;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 40px rgba(204, 0, 0, 0.15));
}

/* --- Tagline --- */
.tagline {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 1.5rem;
}

.tagline strong {
  color: var(--red-bright);
  font-weight: 600;
}

/* --- Description --- */
.description {
  font-size: 0.95rem;
  color: var(--light-gray);
  text-align: center;
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* --- Divider line --- */
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  margin: 1rem auto 2rem;
  border: none;
}

/* --- CTA Button --- */
.cta {
  display: inline-block;
  padding: 0.75rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--red);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.cta:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.3);
}

/* ============================================
   Contact Page
   ============================================ */

.contact-heading {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  text-align: center;
}

.contact-sub {
  font-size: 0.9rem;
  color: var(--light-gray);
  margin-bottom: 2.5rem;
  text-align: center;
}

/* --- Form --- */
.contact-form {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-main);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  background: var(--dark-2);
  border: 1px solid var(--gray);
  border-radius: 2px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.15);
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.turnstile-wrap {
  min-height: 70px;
}

.submit-btn {
  align-self: flex-start;
  padding: 0.75rem 2.5rem;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.submit-btn:hover {
  background: var(--red-bright);
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.35);
}

.submit-btn:active {
  transform: scale(0.98);
}

.form-status {
  min-height: 1.3rem;
  font-size: 0.85rem;
  color: var(--light-gray);
}

.form-status.success {
  color: #79d279;
}

.form-status.error {
  color: #ff7b7b;
}

/* --- Contact Alt --- */
.contact-alt {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--light-gray);
}

.contact-alt a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-alt a:hover {
  color: var(--red-bright);
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 600px) {
  nav {
    justify-content: center;
    padding: 1rem;
  }

  main {
    padding: 5rem 1.5rem 3rem;
  }

  .logo {
    width: 220px;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .description {
    font-size: 0.9rem;
  }

  .contact-heading {
    font-size: 1.4rem;
  }

  .submit-btn {
    width: 100%;
    text-align: center;
  }
}
