/* ai_tts_app/static/styles.css */
:root {
    --primary-color: #00c4ff;       /* Sky Blue - main brand color */
    --primary-dark: #009acc;        /* Slightly darker shade of Sky Blue */
    --primary-light: #e0f7ff;       /* Lighter Sky Blue for backgrounds */

    --secondary-color: #00ffb3;     /* Neon Mint - for highlights, buttons, badges */
    --accent-color: #ff005e;        /* Pinkish Red - for accents, alerts, links */
    --hover-color: #ff005e;         /* Pinkish Red for hover states */

    --success-color: #4bb543;       /* Keep green for success messages */
    --error-color: #ff3333;         /* Keep red for errors */
    --warning-color: #ffcc00;       /* Keep yellow for warnings */

    --light-color: #f8f9fa;         /* Light background */
    --dark-color: #212529;          /* Main text color (black/navy) */
    --gray-color: #6c757d;          /* Neutral gray text */
    --dark-gray: #343a40;           /* Secondary text color */

    --border-radius: 12px;
    --border-radius-sm: 8px;
    --box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    --glass-effect: rgba(255,255,255,0.15);
    --glass-border: 1px solid rgba(255,255,255,0.18);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(45deg, #00c4ff 0%, #00ffb3 100%);
    --gradient-hover: linear-gradient(45deg, #ff005e 0%, #ff5e00 100%);
    --footer-gradient: linear-gradient(180deg, #212529 0%, #111827 100%);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0b0b;
    color: #ff005e;
    line-height: 1.2;
    overflow-x: hidden;
}



/* prevent page scroll when drawer is open */
body.no-scroll { overflow: hidden; }

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: white;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.loading-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
}

.loading-content p {
    opacity: 0.8;
    opacity: 0;
    transform: translateY(10px);
}

.loading-content h2.animate__fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.loading-content p.animate__fadeIn {
    animation: fadeIn 0.5s ease 0.3s forwards;
}

.progress-container {
    width: 100%;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    height: 6px;
}

.progress-fill {
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 1.5s ease;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Main App Container */
.app-container {
    display: none;
    min-height: 100vh;
    position: relative;
}

/* Gradient Background Elements */
.gradient-circle {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: -1;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -200px;
    left: -200px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: -100px;
    right: -100px;
}

/* Glass Effect */
.glass-effect {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.8);
    border: var(--glass-border);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

/* ✅ Header Container */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 1rem 0;
  background: var(--dark-color); /* deep dark background */
  color: var(--light-color);
  border-bottom: 1px solid #002244;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.logo-text,
.nav-link {
  color: #fff !important;
}


/* Flex layout for header */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 1rem;
  flex-wrap: wrap;
  gap: 0rem;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.logo-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  animation: pulse 2s ease-in-out infinite;
}
.logo-text {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.logo-img {
  height: 48px; /* try 48px, 56px, 64px etc. */
  width: auto;
  margin: 0 8px 0 12px; /* top right bottom left */
  vertical-align: middle;
}


/* Nav links */
.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-link {
  text-decoration: none;
  color: var(--gray-color);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
}

/* Nav links hover effect */
.nav-link:hover,
.nav-link.active {
    color: var(--hover-color) !important;
    background-color: rgba(255, 0, 94, 0.1);
}

/* Header container adjustments */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1000; /* Ensure button is above other header items */
}
.auth-buttons {
  display: flex;
  gap: 0.75rem;
}

/* ✅ Hamburger Menu Icon */
.hamburger-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
  padding: 10px;
  z-index: 1100;
}

/* ===================== Responsive (≤768px) ===================== */
@media (max-width: 768px) {
  /* Keep header in one row: logo | spacer | hamburger */
  .header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  /* Mobile drawer panel (hamburger) */
  .nav-container {
    display: none;
    position: absolute;
    top: 60px; /* match header height */
    left: 0;
    width: 100%;
    background-color: rgba(30, 30, 30, 0.95);
    padding: 10px 0;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
  }
  .nav-container.show { display: block; }

  /* Links inside drawer */
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .nav-link {
    width: 100%;
    padding: 12px 20px;
    color: #fff;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
  }
  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }

  /* Show hamburger icon on mobile */
  .hamburger-menu { display: block; }

  /* Hide the desktop auth area to avoid duplication.
     (Auth/Profile gets moved into the drawer via JS.) */
  .header-right { 
    display: none; 
  }

/* BUT: Keep the rewards button visible on mobile in the header */
  .header-right #rewardsBtn {
    display: flex !important;
    position: absolute;
    right: 60px; /* Position to the left of hamburger */
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 6px 10px;
    font-size: 12px;
    z-index: 1001;
  }

  /* Usage strip hidden on mobile (keeps drawer clean) */
  .usage-display { display: none; }


