
:root {
  --color-bg: #F8FAFC;
  --color-primary: #0F172A; 
  --color-accent-green: #10B981; 
  --color-accent-gold: #F59E0B; 
  --color-text: #334155;
  --color-text-light: #64748B;
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;
  
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 5px 0;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition);
}

.header.scrolled .header-inner {
  height: 60px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 24px;
  height: 24px;
  fill: var(--color-accent-green);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  color: var(--color-accent-green);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-accent-gold);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent-gold);
  color: var(--color-primary);
}

.btn-primary:hover {
  background-color: #FBBF24;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #1E293B;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}


.hero {
  margin-top: 80px;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E293B 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--color-bg);
  transform: skewY(-3deg);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.125rem;
  color: #CBD5E1;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}


.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}


.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}


.card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-wrapper svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent-green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.book-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.book-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  background-color: #F1F5F9;
  padding: 20px;
}

.book-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-author {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 5px;
}

.book-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.book-price {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-top: auto;
  margin-bottom: 15px;
}


.footer {
  background-color: var(--color-primary);
  color: #CBD5E1;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #CBD5E1;
}

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

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-white);
}

.social-links a:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-primary);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.payment-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.payment-icons svg {
  height: 24px;
  width: auto;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}


.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }


.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-accent-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 2000;
  display: none;
}
.cookie-banner.active {
  display: block;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}
.cookie-text {
  flex-grow: 1;
}
.cookie-actions {
  display: flex;
  gap: 10px;
}


.chat-widget-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--color-accent-green);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
}
.chat-widget-btn:hover {
  transform: scale(1.1);
}
.chat-widget-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  height: 400px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-widget-window.active {
  display: flex;
}
.chat-header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.chat-close {
  cursor: pointer;
}
.chat-body {
  padding: 15px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-input {
  padding: 10px;
  border-top: 1px solid var(--color-border);
  display: flex;
}
.chat-input input {
  flex-grow: 1;
  border: none;
  outline: none;
  padding: 8px;
}
.chat-input button {
  background: none;
  border: none;
  color: var(--color-accent-green);
  cursor: pointer;
  font-weight: 600;
}

/* Quiz Styles */
.quiz-section {
  padding: 80px 0;
  background-color: var(--color-bg);
}

.quiz-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* Steps Grid */
.quiz-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0 60px;
}

.step-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--color-accent-green);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Quiz Dual Cards Grid */
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.quiz-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.quiz-card-image {
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #E2E8F0;
}

.quiz-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.quiz-card:hover .quiz-card-image img {
  transform: scale(1.05);
}

.quiz-card-body {
  padding: 35px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.quiz-card-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 15px;
  font-weight: 500;
}

.quiz-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quiz-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.quiz-card p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.quiz-card-start-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Inside Card Quiz Container */
.quiz-card-stage {
  padding: 35px;
  animation: fadeIn 0.4s ease;
}

.quiz-header {
  margin-bottom: 25px;
}

.quiz-progress-container {
  background-color: var(--color-border);
  height: 8px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 15px;
}

.quiz-progress-bar {
  background-color: var(--color-accent-green);
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.quiz-question {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.option-btn {
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.option-btn:hover:not(:disabled) {
  border-color: var(--color-accent-green);
  background-color: rgba(16, 185, 129, 0.03);
  transform: translateY(-2px);
}

.option-btn:active:not(:disabled) {
  transform: translateY(0);
}

.option-btn:disabled {
  cursor: not-allowed;
}

.option-btn.correct {
  border-color: var(--color-accent-green);
  background-color: rgba(16, 185, 129, 0.08);
  color: #065F46;
  font-weight: 600;
}

.option-btn.incorrect {
  border-color: #EF4444;
  background-color: rgba(239, 68, 68, 0.08);
  color: #991B1B;
}

.option-btn.correct::after {
  content: '✓';
  color: var(--color-accent-green);
  font-weight: bold;
  font-size: 1.15rem;
}

.option-btn.incorrect::after {
  content: '✗';
  color: #EF4444;
  font-weight: bold;
  font-size: 1.15rem;
}

.quiz-explanation {
  background-color: #F0FDF4;
  border-left: 4px solid var(--color-accent-green);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 20px;
  animation: fadeIn 0.4s ease;
}

.quiz-explanation.wrong-exp {
  background-color: #FEF2F2;
  border-left-color: #EF4444;
}

.quiz-explanation h4 {
  color: #166534;
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.quiz-explanation.wrong-exp h4 {
  color: #991B1B;
}

.quiz-explanation p {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.5;
}

.quiz-actions {
  display: flex;
  justify-content: flex-end;
}

.quiz-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

/* Results Styles */
.results-card {
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.score-circle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--color-accent-green) var(--percentage), var(--color-border) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-md);
}

.score-circle::before {
  content: '';
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background-color: var(--color-white);
}

.score-text {
  position: relative;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.score-text span {
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.result-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.result-desc {
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.result-recommendations {
  background-color: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  margin-bottom: 20px;
}

.result-recommendations h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rec-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
}

.rec-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.result-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Disclaimer text */
.quiz-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-light);
  line-height: 1.5;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.8;
}

/* Newsletter Section */
.subscribe-band {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 60px 0;
  border-radius: var(--radius-lg);
  margin: 40px 0;
}

.subscribe-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.subscribe-band-info {
  flex: 1;
}

.subscribe-band-info h2 {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 12px;
}

.subscribe-band-info p {
  color: #94A3B8;
  font-size: 1rem;
  line-height: 1.5;
}

.subscribe-form-wrapper {
  flex: 1;
  max-width: 500px;
  width: 100%;
}

.subscribe-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscribe-input-group {
  display: flex;
  gap: 10px;
  width: 100%;
}

.subscribe-input-group input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.2);
  background-color: rgba(255,255,255,0.05);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-family: var(--font-body);
}

.subscribe-input-group input:focus {
  outline: none;
  border-color: var(--color-accent-green);
  background-color: rgba(255,255,255,0.08);
}

.subscribe-form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.75rem;
  color: #94A3B8;
  cursor: pointer;
}

.subscribe-form-consent input {
  margin-top: 3px;
}

.subscribe-form-consent a {
  color: var(--color-white);
  text-decoration: underline;
}
