html {
    -webkit-text-size-adjust: 100%; /* Prevents automatic font scaling */
    text-size-adjust: 100%;
}

a {
	color: white;
	text-decoration: none;
}

p {
    margin-top: 0;
    margin-bottom: 15px;
}

.logo {
    max-width: 24px;
}

.fade {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


body {
    background: black;
    color: white;
    font-family: system-ui;
    font-size: 17px;
    margin: 0;
    padding: 0;
}

.webgl-container {
	margin-bottom: 30px;
}

/* MAIN ANIMATION COMPONENTS START */
/* Standard keyframes with blur */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* WebKit keyframes for Safari */
@-webkit-keyframes fadeUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    filter: blur(0);
  }
}

/* Ensure all fade-up elements start invisible, shifted, and pixelated */
.fade-up,
.fade-up2,
.fade-up3,
.fade-up4,
.fade-up5,
.fade-up6,
.fade-up7,
.fade-up8,
.fade-up9,
.fade-up10 {
  opacity: 0;
  transform: translateY(30px);
  -webkit-transform: translateY(30px);
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
  image-rendering: pixelated; /* Applies pixelation styling */
}

/* Staggered fade-up animations */
.fade-up {
  animation: fadeUp 0.5s ease-out forwards;
  -webkit-animation: fadeUp 0.5s ease-out forwards;
}

.fade-up2 {
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.15s;
  -webkit-animation: fadeUp 0.5s ease-out forwards;
  -webkit-animation-delay: 0.15s;
}

.fade-up3 {
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.3s;
  -webkit-animation: fadeUp 0.5s ease-out forwards;
  -webkit-animation-delay: 0.3s;
}

.fade-up4 {
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.45s;
  -webkit-animation: fadeUp 0.5s ease-out forwards;
  -webkit-animation-delay: 0.45s;
}

.fade-up5 {
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.6s;
  -webkit-animation: fadeUp 0.5s ease-out forwards;
  -webkit-animation-delay: 0.6s;
}

.fade-up6 {
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.75s;
  -webkit-animation: fadeUp 0.5s ease-out forwards;
  -webkit-animation-delay: 0.75s;
}

.fade-up7 {
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 0.9s;
  -webkit-animation: fadeUp 0.5s ease-out forwards;
  -webkit-animation-delay: 0.9s;
}

.fade-up8 {
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 1.05s;
  -webkit-animation: fadeUp 0.5s ease-out forwards;
  -webkit-animation-delay: 1.05s;
}

.fade-up9 {
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 1.2s;
  -webkit-animation: fadeUp 0.5s ease-out forwards;
  -webkit-animation-delay: 1.2s;
}

.fade-up10 {
  animation: fadeUp 0.5s ease-out forwards;
  animation-delay: 1.35s;
  -webkit-animation: fadeUp 0.5s ease-out forwards;
  -webkit-animation-delay: 1.35s;
}
/* MAIN ANIMATION COMPONENTS END */



.container {
    padding-top: 60px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.response {
    margin-bottom: 20px;
}

.label {
    display: block;
    margin-bottom: 10px;
}

.input {
    box-sizing: border-box;
    border: none;
    font-size: 17px; /* prevent ios zoom in */
    background: #1A1A1A;
    padding: 15px;
    color: white;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 4px;
}

/*components*/
.home-title {
	font-size: 21px;
	font-weight: bolder;
	max-width: 200px;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 30px;
	text-transform: uppercase;
	letter-spacing: -2px;
	word-spacing: 3px;
}
.page-title {
	font-size: 21px;
	font-weight: bolder;
	max-width: 150px;
	margin-bottom: 30px;
	text-transform: uppercase;
	line-height: 25px;
	letter-spacing: -2px;
	word-spacing: 3px;
}
.mb-30 {
	margin-bottom: 30px;
}
.disclaimer {
	font-style: italic;
	font-size: 12px;
}
.tc {
	text-align: center;
}
.qrcode {
	max-width: 200px;
	margin-bottom: 15px;
}
.button {
	box-sizing: border-box;
	width: 100%;
	color: white;;
	font-size: 17px;
	background: #1C1B19;
	border: none;
	border-radius: 4px;
	font-weight: bold;
	padding: 15px;
	margin-bottom: 15px;
}

/* Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: black;
    box-sizing: border-box; /* Prevents layout issues */
    white-space: nowrap; /* Prevent text wrapping */
}

/* Left section */
.nav-left {
    font-weight: bold;
    flex: 0 0 auto; /* Prevent shrinking */
}

/* Right section */
.nav-right {
    display: flex;
    flex-wrap: nowrap; /* Ensure items stay in a row */
    justify-content: flex-end;
    gap: 30px;
    flex: 1; /* Takes remaining space */
    min-width: 0; /* Ensures content fits in smaller screens */
}

