/* ==============================
   Font Faces
   ============================== */
@font-face {
  font-family: 'Host Grotesk';
  src: url('../fonts/HostGrotesk-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Host Grotesk';
  src: url('../fonts/HostGrotesk-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Host Grotesk';
  src: url('../fonts/HostGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Host Grotesk';
  src: url('../fonts/HostGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==============================
   Variables
   ============================== */
:root {
  /* Colors */
  --color-primary: #6666ff;       /* Medium State Blue */
  --color-primary-hover: #b8baff; /* Periwinkle hover state */
  --color-accent: #b9f0d7;        /* Celadon (used sparingly for highlights) */
  --color-bg: #0c0c16;            /* Rich Black background */
  --color-surface: #ffffff;       /* White surfaces */
  --color-surface-alt: #c9e8ff;   /* Columbia Blue supporting elements */
  --color-muted: #f5f5f5;         /* Light Gray */
  --color-text: #f5f5f5;          /* Light Gray as text on dark background */
  --color-border: rgba(255,255,255,0.1);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6666ff, #b8baff);
  --gradient-accent: linear-gradient(135deg, #b9f0d7, #c9e8ff);

  /* Typography */
  --font-family-base: 'Host Grotesk', sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --spacing-menu: 1.5rem;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.25);

  /* Border Radius */
  --radius-12: 12px;
  --radius-24: 24px;

  /* Transitions */
  --transition-1: 0.25s ease-in-out;
  --transition-2: 0.5s ease-in-out;
  --transition-3: 1s ease-in-out;
}

/* ==============================
   Global Styles
   ============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
}

li { list-style: none; }
a { text-decoration: none; color: inherit; }
a, img, svg, span, button, ion-icon, .fontawesome { display: block; }
img { height: auto; max-width: 100%; }
button { background: none; border: none; font: inherit; cursor: pointer; }
ion-icon, .fontawesome { pointer-events: none; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }

html { font-size: 10px; scroll-behavior: smooth; }
body {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* ==============================
   Scrollbar
   ============================== */
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-thumb {
  background-color: var(--color-muted);
  border-radius: 2px;
}
::-webkit-scrollbar-track {
  background-color: var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-muted);
}

/* ==============================
   Focus
   ============================== */
:focus-visible { outline: 2px dashed var(--color-accent); outline-offset: 2px; }


/* ==============================
   Navbar Styles
   ============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent; 
  padding: 1.5rem 0;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease; /* Added box-shadow */
}
.header.scrolled {
  background-color: rgba(12, 12, 22, 0.6); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); 
  /* Add border for definition */
  border-bottom: 1px solid var(--color-border); 
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
  position: relative; 
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-surface);
  transition: var(--transition-1);
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-family: 'Host Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.navbar-list {
  display: flex;
  gap: 3rem;
}

.navbar-link {
  font-weight: 500;
  color: var(--color-muted);
  transition: var(--transition-1);
  position: relative;
  padding-bottom: 0.25rem;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--color-surface-alt);
}

.navbar-link.active::after {
  background-color: var(--color-surface-alt); 
}

.sign-up {
  padding: 0.75rem 1.5rem;
  border-radius: 15px;
  background-color: var(--color-surface);
  color: var(--color-bg);
  font-weight: 500;
  transition: var(--transition-1);
  box-shadow: var(--shadow-sm);
}

.sign-up:hover {
  background-color: var(--color-primary-hover);
}

/* --- Hamburger Menu Icon --- */
.nav-toggle-btn {
  display: none;
  position: relative;
  z-index: 1002;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
  color: var(--color-surface);
}

