/* =============================================
   NEURAL ARC NETWORK — styles.css
   ============================================= */

:root {
  --blue:    #2563EB;
  --violet:  #7C3AED;
  --black:   #0B1120;
  --graphite:#111827;
  --cyan:    #22D3EE;
  --white:   #F8FAFC;
  --gray:    #E5E7EB;
  --muted:   rgba(248,250,252,0.5);
  --border:  rgba(255,255,255,0.08);
  --border-cyan: rgba(34,211,238,0.18);
  --glass:   rgba(255,255,255,0.04);
  --radius:  14px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width:100%; display:block; }
a { text-decoration:none; }
ul { list-style:none; }
button { border:none; cursor:pointer; font-family:inherit; }

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

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.grad-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 40%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   NAV
   ============================================= */

nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  transition: background var(--transition), border-color var(--transition);
}

nav.scrolled {
  background: rgba(11,17,32,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-cyan);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-accent {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: rgba(248,250,252,0.6);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 8px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity var(--transition), transform var(--transition);
}

.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  background: rgba(11,17,32,0.97);
  backdrop-filter: blur(20px);
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--border);
}

.mobile-menu ul { display: flex; flex-direction: column; gap: 0.25rem; }

.mobile-link {
  display: block;
  padding: 0.75rem 0;
  color: rgba(248,250,252,0.7);
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--cyan); }

.mobile-cta {
  margin-top: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 8px;
  text-align: center;
  color: var(--white) !important;
  font-weight: 500;
}

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

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-tag {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.35);
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2rem;
}

#hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  margin-bottom: 1.6rem;
  color: var(--white);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2.8rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 8px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(37,99,235,0.45);
}

.btn-outline {
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(34,211,238,0.45);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-outline:hover {
  background: rgba(34,211,238,0.08);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.35;
  animation: scrollBounce 2.5s ease-in-out infinite;
  z-index: 2;
}

.scroll-hint span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

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

section { padding: 7rem 2.5rem; }

#services  { background: var(--graphite); }
#who       { background: var(--black); }
#how       { background: var(--graphite); }
#why       { background: linear-gradient(160deg, rgba(37,99,235,0.06), var(--black) 50%, rgba(124,58,237,0.06)); }
#about     { background: var(--graphite); }
#contact   { background: var(--black); position: relative; overflow: hidden; }

#contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,99,235,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header { margin-bottom: 3.5rem; }

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
  color: var(--white);
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
  max-width: 540px;
  font-weight: 300;
}

/* =============================================
   SERVICES CARDS
   ============================================= */

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

.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(124,58,237,0.03));
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(34,211,238,0.08);
}

.glass-card:hover::after { opacity: 1; }

.card-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.card-text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
  font-weight: 300;
}

/* =============================================
   WHO WE SERVE
   ============================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.serve-card {
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
}

.serve-card.brands {
  background: linear-gradient(145deg, rgba(37,99,235,0.1), rgba(37,99,235,0.03));
  border: 1px solid rgba(37,99,235,0.25);
}

.serve-card.creators {
  background: linear-gradient(145deg, rgba(124,58,237,0.1), rgba(124,58,237,0.03));
  border: 1px solid rgba(124,58,237,0.25);
}

.serve-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  font-weight: 500;
}

.serve-card.brands .serve-label { color: #60A5FA; }
.serve-card.creators .serve-label { color: #A78BFA; }

.serve-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.serve-body {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.serve-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.serve-list li {
  color: rgba(248,250,252,0.65);
  font-size: 0.88rem;
  padding-left: 1.3rem;
  position: relative;
  line-height: 1.5;
}

.serve-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-size: 0.78rem;
}

.serve-card.brands .serve-list li::before { color: #60A5FA; }
.serve-card.creators .serve-list li::before { color: #A78BFA; }

.serve-cta {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: opacity var(--transition), transform var(--transition);
}

.serve-cta:hover { opacity: 0.85; transform: translateY(-1px); }

.brands-cta { background: linear-gradient(135deg, var(--blue), #3B82F6); color: var(--white); }
.creators-cta { background: linear-gradient(135deg, var(--violet), #8B5CF6); color: var(--white); }

/* =============================================
   HOW IT WORKS
   ============================================= */

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.step {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-connector {
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  margin-top: 28px;
  opacity: 0.5;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content { padding: 0 0.75rem; }

.step-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
  font-weight: 300;
}

/* =============================================
   WHY US
   ============================================= */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
}