/* Individual navbar items */
.nav-item {
    flex: 0 0 auto; /* Prevent shrinking */
}

/* Ensure content starts below navbar */
.content {
    /* padding-top: 200px; Adjust to match navbar height */
	padding-top: 100px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 100px;
	max-width: 700px;
	margin: 0 auto;
}

@media (max-width: 700px) {
    .content {
        padding-top: 80px;
    }
}

.title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 10px;
	margin-left: 10px;
}

.description {
	font-size: 17px;
	margin-bottom: 30px;
	margin-left: 10px;
}

.textarea {
	background: #1A1A1A;
	color: white;
	font-size: 17px;
    font-family: system-ui;
	box-sizing: border-box;
	width: 100%;
	border: none;
	border-radius: 18px;
	padding: 15px;
	outline: none;
    resize: none;
}

.hidden {
	display: none!important;
    pointer-events: none; /* Prevent interactions while hidden */
}
.visible {
    display: block;
}


/* LOADING SPINNER ANIMATION START */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    width: 100%;
}

.loading {
    position: relative;
    width: 14px;  /* Exact iPad boot size */
    height: 14px;
}

/* Adjust rotation, spacing, and faster speed (0.75s instead of 1s) */
.loading-line {
    position: absolute;
    width: 1.8px;  /* Thin line */
    height: 6px;   /* Shorter length */
    background: white;
    border-radius: 1px;
    top: 50%;
    left: 50%;
    transform-origin: center 6px;
    opacity: 0.15; /* Ensures lines are not fully visible at all times */
}

/* Faster fading effect (0.75s instead of 1s) */
.loading-line:nth-child(1) { transform: rotate(0deg) translateY(-8px); animation: fade 0.75s linear infinite 0s; }
.loading-line:nth-child(2) { transform: rotate(30deg) translateY(-8px); animation: fade 0.75s linear infinite 0.062s; }
.loading-line:nth-child(3) { transform: rotate(60deg) translateY(-8px); animation: fade 0.75s linear infinite 0.125s; }
.loading-line:nth-child(4) { transform: rotate(90deg) translateY(-8px); animation: fade 0.75s linear infinite 0.187s; }
.loading-line:nth-child(5) { transform: rotate(120deg) translateY(-8px); animation: fade 0.75s linear infinite 0.25s; }
.loading-line:nth-child(6) { transform: rotate(150deg) translateY(-8px); animation: fade 0.75s linear infinite 0.312s; }
.loading-line:nth-child(7) { transform: rotate(180deg) translateY(-8px); animation: fade 0.75s linear infinite 0.375s; }
.loading-line:nth-child(8) { transform: rotate(210deg) translateY(-8px); animation: fade 0.75s linear infinite 0.437s; }
.loading-line:nth-child(9) { transform: rotate(240deg) translateY(-8px); animation: fade 0.75s linear infinite 0.5s; }
.loading-line:nth-child(10) { transform: rotate(270deg) translateY(-8px); animation: fade 0.75s linear infinite 0.562s; }
.loading-line:nth-child(11) { transform: rotate(300deg) translateY(-8px); animation: fade 0.75s linear infinite 0.625s; }
.loading-line:nth-child(12) { transform: rotate(330deg) translateY(-8px); animation: fade 0.75s linear infinite 0.687s; }

/* Faster fade effect */
@keyframes fade {
    0% { opacity: 1; }
    50% { opacity: 0.5; }  /* Keeps the transition smooth */
    100% { opacity: 0.15; }
}
/* LOADING SPINNER ANIMATION END */


/* Fade-in Animation */
.fade-in {
    opacity: 0;
    animation: fade 0.5s forwards;
}

@keyframes fade {
    to {
        opacity: 1;
    }
}

/* Pricing Plans Layout */
.pricing-plans {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Pricing Box */
.pricing-box {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 4px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    flex: 1;
    max-width: 320px;
    
    /* Subtle White Glow */
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.pricing-box:hover {
    transform: scale(1.05);
    /* Slightly enhance glow on hover */
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* Plan Title */
.plan-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Plan Subtitle */
.plan-subtitle {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 10px;
}

/* Price */
.price {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

/* Features List */
.features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    color: white; /* Ensure feature text is white */
}

.features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 16px;
    color: white; /* Ensure text remains white */
    position: relative;
}

/* Force White Checkmark */
.features li::before {
    content: "✔";
    color: white !important; /* Absolutely force it */
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    min-width: 20px; /* Ensure spacing */
    text-align: center;
    filter: brightness(200%); /* Ensure brightness against black */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pricing-plans {
        flex-direction: column;
        align-items: center;
    }

    .pricing-box {
        width: 100%;
        max-width: 400px;
    }
}
