/* Root Variables */
:root {
  --primary: #2b8cff;
  --secondary: #d84aff;
  --surface-1: #0f0f11;
  --surface-2: #141417;
  --surface-3: #1b1b1f;
}

/* Base Typography */
body {
  font-family: 'Inter', -apple-system, system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02", "ss03", "ss04", "pnum", "dlig", "frac", "liga", "ordn", "salt";
}

h1, h2, h3, h4, span, li, option {
  font-family: 'Satoshi', sans-serif;
  letter-spacing: 1.5px !important;
  color: #a95bfe !important;
}

li, p {
  font-family: 'Satoshi', sans-serif;
  letter-spacing: 1.5px !important;  
  color: #a95bfe !important;
}

.other, .rounded-pill span{
  font-family: 'Satoshi', sans-serif;
  color: #fff !important;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Background Elements */
.page-top-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 1;
  background-repeat: no-repeat;
  z-index: -1;
  background-image: url('/static/images/page-top.jpg');
  background-position: 50%;
  background-size: 2430px 175px;
  height: 175px;
  transition: opacity 0.3s ease;
}

.page-bottom-bg {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  background-repeat: no-repeat;
  z-index: -1;
  background-image: url('/static/images/page-bottom.jpg');
  background-position: top;
  background-size: 2430px 392px;
  height: 300px;
  transition: opacity 0.3s ease;
}

/* Animated Logo Borders */
.home-header-logo {
  position: relative;
  width: 12rem;
  height: 12rem;
}

@media (min-width: 768px) {
  .home-header-logo {
    width: 16rem;
    height: 16rem;
  }
 
}

.home-header-logo-borders {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 10;
}

.home-header-logo-borders div {
  position: absolute;
  background-color: var(--primary);
}

.home-header-logo-borders div:first-child,
.home-header-logo-borders div:nth-child(3) {
  height: 3%;
  width: 100%;
}

.home-header-logo-borders div:nth-child(2),
.home-header-logo-borders div:nth-child(4) {
  width: 3%;
  height: 100%;
}

.home-header-logo-borders div:first-child {
  left: 0;
  top: 0;
  animation: animated-border-top 10s infinite;
  transform-origin: left;
  overflow: hidden;
}

