/* ===================================================
   IAMSEO DIGITAL — stylesheet
   Theme: Dark editorial / industrial / high-contrast
   =================================================== */

:root {
  --black:   #080A0E;
  --dark:    #0D1117;
  --panel:   #111820;
  --border:  #1E2A38;
  --muted:   #2A3A4D;
  --text:    #C8D8E8;
  --light:   #E8F0F8;
  --white:   #F5F9FF;
  --accent:  #00E5FF;
  --accent2: #FF3D5A;
  --gold:    #F0C060;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav--scrolled { background: rgba(8, 10, 14, 0.97); }

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.logo-bracket { color: var(--muted); }
.logo-accent  { color: var(--accent); }

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

.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--accent); }

.nav__cta {
  padding: 8px 20px;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav__cta:hover {
  background: var(--accent);
  color: var(--black) !important;
}

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

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  background: var(--dark);
}
.nav__mobile.open { display: flex; }
.mobile-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.mobile-link:last-child { border-bottom: none; }

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

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

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}
.orb--1 {
  width: 700px; height: 700px;
  background: var(--accent);
  top: -200px; right: -200px;
  animation: drift 12s ease-in-out infinite alternate;
}
.orb--2 {
  width: 500px; height: 500px;
  background: var(--accent2);
  bottom: -150px; left: -150px;
  animation: drift 16s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.05); }
}

.scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 60px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,229,255,0.3);
  padding: 6px 14px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__headline {
  font-family: var(--font-display);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.line {
  display: block;
  font-size: clamp(4.5rem, 12vw, 11rem);
  color: var(--white);
  animation: fadeUp 0.8s ease both;
}
.line--1 { animation-delay: 0.1s; }
.line--2 { animation-delay: 0.2s; }
.line--3 { animation-delay: 0.3s; color: var(--accent); }

.accent-stroke {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.5s ease both;
}

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

/* TICKER */
.hero__ticker {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,229,255,0.04);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}
.ticker__inner {
  display: inline-flex;
  gap: 32px;
  animation: ticker 25s linear infinite;
}
.ticker__inner span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}
.sep { color: var(--accent) !important; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,229,255,0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--text);
  color: var(--white);
  transform: translateY(-2px);
}

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

/* ===================== STATS ===================== */
.stats {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 32px;
}

.stats__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

.stat { text-align: center; position: relative; }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1;
  display: inline-block;
}

.stat__unit {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  display: inline-block;
  margin-left: 2px;
  vertical-align: top;
  margin-top: 8px;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 8px;
  max-width: 120px;
  margin-left: auto;
  margin-right: auto;
}

.stat__divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===================== SECTIONS ===================== */
.section-header { margin-bottom: 64px; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}

/* ===================== SERVICES ===================== */
.services {
  padding: 120px 0;
  background: var(--dark);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}
.service-card:hover {
  border-color: var(--accent);
  background: rgba(0,229,255,0.03);
}
.service-card:hover .service-card__arrow {
  transform: translateX(6px);
  color: var(--accent);
}

.service-card--large {
  grid-row: 1 / 3;
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 16px; right: 24px;
  line-height: 1;
  pointer-events: none;
}

.service-card__icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__list li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}
.service-card__list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-card__arrow {
  margin-top: 32px;
  font-size: 1.4rem;
  color: var(--muted);
  transition: all 0.3s;
  display: inline-block;
}

/* ===================== WHY ===================== */
.why {
  padding: 120px 0;
  background: var(--black);
}

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

.why__left .section-title { margin-bottom: 20px; }
.why__body {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 380px;
}

.why__right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--panel);
  transition: border-color 0.3s;
}
.why-item:hover { border-color: rgba(0,229,255,0.4); }
.why-item__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.why-item h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.why-item p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.65;
}

/* ===================== PROCESS ===================== */
.process {
  padding: 120px 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

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

.process-step__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 12px;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.7;
}

/* ===================== CONTACT ===================== */
.contact {
  padding: 120px 0;
  background: var(--dark);
}

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

.contact__left .section-title { margin-bottom: 20px; }
.contact__left > p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 340px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
  transition: color 0.2s;
}
.contact__detail:hover { color: var(--accent); }
.contact__detail-icon { font-size: 1.1rem; width: 24px; text-align: center; flex-shrink: 0; }

/* FORM */
.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 48px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }

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

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.4);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(255,61,90,0.08);
  border: 1px solid rgba(255,61,90,0.4);
  color: var(--accent2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand .nav__logo {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.footer__brand p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links h5 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.footer__links a,
.footer__links span {
  font-size: 0.85rem;
  color: var(--text);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .service-card--large { grid-row: auto; }
  .why__inner { grid-template-columns: 1fr; gap: 60px; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .process-step { border-bottom: 1px solid var(--border); }
  .process-step:nth-child(3), .process-step:last-child { border-bottom: none; }
  .contact__inner { grid-template-columns: 1fr; gap: 60px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__inner { padding: 0 20px; }

  .hero__content { padding: 60px 20px 40px; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; max-width: 320px; }

  .stats { padding: 40px 20px; }
  .stats__inner { flex-direction: column; gap: 32px; }
  .stat__divider { width: 80px; height: 1px; }

  .services { padding: 80px 0; }
  .service-card { padding: 32px 24px; }

  .why, .process, .contact { padding: 80px 0; }

  .process__steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .section-header { margin-bottom: 40px; }
}
