/* ==========================================================================
   GLASSMORPHISM & INTERACTIVE UI COMPONENTS
   ========================================================================== */

/* GLASS CARD BASE */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  transition: var(--transition-smooth);
  transform: translateZ(0);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-neon);
}

/* NAVBAR */
#nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

#nav-header.scrolled {
  padding: 12px 0;
  background: rgba(21, 21, 21, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.light-theme #nav-header.scrolled {
  background: rgba(241, 245, 249, 0.85);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(20px);
  max-width: 1480px;
  width: 96%;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-dot {
  width: 9px;
  height: 9px;
  background: var(--accent-mint);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-mint);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  margin: 0 10px;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.nav-links li {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 5px 11px;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  white-space: nowrap !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  font-size: 0.85rem;
}

.icon-btn:hover {
  transform: scale(1.08);
  border-color: var(--accent-mint);
  color: var(--accent-mint);
  background: rgba(54, 255, 159, 0.12);
  box-shadow: 0 0 15px rgba(54, 255, 159, 0.3);
}

.icon-btn.active {
  color: #000000;
  background: var(--accent-mint);
  border-color: var(--accent-mint);
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 60px;
  position: relative;
}

.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(54, 255, 159, 0.08);
  border: 1px solid rgba(54, 255, 159, 0.25);
  border-radius: 9999px;
  font-size: 0.9rem;
  color: var(--accent-mint);
  margin-bottom: 25px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-mint);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-mint);
  animation: pulseGlow 1.5s infinite alternate;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 35px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* BUTTON STYLES */
.glow-button {
  padding: 14px 32px;
  background: var(--accent-mint);
  border: none;
  border-radius: 9999px;
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(54, 255, 159, 0.35);
  transition: var(--transition-bounce);
}

.glow-button:hover {
  background: #2ee68f;
  color: #000000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(54, 255, 159, 0.6);
}

.outline-button {
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.outline-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

/* HERO STATS GRID */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 22px;
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* SKILLS MATRIX SECTION */
.skill-tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.skill-tab-btn {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.skill-tab-btn.active {
  background: var(--accent-mint);
  border-color: var(--accent-mint);
  color: #000000;
  box-shadow: 0 0 20px rgba(54, 255, 159, 0.4);
}

.skill-tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

.skill-card {
  padding: 24px;
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}

.skill-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.skill-info {
  flex-grow: 1;
}

.skill-name {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.skill-highlight {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.skill-percentage {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-cyan);
}

.skill-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress-fill {
  height: 100%;
  background: var(--gradient-neon);
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* PROJECTS SHOWCASE */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 11, 19, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  background: rgba(8, 11, 19, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent-cyan);

}

.project-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 15px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* TIMELINE */
.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gradient-neon);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
}

.timeline-item.left {
  left: 0;
  padding-right: 40px;
}

.timeline-item.right {
  left: 50%;
  padding-left: 40px;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-cyan);
}

.timeline-item.left .timeline-dot { right: -8px; }
.timeline-item.right .timeline-dot { left: -8px; }

.timeline-content {
  padding: 25px;
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  display: block;
}

.timeline-role {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--accent-pink);
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 25px;
}

.service-card {
  padding: 30px 25px;
  text-align: center;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.8rem;
  color: var(--accent-cyan);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* CONTACT SECTION & FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  padding: 35px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-cyan);
}

.contact-form-card {
  padding: 35px;
}

.form-group {
  margin-bottom: 22px;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* TOAST NOTIFICATION */
#toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 26px;
  background: rgba(8, 11, 19, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent-mint);
  border-radius: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 255, 170, 0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-bounce);
  z-index: 10000;
}

#toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* MODAL SHOWCASE */
#project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 11, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

#project-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 90%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 35px;
  position: relative;
  background: var(--bg-secondary);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
}

.modal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

