* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0b1020;
  color: #ffffff;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1100px, 92%);
  margin: auto;
}


/* =========================
   NAVIGATION
========================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 16, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ff8a00;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  color: #d9def0;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #ff8a00;
}

.menu-button {
  display: none;
  border: none;
  background: none;
  color: white;
  font-size: 1.7rem;
  cursor: pointer;
}


/* =========================
   HERO
========================== */

.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #ff7a00;
  filter: blur(150px);
  opacity: 0.18;
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.hero-content {
  position: relative;
  max-width: 750px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.12);
  color: #ff9d32;
  border: 1px solid rgba(255, 138, 0, 0.25);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 25px;
}

.gradient-text {
  background: linear-gradient(90deg, #ff7a00, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: #aeb6d0;
  font-size: 1.15rem;
  max-width: 650px;
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #ff7a00;
  color: #111;
  box-shadow: 0 10px 30px rgba(255, 122, 0, 0.2);
}

.btn-secondary {
  background: #171d32;
  color: white;
  border: 1px solid #303852;
}


/* =========================
   SECTIONS
========================== */

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-title p {
  color: #9ea7c2;
}


/* =========================
   CARDS
========================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #12182b;
  border: 1px solid #252d45;
  padding: 30px;
  border-radius: 18px;
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-7px);
  border-color: #ff7a00;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: #9ea7c2;
}


/* =========================
   TEST AREA
========================== */

.test-box {
  background: linear-gradient(135deg, #151d35, #101629);
  border: 1px solid #2b3552;
  border-radius: 20px;
  padding: 35px;
  text-align: center;
  max-width: 700px;
  margin: auto;
}

#testResult {
  margin-top: 20px;
  color: #72f5a1;
  min-height: 28px;
  font-weight: bold;
}


/* =========================
   CONTACT
========================== */

.contact-wrapper {
  max-width: 700px;
  margin: auto;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #dce1f2;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  background: #12182b;
  color: white;
  border: 1px solid #303852;
  border-radius: 10px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #ff7a00;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-message {
  margin-top: 15px;
  color: #72f5a1;
  display: none;
}


/* =========================
   FOOTER
========================== */

footer {
  border-top: 1px solid #252d45;
  padding: 30px 0;
  color: #8e97b2;
  text-align: center;
}


/* =========================
   LIGHT MODE
========================== */

body.light {
  background: #f5f7fb;
  color: #141927;
}

body.light header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: #e1e5ee;
}

body.light .nav-links a {
  color: #414a61;
}

body.light .menu-button {
  color: #141927;
}

body.light .hero p,
body.light .section-title p,
body.light .card p {
  color: #626b80;
}

body.light .card,
body.light .test-box,
body.light input,
body.light textarea {
  background: white;
  border-color: #e0e5ef;
  color: #141927;
}

body.light .btn-secondary {
  background: white;
  color: #141927;
  border-color: #dce1eb;
}


/* =========================
   MOBILE
========================== */

@media (max-width: 768px) {

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0b1020;
    flex-direction: column;
    padding: 20px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  section {
    padding: 70px 0;
  }

  .hero {
    min-height: 85vh;
  }
}

