:root {
  --red: #dc2626;
  --red-glow: rgba(220, 38, 38, 0.3);
  --dark: #0a0a0a;
  --darker: #050505;
  --gray: #404040;
  --light-gray: #a3a3a3;
  --white: #ffffff;
}

.red{
  color: var(--red);
  font-weight: 900;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
.serif {
  font-family: "PT Serif", serif;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container2 {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.containerM {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.glow {
  box-shadow: 0 0 20px var(--red-glow);
}

/* Animated dots */
.animated-dots {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0;
  animation: float 8s infinite linear;
}
.dot:nth-child(2n) {
  animation-duration: 12s;
  background: rgba(220, 38, 38, 0.6);
}
.dot:nth-child(3n) {
  animation-duration: 15s;
  background: rgba(220, 38, 38, 0.3);
  width: 2px;
  height: 2px;
}
@keyframes float {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg);
  }
  10%,
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) rotate(360deg);
  }
}

/* Forge glow wrapper (kept for layout) */
.forge-glow {
  position: relative;
  text-align: center;
}
.forge-glow svg {
  scale: 1;
  height: 60vh;

}
/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray);
}
nav {
  font-family: "Segoe UI regular";
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 2px;
  position: relative;
}
.logo::after {
  content: "";
  position: absolute;
  bottom: -2.5px;
  left: 50%;
  transform: translateX(-20%);
  width: 60px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}
.nav-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--red);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: radial-gradient(
    ellipse 90vw 100vh at bottom,
    rgba(220, 38, 38, 0.1) 0%,
    transparent 50%
  );
  overflow: hidden;
  padding: 2vh;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--light-gray);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.btn {
  position: relative;
  z-index: 10;
  padding: 12px 42px;
  font-size: 22px;
  font-weight: 700;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 0px; /* no mercy */
  border: 2px solid var(--red);
  display: inline-block;
  cursor: pointer;
  background: black;
  color: var(--red);
  box-shadow: 
    0 0 0 1px var(--red), 
    0 0 8px var(--red-glow), 
    0 0 16px var(--red-glow), 
    inset 0 0 10px rgba(255, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
}

.btn-primary {
  background: black;
  color: var(--red);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red);
  color: black;
  box-shadow: 
    0 0 2px var(--red), 
    0 0 20px var(--red-glow), 
    0 0 40px var(--red-glow), 
    inset 0 0 10px rgba(255, 0, 0, 0.6);
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--dark);
}

.fonti {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-style: normal;
}

/* Sections */
section {
  padding: 100px 0;
  border-top: 1px solid var(--gray);
}
.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 1px;
  /* text-transform: uppercase; */
}
.section-subtitle {
  font-size: 1.4rem;
  color: var(--light-gray);
  text-align: center;
  max-width: 723px;
  margin: 0 auto 60px;
}
.section-subtitle2 {
  font-size: 1.4rem;
  color: var(--light-gray);
  text-align: left;
  width: fit-content;
  margin: 0 auto 60px;
}
/* Problem/Solution */
.problem-solution {
  background: var(--darker);
}
.problem-solution .grid {
  align-items: center;
}
.problem {
  grid-column: 1 / 7;
}
.solution {
  grid-column: 7 / 13;
}
.problem h3,
.solution h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--red);
}
.problem p,
.solution p {
  font-size: 1.1rem;
  color: var(--light-gray);
  line-height: 1.8;
}

/* How It Works */
.how-it-works {
  background: var(--dark);
}
.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}
.workflow-step {
  background: var(--darker);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--gray);
  transition: all 0.3s;
}
.workflow-step:hover {
  border-color: var(--red);
  transform: translateY(-5px);
}
.workflow-step h4 {
  color: var(--red);
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.code-sample {
  background: var(--darker);
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 30px;
  margin: 40px 0;
  font-family: "Courier New", monospace;
  font-size: 14px;
  overflow-x: auto;
}
.code-sample .keyword {
  color: var(--red);
}
.code-sample .string {
  color: #22c55e;
}

/* Use Cases */
.use-cases {
  background: var(--darker);
}
.use-case {
  background: var(--dark);
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.use-case:hover {
  border-color: var(--red);
}
.use-case h4 {
  color: var(--red);
  margin-bottom: 10px;
}

/* Audience */
.audience {
  background: var(--dark);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}
.audience-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--darker);
  border-radius: 8px;
  border: 1px solid var(--gray);
  transition: all 0.3s;
}
.audience-card:hover {
  border-color: var(--red);
  transform: translateY(-5px);
}
.audience-card h4 {
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.imgLogo {
  width: 60%;
  margin-top: 100px;
}
/* Vision */
.vision {
  background: radial-gradient(
    ellipse at center,
    rgba(220, 38, 38, 0.1) 0%,
    var(--darker) 50%
  );
  text-align: center;
}
.vision-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}
.vision-point {
  font-size: 1.2rem;
  color: var(--light-gray);
  line-height: 1.8;
}

/* Footer CTA */
.footer-cta {
  background: var(--dark);
  text-align: center;
  padding: 80px 0;
}
.waitlist-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}
.waitlist-form input {
  flex: 1;
  min-width: 200px;
  padding: 15px;
  background: var(--darker);
  border: 1px solid var(--gray);
  color: var(--white);
  border-radius: 4px;
  font-size: 16px;
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
}
.social-links {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.social-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}
.social-links a:hover {
  color: var(--red);
}
@media (max-width: 1200px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .problem,
  .solution {
    grid-column: 1;
  }
  .nav-links {
    display: none;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .waitlist-form {
    flex-direction: column;
  }
  .waitlist-form input {
    min-width: 100%;
  }
  .anvil-container {
    display: none;
  }

  .forge-glow svg {
    scale: 1;
    margin-top: -2%;
    /* margin-bottom: 19%; */
   
  }
  .forge-glow {
    margin-left: 0%;

  } 
  .imgLogo {
    width: 90%;
  }
} 
/* Responsive */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .problem,
  .solution {
    grid-column: 1;
  }
  .nav-links {
    display: none;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .waitlist-form {
    flex-direction: column;
  }
  .waitlist-form input {
    min-width: 100%;
  }
  .anvil-container {
    display: none;
  }
  .btn {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
  }
   .forge-glow {
    margin: 0 auto;
  }
  .forge-glow svg {
      scale: 1.25;
    margin-top: -20%;
    margin-bottom: 10%;


  } 
  .imgLogo {
    width: 110%;
    margin-left: -5%;
    margin-top: 240px;
  }
}

.sub-contener {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 800px;
}
.Bold {
  color: var(--white);
  font-weight: 900;
}

.colored {
  color: var(--red);
  font-weight: 900;
}

.container3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
}
/* Footer */
footer {
  border-top: 1px solid var(--gray);
  background: #000;
  padding: 34px 0;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 1s ease-in;
}