/* Style the hamburger lines */
.nav-toggle-btn .line {
  width: 24px;
  height: 2px;
  background-color: var(--color-surface);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle-btn .line-2 {
  margin: 6px 0; /* Space between lines */
}

/* Hamburger Icon Animation */
.nav-toggle-btn.active .line-1 {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle-btn.active .line-2 {
  opacity: 0;
}
.nav-toggle-btn.active .line-3 {
  transform: translateY(-8px) rotate(-45deg);
}
/* --- End Hamburger Menu Icon --- */


/* --- Mobile Navbar Styles (Active State) --- */
/* Applied when menu is open */
.navbar-mobile-active {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1001;
  /* Glassmorphism background */
  background: rgba(12, 12, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  padding: calc(1.5rem * 2 + 40px) 2rem 2rem 2rem;
  align-items: flex-start;
  justify-content: flex-end;
  animation: fadeIn 0.3s ease-out forwards;
  pointer-events: auto; /* Allow interactions within the overlay */
}

/* Style the list inside the active mobile navbar */
.navbar-mobile-active .navbar-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: 300px;
  gap: 2.5rem;
}

/* Style the list items */
.navbar-mobile-active .navbar-item {
  width: 100%;
  text-align: right; /* Ensure text is right-aligned within item */
}

/* Style the links themselves */
.navbar-mobile-active .navbar-link {
  font-size: 2.2rem; /* Larger font size for mobile */
  font-weight: 500;
  color: var(--color-muted);
  padding: 1rem 0; /* Add padding for touch targets */
  position: relative;
  display: inline-block; /* Allow pseudo-element positioning */
  width: fit-content; /* Only take up necessary width */
  transition: color var(--transition-1);
}
.navbar-mobile-active .navbar-link:hover {
  color: var(--color-surface-alt);
}

.navbar-mobile-active .navbar-link.active {
  color: var(--color-surface-alt);
}

.navbar-mobile-active .navbar-link.active::after {
  background-color: var(--color-surface-alt);
}





@media (max-width: 992px) {
  .navbar {
    /* Initially hide the navbar links on mobile */
    display: none;
  }

  .nav-toggle-btn {
    /* Show the hamburger button on mobile */
    display: flex;
  }

  .logo {
    flex: 1;
  }

  .sign-up {
    margin-left: auto;
  }
}

/* --- Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.line {
  width: 24px;
  height: 2px;
  background-color: var(--color-surface);
  transition: var(--transition-1);
}

.line-2 {
  margin: 6px 0;
}

@media (max-width: 992px) {
  .navbar {
    display: none;
  }
  
  .nav-toggle-btn {
    display: flex;
  }
  
  .logo {
    flex: 1;
  }
  
  .sign-up {
    margin-left: auto;
  }
}

/* ==============================
   Hero Section Styles
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: var(--section-padding) 0;
  overflow: hidden;
  background-color: var(--color-bg);
  background-image: url('../../assets/images/bgimage.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.hero-tech-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 15px;
  background-color: transparent;
  color: var(--color-surface);
  font-weight: 500;
  border: 1px solid var(--color-surface);
  transition: var(--transition-1);
  box-shadow: var(--shadow-xs);
  width: fit-content;
  display: inline-block;
}

.hero-tech-btn:hover {
  background-color: var(--color-surface);
  color: var(--color-bg);
}

.hero-title {
  font-size: 7.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-surface);
  margin: 0;
  max-width: 800px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--color-muted);
  max-width: 800px;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

/* Hero Image */
.hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 3rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: var(--transition-2);
}



.hero-features {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 5rem;
  flex-wrap: wrap;
  max-width: 1200px;
}

.feature-item {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 0 1rem;
}

.feature-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-surface);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.feature-description {
  font-size: 1.6rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==============================
   Detail Section Styles (Refined)
   ============================== */
.detail {
  background-color: var(--color-bg);
  padding: var(--section-padding) 0;
  
}

.detail-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 5rem;
  flex-wrap: wrap;
}

.detail-text {
  flex: 1;
  min-width: 300px;
}

.section-title {
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.8rem;
  color: var(--color-text);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 500px;
}