/* FOOTER */
.footer-container {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* HERO GRID & ENHANCEMENTS */
.hero-container-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-container-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.hero-typewriter-container {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  gap: 8px;
}

.typewriter-cursor {
  display: inline-block;
  animation: blink 0.8s infinite;
  color: var(--accent-cyan);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* IDE CODE CARD */
.hero-code-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(54, 255, 159, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(54, 255, 159, 0.1);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.hero-code-card:hover {
  transform: translateY(-5px);
  border-color: rgba(54, 255, 159, 0.4);
}

.code-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(11, 11, 11, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-dots {
  display: flex;
  gap: 7px;
}

.code-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.code-dots .red { background: #ff5f56; }
.code-dots .yellow { background: #ffbd2e; }
.code-dots .green { background: #27c93f; }

.code-tab-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-code-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.copy-code-btn:hover {
  color: var(--accent-mint);
}

.code-card-body {
  padding: 22px;
  background: rgba(15, 15, 15, 0.95);
  font-family: 'Consolas', 'Fira Code', Monaco, monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  overflow-x: auto;
}

.code-card-body pre {
  margin: 0;
}

.code-keyword { color: #ff79c6; font-weight: 600; }
.code-var { color: #50fa7b; }
.code-prop { color: #8be9fd; }
.code-string { color: #f1fa8c; }

/* INTERACTIVE CLI TERMINAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cli-window {
  width: 90%;
  max-width: 700px;
  height: 440px;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(54, 255, 159, 0.3);
  box-shadow: 0 0 30px rgba(54, 255, 159, 0.15);
  background: #0d0d0d;
}

.cli-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #151515;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cli-title {
  font-size: 0.85rem;
  color: var(--accent-mint);
  font-family: monospace;
}

.cli-close-btn {
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
}

.cli-body {
  flex: 1;
  padding: 20px;
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.cli-output {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 12px;
}

.cli-line {
  margin-bottom: 6px;
  line-height: 1.5;
}

.text-mint { color: var(--accent-mint); }
.text-cyan { color: var(--accent-cyan); }
.text-pink { color: var(--accent-pink); }
.text-muted { color: rgba(255, 255, 255, 0.5); }

.cli-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cli-prompt {
  color: var(--accent-mint);
  font-weight: 600;
}

.cli-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
}

/* PLAYGROUND SECTION */
.playground-wrapper {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(54, 255, 159, 0.25);
}

.playground-nav {
  display: flex;
  background: rgba(11, 11, 11, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.pg-tab-btn {
  padding: 14px 24px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.pg-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.pg-tab-btn.active {
  color: var(--accent-mint);
  border-bottom-color: var(--accent-mint);
  background: rgba(54, 255, 159, 0.06);
}

.playground-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 992px) {
  .playground-content-grid {
    grid-template-columns: 1fr;
  }
}

.playground-editor {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.playground-preview {
  padding: 25px;
  background: rgba(18, 18, 18, 0.8);
  display: flex;
  flex-direction: column;
}

.live-demo-box {
  flex: 1;
  min-height: 250px;
  background: rgba(8, 8, 8, 0.9);
  border: 1px dashed rgba(54, 255, 159, 0.3);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ESTIMATOR SECTION */
.estimator-container {
  padding: 35px;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

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

.est-group-title {
  font-size: 1.1rem;
  color: var(--accent-mint);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.est-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.est-option {
  cursor: pointer;
}

.est-option input {
  display: none;
}

.est-card {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition-smooth);
}

.est-option:hover .est-card {
  border-color: rgba(54, 255, 159, 0.3);
}

.est-option.active .est-card {
  background: rgba(54, 255, 159, 0.08);
  border-color: var(--accent-mint);
  box-shadow: 0 0 15px rgba(54, 255, 159, 0.15);
}

.est-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.est-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.est-options-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.est-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.est-check-item:hover {
  border-color: rgba(54, 255, 159, 0.3);
  color: #ffffff;
}

.est-check-item input[type="checkbox"] {
  accent-color: var(--accent-mint);
  width: 16px;
  height: 16px;
}

.est-result-card {
  padding: 25px;
  background: rgba(11, 11, 11, 0.95);
  border: 1px solid rgba(54, 255, 159, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.est-result-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.est-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.est-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.testimonial-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.test-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.test-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(54, 255, 159, 0.1);
  border: 1px solid rgba(54, 255, 159, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-mint);
  font-size: 1.2rem;
}

.test-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.test-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
}

.test-stars {
  margin-left: auto;
  color: #ffbd2e;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.test-text {
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

/* SCROLL REVEAL ANIMATIONS */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* SLIDE IN ANIMATION (for NUI toast demo) */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =============================================
   NEW FEATURES CSS
   ============================================= */

/* 1. SCROLL PROGRESS BAR */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-neon);
  z-index: 10001;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px var(--accent-mint), 0 0 20px rgba(54, 255, 159, 0.3);
}

/* 2. ACTIVE NAV LINK */
.nav-links a.nav-active {
  color: #ffffff;
  background: rgba(54, 255, 159, 0.12);
  box-shadow: 0 0 10px rgba(54, 255, 159, 0.15);
}

/* 3. BACK TO TOP BUTTON */
#back-to-top-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-mint);
  color: #000;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(54, 255, 159, 0.4);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 0 30px rgba(54, 255, 159, 0.6);
}

/* 5. FAQ ACCORDION */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  border-color: var(--border-glow);
  background: rgba(54, 255, 159, 0.04);
}

.faq-question i.faq-icon {
  color: var(--accent-mint);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question {
  border-color: var(--accent-mint);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: rgba(54, 255, 159, 0.06);
}

.faq-item.open .faq-question i.faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  background: var(--bg-surface);
  border: 1px solid var(--accent-mint);
  border-top: none;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  padding: 0 25px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 20px 25px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 6. KEYBOARD SHORTCUTS LIST */
.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.shortcut-row:last-child {
  border-bottom: none;
}

.shortcut-key {
  padding: 5px 14px;
  background: rgba(54, 255, 159, 0.1);
  border: 1px solid rgba(54, 255, 159, 0.25);
  border-radius: 8px;
  font-family: 'Consolas', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-mint);
  min-width: 60px;
  text-align: center;
}

.shortcut-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* 7. LIVE STREAM BADGE */
.live-stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 14px;
}

.live-stream-badge.is-live {
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.4);
  color: #ff4444;
}

.live-stream-badge.is-offline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 0 8px #ff0000;
  animation: pulseGlow 1s infinite alternate;
}

/* 8. KONAMI EASTER EGG EFFECT */
.konami-active {
  animation: konamiRainbow 2s linear infinite;
}

@keyframes konamiRainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.konami-confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  z-index: 99999;
  pointer-events: none;
  animation: confettiFall 3s ease-in forwards;
}

@keyframes confettiFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* LANGUAGE DROPDOWN */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(12, 14, 20, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  min-width: 130px;
}

.lang-dropdown-menu.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  transition: var(--transition-smooth);

}

.lang-option-btn:hover {
  background: rgba(54, 255, 159, 0.12);
  color: var(--accent-mint);
}

/* LOCALIZATION MODAL */
.localization-modal-card {
  max-width: 600px;
  width: 90%;
  padding: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.localization-grid {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}

.loc-col {
  flex: 1;
}

.loc-divider {
  width: 1px;
  background: var(--border-light);
  margin: 0 10px;
}

.loc-col-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.loc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loc-list-right {
  margin-top: 4px;
}

/* Arrange Language into two columns if needed, or just flex wrap */
#localization-lang-list, #localization-lang-list-2 {
  flex: 1;
}

.loc-lang-wrapper {
  display: flex;
  gap: 15px;
}

.currency-column {
  flex: 1;
}

.loc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
  text-align: left;
}

.loc-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.loc-item.active {
  background: rgba(243, 244, 246, 0.1);
  font-weight: 600;
}
body.light-theme .loc-item.active {
  background: rgba(0, 0, 0, 0.05);
}

.loc-flag {
  font-size: 1.1rem;
  min-width: 24px;
  text-align: center;
}

.loc-name {
  flex: 1;
}

.loc-code {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ADMIN CONTROL PANEL STYLING */
.admin-modal-card {
  max-width: 680px;
  width: 95%;
  padding: 35px;
}

.admin-lock-icon {
  width: 64px;
  height: 64px;
  background: rgba(54, 255, 159, 0.12);
  border: 1px solid var(--accent-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-mint);
  margin: 0 auto 15px;
  box-shadow: 0 0 20px rgba(54, 255, 159, 0.2);
}

.admin-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-light);
}

.admin-badge {
  font-size: 0.72rem;
  background: rgba(54, 255, 159, 0.15);
  color: var(--accent-mint);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-tabs-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.admin-tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.admin-tab-btn.active {
  background: var(--accent-mint);
  color: #000;
  border-color: var(--accent-mint);
  font-weight: 700;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transition: var(--transition-smooth);
}

.admin-item-card:hover {
  border-color: var(--border-glow);
  background: rgba(255, 255, 255, 0.06);
}
