:root {
  color-scheme: dark;
  --bg: #05060a;
  --panel: rgba(13, 16, 27, 0.88);
  --panel-strong: #101421;
  --line: rgba(149, 164, 205, 0.2);
  --text: #f7f8ff;
  --muted: #aab2c8;
  --cyan: #4cecff;
  --cyan-dark: #007f91;
  --pink: #ff55d8;
  --green: #76f7b2;
  --danger: #ff6b87;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(76, 236, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(255, 85, 216, 0.12), transparent 30rem),
    linear-gradient(180deg, #080a11 0%, var(--bg) 55%, #030407 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(76, 236, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 236, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(76, 236, 255, 0.38));
}

.brand small {
  display: block;
  color: var(--cyan);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  padding: 0.66rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(76, 236, 255, 0.1);
}

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 64vh;
  padding: clamp(4rem, 9vw, 8rem) 0 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 7.5vw, 6.7rem);
  line-height: 0.93;
  letter-spacing: -0.065em;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--cyan), #c4fbff 42%, var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.3rem);
  line-height: 1.7;
}

.badge-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.badge-row {
  margin: 1.5rem 0 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d9def0;
  background: rgba(15, 19, 31, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  content: "";
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(19, 24, 39, 0.9);
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  border-color: rgba(76, 236, 255, 0.6);
  transform: translateY(-1px);
}

.button.primary {
  border-color: transparent;
  color: #001014;
  background: linear-gradient(110deg, var(--cyan), #b9faff);
  box-shadow: 0 12px 38px rgba(76, 236, 255, 0.2);
}

.button.pink {
  border-color: transparent;
  color: #190013;
  background: linear-gradient(110deg, #ff8ce4, var(--pink));
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.hero-card,
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(18, 23, 38, 0.94), rgba(8, 10, 17, 0.94));
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: 340px;
  padding: 1.5rem;
}

.hero-card::before {
  position: absolute;
  width: 240px;
  height: 240px;
  top: -90px;
  right: -70px;
  border-radius: 50%;
  background: var(--pink);
  filter: blur(90px);
  opacity: 0.22;
  content: "";
}

.alpha-demo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 285px;
  border: 1px solid rgba(76, 236, 255, 0.24);
  border-radius: 18px;
  background-color: #111521;
  background-image:
    linear-gradient(45deg, #23283a 25%, transparent 25%),
    linear-gradient(-45deg, #23283a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #23283a 75%),
    linear-gradient(-45deg, transparent 75%, #23283a 75%);
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
}

.alpha-demo::before {
  width: 56%;
  aspect-ratio: 0.82;
  border: 3px solid var(--cyan);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(76, 236, 255, 0.48), inset 0 0 22px rgba(76, 236, 255, 0.22);
  content: "";
}

.alpha-demo code {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  color: var(--green);
  background: rgba(1, 6, 9, 0.9);
  font-size: 0.78rem;
}

.section {
  padding: 2rem 0 5rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 1.5rem;
}

.tool-card.featured {
  grid-column: span 2;
  border-color: rgba(76, 236, 255, 0.45);
}

.tool-card h3 {
  margin: 0.85rem 0 0.7rem;
  font-size: 1.55rem;
}

.tool-card p {
  color: var(--muted);
  line-height: 1.6;
}

.tool-card .button-row {
  margin-top: auto;
}

.card-kicker {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tool-card.coming {
  opacity: 0.64;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tool-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .shell {
    width: min(100% - 1rem, 1180px);
  }

  .hero {
    padding-top: 3rem;
  }

  .tool-grid,
  .section-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tool-card.featured {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* CodeFEDDY.com visual system -------------------------------------------------
   Keep creator tools in the same public brand family as the main site. */
:root {
  --bg: #070708;
  --panel: rgba(13, 13, 16, 0.72);
  --panel-strong: rgba(18, 16, 18, 0.94);
  --line: rgba(255, 248, 236, 0.15);
  --text: #fff8ec;
  --ink: #fff8ec;
  --muted: rgba(255, 248, 236, 0.70);
  --cyan: #ffd36a;
  --cyan-dark: #ff6b00;
  --orange: #ff6b00;
  --gold: #ffd36a;
  --acid: #c6ff42;
  --pink: #ff4fd8;
  --green: #c6ff42;
  --danger: #ff6b87;
  --shadow: 0 32px 120px rgba(0, 0, 0, 0.62);
}

body {
  color: var(--ink);
  background:
    linear-gradient(to bottom, rgba(7, 7, 8, 0.42), rgba(7, 7, 8, 0.78)),
    radial-gradient(circle at 14% 8%, rgba(255, 79, 216, 0.30), transparent 28rem),
    radial-gradient(circle at 86% 10%, rgba(255, 107, 0, 0.34), transparent 30rem),
    radial-gradient(circle at 64% 88%, rgba(198, 255, 66, 0.14), transparent 34rem),
    #070708;
}

body::before {
  opacity: 0.30;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 66px 66px;
}

.site-header {
  top: 12px;
  width: min(1180px, calc(100% - 24px));
  min-height: 58px;
  margin: 12px auto 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 7, 8, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.brand {
  gap: 0;
  padding-left: 13px;
  font-weight: 1000;
  letter-spacing: -0.055em;
}

.brand img {
  display: none;
}

.brand small {
  margin-top: 1px;
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
}

.site-nav a {
  padding: 9px 13px;
  color: var(--muted);
  font-weight: 900;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a:last-child {
  color: #160b03;
  background: linear-gradient(135deg, var(--gold), var(--orange), var(--pink));
}

:focus-visible {
  outline-color: var(--gold);
}

.eyebrow,
.card-kicker {
  color: var(--gold);
  font-weight: 1000;
}

h1 {
  text-transform: uppercase;
  text-shadow: 0 0 38px rgba(255, 107, 0, 0.22), 0 16px 80px rgba(0, 0, 0, 0.72);
}

h1 span {
  background: linear-gradient(100deg, var(--gold), var(--orange) 52%, var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
}

.badge {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.065);
}

.badge::before {
  background: var(--acid);
  box-shadow: 0 0 18px var(--acid);
}

.button,
button.button {
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 1000;
}

.button:hover {
  border-color: rgba(255, 211, 106, 0.52);
}

.button.primary {
  color: #150c04;
  background: linear-gradient(135deg, var(--gold), var(--orange) 58%, var(--pink));
  box-shadow: 0 16px 46px rgba(255, 107, 0, 0.22);
}

.hero-card,
.card,
.workspace,
.pipeline-card {
  border-color: var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(13, 13, 16, 0.70);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.tool-card.featured,
.pipeline-card {
  border-color: rgba(255, 211, 106, 0.34);
}

.alpha-demo,
.canvas-stage,
.checker {
  border-color: rgba(255, 211, 106, 0.24);
  background-color: #11100f;
}

.alpha-demo::before,
.selection-box {
  border-color: var(--gold);
  background: rgba(255, 211, 106, 0.09);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9), 0 0 24px rgba(255, 107, 0, 0.55);
}

input:focus,
select:focus {
  border-color: rgba(255, 211, 106, 0.56);
  box-shadow: 0 0 0 4px rgba(255, 211, 106, 0.09);
}

@media (max-width: 640px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 26px;
  }
}
