/* Ensure Navigation sits on top of everything */
.navigation {
    display: flex;
    min-height: 100px;
    align-items: center;
    justify-content: space-between;
    position: relative;
    align-self: stretch;
    width: 100%;
    z-index: 100; /* Higher z-index to stay above background */
}

/* Prevent the main body from having default white background */
body {
    background-color: var(--collection-1-color-mono-1000);
    margin: 0;
    padding: 0;
}

.home {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  background-color: var(--collection-1-color-mono-1000);
}

/* --- Navigation Specific Styles --- */

/* Targets the Documentation button */
.navigation .button {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 16px;
    position: relative;
    flex: 0 0 auto;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
}

/* Targets the Log In button (the one with the gradient border) */
.navigation .div {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 16px;
    position: relative;
    flex: 0 0 auto;
    border-radius: 50px;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-decoration: none; /* In case it's an <a> tag */
}

.navigation .div:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 229, 229, 0.4);
    color: white;
}

/* Base styles for both Log In and Logout */
.navigation .nav-btn {
    position: relative; /* Crucial for the ::before positioning */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px; /* Adjust to match your design */
    /* Reset Button Defaults */
    background: transparent;
    border: none;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    font-family: inherit;
}

/* The gradient border applied to both */
.navigation .nav-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px; /* Border thickness */
    border-radius: 50px;
    background: linear-gradient( 90deg, rgba(0, 229, 229, 1) 0%, rgba(233, 97, 255, 1) 100% );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

/* Ensure text and icons are above the pseudo-element border */
.navigation .nav-btn .text-wrapper,
.navigation .nav-btn .icon {
    position: relative;
    z-index: 2;
}

.navigation .nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 229, 229, 0.4);
    color: white;
}

/* Targets the text inside all navigation buttons */
.navigation .text-wrapper {
    position: relative;
    width: fit-content;
    font-family: "Outfit-Regular", Helvetica;
    font-weight: 400;
    color: var(--collection-1-color-mono-0);
    font-size: 14px;
    letter-spacing: 0;
    line-height: 24px;
    white-space: nowrap;
}

/* The gradient border for the Log In button */
.navigation .div::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 50px;
    background: linear-gradient( 90deg, rgba(0, 229, 229, 1) 0%, rgba(233, 97, 255, 1) 100% );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    pointer-events: none;
}

.navigation .TOFU {
    display: block;
    margin: 0 auto;
}

.home .TOFU {
    width: 150px;
    height: 50px; 
    display: block;
    margin: 0 auto;
}

.home .menu {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  position: relative;
  flex: 0 0 auto;
}

.home .frame {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
}

.home .button {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 50px;
  overflow: hidden;
}

.home .text-wrapper {
  position: relative;
  width: fit-content;
  font-family: "Outfit-Regular", Helvetica;
  font-weight: 400;
  color: var(--collection-1-color-mono-0);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
}

.home .img {
  position: relative;
  width: 18px;
  height: 18px;
  aspect-ratio: 1;
}

.home .icon {
    color: #ffffff;
    font-size: 18px; 
}

.home .frame-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  z-index: 5;
}

.home .frame-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  flex: 0 0 auto;
}

.home .frame-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home .button-2 {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  flex: 0 0 auto;
}

.home .text-wrapper-2 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Outfit-Light", Helvetica;
  font-weight: 300;
  color: var(--collection-1-color-mono-0);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
}

.home .create-stunning {
  position: relative;
  align-self: stretch;
  font-family: "Outfit-Regular", Helvetica;
  font-weight: 400;
  color: var(--collection-1-color-grey-200);
  font-size: 64px;
  text-align: center;
  letter-spacing: 0;
  line-height: 70.4px;
}

.home .transform-your-ideas {
  width: 600px;
  font-family: "Outfit-Light", Helvetica;
  font-weight: 300;
  color: var(--collection-1-color-grey-100);
  font-size: 18px;
  text-align: center;
  line-height: 25.2px;
  position: relative;
  letter-spacing: 0;
}

.home .button-3 {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  border: none;
}

.home .button-3::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 50px;
  background: linear-gradient(
    90deg,
    rgba(0, 229, 229, 1) 0%,
    rgba(233, 97, 255, 1) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  pointer-events: none;
}

    .home .button-3:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 229, 229, 0.4);
        color: white;
    }

.home .get-free-credits {
  position: relative;
  align-self: stretch;
  font-family: "Outfit-Light", Helvetica;
  font-weight: 300;
  color: var(--collection-1-color-grey-100);
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  line-height: 20px;
}

