:root {
  --bg: #06090e;
  --surface: #0e141c;
  --surface-alt: #121a24;
  --border: #22303f;
  --blue: #0f97e0;
  --blue-deep: #0a5fa8;
  --cyan: #38d6f5;
  --orange: #d9560f;
  --orange-deep: #a63f0a;
  --white: #f5f8fb;
  --gray: #93a1b3;
  --gray-light: #c3ccd6;
  --radius: 10px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

.skip-link {
  position: absolute;
  top: -50px;
  left: 12px;
  background: var(--blue);
  color: #04121c;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 100;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-light);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--white); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
header {
  background: rgba(6, 9, 14, 0.92);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-link { display: flex; align-items: center; }

.logo-img { height: 54px; width: auto; display: block; }

.logo-img.footer-logo { height: 44px; }

nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--gray-light);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color 0.15s ease;
  white-space: nowrap;
}

nav a:hover { color: var(--cyan); text-decoration: none; }
nav a.active { color: var(--orange); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  nav ul.open { display: flex; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(15,151,224,0.16) 0%, rgba(6,9,14,0) 45%),
    radial-gradient(circle at 15% 20%, rgba(56,214,245,0.14), transparent 40%),
    var(--bg);
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  opacity: 0.08;
  clip-path: polygon(40% 0%, 100% 0%, 60% 100%, 0% 100%);
  pointer-events: none;
}

.hero h1 {
  font-size: 2.7rem;
  margin: 0 0 16px;
  position: relative;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
  color: var(--gray-light);
  position: relative;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: 6px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  color: #04121c;
}

.btn-primary:hover {
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(15,151,224,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--orange);
}

.btn-outline:hover {
  background: rgba(217,86,15,0.12);
  text-decoration: none;
  color: var(--white);
}

/* Sections */
section {
  padding: 76px 24px;
  position: relative;
}

.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

h2.section-title {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 12px;
}

p.section-sub {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  color: #04121c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

/* Ticker */
.ticker {
  background: var(--surface);
  color: var(--gray);
  padding: 16px 24px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  text-align: center;
}

.ticker span { color: var(--blue); }

/* Pricing */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 1000px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .plans-grid { grid-template-columns: 1fr; }
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card .specs,
.plan-card .included {
  flex-grow: 1;
}

.plan-card .btn {
  margin-top: auto;
}

.plan-card.featured {
  border: 2px solid var(--orange);
  background: var(--surface-alt);
}

.plan-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-card h3 { color: var(--white); }

.plan-card .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 12px 0;
  color: var(--cyan);
}

.plan-card .price span {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 400;
}

.plan-card .specs, .plan-card .included {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  color: var(--gray);
  font-size: 0.88rem;
}

.plan-card .specs li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.plan-card .specs li span:first-child { font-weight: 600; color: var(--gray-light); }

.plan-card .included li { padding: 3px 0; }

.plan-note {
  text-align: center;
  max-width: 640px;
  margin: 32px auto 0;
  color: var(--gray-light);
  font-size: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: var(--radius);
}

.addon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s ease;
}

.addon-card:hover { border-color: var(--orange); }

.addon-card h4 { margin: 0 0 8px; font-size: 1rem; color: var(--white); }
.addon-card p { color: var(--gray); font-size: 0.9rem; margin: 0; }

/* Partner tool cards */
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.tool-card .tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.tool-card h3 { margin: 0; font-size: 1.1rem; }

.tool-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(15,151,224,0.15);
  color: var(--cyan);
  border: 1px solid rgba(15,151,224,0.4);
}

.tool-card p { color: var(--gray); font-size: 0.92rem; }

.meter {
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  margin: 18px 0 8px;
}

.meter__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.tool-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray);
}

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.partner-logo-wrap img { max-width: 220px; }

.partner-intro-grid {
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  max-width: 1000px;
}

@media (max-width: 760px) {
  .partner-intro-grid { grid-template-columns: 1fr; }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info .item {
  margin-bottom: 20px;
}

.contact-info .item strong {
  display: block;
  color: var(--white);
}

form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-light);
  margin: 14px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

form textarea { resize: vertical; min-height: 120px; }

form button {
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

/* Footer */
footer {
  background: #04070b;
  color: var(--gray);
  padding: 48px 24px 24px;
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto 24px;
}

footer strong { color: var(--white); }
footer a { color: var(--gray); }
footer a:hover { color: var(--cyan); }

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.8rem;
  color: #7c8b9d;
}

.footer-bottom a { color: #7c8b9d; }
.footer-bottom a:hover { color: var(--cyan); }