.home-header-logo-borders div:first-child:after {
  animation: animated-border-top-gradient 10s infinite;
  content: "";
  background: linear-gradient(to right, var(--primary), var(--secondary));
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.home-header-logo-borders div:nth-child(2) {
  right: 0;
  top: 0;
  animation: animated-border-right 10s infinite;
  background-color: var(--secondary);
}

.home-header-logo-borders div:nth-child(3) {
  left: 0;
  bottom: 0;
  animation: animated-border-bottom 10s infinite;
  overflow: hidden;
}

.home-header-logo-borders div:nth-child(3):after {
  animation: animated-border-bottom-gradient 10s infinite;
  content: "";
  background: linear-gradient(to right, var(--primary), var(--secondary));
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.home-header-logo-borders div:nth-child(4) {
  left: 0;
  top: 0;
  animation: animated-border-left 10s infinite;
}

@keyframes animated-border-top {
  0% { transform: translateX(0); }
  50% { transform: translateX(100%); }
  50.0001% { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes animated-border-top-gradient {
  0% { transform: translateX(0); }
  50% { transform: translateX(-100%); }
  50.0001% { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes animated-border-right {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  to { transform-origin: bottom; transform: scaleY(0); }
}

@keyframes animated-border-bottom {
  0% { transform: translateX(0); }
  50% { transform: translateX(-100%); }
  50.0001% { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes animated-border-bottom-gradient {
  0% { transform: translateX(0); }
  50% { transform: translateX(100%); }
  50.0001% { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes animated-border-left {
  0% { transform: scaleY(0); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  50.01% { transform: scaleY(1); transform-origin: top; }
  to { transform-origin: top; transform: scaleY(0); }
}

/* Tight wrapper for text with animated border */
.home-header-logo-tight {
  position: relative;
  display: inline-flex;
  width: auto;
  height: auto;
  min-height: 5rem;
}

.home-header-logo-tight .d-flex {
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.home-header-logo-tight h1 {
  text-align: center;
  margin-bottom: 0;
  margin-right: 0.5rem;
}

.home-header-logo-borders-tight {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 10;
  pointer-events: none;
}

.home-header-logo-borders-tight div {
  position: absolute;
  background-color: var(--primary);
}

.home-header-logo-borders-tight div:first-child,
.home-header-logo-borders-tight div:nth-child(3) {
  height: 2px;
  width: 100%;
}

.home-header-logo-borders-tight div:nth-child(2),
.home-header-logo-borders-tight div:nth-child(4) {
  width: 2px;
  height: 100%;
}

.home-header-logo-borders-tight div:first-child {
  left: 0;
  top: 0;
  animation: animated-border-top 5s linear infinite;
  transform-origin: left;
  overflow: hidden;
}

.home-header-logo-borders-tight div:first-child:after {
  animation: animated-border-top-gradient 5s linear infinite;
  content: "";
  background: linear-gradient(to right, var(--primary), var(--secondary));
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.home-header-logo-borders-tight div:nth-child(2) {
  right: 0;
  top: 0;
  animation: animated-border-right 5s linear infinite;
  background-color: var(--secondary);
}

.home-header-logo-borders-tight div:nth-child(3) {
  left: 0;
  bottom: 0;
  animation: animated-border-bottom 5s linear infinite;
  overflow: hidden;
}

.home-header-logo-borders-tight div:nth-child(3):after {
  animation: animated-border-bottom-gradient 5s linear infinite;
  content: "";
  background: linear-gradient(to right, var(--primary), var(--secondary));
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.home-header-logo-borders-tight div:nth-child(4) {
  left: 0;
  top: 0;
  animation: animated-border-left 5s linear infinite;
}

/* Button Styles */
.btn-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: #000;
  border-radius: inherit;
  z-index: 1;
}

.btn-gradient span {
  position: relative;
  z-index: 2;
}

/* Pricing Button Group */
.btn-group .btn {
  border-color: #a95bfe;
  color: #a95bfe;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-group .btn:hover {
  background: rgba(169, 91, 254, 0.1);
  border-color: #a95bfe;
  color: #a95bfe;
}

.btn-group .btn.active {
  background: #a95bfe;
  border-color: #a95bfe;
  color: white;
}

.btn-group .btn:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-group .btn:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Credit Option Styles */
.credit-option.active {
  background-color: #a95bfe;
  border-color: #a95bfe;
  color: white;
}

.credit-option {
  transition: all 0.3s ease;
}

/* Pricing Card */
.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.credits-amount {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Feature Cards */
.feature-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  background-color: transparent;
  font-family: 'Satoshi', sans-serif;
  letter-spacing: 1.5px !important;
  color: #a95bfe !important;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 20px;
  font-size: 50px;
}

/* Section Titles */
.section-title {
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* FAQ Styles */
.faq-question, .ibm {
  font-family: 'Satoshi', sans-serif;
  letter-spacing: 1.5px;
  font-weight: 600;
  color:#fff !important;
}

/* List Styles */
ul {
  list-style-type: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

ul li:before {
  content: "•";
  color: var(--secondary);
  position: absolute;
  left: 0;
}

/* Color Utility Classes */
.wht { color: #fff !important; }
.prpl { color: #a95bfe; }
.blu { color: #6658eb; }
.lblu { color: #99bfff; }

/* Footer Styles */
footer {
  position: relative;
  z-index: 3;
  padding: 2rem 0;
}

.footer-container {
  background-color: rgba(34, 34, 34, 0.6);
  backdrop-filter: blur(8px) saturate(2);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 3px;
  background-color: transparent;
}

::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background-color: #a95bfe;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #8a3df5;
}

/* For Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #a95bfe transparent;
}


/* Satoshi Fonts */
@font-face {
  font-family: 'Satoshi';
  src: url('/static/fonts/Satoshi/Satoshi-Thin.woff2') format('woff2'),
       url('/static/fonts/Satoshi/Satoshi-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/static/fonts/Satoshi/Satoshi-Light.woff2') format('woff2'),
       url('/static/fonts/Satoshi/Satoshi-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/static/fonts/Satoshi/Satoshi-Regular.woff2') format('woff2'),
       url('/static/fonts/Satoshi/Satoshi-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/static/fonts/Satoshi/Satoshi-Medium.woff2') format('woff2'),
       url('/static/fonts/Satoshi/Satoshi-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/static/fonts/Satoshi/Satoshi-Bold.woff2') format('woff2'),
       url('/static/fonts/Satoshi/Satoshi-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/static/fonts/Satoshi/Satoshi-Black.woff2') format('woff2'),
       url('/static/fonts/Satoshi/Satoshi-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/static/fonts/Satoshi/Satoshi-RegularItalic.woff2') format('woff2'),
       url('/static/fonts/Satoshi/Satoshi-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Message Container */
.message-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  height: 200px;
}

/* Message Display */
.message-display {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 1rem;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1099;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.coming-soon-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  padding: 15px 30px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 8px;
  background-color: rgba(0,0,0,0.3);
}

.about-page{
  h5, h4, .section-title{
    color: #fff !important;
  }
}

.contact-page{
  .section-title{
    color: #fff !important;
  }
}

.terms-page{
  h1, h4, h2, .section-title{
    color: #fff !important;
  }
}

/* Growl notification responsive styles */
.growl-notification {
    max-width: 50vw;
    word-wrap: break-word;
    white-space: normal;
}

/* Mobile devices - portrait and landscape */
@media (max-width: 768px) {
    .growl-notification {
        max-width: 90vw !important;
    }
}

/* Very small devices */
@media (max-width: 480px) {
    .growl-notification {
        max-width: 90vw !important;
    }
}