.detail-buttons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Reuse .btn and .btn-primary */
.btn-primary {
  padding: 0.9rem 2rem;
  background-color: var(--color-surface-alt);
  color: var(--color-text);
  border-radius: var(--radius-12);
  font-weight: 500;
  transition: var(--transition-1);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

/* New: Secondary button variant */
.btn-secondary {
  padding: 1rem 2rem;
  border: 2px solid var(--color-surface-alt);
  background-color: transparent;
  color: var(--color-text);
  border-radius: var(--radius-12);
  font-weight: 500;
  transition: var(--transition-1);
}

.btn-secondary:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.detail-visual {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.detail-visual img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Glass-style button shared styling */
.btn-glass {
  position: relative;
  padding: 1rem 2rem;
  border-radius: var(--radius-12);
  font-weight: 500;
  color: var(--color-text);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease-in-out;
  overflow: hidden;
  z-index: 1;
}

.btn-glass::before {
  display: none; /* Disable inner glow effect */
}

.btn-glass:hover,
.btn-glass:focus {
  border: 1px solid var(--color-surface);    
  color: var(--color-text);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.header.scrolled {
  background-color: rgba(12, 12, 22, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 5rem;
  width: 100%;
  max-width: 1200px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-12);
  padding: 3rem 2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--color-text);
  transition: all 0.35s ease-in-out;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.service-card:hover {
  background-color: rgba(185, 240, 215, 0.08); /* celadon glow */
  border: 1px solid var(--color-surface-alt);
  /* box-shadow: 0 0 20px rgba(185, 240, 215, 0.3); */
}

.service-card-icon i {
  font-size: 3.2rem;
  color: var(--color-surface-alt);
  margin-bottom: 1.5rem;
}

.service-card-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-surface);
}

.service-card-desc {
  font-size: 1.6rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ==============================
   Flagship Section Styles
   ============================== */
.flagship {
  padding: var(--section-padding) 0;
  background-color: var(--color-bg);
}

/* ==============================
   Flagship Section Styles
   ============================== */
.flagship {
  padding: var(--section-padding) 0;
  background-color: var(--color-bg);
}

.flagship-wrapper {
    display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6rem;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
  flex-direction: row; /* Default image right */
}

.flagship-text {
  flex: 1;
  min-width: 300px;
  order: 1; /* text left */
}

.flagship-badge {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--color-surface-alt);
}

.flagship-bullets {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: var(--color-text);
}

.flagship-bullets p {
  font-size: 1.6rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flagship-bullets i {
  font-size: 2rem;
  color: var(--color-surface-alt);
}

.flagship-visual {
   flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  order: 2; /* image right */
}

.flagship-visual img {
  max-width: 70%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-12);
}

/* Specific Badge States */
.badge-focus {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background-color: rgba(185, 240, 215, 0.1);
}

.badge-soon {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background-color: rgba(102, 102, 255, 0.1);
}

.badge-launched {
  color: var(--color-text);
  border-color: var(--color-text);
  background-color: rgba(255, 255, 255, 0.08);
}
/* ==============================
   Contact Section Styles
   ============================== */
.contact {
  padding: var(--section-padding) 0;
  background-color: var(--color-bg);
}

.contact-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-text {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-text .section-title {
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact-text .section-description {
  font-size: 1.8rem;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-12);
  padding: 3rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.8rem;
  display: block;
  text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-12);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text);
  font-size: 1.6rem;
  font-family: var(--font-family-base);
  transition: var(--transition-1);
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: rgba(102, 102, 255, 0.1);
}

.form-group select:focus {
  background-color: rgba(102, 102, 255, 0.1); /* Fix: maintain glass effect on focus */
  border-color: var(--color-primary);
  color: var(--color-text);
  outline: none;
}

.form-group select option {
  background-color: var(--color-bg);
  color: var(--color-text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-muted);
  opacity: 0.7;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  padding-right: 3rem;
  box-sizing: border-box;
}

.form-group select:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236666ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.form-group input[type="file"] {
  padding: 1rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-12);
  color: var(--color-text);
  font-family: var(--font-family-base);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.form-group input[type="file"]:hover {
  border-color: var(--color-primary);
  background-color: rgba(102, 102, 255, 0.1);
}

.form-group input[type="file"]::-webkit-file-upload-button {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-text);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-right: 1rem;
  cursor: pointer;
  font-family: var(--font-family-base);
  font-size: 1.4rem;
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 1rem;
  grid-column: span 2;
  text-align: left;
}

.form-group.checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-group.checkbox label {
  margin: 0;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--color-muted);
  text-align: left;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 1.2rem 2rem;
  background-color: var(--color-primary);
  color: var(--color-surface);
  border-radius: var(--radius-12);
  font-weight: 500;
  font-size: 1.6rem;
  transition: var(--transition-1);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  display: block;
  box-sizing: border-box;
}

.contact-form .btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

