:root {
  --bg: #06080f;
  --surface: #0c1120;

  --blue: #4fc3f7;
  --violet: #b57bee;
  --green: #4ade80;

  --text: #e8edf5;
  --soft: #8898aa;
}

/* ================================
GLOBAL
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);

  font-family: "Bricolage Grotesque", sans-serif;

  min-height: 100vh;

  display: flex;
  flex-direction: column;

  overflow-x: hidden;

  cursor: none;
}

/* ================================
BACKGROUND SYSTEM
================================ */

#neural {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  z-index: -2;

  opacity: 0.35;
}

.blob {
  position: fixed;

  width: 600px;
  height: 600px;

  background: radial-gradient(
    circle,
    rgba(79, 195, 247, 0.35),
    rgba(181, 123, 238, 0.2),
    transparent 60%
  );

  filter: blur(120px);

  pointer-events: none;

  z-index: -1;
}

/* ================================
CURSOR
================================ */

.cursor {
  position: fixed;

  width: 8px;
  height: 8px;

  background: var(--blue);

  border-radius: 50%;

  pointer-events: none;

  z-index: 1000;
}

.cursor-follower {
  position: fixed;

  width: 28px;
  height: 28px;

  border: 1px solid var(--blue);

  border-radius: 50%;

  pointer-events: none;

  opacity: 0.5;

  z-index: 999;
}

/* ================================
NAV
================================ */

nav {
  padding: 28px clamp(20px, 6vw, 80px);
}

.logo {
  font-family: "Fragment Mono", monospace;

  color: var(--blue);

  font-size: 14px;
}

.logo em {
  color: var(--violet);

  font-style: normal;
}

/* ================================
HERO SECTION
================================ */

.hero {
  flex: 1;

  display: flex;

  align-items: center;

  padding: clamp(40px, 8vh, 120px) clamp(20px, 6vw, 80px);

  position: relative;
}

/* grid overlay */

.grid {
  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(rgba(79, 195, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 195, 247, 0.05) 1px, transparent 1px);

  background-size: 40px 40px;
}

/* container */

.container {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: clamp(40px, 6vw, 80px);

  max-width: 1200px;

  width: 100%;

  margin: auto;

  align-items: center;
}

/* ================================
LEFT CONTENT
================================ */

.left {
  max-width: 520px;
}

/* badge */

.badge {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  font-family: "Fragment Mono", monospace;

  font-size: 12px;

  border: 1px solid rgba(74, 222, 128, 0.2);

  padding: 6px 12px;

  margin-bottom: 26px;

  color: var(--green);
}

.dot {
  width: 6px;
  height: 6px;

  background: var(--green);

  border-radius: 50%;

  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.cursor-blink {
  width: 6px;
  height: 12px;

  background: var(--green);

  display: inline-block;

  animation: blink 1s infinite;
}

/* headline */


.headline {
  display: flex;
  flex-direction: column;

  gap: 6px;

  margin-bottom: 22px;
}

/* primary headline */

.headline-primary {
  font-size: clamp(40px, 6vw, 72px);

  line-height: 1.05;

  font-weight: 700;
}

/* secondary headline */

.headline-secondary {
  font-size: clamp(22px, 3vw, 34px);

  font-weight: 600;

  line-height: 1.2;

  opacity: 0.95;
}

.gradient {
  background: linear-gradient(120deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

/* subtitle */

.subtitle {
  font-family: "Lora", serif;

  font-style: italic;

  color: var(--soft);

  margin-bottom: 30px;

  line-height: 1.7;
}

/* contact */

.contact {
  display: flex;

  gap: 10px;

  font-family: "Fragment Mono", monospace;

  font-size: 13px;
}

.contact a {
  color: var(--blue);

  text-decoration: none;
}

/* ================================
TERMINAL CONTAINER
================================ */

.right {
  display: flex;

  justify-content: flex-start;
}

.terminal {
  background: var(--surface);

  border: 1px solid rgba(100, 160, 255, 0.2);

  width: 420px;

  max-width: 100%;

  font-family: "Fragment Mono", monospace;

  border-radius: 6px;

  overflow: hidden;
}

/* terminal bar */

.term-bar {
  display: flex;

  align-items: center;

  gap: 6px;

  padding: 10px 12px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  font-size: 12px;

  color: #7c8aa5;
}

.circle {
  width: 10px;
  height: 10px;

  border-radius: 50%;
}

.red {
  background: #ff5f57;
}
.yellow {
  background: #febc2e;
}
.green {
  background: #28c840;
}



/* terminal body */

.term-body {
  padding: 18px;

  font-size: 13px;

  line-height: 1.6;

  white-space: pre-wrap;

  word-break: break-word;

  text-align: left;
}

/* ================================
SEO SECTION
================================ */

.content-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.content-wrapper {
  max-width: 900px;
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(79, 195, 247, 0.12);
  border-radius: 8px;
  padding: 36px 36px;
  position: relative;
  overflow: hidden;
}

/* subtle glow */

.content-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(79, 195, 247, 0.08),
    transparent 40%,
    rgba(181, 123, 238, 0.06)
  );
  pointer-events: none;
}

.content-header {
  margin-bottom: 20px;
}

.content-meta {
  font-family: "Fragment Mono", monospace;
  font-size: 12px;
  color: var(--green);
  display: inline-block;
  margin-bottom: 10px;
}

.content-header h2 {
  font-size: 26px;

  font-weight: 600;

  background: linear-gradient(120deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-body {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.8;
}

.content-body p {
  margin-bottom: 16px;
}

/* highlighted seo keywords */

.content-body .keyword {
  color: var(--blue);
  border-bottom: 1px dashed rgba(79, 195, 247, 0.4);
  font-weight: 500;
}

.content-body .keyword:hover {
  color: var(--violet);
  border-color: var(--violet);
}

/* ================================
FOOTER
================================ */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 22px clamp(20px, 6vw, 80px);
}

.footer {
  display: flex;
  justify-content: space-between;

  align-items: center;

  font-family: "Fragment Mono", monospace;

  font-size: 12px;

  color: var(--soft);
}

.socials {
  display: flex;

  gap: 18px;
}

.socials a {
  color: var(--soft);

  text-decoration: none;

  transition: color 0.2s;
}

.socials a:hover {
  color: var(--blue);
}

/* ================================
TABLET
================================ */

@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .left {
    margin: auto;
  }

  .right {
    justify-content: center;

    margin-top: 10px;
  }

  .contact {
    justify-content: center;
  }
}

/* ================================
MOBILE
================================ */

@media (max-width: 600px) {
  .hero {
    padding: 60px 20px;
  }

  h1 {
    font-size: 34px;
  }

  .subtitle {
    font-size: 15px;
  }

  .terminal {
    width: 100%;

    font-size: 12px;
  }

  .footer {
    flex-direction: column;

    gap: 10px;

    text-align: center;
  }
}

/* ================================
SMALL PHONES
================================ */

@media (max-width: 380px) {
  h1 {
    font-size: 30px;
  }

  .subtitle {
    font-size: 14px;
  }

  .badge {
    font-size: 11px;
  }

  .term-body {
    font-size: 12px;
  }
}