.home .frame-5 {
  position: relative;
  width: 1201px;
  height: 623px;
  margin-bottom: -5.82px;
  margin-left: -41.00px;
  margin-right: -40.00px;
}

.home .frame-6 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 120px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  z-index: 4;
  background: linear-gradient(
      182deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 100%
    ), linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(
      50% 50% at 108% 69%,
      rgba(255, 75, 50, 0.4) 0%,
      rgba(239, 157, 0, 0.32) 36%,
      rgba(0, 0, 0, 0) 100%
    ),
    radial-gradient(
      50% 50% at 98% 49%,
      rgba(255, 238, 50, 1) 0%,
      rgba(101, 197, 17, 0.4) 23%,
      rgba(0, 0, 0, 0) 100%
    );
  background-color: var(--collection-1-color-gradient-yellow);
}

.home .frame-7 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 64px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home .frame-8 {
  align-items: flex-end;
  justify-content: space-between;
  display: flex;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home .frame-9 {
  display: flex;
  flex-direction: column;
  width: 548px;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}

.home .p {
  align-self: stretch;
  font-family: "Outfit-Regular", Helvetica;
  font-weight: 400;
  color: var(--collection-1-color-grey-200);
  font-size: 48px;
  line-height: 57.6px;
  position: relative;
  letter-spacing: 0;
}

.home .frame-10 {
  display: flex;
  gap: 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home .frame-11 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1; /* equal width */

    padding: 32px;
    background-color: #f4f4f41a;
    border-radius: 20px;
    backdrop-filter: blur(9px) brightness(100%) saturate(100%);
    -webkit-backdrop-filter: blur(9px) brightness(100%) saturate(100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 1px 0 0 rgba(255, 255, 255, 0.32), inset 0 -1px 6px rgba(0, 0, 0, 0.13), inset -1px 0 6px rgba(0, 0, 0, 0.11);
}

.home .text-wrapper-3 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Outfit-Regular", Helvetica;
  font-weight: 400;
  color: var(--collection-1-color-grey-100);
  font-size: 20px;
  letter-spacing: 0;
  line-height: 28px;
}

.home .a-relaxing-sloth {
  position: relative;
  align-self: stretch;
  font-family: "Outfit-Light", Helvetica;
  font-weight: 300;
  color: var(--collection-1-color-grey-300);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 24px;
}

.home .text-wrapper-4 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Outfit-Light", Helvetica;
  font-weight: 300;
  color: var(--collection-1-color-grey-200);
  font-size: 32px;
  letter-spacing: 0;
  line-height: 38.4px;
}

.home .frame-12 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 64px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home .frame-13 {
  gap: 24px;
  padding: 16px 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.home .button-4 {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  position: relative;
  background-color: var(--collection-1-color-grey-800);
  border-radius: 50px;
  overflow: hidden;
}

.home .button-5 {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  position: relative;
  border-radius: 50px;
  overflow: hidden;
}

.home .rectangle {
  position: relative;
  width: 834px;
  height: 469.12px;
  background-color: var(--collection-1-color-grey-800);
  border-radius: 24px;
  aspect-ratio: 1.78;
}

.home .frame-14 {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  z-index: 3;
  border-radius: 40px;
  background: radial-gradient(
      50% 50% at 98% 35%,
      rgba(0, 229, 229, 0.4) 0%,
      rgba(24, 24, 24, 0) 100%
    ),
    radial-gradient(
      50% 50% at 89% 50%,
      rgba(233, 97, 255, 0.6) 0%,
      rgba(24, 24, 24, 0.6) 80%,
      rgba(0, 0, 0, 0.6) 100%
    ), linear-gradient(3deg, rgba(82, 82, 91, 1) 0%, rgba(0, 0, 0, 1) 100%);
  display: flex;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--collection-1-color-gradient-magenta);
}

.home .frame-15 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home .text-wrapper-5 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Outfit-Regular", Helvetica;
  font-weight: 400;
  color: var(--collection-1-color-grey-200);
  font-size: 32px;
  text-align: center;
  letter-spacing: 0;
  line-height: 38.4px;
}

.home .transform-your-ideas-2 {
  position: relative;
  align-self: stretch;
  font-family: "Outfit-Light", Helvetica;
  font-weight: 300;
  color: var(--collection-1-color-grey-100);
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: 24px;
}

.home .rectangle-2 {
  width: 774px;
  position: relative;
  height: 400px;
  background-color: var(--collection-1-color-grey-800);
  border-radius: 24px;
}

.home .frame-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  z-index: 2;
}