/* ===== Auth & Profile INSIDE the drawer ===== */
  .nav-container .nav-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-container .auth-buttons .btn {
    width: 100%;
    justify-content: flex-start;
    margin: 0 20px;
  }
  .nav-container .user-profile {
    width: 100%;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Profile dropdown behaves like a simple section in the drawer */
  .nav-container .profile-dropdown {
    position: static;
    display: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 4px;
  }
  .nav-container .profile-dropdown.show { display: block; }
  .nav-container .profile-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-container .profile-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
  }
}


/* Profile Page Styles */
.user-profile {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  padding: 0.5rem 0;
  z-index: 1000;
}

.profile-dropdown.show {
  display: block;
}

.profile-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--dark-color);
  text-decoration: none;
  transition: background-color 0.2s;
}

/* Profile dropdown links hover */
.profile-dropdown a:hover {
    color: var(--hover-color);
    background-color: rgba(255, 0, 94, 0.05);
}

.dropdown-divider {
  height: 1px;
  background-color: rgba(0,0,0,0.1);
  margin: 0.5rem 0;
}


.profile-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

@media (min-width: 992px) {
  .profile-container {
    grid-template-columns: 1fr 1fr;
  }
}

.profile-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.profile-header {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
}

.avatar-edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.profile-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item i {
  color: var(--primary-color);
}

.profile-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.profile-section h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.profile-section h3 i {
  color: var(--primary-color);
}

.profile-form .form-group {
  margin-bottom: 1.5rem;
}

.profile-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-color);
}

.profile-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.profile-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.2);
}

.profile-form input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

/* Security Section */
.security-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 195, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.security-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.security-info i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.security-info h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.security-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-color);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.active {
  background: rgba(75, 181, 67, 0.1);
  color: #4bb543;
}

.status-badge.inactive {
  background: rgba(255, 51, 51, 0.1);
  color: var(--error-color);
}

/* Subscription Section */
.subscription-status {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(0, 195, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .subscription-status {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.subscription-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.subscription-actions .btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}

.subscription-actions .btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.subscription-actions .btn-danger {
  background-color: #dc3545;
  color: #fff;
}

.subscription-actions .btn-secondary {
  background-color: var(--secondary-color);
  color: #111827;
}

.subscription-actions .btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.subscription-actions .btn:hover {
  opacity: 0.9;
}


.plan-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.plan-badge.free {
  background: rgba(108, 117, 125, 0.1);
  color: var(--gray-color);
}

.plan-badge.pro {
  background: rgba(0, 195, 255, 0.1);
  color: var(--primary-color);
}

.plan-badge.enterprise {
  background: rgba(255, 0, 94, 0.1);
  color: var(--accent-color);
}

.plan-details p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.plan-details strong {
  color: var(--dark-color);
}

.most-popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffc107;
  color: #333;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
}

.current-plan-highlight {
  border: 2px solid #28a745;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.2);
}


/* ==== Usage Stats Layout ==== */
.usage-stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #ffffff;
  border-radius: 8px;
  border-left: 3px solid #00c4ff; /* Cyan for base */
}

.stat-item:nth-child(2) {
  border-left-color: #00ffb3; /* Neon green for bonus */
}

.stat-info h4 {
  margin: 0 0 5px 0;
  font-size: 14px;
  color: #ff005e; /* Pink titles */
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-info p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #00c4ff; /* Cyan numbers */
}

#usageBonusChars {
  color: #00ffb3 !important;
  font-weight: bold;
}

/* ==== Custom Progress Bars ==== */
.stat-progress {
  width: 120px;
  height: 12px;
  background: rgba(0, 196, 255, 0.15); /* faint cyan track */
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

/* Base usage bar */
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00c4ff, #ff005e);
  transition: width 0.4s ease;
  border-radius: 6px 0 0 6px;
  position: relative;
  z-index: 1;
}

/* Bonus usage overlay (striped + animated) */
.progress-bonus {
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(
    45deg,
    #00ffb3,
    #00ffb3 6px,
    #00e6a6 6px,
    #00e6a6 12px
  );
  transition: width 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.7;
  z-index: 2;
  animation: bonus-stripes 2s linear infinite;
}

/* Stripe animation */
@keyframes bonus-stripes {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 30px 0;
  }
}

/* ==== Usage Reset Section ==== */
.usage-reset {
  text-align: center;
  margin: 15px 0;
  padding: 10px;
  background: rgba(0, 196, 255, 0.08);
  border-radius: 6px;
}

