/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #070b14;
  --bg-2:     #0d1525;
  --surface:  #111827;
  --border:   rgba(255,255,255,.08);
  --accent:   #3b82f6;
  --accent-2: #6366f1;
  --text:     #e2e8f0;
  --muted:    #94a3b8;
  --white:    #fff;
  --radius:   14px;
  --font:     'Inter', system-ui, sans-serif;
  --ease:     cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}

.center { text-align: center; }

.accent { 
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .22s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(99,102,241,.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
}

.btn--nav {
  background: rgba(59,130,246,.12);
  color: var(--accent);
  border: 1.5px solid rgba(59,130,246,.25);
  padding: 10px 20px;
  font-size: .875rem;
}
.btn--nav:hover {
  background: rgba(59,130,246,.2);
}

.btn--full { width: 100%; justify-content: center; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s, backdrop-filter .3s;
}

.nav.scrolled {
  background: rgba(7,11,20,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo__c2 {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: .75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .02em;
}

.logo__text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}

.hero__glow--1 {
  width: 600px; height: 600px;
  top: -150px; left: 50%;
  transform: translateX(-60%);
  background: radial-gradient(circle, var(--accent), transparent 70%);
}

.hero__glow--2 {
  width: 400px; height: 400px;
  bottom: -100px; right: 10%;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  opacity: .2;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(59,130,246,.3);
  background: rgba(59,130,246,.08);
  color: #93c5fd;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 28px;
}

.hero__badge::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 20px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(12px);
}

.stat { text-align: center; }

.stat__num {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.stat__label {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  margin-top: 2px;
}

.stat__div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll span {
  display: block;
  width: 24px; height: 36px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 12px;
  position: relative;
}

.hero__scroll span::after {
  content: '';
  display: block;
  width: 4px; height: 8px;
  background: rgba(255,255,255,.4);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ── About ── */
.about { background: var(--bg-2); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* Globe animation */
.globe {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.globe__ring {
  position: absolute;
  border: 1.5px solid rgba(99,102,241,.2);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.globe__ring--1 {
  width: 100%; height: 100%;
  border-color: rgba(99,102,241,.15);
  animation: spin 18s linear infinite;
}

.globe__ring--2 {
  width: 75%; height: 75%;
  border-color: rgba(59,130,246,.2);
  animation: spin 12s linear infinite reverse;
}

.globe__ring--3 {
  width: 50%; height: 50%;
  border-color: rgba(99,102,241,.25);
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.globe__core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,.25), rgba(99,102,241,.25));
  border: 1px solid rgba(99,102,241,.3);
  display: grid;
  place-items: center;
}

.globe__dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  top: 50%; left: 50%;
  box-shadow: 0 0 12px var(--accent);
  transform-origin: 0 0;
  animation: orbit 6s linear infinite;
  animation-delay: var(--d);
}

.globe__dot::before {
  content: '';
  display: block;
  width: var(--r);
  height: 1.5px;
  background: linear-gradient(to right, var(--accent), transparent);
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: left center;
  transform: rotate(var(--a));
  opacity: .4;
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(var(--r)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--r)) rotate(-360deg); }
}

/* ── Services ── */
.services { background: var(--bg); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

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

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,.35);
}

.card--accent {
  border-color: rgba(59,130,246,.2);
  background: linear-gradient(160deg, rgba(59,130,246,.07), rgba(99,102,241,.07));
}

.card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.card__desc {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

/* ── Process ── */
.process { background: var(--bg-2); }

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 56px;
}

.step {
  flex: 1;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .25s;
}

.step:hover { border-color: rgba(59,130,246,.3); }

.step__num {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.step__content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step__content p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

.step__arrow {
  color: var(--muted);
  font-size: 1.5rem;
  align-self: center;
  flex-shrink: 0;
  opacity: .5;
  margin-top: -16px;
}

/* ── Contact ── */
.contact { background: var(--bg); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact__text p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 380px;
}

.contact__info {
  margin-top: 32px;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s;
}

.contact__link:hover { color: var(--white); }

/* Form */
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form__group label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.form__group input,
.form__group select,
.form__group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  background: rgba(59,130,246,.06);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(148,163,184,.5);
}

.form__group select option {
  background: var(--surface);
  color: var(--text);
}

.form__group textarea { resize: vertical; }

.form__success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  color: #86efac;
  font-size: .95rem;
  font-weight: 500;
  margin-top: 16px;
}

.form__success.show { display: flex; }

.form__error {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fecaca;
  font-size: 0.9rem;
  margin-top: 16px;
}

.form__error.show { display: block; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  color: var(--muted);
  font-size: .85rem;
}

/* ── AOS-like reveal ── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

[data-aos].visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .globe { width: 240px; height: 240px; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { flex-direction: column; }
  .step__arrow { transform: rotate(90deg); align-self: center; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .hero__stats { gap: 20px; padding: 16px 24px; }
  .form { padding: 24px; }
  .hero__title { letter-spacing: -.01em; }
}
