/* Tailwind Base Reset */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
body {
  margin: 0;
  line-height: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
img, svg {
  display: block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
button, input {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button {
  cursor: pointer;
  background-color: transparent;
  background-image: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
blockquote, p {
  margin: 0;
}

/* Custom Styles */
html {
  background-color: #eff0f4;
}

main .container,
footer .container {
  max-width: 1440px;
}
body {
  background-color: #eff0f4;
  color: #444444;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
}

.font-rubik {
  font-family: "Rubik", sans-serif;
}

/* Utilities */
.primary-color {
  color: rgba(255, 97, 97, 1) !important;
}
.bg-color {
  background-color: #eef0f4 !important;
}

/* Typography */
a {
  color: rgba(255, 97, 97, 1);
}
a:hover,
a:focus {
  color: rgba(255, 97, 97, 0.75);
}
h1,
h2,
h3,
.text-gradient {
  background: #828282;
  background: linear-gradient(116.4deg, #828282 1.72%, #000000 66.59%);
  font-weight: 700;
  letter-spacing: -0.02em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h1 {
  line-height: 0.9 !important;
}
.CTA h1, .text-gradient-light {
  background: #ffffff;
  background: linear-gradient(116.4deg, #ffffff 1.72%, #d3fff4 66.59%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
button,
a.button {
  background-color: #eef0f4;
  border-radius: 0.375rem;
  color: rgba(255, 97, 97, 1);
  display: block;
  font-weight: 500;
  line-height: 1.125rem;
  text-align: center;
  transition: 0.25s ease-in-out;
}
button:hover,
button:focus,
a.button:hover,
a.button:focus {
  color: rgba(255, 97, 97, 0.75);
}

.active button,
button.active,
.active a.button,
a.button.active {
  background-color: #fff;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.06);
  color: rgba(255, 97, 97, 1);
}
.active button:hover,
button.active:hover,
.active a.button:hover,
a.button.active:hover {
  background-color: rgba(255, 97, 97, 1);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.06);
  color: #fff !important;
}

/* Tabs */
ul[role="tablist"] li button {
  color: #444;
}
ul[role="tablist"] li button.active {
  color: rgba(255, 97, 97, 1);
}
ul[role="tablist"] li button.active:hover {
  background-color: #fff;
}
ul[role="tablist"] li button:hover,
ul[role="tablist"] li button:focus {
  color: rgba(255, 97, 97, 1);
}


/* Dashed Border Art */
.dashed-left {
  width: 1000px;
  height: 38px;
  border: 1px dashed #444;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 38px;
  position: absolute;
  top: -38px;
  left: -999px;
}
.border-top {
  border: 1px dashed #444;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 38px;
  height: 216px;
  position: relative;
}
.border-top::before {
  border-left: 1px dashed #444;
  content: "";
  height: 125px;
  left: -1px;
  position: absolute;
  top: -125px;
  width: 1px;
}
.border-top::after {
  border: 1px dashed #444;
  border-radius: 50%;
  border-top-right-radius: 0px;
  content: "";
  height: 42px;
  left: -42px;
  position: absolute;
  top: -1px;
  width: 42px;
}
.border-mid {
  position: relative;
}
.border-mid::before {
  content: "";
  height: 100%;
  width: 1px;
  background-color: #333;
  background: linear-gradient(0deg, rgba(255, 97, 113, 1) 0%, rgba(68, 68, 68, 1) 100%);
  background-size: 1px 100%;
  background-repeat: repeat-y;
  position: absolute;
  top: 0;
  left: 0;
}
.border-mid::after {
  content: "";
  height: 100%;
  width: 1px;
  background-color: #333;
  background: linear-gradient(0deg, rgba(255, 97, 113, 1) 0%, rgba(68, 68, 68, 1) 100%);
  background-size: 1px 100%;
  background-repeat: repeat-y;
  position: absolute;
  top: 0;
  right: 0;
}
.border-bottom div:first-of-type {
  width: calc(41.5% - 38px);
  height: 60px;
  border: 1px dashed #ff6171;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 38px;
  position: relative;
}
.border-bottom div:first-of-type svg {
  width: 5px;
  height: 5px;
  position: absolute;
  bottom: -62px;
  right: -40px;
}
.border-bottom div:first-of-type::after {
  content: "";
  width: 38px;
  height: 60px;
  border: 1px dashed #ff6171;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 38px;
  position: absolute;
  bottom: -60px;
  right: -38px;
}
.border-bottom div:last-of-type {
  width: calc(41.5% - 38px);
  height: 60px;
  border: 1px dashed #ff6171;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 38px;
  position: relative;
}
.border-bottom div:last-of-type svg {
  width: 5px;
  height: 5px;
  position: absolute;
  bottom: -62px;
  left: -40px;
}
.border-bottom div:last-of-type::after {
  content: "";
  width: 38px;
  height: 60px;
  border: 1px dashed #ff6171;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 38px;
  position: absolute;
  bottom: -60px;
  left: -38px;
}

/* CTA */
.CTA {
  background-color: #4a4a4a;
  border-bottom: 10px solid rgba(255, 255, 255, 0.2);
}

.CTA h1::before {
  content: "";
  background: url("/assets/frame.svg");
  background-size: cover;
  width: 300px;
  height: 281px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-52%, -44%);
  z-index: 1;
  pointer-events: none;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
}
footer h4,
.copyright {
  color: #d3fff4;
}
footer ul li a {
  color: #808080;
}

@media (min-width: 640px) {
  .CTA h1::before {
    width: 652px;
    height: 610px;
  }
}

@media (max-width: 640px) {
  .CTA h1::before {
    display: none;
  }
}

.quote__text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 0.25rem;
  font-family: 'Rubik', Cambria, Times, 'Times New Roman', serif;
}

.quote__author {
  font-style: normal;
  color: #6b7280;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer__row {
  display: grid;
  grid-template-columns: 1fr 10em 1fr;
  align-items: center;
}

.color-teal {
  color: #003E3F;
}

.bg-teal {
  background-color: #003E3F;
}

.hover\:bg-teal:hover {
  background-color: #003E3F;
}

.text-teal-light {
  color: #eef0f4;
}

.hover\:text-teal-light:hover {
  color: #eef0f4;
}

.cta-button {
  border-radius: 0.25rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  color: #4a4a4a;
  background-color: #edfffa;
  display: inline-block;
}

.cta-button:hover {
  color: #4a4a4a;
  background-color: #fff;
}

/* Boot Sequence */
.boot-sequence {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0a0a0a;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}

.boot-content {
  padding: 2rem;
  max-width: 800px;
  width: 100%;
}

.boot-text {
  font-family: 'Source Code Pro', monospace;
  color: #00ff00;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Terminal */
.terminal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0a0a0a;
  z-index: 9998;
  padding: 2rem;
  font-family: 'Source Code Pro', monospace;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 255, 0, 0.1);
  animation: scan 8s linear infinite;
}

@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}

.command-line {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.prompt {
  color: #00ff00;
  margin-right: 0.5rem;
}

.command-input {
  background: transparent;
  border: none;
  color: #00ff00;
  font-family: 'Source Code Pro', monospace;
  font-size: 14px;
  flex: 1;
  outline: none;
}

/* Tailwind-like utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-auto { margin-right: auto; }
.ml-auto { margin-left: auto; }
.my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.my-16 { margin-top: 4rem; margin-bottom: 4rem; }
.my-24 { margin-top: 6rem; margin-bottom: 6rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-9 { margin-bottom: 2.25rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mr-2 { margin-right: 0.5rem; }
.-ml-4 { margin-left: -1rem; }
.p-4 { padding: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-36 { padding-bottom: 9rem; }
.pr-4 { padding-right: 1rem; }
.pt-20 { padding-top: 5rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-xl { max-width: 36rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.leading-normal { line-height: 1.5; }
.leading-tight { line-height: 1.25; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.text-black { color: #000; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.list-none { list-style-type: none; }
.hover\:underline:hover { text-decoration: underline; }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-y-10 { --tw-translate-y: -2.5rem; transform: translateY(-2.5rem); }
.-translate-y-20 { --tw-translate-y: -5rem; transform: translateY(-5rem); }
.-translate-y-36 { --tw-translate-y: -9rem; transform: translateY(-9rem); }
.gap-0 { gap: 0; }
.col-span-12 { grid-column: span 12 / span 12; }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* Responsive */
@media (min-width: 640px) {
  .sm\:w-min { width: min-content; }
  .sm\:w-32 { width: 8rem; }
  .sm\:w-36 { width: 9rem; }
  .sm\:w-40 { width: 10rem; }
  .sm\:px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
  .sm\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .sm\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .sm\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
  .sm\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .sm\:pt-44 { padding-top: 11rem; }
  .sm\:pb-36 { padding-bottom: 9rem; }
  .sm\:pl-12 { padding-left: 3rem; }
  .sm\:mr-8 { margin-right: 2rem; }
  .sm\:mb-6 { margin-bottom: 1.5rem; }
  .sm\:mb-10 { margin-bottom: 2.5rem; }
  .sm\:mb-12 { margin-bottom: 3rem; }
  .sm\:mt-1 { margin-top: 0.25rem; }
  .sm\:-ml-5 { margin-left: -1.25rem; }
  .sm\:-ml-7 { margin-left: -1.75rem; }
  .sm\:p-7 { padding: 1.75rem; }
  .sm\:mx-0\.5 { margin-left: 0.125rem; margin-right: 0.125rem; }
  .sm\:max-w-xl { max-width: 36rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-left { text-align: left; }
  .sm\:justify-start { justify-content: flex-start; }
  .sm\:-translate-y-20 { transform: translateY(-5rem); }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:gap-11 { gap: 2.75rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:mb-14 { margin-bottom: 3.5rem; }
  .md\:-mb-16 { margin-bottom: -4rem; }
}

@media (min-width: 1024px) {
  .lg\:px-20 { padding-left: 5rem; padding-right: 5rem; }
  .lg\:px-28 { padding-left: 7rem; padding-right: 7rem; }
  .lg\:pl-28 { padding-left: 7rem; }
  .lg\:w-40 { width: 10rem; }
  .lg\:text-left { text-align: left; }
  .lg\:mb-3 { margin-bottom: 0.75rem; }
  .lg\:mb-5 { margin-bottom: 1.25rem; }
}

@media (min-width: 1280px) {
  .xl\:px-36 { padding-left: 9rem; padding-right: 9rem; }
  .xl\:mt-9 { margin-top: 2.25rem; }
}

/* Mobile text wrapping fix */
.text-gradient {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  .tracking-widest {
    letter-spacing: 0.05em;
    font-size: 1.5rem;
    line-height: 1.3;
  }
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.bento-card {
  background: #2a2a2a;
  border-radius: 1.5rem;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.bento-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.bento-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.bento-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #ff6171 0%, #ff8a8a 100%);
}

.bento-card .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.featured {
    grid-column: span 1;
  }
  .bento-card {
    padding: 1.5rem;
  }
  .bento-card h2 {
    font-size: 1.25rem;
  }
}

/* WebGL Shader Background */
#shader-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

/* Ensure content is above shader */
main, footer, section {
  position: relative;
  z-index: 1;
}
