/* ========== GLOBAL ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #05070b;
  color: #ffffff;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== CLEAN HIGH-TECH HEADER ===== */

.clean-header {
  background: #000000;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.12); }

.rubica-header {
  width: 180px;
  max-width: 60%;
  display: block;
  margin: 0 auto 0.5rem;
}

.header-tagline {
  color: #ffffff;
  font-size: 1.15rem;
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
  font-weight: 300;
}

.header-tagline span {
  font-size: 0.95rem;
  color: #cfd3ff;
}

/* navigation */

.main-nav {
  margin-top: 1.4rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2.8rem;
}

.main-nav a {
  font-size: 0.95rem;
  color: #d7daee;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.16em;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #e4202a, #1675d1);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-line {
  margin-top: 1.2rem;
  height: 2px;
  width: 100%;
  background: #ffffff;
}
/* ========== HERO ========== */

.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(22,117,209,0.35), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(228,32,42,0.25), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg,#e4202a,#ff6a3a,#1675d1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #d4d8ec;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg,#e4202a,#1675d1);
  box-shadow: 0 14px 35px rgba(0,0,0,0.7); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: #ffffff;
}

/* ========== SECTIONS ========== */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(20,30,60,0.4), transparent 55%); }

.section h2 {
  text-align: center;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 2rem;
}

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

.card {
  background: #0e111c;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.75); }

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: #ff5a3b;
}

.card p {
  font-size: 0.9rem;
  color: #d0d4ea;
}

.section p {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #d0d4ea;
}

/* ========== CONTACT ========== */

.contact-lines {
  font-size: 1rem;
}

.contact-lines a {
  color: #89b7ff;
  font-weight: 600;
}

/* ========== FOOTER ========== */

.footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.4rem 0 1.8rem;
  font-size: 0.8rem;
  color: #9094aa;
  text-align: center;
}