.usage-reset p {
  margin: 0;
  color: #ff005e;
  font-size: 14px;
}

.usage-reset strong {
  color: #00c4ff;
}

/* ==== Actions ==== */
.usage-actions {
  text-align: center;
}

.usage-actions .btn {
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  border: 1px solid #00c4ff;
  color: #00c4ff;
  background: transparent;
  transition: all 0.3s ease;
}

.usage-actions .btn:hover {
  background: #00c4ff;
  color: #ffffff;
}




/* Billing History */
.billing-history {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 195, 255, 0.03);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.no-history {
  color: var(--gray-color);
  text-align: center;
  font-style: italic;
}

/* Danger Zone */
.danger-zone {
  border: 1px solid rgba(255, 51, 51, 0.2);
  background: rgba(255, 51, 51, 0.05);
}

.danger-zone h3 {
  color: var(--error-color);
}

.danger-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.danger-item h4 {
  margin: 0 0 0.25rem;
  color: var(--dark-color);
}

.danger-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-color);
}

.btn-danger {
  background: rgba(255, 51, 51, 0.1);
  color: var(--error-color);
  border: 1px solid var(--error-color);
}

.btn-danger:hover {
  background: var(--error-color);
  color: white;
}

/* Password Strength Meter */
.password-strength {
  margin-top: 0.5rem;
}

.strength-meter {
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  margin-bottom: 0.25rem;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0%;
  background: var(--error-color);
  transition: width 0.3s ease, background 0.3s ease;
}

.strength-text {
  font-size: 0.75rem;
  color: var(--gray-color);
}

.strength-text span {
  font-weight: 500;
}

/* Warning Message */
.warning-message {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 51, 51, 0.1);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: var(--error-color);
}

.warning-message i {
  font-size: 1.5rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
}

.loading {
    position: relative;
    color: transparent !important;
    min-width: 80px;
    overflow: hidden;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 195, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.profile-avatar.loading {
    background: #f0f0f0;
    border-color: #f0f0f0;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 1rem auto;
    padding: 0 2rem;
}

.tts-container {
    display: grid;
    grid-template-columns: 350px 1fr; /* Voice Settings left, Text Input right */
    gap: 1.5rem;
	align-items: flex-start;
    margin-bottom: 2rem;
}

/* Controls */
.tts-controls {
    padding: 1.5rem;
}

.control-group {
    margin-bottom: 1.25rem;
}

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.select-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.select-wrapper.with-search {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 1rem center;
    background-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.2);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c757d' 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: 1rem;
    transition: var(--transition);
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.2);
}

/* Loading state for selects */
.select-loading {
    position: relative;
    color: var(--gray-color);
}

.select-loading::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(0, 195, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.form-range {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

/* Text Area */
.tts-textarea-container {
    display: flex;
    flex-direction: column;
}

.textarea-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.char-count {
    font-size: 0.875rem;
    color: var(--gray-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.form-textarea {
    resize: vertical;
    min-height: 200px;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    transition: var(--transition);
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.2);
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Output Section */
.output-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: var(--border-radius);
}

/* Output Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0rem;
}

/* Output Buttons */
.section-actions button {
    margin-left: 0.5rem;
}

/* Output Container */
.output-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Visualizer Bars */
.visualizer-bars {
    display: flex;
    align-items: flex-end;
    height: 80px;
    gap: 0.5rem;
    width: 90%;
}

.visualizer-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px;
    min-height: 10px;
    transition: height 0.2s ease;
}

@keyframes pulse {
    0%   { transform: scale(1); opacity: 1; }
    50%  { transform: scale(1.3); opacity: 0.75; }
    100% { transform: scale(1); opacity: 1; }
}

/* Audio Player */
.audio-player-container {
    display: flex;
    justify-content: center;
}

/* Output Details Cards */
.output-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}

.detail-card {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f3f3f3;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.detail-icon {
    font-size: 1.2rem;
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.detail-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
}

.detail-value {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-top: 0.5rem;
    max-width: 700px;
}

/* ✅ Base button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;   /* Keep consistent here */
  border-radius: 30px;       /* Clean pill shape for all */
  border: none;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  z-index: 10;
  position: relative;
}

/* ✅ Primary button */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

/* Button hover effects */
.btn-primary:hover {
    background-color: var(--hover-color);
    box-shadow: 0 6px 16px rgba(255, 0, 94, 0.3);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.4);
}

/* ✅ Outline button */
.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--hover-color);
    color: white !important;
    border-color: var(--hover-color);
    box-shadow: 0 6px 16px rgba(255, 0, 94, 0.15);
}