.hero .contact-form {
  margin-top: 2rem;
  width: 100%;
  max-width: 900px;
}
.auth-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

.auth-message.error {
    background-color: #f8d7da; /* Light red */
    color: #721c24; /* Dark red */
    border: 1px solid #f5c6cb;
}

/* Add similar for success if needed */
.auth-message.success {
    background-color: #d4edda; /* Light green */
    color: #155724; /* Dark green */
    border: 1px solid #c3e6cb;
}
/* ==============================
   Auth Page Styles – Login
   ============================== */

.auth-body {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.auth-container {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-12);
  padding: 3.5rem 3rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.6s ease-out;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-surface);
  text-decoration: none;
}

.auth-logo img {
  width: 40px;
  height: 40px;
}

.auth-title {
  font-size: 2.4rem;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.auth-input-group {
  margin-bottom: 2rem;
  text-align: left;
}

.auth-input-group label {
  display: block;
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.auth-input-wrapper {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-12);
  padding: 1.2rem 1.5rem;
  color: var(--color-text);
  transition: var(--transition-1);
}

.auth-input-wrapper:focus-within {
  border-color: var(--color-surface-alt);
  background-color: rgba(201, 232, 255, 0.1) ;
  box-shadow: 0 0 0 2px rgba(201, 232, 255, 0.3) ;
}

.auth-input-wrapper i {
  margin-right: 1rem;
  font-size: 1.6rem;
  color: var(--color-muted);
}

.auth-input-wrapper input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  color: var(--color-text);
  font-size: 1.6rem;
  font-family: var(--font-family-base);
}

.auth-input-wrapper input::placeholder {
  color: var(--color-muted);
  opacity: 0.7;
}

/* ============== Button with Glass Effect ============== */
.auth-btn {
  width: 100%;
  padding: 1.2rem;
  margin-top: 1rem;
  border-radius: var(--radius-12);
  font-size: 1.6rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-text);
  transition: var(--transition-1);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.auth-btn:hover {
  background-color: rgba(201, 232, 255, 0.1);
  border-color: var(--color-surface-alt);
}

.auth-links {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: var(--color-muted);
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.auth-links a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition-1);
}

.auth-links a:hover {
  color: var(--color-surface-alt);
}

/* ==============================
   Animations
   ============================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================
   Responsive (Mobile)
   ============================== */
@media (max-width: 480px) {
  .auth-container {
    padding: 2.5rem 2rem;
  }

  .auth-title {
    font-size: 2rem;
  }

  .auth-logo {
    font-size: 2rem;
  }
}
/* === Form Error Messages === */
.error-message {
  background: rgba(220, 53, 69, 0.1); /* subtle red background */
  color: #dc3545; /* Bootstrap's accessible red */
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: var(--radius-12);
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
  animation: fadeIn 0.3s ease-in-out;
}

/* Optional success messages (reuse same container) */
.success-message {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: var(--radius-12);
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
  animation: fadeIn 0.3s ease-in-out;
}

/* Smooth fade-in effect */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================
   LOADER (Spinner + Dim Background)
   ======================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 22, 0.7); /* dimmed background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader.hidden {
    display: none;
}

/* Spinner element */
.loader-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top: 6px solid var(--color-surface-alt); /* highlight color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.modal-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06); /* glass effect */
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--color-text);
  padding: 1.2rem 2rem;
  border-radius: var(--radius-12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  z-index: 1100;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease-in-out;
}

.modal-message.show {
  opacity: 1;
  transform: translateY(0);
}

.modal-message.hidden {
  display: none;
}
.modal-message .modal-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.6rem;
}

/* ==============================
   Scroll-Based Appearance
   ============================== */
[data-appear] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

[data-appear].appear {
  opacity: 1;
  transform: translateY(0);
}


.message {
    margin: 10px 0;
    padding: 10px;
    display: none;
}

.message.error {
    display: block;
    color: #ff0000;
    background: #ffebee;
}

/* ==============================
   Footer Styles
   ============================== */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  backdrop-filter: blur(8px); /* optional: subtle glassmorphism */
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 1.4rem;
  color: var(--color-muted);
  font-weight: 400;
  text-align: center;
  margin: 0;
}