/* ============================================================
   NEXOKOR — Base Styles
   Colors: Black #0A0A0A, Gold #C9A84C, White #FFFFFF
   ============================================================ */

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

:root {
  --black: #0A0A0A;
  --black-mid: #111111;
  --black-light: #1A1A1A;
  --gold: #C9A84C;
  --gold-dark: #A8872E;
  --white: #FFFFFF;
  --white-muted: #CCCCCC;
  --white-dim: #888888;
  --border: rgba(201, 168, 76, 0.2);
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: #e0be6a; }

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
p  { color: var(--white-muted); }

.gold { color: var(--gold); }
.white { color: var(--white); }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--white-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s, transform 0.1s;
}
.nav-cta:hover {
  background: #e0be6a !important;
  color: var(--black) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--black-mid);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { font-size: 1rem; }
  .nav-cta { text-align: center; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: #e0be6a;
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--gold); }

.hero-subline {
  font-size: 1.125rem;
  color: var(--white-muted);
  margin-bottom: 44px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   PROBLEM SECTION
   ============================================================ */

.problem-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black-mid);
}

.problem-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--white-muted);
  max-width: 720px;
}

/* ============================================================
   THREE COLUMNS
   ============================================================ */

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 768px) {
  .three-col { grid-template-columns: 1fr; gap: 32px; }
}

.col-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--black-light);
  transition: border-color 0.2s, transform 0.2s;
}
.col-card:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
}

.col-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.col-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; }

.col-card h3 { color: var(--white); margin-bottom: 12px; }
.col-card p { font-size: 0.9375rem; }

/* ============================================================
   STATS STRIP
   ============================================================ */

.stats-strip {
  background: var(--black-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

@media (max-width: 768px) {
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--white-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */

.product-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--black-light);
  padding: 48px;
  max-width: 480px;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.product-badge {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}
.product-card p { margin-bottom: 28px; }

/* ============================================================
   FOOTER CTA STRIP
   ============================================================ */

.footer-cta {
  background: linear-gradient(135deg, #111111 0%, #1a1500 100%);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 80px 0;
}
.footer-cta h2 { margin-bottom: 16px; }
.footer-cta p { margin-bottom: 36px; font-size: 1.0625rem; }

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

footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-brand span { color: var(--gold); }

.footer-info {
  font-size: 0.8125rem;
  color: var(--white-dim);
  text-align: center;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--white-dim);
  text-align: right;
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */

.page-hero {
  padding: 140px 0 80px;
  background: var(--black);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-intro p {
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 700px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 640px) {
  .approach-grid { grid-template-columns: 1fr; }
}

.approach-item {
  display: flex;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--black-light);
}
.approach-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
.approach-item h3 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.approach-item p { font-size: 0.9rem; }

.credibility-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 40px;
}
.cred-item {
  flex: 1;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  background: var(--black-light);
}
.cred-item:last-child { border-right: none; }
.cred-item .cred-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.cred-item p { font-size: 0.875rem; color: var(--white-muted); }

@media (max-width: 640px) {
  .credibility-strip { flex-direction: column; }
  .cred-item { border-right: none; border-bottom: 1px solid var(--border); }
  .cred-item:last-child { border-bottom: none; }
}

.founder-note {
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  background: var(--black-light);
  border-radius: 0 6px 6px 0;
  margin-top: 40px;
}
.founder-note p {
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--white-muted);
}
.founder-note cite {
  display: block;
  margin-top: 16px;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */

.product-hero-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--black-light);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.product-hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.2));
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
}

.step-item {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  background: var(--black-light);
  position: relative;
}
.step-item:last-child { border-right: none; }

@media (max-width: 768px) {
  .step-item { border-right: none; border-bottom: 1px solid var(--border); }
  .step-item:last-child { border-bottom: none; }
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 16px;
}
.step-item h3 { color: var(--white); margin-bottom: 10px; }
.step-item p { font-size: 0.9rem; }

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}
.specs-table tr {
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 16px 20px;
  font-size: 0.9375rem;
}
.specs-table td:first-child {
  color: var(--white-dim);
  width: 40%;
  font-weight: 500;
}
.specs-table td:last-child { color: var(--white); }
.specs-table tr:nth-child(even) { background: rgba(255,255,255,0.02); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--black-light);
}
.why-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; }
.why-item div h3 { color: var(--white); font-size: 0.9375rem; margin-bottom: 4px; }
.why-item div p { font-size: 0.875rem; }

.coming-next {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 32px;
  background: var(--black-light);
  display: flex;
  align-items: center;
  gap: 16px;
}
.coming-next-icon {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.coming-next p { color: var(--white-muted); font-size: 0.9375rem; margin: 0; }

/* ============================================================
   TECHNOLOGY PAGE
   ============================================================ */

.process-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 640px) {
  .process-cards { grid-template-columns: 1fr; }
}

.process-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--black-light);
  transition: border-color 0.2s, transform 0.2s;
}
.process-card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-3px);
}
.process-card .highlight-stat {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.process-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.0625rem; }
.process-card p { font-size: 0.9rem; }

.patents-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.patent-item {
  display: flex;
  gap: 16px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--black-light);
}
.patent-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding-top: 2px;
}
.patent-item p { font-size: 0.9375rem; color: var(--white-muted); margin: 0; }
.patent-item span { color: var(--white-dim); font-size: 0.825rem; }

.validation-block {
  border-left: 3px solid var(--gold);
  padding: 32px 36px;
  background: var(--black-light);
  border-radius: 0 6px 6px 0;
  margin-top: 32px;
}
.validation-block p {
  font-size: 1.0rem;
  line-height: 1.8;
  color: var(--white-muted);
  margin: 0;
}
.validation-block strong { color: var(--white); }

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { font-size: 1.0625rem; line-height: 1.75; margin-bottom: 32px; }

.contact-detail {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-detail-item svg { width: 18px; height: 18px; stroke: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-detail-item div strong { display: block; color: var(--white); font-size: 0.875rem; margin-bottom: 2px; }
.contact-detail-item div span { color: var(--white-dim); font-size: 0.875rem; }

.contact-form {
  background: var(--black-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px;
}
.contact-form h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--black-mid);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea {
  height: 120px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--white-dim);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
}

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success h3 { color: var(--gold); margin-bottom: 12px; }
.form-success p { color: var(--white-muted); }

/* ============================================================
   SECTION DIVIDER
   ============================================================ */

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ============================================================
   UTILITY
   ============================================================ */

.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-2  { margin-bottom: 8px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }

.max-w-2xl { max-width: 680px; }
.max-w-3xl { max-width: 860px; }
