:root {
  --gold: #f9a825;
  --gold-soft: rgba(249, 168, 37, 0.15);
  --black: #050505;
  --black-soft: #0e0e0e;
  --white: #ffffff;
  --muted: #9e9e9e;
  --gold-light: rgba(249, 168, 37, 0.7);
  --gold-dark: #d18b00;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-soft) 100%);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Glassmorphism Cards */
.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Progress Bar */
.progress-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin: 20px 0;
  backdrop-filter: blur(5px);
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(249, 168, 37, 0.3);
}

/* Glass Buttons */
.btn {
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 10px 5px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: rgba(249, 168, 37, 0.2);
  border: 1px solid rgba(249, 168, 37, 0.3);
  color: var(--gold);
  box-shadow: 
    0 4px 15px rgba(249, 168, 37, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(249, 168, 37, 0.25);
  box-shadow: 
    0 8px 25px rgba(249, 168, 37, 0.3),
    0 0 20px rgba(249, 168, 37, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Question Container */
.question-container {
  text-align: center;
  padding: 40px 30px;
}

.question-text {
  font-size: 1.3em;
  margin: 25px 0;
  color: var(--white);
  line-height: 1.8;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-text {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 20px;
}

/* Chart Container */
.chart-container {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Forms */
input, select, textarea {
  width: 100%;
  padding: 15px 20px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 16px;
  color:#f9a825;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 
    0 0 0 2px rgba(249, 168, 37, 0.2),
    0 0 20px rgba(249, 168, 37, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

input::placeholder, textarea::placeholder {
  color: var(--muted);
}

/* Hero Section */
.start-section {
  text-align: center;
  padding: 3rem 2rem !important;
  margin: 2rem auto;
  max-width: 800px;
  border: 1px solid rgba(249, 168, 37, 0.2);
  animation: float 3s ease-in-out infinite;
  background: linear-gradient(
    135deg,
    rgba(249, 168, 37, 0.05) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.hero-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, #ffc107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(249, 168, 37, 0.3);
}

/* Video Container */
.video-container {
  width: 100%;
  max-width: 700px;
  margin: 10px auto 25px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(249, 168, 37, 0.2);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1rem 0;
  width: 100%;
}

.feature-item {
  padding: 1.2rem;
  background: rgba(249, 168, 37, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  font-weight: 600;
  color: var(--gold);
  transition: all 0.3s ease;
  border: 1px solid rgba(249, 168, 37, 0.2);
}

.feature-item:hover {
  transform: translateY(-5px);
  background: rgba(249, 168, 37, 0.15);
  box-shadow: 0 8px 25px rgba(249, 168, 37, 0.2);
}

.hero-button {
  padding: 1.2rem 3rem !important;
  font-size: 1.2rem !important;
  border-radius: 50px !important;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(249, 168, 37, 0.2) 0%,
    rgba(249, 168, 37, 0.1) 100%
  ) !important;
  border: 1px solid rgba(249, 168, 37, 0.3) !important;
  color: var(--gold) !important;
  margin-top: 10px !important;
}

.hero-button:hover {
  transform: scale(1.05) translateY(-3px) !important;
  box-shadow: 
    0 8px 25px rgba(249, 168, 37, 0.3),
    0 0 30px rgba(249, 168, 37, 0.1) !important;
}

.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
  opacity: 0.8;
}

/* Results CTA */
.results-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 40px 0 20px;
  flex-wrap: wrap;
}

.highlight-button {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
}

#downloadBtn {
  background: rgba(33, 150, 243, 0.2);
  border-color: rgba(33, 150, 243, 0.3);
  color: #4FC3F7 !important;
}

#downloadBtn:hover {
  transform: translateY(-3px);
  background: rgba(33, 150, 243, 0.25);
  box-shadow: 
    0 8px 25px rgba(33, 150, 243, 0.3),
    0 0 20px rgba(33, 150, 243, 0.1);
}

.whatsapp-cta {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.3);
  color: #69F0AE !important;
}

.whatsapp-cta:hover {
  transform: translateY(-3px);
  background: rgba(37, 211, 102, 0.25);
  box-shadow: 
    0 8px 25px rgba(37, 211, 102, 0.3),
    0 0 20px rgba(37, 211, 102, 0.1);
}

/* Intelligence Cards */
.top-intelligences {
  margin: 2rem 0;
  text-align: center;
}

.top-intelligences h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.top-intelligences p {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  border-left: 4px solid var(--gold);
}

.intelligence-cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.intelligence-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--gold);
}

.intelligence-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.intelligence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.category-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.percentage-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(249, 168, 37, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(249, 168, 37, 0.2);
}

/* Language Selector */
.language-selector {
  text-align: center;
  margin: 20px auto;
  max-width: 600px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
}

.language-selector.active {
  display: block;
  animation: slideUp 0.5s ease-out;
}

.lang-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.lang-btn {
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--white);
  backdrop-filter: blur(5px);
}

