@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;600;700&family=Inconsolata:wght@400;500;600&display=swap');

/* ================= BASE ================= */

* {
  box-sizing: border-box;
}

html {
    background: #111;
}

body {
  font-family: 'Inconsolata', monospace;
  font-weight: 400;
  margin: 0;
  background: #111;
  color: white;
  line-height: 1.6;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.01em;
}

h2 {
    font-size: 2rem;
  letter-spacing: -0.01em;
  margin-bottom: 20px;

}

.tagline {
  opacity: 0.7;
}

.desc {
  max-width: 500px;
  margin: 20px auto;
  opacity: 0.6;
  font-weight: 300;
}

p {
  opacity: 0.75;
}

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

.hero {
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  text-align: left;
  padding-left: 10%;
  padding-right: 10%;
}

.index-page .hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.hero h1,
.hero p,
.hero .buttons {
  animation: fadeUp 0.9s ease both;
}

.hero p {
  animation-delay: 0.1s;
}

.hero .buttons {
  animation-delay: 0.2s;
}

/* ================= BUTTONS ================= */

.buttons {
  margin-top: 60px;
}

/* main buttons */
.btn {
  padding: 12px 18px;
  background: white;
  color: black;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: 0.2s ease;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.2);
  letter-spacing: 0.02em;
}

.btn:hover {
  background: #eaeaea;
  border-color: white;
}

/* outline button */
.outline {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}

.outline:hover {
  background: white;
  color: black;
  border-color: white;
  transform: translateY(-2px);
}

/* ================= SOCIALS ================= */

.socials {
  padding-top: 70px;
}

.socials a {
  margin: 10px;
  color: #aaa;
  text-decoration: none;
  transition: 0.2s;
}

.socials a:hover {
  color: white;
}

/* ================= LOGIN ================= */

.login {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* optional wrapper container */
.container {
  width: 100%;
  max-width: 520px;
  padding: 40px;
}

/* ================= GRID / CARDS ================= */

.grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.card {
  padding: 20px;
  flex: 1;
  min-width: 250px;
  border-radius: 0;
  transition: 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
}

.card img {
  transition: transform 0.6s ease;
  width: 100%;
  display: block;
  opacity: 0.9;
}

.card:hover img {
  transform: scale(1.05);
  opacity: 1;
}

/* ================= FORMS ================= */

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
}

/* inputs */
input,
textarea {
  width: 100%;
  padding: 14px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: white;
  font-size: 1rem;
  font-family: 'Roboto Mono', monospace;
  outline: none;
  transition: 0.2s ease;
}

/* focus state */
input:focus,
textarea:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

/* textarea */
textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}

/* button (form submit) */
button {
  width: 100%;
  padding: 14px;
  border-radius: 0;
  border: 1px solid white;
  background: white;
  color: black;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
    background: #eaeaea;
}

/* ================= UTIL ================= */

.back {
  display: inline-block;
  margin-top: 20px;
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
}

.back:hover {
  color: white;
}

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

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

.fade-in {
  animation: fadeUp 0.8s ease both;
}

/* ================= SCROLL REVEAL ================= */

section {
  padding: 100px 10%;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(8px);
  transition: all 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

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

/* stagger support */
.reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* ================= BACKGROUND FIX ================= */

body {
  background: radial-gradient(
    circle at top,
    #1a1a1a 0%,
    #0f0f0f 50%,
    #0b0b0b 100%
  );
}

/* ================= AUTOFILL FIX ================= */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: white;
  transition: background-color 9999s ease-in-out 0s;
}