.why-item { display: flex; flex-direction: column; gap: 0.9rem; }

.why-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-title-item {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.why-text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
  font-weight: 300;
}

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

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-body {
  color: rgba(248,250,252,0.6);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.about-body:last-child { margin-bottom: 0; }

.about-text .section-title { margin-bottom: 1.5rem; }

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 60px rgba(34,211,238,0.06), 0 0 120px rgba(37,99,235,0.04);
}

.about-node {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.about-node.top    { top: -5px; left: 50%; transform: translateX(-50%); }
.about-node.bottom { bottom: -5px; left: 50%; transform: translateX(-50%); }
.about-node.left   { left: -5px; top: 50%; transform: translateY(-50%); }
.about-node.right  { right: -5px; top: 50%; transform: translateY(-50%); }

.about-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.about-center-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.3;
  color: rgba(248,250,252,0.6);
  letter-spacing: 0.05em;
}

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

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }

.contact-detail {}

.detail-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.detail-text {
  color: rgba(248,250,252,0.55);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-field label {
  font-size: 0.78rem;
  color: rgba(248,250,252,0.5);
  letter-spacing: 0.04em;
}

.form-field label span { color: var(--cyan); }

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
}

.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2322D3EE' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-field select option { background: var(--graphite); color: var(--white); }

.form-field textarea { resize: vertical; min-height: 110px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(34,211,238,0.5);
  background: rgba(34,211,238,0.03);
}

.form-error {
  color: #F87171;
  font-size: 0.82rem;
  min-height: 1rem;
}

.submit-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 8px;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 0.25rem;
}

.submit-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,99,235,0.4);
}

.form-note {
  color: rgba(248,250,252,0.3);
  font-size: 0.75rem;
  text-align: center;
}

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

footer {
  background: var(--graphite);
  border-top: 1px solid rgba(34,211,238,0.1);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-brand { max-width: 240px; }

.footer-logo { margin-bottom: 0.6rem; }

.footer-tagline {
  color: rgba(248,250,252,0.3);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.footer-col { display: flex; flex-direction: column; gap: 0.9rem; }

.footer-col-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,250,252,0.4);
  margin-bottom: 0.2rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
  color: rgba(248,250,252,0.5);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(248,250,252,0.25);
  font-size: 0.78rem;
}

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
  color: rgba(248,250,252,0.25);
  font-size: 0.78rem;
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(248,250,252,0.5); }

/* =============================================
   ANIMATIONS
   ============================================= */

.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes fadeUp {
  to { opacity:1; transform:translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity:1; transform:translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.visible { opacity:1; transform:translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.visible { opacity:1; transform:translateX(0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu.open { display: block; }

  .split, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-inner { gap: 3rem; }

  .steps {
    flex-direction: column;
    align-items: flex-start;
    overflow-x: visible;
  }

  .step {
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    min-width: unset;
  }

  .step-connector {
    width: 1px;
    height: 24px;
    margin: 0 0 0 27px;
    background: linear-gradient(to bottom, var(--blue), var(--violet));
  }

  .step-num { margin-bottom: 0; flex-shrink: 0; }

  section { padding: 5rem 1.5rem; }
  .nav-inner { padding: 1rem 1.5rem; }
  .footer-inner { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-bottom { padding: 1.25rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { gap: 2rem; }
}

@media (max-width: 580px) {
  #hero h1 { font-size: 2.6rem; }
  .section-title { font-size: 1.9rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}