.lang-btn.active {
  background: rgba(249, 168, 37, 0.2);
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(249, 168, 37, 0.3);
}

.lang-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Results Content */
.highlight-text {
  color: var(--gold);
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(249, 168, 37, 0.3);
}

.results-cta-content {
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  margin: 25px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.results-cta-content h3 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.results-cta-content p {
  margin: 10px 0;
  color: var(--muted);
}

.results-cta-content ul {
  list-style-position: inside;
  color: var(--white);
  text-align: left;
  display: inline-block;
}

.results-cta-content li {
  margin: 8px 0;
  color: var(--muted);
}

/* Form group styles */
.form-group {
  margin: 20px 0;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

#workModeBox {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.preloader-content {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(249, 168, 37, 0.2);
  box-shadow: 
      0 20px 60px rgba(0, 0, 0, 0.5),
      0 0 30px rgba(249, 168, 37, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 400px;
  width: 90%;
  animation: slideUp 0.5s ease-out;
}

.spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.preloader-content h3 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.preloader-content p {
  color: var(--muted);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 1.5s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Animations for preloader */
@keyframes spin {
  to {
      transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
      opacity: 0.3;
      transform: scale(0.8);
  }
  50% {
      opacity: 1;
      transform: scale(1.2);
  }
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
  
  .card {
    padding: 20px;
  }
  
  .btn {
    width: 100%;
    margin: 8px 0;
  }
  
  .question-text {
    font-size: 1.1em;
  }
  
  .hero-title {
    font-size: 1.8rem;
    padding: 0 1rem;
  }
  
  .video-container {
    margin: 15px 0;
    border-radius: 12px;
  }
  
  /* Mobile Portrait Video */
  .video-wrapper {
    aspect-ratio: 9/16 !important;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-item {
    font-size: 0.95rem;
    padding: 1rem;
  }
  
  .hero-button {
    width: 100%;
    font-size: 1.1rem !important;
    padding: 1rem 2rem !important;
  }
  
  .start-section {
    padding: 2rem 1rem !important;
    margin: 1rem;
  }
  
  .results-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .highlight-button {
    width: 100%;
    justify-content: center;
  }
  
  .intelligence-cards {
    grid-template-columns: 1fr;
  }
  
  .lang-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  /* Mobile Layout Order */
  .hero-content {
    gap: 20px;
  }
  
  .hero-title {
    order: 1;
  }
  
  .video-container {
    order: 2;
  }
  
  .hero-features {
    order: 3;
  }
  
  .hero-button {
    order: 4;
  }
  
  .hero-note {
    order: 5;
  }
  
  .preloader-content {
    padding: 30px 20px;
  }
  
  .spinner {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .feature-item {
    font-size: 0.9rem;
  }
  
  .hero-button {
    padding: 1rem !important;
  }
  
  .chart-container {
    padding: 15px;
  }
  
  .video-wrapper {
    aspect-ratio: 9/16 !important;
    min-height: 400px;
  }
  
  .preloader-content h3 {
    font-size: 1.1rem;
  }
  
  .preloader-content p {
    font-size: 0.85rem;
  }
}

/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1024px) {
  .video-container {
    max-width: 600px;
  }
  
  .video-wrapper {
    aspect-ratio: 16/9;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}

/* Additional Glass Effects */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 45px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: rgba(249, 168, 37, 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(249, 168, 37, 0.5);
}