.home .frame-16 {
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 24px 24px 24px 40px;
  border-radius: 32px;
  border: none;
  backdrop-filter: brightness(100.0%) saturate(100.0%);
  -webkit-backdrop-filter: brightness(100.0%) saturate(100.0%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 1px 0 0 rgba(
      255,
      255,
      255,
      0.32
    ), inset 0 -1px 1px rgba(0, 0, 0, 0.2), inset -1px 0 1px rgba(0, 0, 0, 0.16);
  background: linear-gradient(
    275deg,
    rgba(24, 24, 24, 0.16) 0%,
    rgba(24, 24, 24, 0.8) 57%
  );
  display: flex;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--collection-1-color-gradient-blue);
  border-color: var(--collection-1-color-grey-400);
}

.home .frame-16::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 0.6px;
  border-radius: 32px;
  background: linear-gradient(
    256deg,
    rgba(161, 161, 161, 1) 0%,
    rgba(250, 250, 250, 1) 34%,
    rgba(82, 82, 91, 1) 68%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  pointer-events: none;
}

.home .frame-17 {
  gap: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.home .text-wrapper-6 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Outfit-Regular", Helvetica;
  font-weight: 400;
  color: var(--collection-1-color-grey-200);
  font-size: 32px;
  letter-spacing: 0;
  line-height: 38.4px;
}

.home .transform-your-ideas-3 {
  align-self: stretch;
  font-family: "Outfit-Light", Helvetica;
  font-weight: 300;
  color: var(--collection-1-color-grey-100);
  font-size: 16px;
  line-height: 24px;
  position: relative;
  letter-spacing: 0;
}

.home .rectangle-3 {
  flex: 1;
  flex-grow: 1;
  position: relative;
  height: 400px;
  background-color: var(--collection-1-color-grey-800);
  border-radius: 24px;
}

.home .frame-18 {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 80px 80px 40px;
  z-index: 1;
  border-radius: 40px 40px 0px 0px;
  background: radial-gradient(
      50% 50% at 128% 9%,
      rgba(233, 97, 255, 0.4) 6%,
      rgba(0, 124, 239, 0.24) 54%,
      rgba(24, 24, 24, 0.12) 100%
    ),
    radial-gradient(
      50% 50% at 77% 46%,
      rgba(84, 255, 101, 0.8) 0%,
      rgba(0, 124, 239, 0.32) 30%,
      rgba(24, 24, 24, 0) 100%
    );
  display: flex;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home .frame-19 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.home .HAHA-2 {
    width: 150px;
    height: 50px;
    display: block;
    margin: 0 auto;
}

.home .sparkles {
  position: relative;
  width: 18px;
  height: 18px;
}

.home .get-free-credits-2 {
  position: relative;
  align-self: stretch;
  font-family: "Outfit-Light", Helvetica;
  font-weight: 300;
  color: var(--collection-1-color-grey-600);
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  line-height: 20px;
}

.home .frame-20 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Changed from 1280px to 100% for responsiveness */
  height: 800px;
  z-index: 0;
  background-image: url("https://c.animaapp.com/ZaptEK3x/img/frame-16.svg");
  background-size: cover;
}

/* Fix the background image positioning */
.frame-20 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none; /* Allows clicking through the image to buttons */
}

/* Default state */
.button-link i,
.button-3 i {
    color: white; /* icon color */
    transition: color 0.3s ease;
}

/* Hover state (when pointing) */
.button-link:hover i,
.button-3:hover i {
    color: #00e5e5; /* change to your theme color */
}

/* The Footer Style */
.footer-container {
    width: 100%;
    padding: 40px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
    flex-shrink: 0; /* Prevents footer from squishing */
    /* Optional: Add a subtle top border or gradient to match your theme */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--collection-1-color-mono-1000);
    margin-top: auto;
}

/* Style for the text inside the footer */
.get-free-credits-2 {
    font-family: "Outfit-Light", Helvetica;
    font-weight: 300;
    color: var(--collection-1-color-grey-600);
    font-size: 14px;
    text-align: center;
    letter-spacing: 0;
    line-height: 20px;
    margin: 0;
}

/* ==========================================================================
   MOBILE OVERFLOW FIXES
   ========================================================================== */

/* Fix for fixed widths in original style.css that break mobile */
@media (max-width: 1024px) {
    .home .frame-3,
    .home .frame-5,
    .home .rectangle,
    .home .rectangle-2,
    .home .rectangle-3,
    .home .frame-10,
    .home .frame-11 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
    }

    /* Reset the hero image positioning from your style.css */
    .home .frame-5 {
        margin: 0 !important;
        height: auto !important;
    }
}

/* Ensure frame-10 items don't force a minimum width */
.frame-11 {
    box-sizing: border-box;
    flex: unset !important; /* Disables the flex:1 that might be stretching them */
}