.btn-outline:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.3);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background-color: white;
    color: #222;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 350px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
	opacity: 0;
	animation: fadeSlideIn 0.5s ease forwards;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--error-color);
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
}

.toast .toast-content {
    flex: 1;
}

.toast .toast-title {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.toast .toast-message {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* keep your existing rules */
.toast-close {
  color: var(--gray-color);
  cursor: pointer;
  transition: var(--transition);

  /* add these for button reset + layout */
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Toast close button hover */
.toast-close:hover {
    color: var(--hover-color);
    transform: scale(1.1);
}

/* a11y: visible focus ring for keyboard users */
.toast-close:focus-visible {
  outline: 2px solid rgba(0, 195, 255, 0.5);
  outline-offset: 2px;
  border-radius: 6px; /* optional, matches rounded UI */
}

/* make clicks anywhere on the icon count as clicking the button */
.toast-close i { pointer-events: none; }


/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: var(--primary-color);
    animation-name: toast-progress-animation;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes toast-progress-animation {
    from { width: 100%; }
    to   { width: 0%; }
}


/* Dark Mode Support */
body.dark-mode .toast {
    background-color: #222;
    color: #eee;
}

body.dark-mode .toast-progress {
    background-color: #90caf9;
}

/* Responsive for mobile */
@media (max-width: 600px) {
    .toast-container {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        top: auto;
    }

    .toast {
        width: 100%;
        max-width: none;
        font-size: 13px;
    }
}

/* Gradient backgrounds for each toast type */
.toast.info {
    background: linear-gradient(to right, #2193b0, #6dd5ed); /* blue gradient */
    color: white;
}

.toast.success {
    background: linear-gradient(to right, #00b09b, #96c93d); /* green gradient */
    color: white;
}

.toast.error {
    background: linear-gradient(to right, #e53935, #e35d5b); /* red gradient */
    color: white;
}

.toast.warning {
    background: linear-gradient(to right, #f7971e, #ffd200); /* orange-yellow gradient */
    color: #222;
}

/* Adjust dark mode gradients if needed */
body.dark-mode .toast.info {
    background: linear-gradient(to right, #1e3c72, #2a5298);
}

body.dark-mode .toast.success {
    background: linear-gradient(to right, #134e5e, #71b280);
}

body.dark-mode .toast.error {
    background: linear-gradient(to right, #93291e, #ed213a);
}

body.dark-mode .toast.warning {
    background: linear-gradient(to right, #f7971e, #ffd200);
    color: #111;
}

/* Animated pulse for the toast icon */
.toast i.fa {
    animation: toastIconPulse 1.4s ease-in-out infinite;
    font-size: 1.4rem;
}

@keyframes toastIconPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.75; }
    100% { transform: scale(1); opacity: 1; }
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
    transition: var(--transition);
}

/* Modal close button hover */
.close-modal:hover {
    color: var(--hover-color);
    transform: rotate(90deg);
}



/* Responsive Styles */
@media (max-width: 992px) {
    .tts-container {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .textarea-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* Button Styles */
.btn-login {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin-right: 0.5rem;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.4);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn-text:hover {
    color: var(--primary-color);
}

/* Button States */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

/* Voice Preview Container */
.voice-preview-container {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.voice-gender-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.voice-gender-male {
    background-color: var(--primary-color);
}

.voice-gender-female {
    background-color: var(--accent-color);
}

//* Voice option preview button styles - Improved */
.option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.option-item:hover {
    background: var(--primary-light);
}

.option-item.selected {
    background: var(--primary-color);
    color: white;
}

.option-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voice-name {
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Hide the additional details in dropdown */
.option-item .voice-details {
    display: none;
}

/* Enhanced Eye-Catching Preview Button */
.preview-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 195, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.preview-btn:hover {
     background: linear-gradient(135deg, var(--hover-color) 0%, #ff5e00 100%);
     transform: translateY(-3px) scale(1.1);
     box-shadow: 0 5px 15px rgba(0, 195, 255, 0.4);
}

.preview-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 195, 255, 0.3);
}

.preview-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    border-radius: 50%;
}

.option-item.selected .preview-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: var(--primary-color);
    box-shadow: 0 3px 8px rgba(255, 255, 255, 0.3);
}

.preview-btn.playing {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f72585 100%);
    animation: pulse 1.2s infinite;
    box-shadow: 0 3px 12px rgba(255, 0, 94, 0.4);
}

.preview-btn .fa-play,
.preview-btn .fa-stop {
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Ripple effect on click */
.preview-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.preview-btn:active::after {
    width: 100%;
    height: 100%;
}

@keyframes pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(255, 0, 94, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 5px 20px rgba(255, 0, 94, 0.6);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(255, 0, 94, 0.4);
    }
}

/* Loading state for preview buttons */
.preview-btn.loading {
    pointer-events: none;
    background: linear-gradient(135deg, #a0a0a0 0%, #808080 100%);
}

.preview-btn.loading .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Voice gender indicator in dropdown */
.voice-gender-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
    background: rgba(0, 195, 255, 0.1);
}

.voice-gender-icon.male {
    color: var(--primary-color);
}

.voice-gender-icon.female {
    color: var(--accent-color);
}


/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.hero-cta {
    margin-top: 1.5rem;
}

.voice-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 80px;
}

.wave-bar {
    width: 8px;
    height: 20px;
    border-radius: 4px;
    animation: wave 1.5s ease-in-out infinite;
}

/* Assign SKY brand colors to each bar */
.wave-bar:nth-child(1) { background-color: #00ffb3; animation-delay: 0.1s; } /* cyan */
.wave-bar:nth-child(2) { background-color: #00ffb3; animation-delay: 0.2s; } /* pink */
.wave-bar:nth-child(3) { background-color: #00ffb3; animation-delay: 0.3s; } /* green */
.wave-bar:nth-child(4) { background-color: #00ffb3; animation-delay: 0.4s; } /* cyan */
.wave-bar:nth-child(5) { background-color: #00ffb3; animation-delay: 0.5s; } /* pink */

@keyframes wave {
    0%, 100% { height: 20px; }
    50% { height: 60px; }
}


/* Features Section */
.features-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.features-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #00ffb3;
}

.features-section p {
    font-size: 1.1rem;
    color: #00c4ff;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 1.5rem;
    transition: transform 0.3s ease;
    background: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow);
}

/* Feature card hover effects */
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 0, 94, 0.15);
    border: 1px solid rgba(255, 0, 94, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

/* Footer */
.app-footer {
    background: var(--dark-color); /* deep dark background */
    padding: 2rem 2rem 1.5rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #002244;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-tagline {
    color: #dddddd; /* Lighter text for readability */
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.footer-social a {
    color: #ffffff;
    font-size: 1.25rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1); /* Softer on dark background */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Social links hover effect */
.footer-social a:hover {
    background: var(--hover-color);
    transform: translateY(-3px) scale(1.1);
}

.footer-links-container {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex: 1;
}

.footer-links {
    min-width: 150px;
}

.footer-links.products {
    order: 1;
}

.footer-links.company {
    order: 2;
}

.footer-links h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff; /* Section titles in white */
    margin-bottom: 0.75rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cccccc; /* Normal link text */
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

/* Footer links hover */
.footer-links a:hover {
    color: var(--hover-color);
    padding-left: 0.5rem;
}

.footer-bottom {
  width: 100%;
  max-width: 1400px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #002244;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cccccc;
  font-size: 0.85rem;
}


.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

/* Legal links hover */
.footer-legal a:hover {
    color: var(--hover-color);
}

.footer-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(100, 150, 255, 0.15) 0%, transparent 60%);
    z-index: 0;
}

/* Auth Modals */
.auth-modal .modal-content {
    max-width: 450px;
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 1rem;
}

.auth-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.input-with-icon input {
    padding-left: 3rem !important;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    color: var(--gray-color);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #eee;
}

.auth-divider span {
    padding: 0 1rem;
}

.social-auth {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-google, .btn-github {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-google {
    background-color: #4285F4;
    color: white;
}

.btn-github {
    background-color: #333;
    color: white;
}

.auth-footer {
    text-align: center;
    color: var(--gray-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-dependent.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}
.auth-dependent.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(0, 195, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Floating Help */
.floating-help {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 195, 255, 0.3);
    z-index: 100;
    transition: var(--transition);
}

/* Floating help button hover */
.floating-help:hover {
    background: var(--gradient-hover);
    transform: scale(1.1) rotate(5deg);
}

#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999; /* Always above header/profile */
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 12px;
  cursor: pointer;
  display: none; /* Hidden by default */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Scroll to top button hover */
#scrollToTopBtn:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
}


/* Help Modal */
.help-modal .modal-content {
    max-width: 800px;
    padding: 1.5rem;
}

.help-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.help-section {
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.help-section:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

.help-section h3 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-section p {
    color: var(--gray-color);
    font-size: 0.85rem;
}

/* Custom Select Dropdown Styles */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select .form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c757d'%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: 1rem;
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
    margin-top: 0.25rem;
}

.custom-select.open .custom-select-dropdown {
    display: block;
}

.search-container {
    position: sticky;
    top: 0;
    background: white;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
    z-index: 10;
}

.search-container .search-input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.85rem;
}

.search-container .fa-search {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 0.85rem;
}

.options-container {
    padding: 0.5rem 0;
}

.option-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.option-item:hover {
    background: var(--primary-light);
}

.option-item.selected {
    background: var(--primary-color);
    color: white;
}

.option-item.disabled {
    color: var(--gray-color);
    cursor: not-allowed;
}

/* Loading State */
.options-loading {
    padding: 1rem;
    text-align: center;
    color: var(--gray-color);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.options-loading .spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(0, 195, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* -------------------------- */
/* 🎯 Analytics Modal Styling */
/* -------------------------- */
.analytics-grid {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.analytics-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    flex: 1 1 240px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.analytics-progress {
    background: #e9ecef;
    border-radius: 6px;
    height: 8px;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.analytics-progress #charsProgress {
    height: 100%;
    background: var(--primary-color);
    width: 50%;
    transition: width 0.4s ease;
}

.analytics-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* -------------------------- */
/* 💰 Pricing Modal Styling   */
/* -------------------------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Pricing card hover effects */
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 0, 94, 0.2);
    border-color: var(--hover-color);
}

.pricing-card:hover .btn {
    background-color: var(--hover-color);
}

.pricing-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0 1rem;
    color: var(--secondary-color);
}

.price span {
    font-size: 1rem;
    color: var(--gray-color);
}

.features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.features li {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.pricing-card:nth-child(2) {
    border: 2px solid var(--primary-color);
    background-color: var(--primary-light);
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.25);
}

/* Modal width globally */
.modal-content.glass-effect {
    max-width: 900px;
    width: 95%;
}

/* Responsive grid */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .modal-content.glass-effect {
        max-height: 90vh;
        overflow-y: auto;
        padding: 1.5rem;
    }
}

/* Payment state */
.success-page {
  text-align: center;
  padding: 80px;
}
.success-page h1 {
  font-size: 2rem;
  color: var(--primary-color);
}
.success-page .btn {
  margin-top: 20px;
}

/* === Mobile header compact & drawer auth/profile visibility === */
@media (max-width: 768px) {
  /* Slim header like desktop (row, not column) */
  .app-header { padding: 0.5rem 0; }
  .header-content {
    flex-direction: row !important;  /* override any column rule */
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;                 /* smaller side padding */
    gap: 0.5rem;
  }
  .logo-img { height: 36px; }        /* smaller logo on phones */
  .logo-text { font-size: 1.25rem; }
  .logo-icon { font-size: 1.75rem; }

  /* Drawer should drop just below header height */
  .nav-container { top: 56px !important; }

  /* Ensure moved nodes actually render inside the drawer */
  .nav-container .auth-buttons { display: flex; }
  .nav-container .user-profile { display: flex; }

  /* Button styling in dark drawer for visibility */
  .nav-container .auth-buttons .btn { width: 100%; justify-content: flex-start; margin: 0 20px; }
  .nav-container .auth-buttons .btn-outline { color: #fff; border-color: #fff; }
  .nav-container .auth-buttons .btn-outline:hover { background: rgba(255,255,255,0.08); }
  .nav-container .btn-primary { width: 100%; }

  /* Dropdown inside drawer stays full-width and touch-friendly */
  .nav-container .profile-dropdown { position: static; display: none; background: transparent; box-shadow: none; padding: 0; margin-top: 4px; }
  .nav-container .profile-dropdown.show { display: block; }
  .nav-container .profile-dropdown a { display: block; padding: 10px 20px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-container .profile-dropdown a:hover { background: rgba(255,255,255,0.05); }
}

/* Guest Trial Status */
.guest-trial-info {
  background: var(--primary-color);
  color: white;
  padding: 8px;
  border-radius: 4px;
  margin: 10px 0;
  text-align: center;
  font-weight: 500;
}

/* Try It Free button specific styling */
.try-it-free-btn {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.try-it-free-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 94, 0.4);
}

/* Form elements focus effect */
.form-select:focus,
.form-textarea:focus,
.search-input:focus {
    border-color: var(--hover-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 94, 0.2);
}

/* Custom select dropdown options */
.option-item:hover {
    background: rgba(255, 0, 94, 0.1);
    color: var(--hover-color);
}

.option-item.selected {
    background: var(--hover-color);
    color: white;
}

/* Voice gender indicator hover */
.voice-gender-indicator:hover {
    background-color: var(--hover-color);
    transform: scale(1.1);
}

/* Audio player controls */
.audio-player-container button:hover {
    color: var(--hover-color);
    transform: scale(1.1);
}

/* Auth modal links hover */
.auth-footer a:hover {
    color: var(--hover-color);
}

/* Usage stats hover effects */
.stat-item:hover {
    transform: translateX(5px);
}

.stat-item:hover .analytics-progress #charsProgress {
    background: var(--hover-color);
}

/* Download and share buttons hover */
.download-btn:hover,
.copy-link-btn:hover {
    background-color: var(--hover-color);
    color: white;
    transform: translateY(-2px);
}

/* Text area actions hover */
.textarea-footer button:hover {
    color: var(--hover-color);
    transform: scale(1.1);
}

/* File upload button hover */
.upload-btn:hover {
    border-color: var(--hover-color);
    color: var(--hover-color);
}

/* Language and voice select hover */
.custom-select:hover .form-select {
    border-color: var(--hover-color);
}

/* Range slider thumb hover */
.form-range::-webkit-slider-thumb:hover {
    background: var(--hover-color);
    transform: scale(1.2);
}

/* Hero section CTA hover */
.hero-cta .btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
}

/* Feature icon hover */
.feature-icon:hover {
    background: var(--gradient-hover);
    transform: rotate(10deg) scale(1.1);
}

/* Social auth buttons hover */
.btn-google:hover,
.btn-github:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Checkbox hover */
.checkbox-group:hover label {
    color: var(--hover-color);
}

/* Security item hover */
.security-item:hover {
    border-left: 3px solid var(--hover-color);
}

/* Danger zone item hover */
.danger-item:hover {
    border-left: 3px solid var(--hover-color);
}


/* Subscription actions hover */
.subscription-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Profile avatar edit hover */
.avatar-edit-btn:hover {
    background: var(--hover-color);
    transform: scale(1.1);
}

/* Form actions hover */
.form-actions .btn:hover {
    transform: translateY(-2px);
}

/* Help section hover */
.help-section:hover {
    border-left: 3px solid var(--hover-color);
}

/* Visualizer bars animation enhancement */
.visualizer-bar {
    background: var(--gradient-primary);
    transition: height 0.1s ease;
}

.visualizer-bar:hover {
    background: var(--gradient-hover);
}

/* Wave animation in hero section */
.wave-bar:hover {
    background: var(--gradient-hover);
    animation-duration: 0.8s;
}

/* Loading spinner color */
.loading-spinner {
    border-top-color: var(--hover-color);
}

/* Options loading spinner */
.options-loading .spinner {
    border-top-color: var(--hover-color);
}

/* Auth dependent loading */
.auth-dependent.loading::after {
    border-top-color: var(--hover-color);
}

/* Profile loading */
.loading::after {
    border-top-color: var(--hover-color);
}

/* Toast progress bar */
.toast-progress {
    background-color: var(--hover-color);
}

/* Add these new animations */
@keyframes pulse-hover {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* Apply animations to interactive elements */
.btn:hover,
.preview-btn:hover,
.nav-link:hover {
    animation: pulse-hover 0.5s ease;
}

.option-item:hover {
    animation: shake 0.3s ease;
}

/* Mobile hamburger menu hover */
.hamburger-menu:hover {
    color: var(--hover-color);
    transform: rotate(90deg);
}

/* Mobile nav links hover */
.nav-container .nav-link:hover {
    color: var(--hover-color);
    background-color: rgba(255, 0, 94, 0.1);
}

/* Mobile auth buttons hover */
.nav-container .auth-buttons .btn:hover {
    background-color: var(--hover-color);
    color: white;
}

/* Mobile profile dropdown hover */
.nav-container .profile-dropdown a:hover {
    color: var(--hover-color);
    background-color: rgba(255, 0, 94, 0.1);
}

/* Responsive adjustments for hover effects */
@media (max-width: 768px) {
    .btn:hover,
    .preview-btn:hover,
    .nav-link:hover {
        transform: none;
        animation: none;
    }
    
    .pricing-card:hover,
    .feature-card:hover {
        transform: translateY(-5px);
    }
}

/* Focus states for accessibility */
.btn:focus,
.preview-btn:focus,
.nav-link:focus,
.form-select:focus,
.form-textarea:focus,
.search-input:focus {
    outline: 2px solid var(--hover-color);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/*-- FAQ Styles */
.faq-section {
    padding: 60px 20px;
    background: transparent; /* ✅ no new background */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(
        135deg,
        rgba(0, 196, 255, 0.25),
        rgba(255, 0, 94, 0.2),
        rgba(0, 255, 179, 0.2)
    );
    background-size: 300% 300%; /* needed for animation */
    animation: gradientShift 8s ease infinite;
    backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 255, 179, 0.2);
}

/* Titles and text */
.faq-card h3, .faq-card h4 {
    color: #ff005e; /* primary brand green text */
}
.faq-card p {
    color: #ff005e; /* readable on black bg */
}

/* Hover effect */
.faq-card:hover {
    box-shadow: 0 0 25px rgba(0, 255, 179, 0.35);
    transform: translateY(-2px);
}

/* Gradient animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.faq-toggle {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 700;
    color: #00ffb3 !important; /* ✅ Pinkish red question */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-toggle i {
    color: #00c4ff !important; /* ✅ Sky blue icon */
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-toggle:hover i {
    color: #ff005e !important;
}

.faq-answer {
    display: none;
    padding: 15px 20px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #00ffb3 !important; /* ✅ Neon mint answer */
    background: linear-gradient(135deg, #00c4ff, #ff005e);
    -webkit-background-clip: text;
   -webkit-text-fill-color: transparent; /* ✅ no white box */
}

.faq-card.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

.faq-card.active .faq-toggle i {
    transform: rotate(45deg);
    color: #00ffb3 !important;
}

/* Smooth dropdown animation */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile friendly tweaks */
@media (max-width: 600px) {
    .faq-toggle {
        font-size: 16px;
        padding: 15px;
    }
    .faq-answer {
        font-size: 14px;
        padding: 10px 15px 15px;
    }
}

.format-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    margin-right: 10px;
}

.control-group select.form-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 14px;
}


/* ============================= */
/* Rewards Button Styles */
/* ============================= */

.btn-rewards-hero {
    background: #ff005e;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    font-size: 14px;
}

.btn-rewards-hero:hover {
    background: linear-gradient(45deg, #FF9E6B, #FF6B6B);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

/* Add attention-grabbing animation */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.btn-rewards-hero {
    animation: pulse-glow 2s infinite;
}

.btn-rewards-hero:hover {
    animation: none;
}

/* Rewards Modal Styles */
.rewards-container {
    padding: 20px 0;
}

.rewards-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    margin: 10px;
    min-width: 100px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #4361ee;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

.platform-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.btn-share {
    padding: 12px;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-share.twitter { background: #1DA1F2; }
.btn-share.facebook { background: #4267B2; }
.btn-share.linkedin { background: #0077B5; }
.btn-share.whatsapp { background: #25D366; }
.btn-share.telegram { background: #0088CC; }

/* Pending rewards styles */
.pending-rewards-container {
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.pending-rewards-header {
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffc107;
}

.pending-reward-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.pending-reward-item:last-child {
    border-bottom: none;
}

.pending-reward-item .platform {
    text-transform: capitalize;
    font-weight: 500;
}

.pending-reward-item .amount {
    color: #4caf50;
    font-weight: 600;
}

/* Button states */
.btn-share.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-share.pending {
    background: #ff9800 !important;
    pointer-events: none;
}

.btn-share.shared {
    background: #4caf50 !important;
    pointer-events: none;
}

.btn-share:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-share.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    margin-left: 8px;
    animation: spin 1s linear infinite;
}


.share-link-generator {
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.link-container {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.share-link-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #00ffb3;
}

.btn-copy-link {
  padding: 10px 15px;
  background: var(--primary-color);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-copy-link:hover {
  background: var(--primary-dark);
}

.share-help-text {
  font-size: 0.9em;
  opacity: 0.8;
  margin-top: 5px;
}

/* Countdown Timer Styles */
.reward-countdown {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.countdown-header {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.countdown-timer {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    margin: 10px 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 14px;
    opacity: 0.9;
}

.countdown-complete {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-weight: 600;
}

.countdown-complete i {
    font-size: 24px;
}

/* Animation for the timer */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.countdown-timer {
    animation: pulse 1s infinite;
}


/* Brand color classes for SKY */
.text-cyan { color: #00c4ff; }
.text-pink { color: #ff005e; }
.text-green { color: #00ffb3; }

/* Button brand color */
.text-green-btn {
    background-color: #00ffb3;      /* green background */
    color: #000;                     /* text color */
    border: none;
    box-shadow: 0 0 12px #00ffb3;   /* subtle glow */
    transition: all 0.3s ease;
}

.text-green-btn:hover {
    background-color: #00e6a5;      /* slightly darker green on hover */
    box-shadow: 0 0 18px #00ffb3;
    transform: translateY(-2px);
}

