/* ====================== BEGRUESSUNG NACH TAGESZEIT ====================== */

#begruessung {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.5s ease;
}

.morgen { color: #d97706; }   /* warmes Orange */
.tag    { color: #16a34a; }   /* frisches Grün */
.abend  { color: #4338ca; }   /* tiefes Blau */

/* ====================== RESET & BASICS ====================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  background-color: #f8fafc;
  transition: all 0.5s ease;
}

/* ====================== HEADER & NAVIGATION ====================== */

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
              0 0 40px rgba(102, 126, 234, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.5s ease;
}

.navbar {
  padding: 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
}

.logo {
  color: white;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #fff 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo::before {
  content: "✨";
  font-size: 2rem;
  background: none;
  -webkit-text-fill-color: unset;
  color: #fbbf24;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

/* Dropdown menu styles */
.nav-menu li ul {
  display: none;
}

.nav-menu li:hover ul {
  display: block;
}

/* New dropdown submenu styles for component */
.dropdown-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  min-width: 220px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0.5rem 0 0 0;
  display: none;
  flex-direction: column;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.dropdown-submenu.show {
  display: flex;
}

.dropdown-submenu li {
  list-style: none;
  padding: 0;
}

.dropdown-submenu li a {
  display: block;
  padding: 0.7rem 1.25rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
  transition: all 0.2s ease;
  text-decoration: none;
}

.dropdown-submenu li a:hover {
  background: rgba(255, 255, 255, 0.15);
  padding-left: 1.5rem;
  color: white;
}

.nav-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  transition: all 0.4s ease;
  padding: 0.8rem 0.5rem;
  border-radius: 10px;
  position: relative;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.nav-menu a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.nav-menu a:hover::after {
  width: 80%;
}

.nav-menu a.active {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.2);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
}

.nav-menu a.active::after {
  width: 80%;
}

.btn-download {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  transition: all 0.4s ease;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.btn-download:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.6);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 7px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: white;
  transition: all 0.4s ease;
  border-radius: 3px;
}

.nav-menu.active ~ .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
  background: #fbbf24;
}

.nav-menu.active ~ .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-menu.active ~ .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(9px, -9px);
  background: #fbbf24;
}

/* ====================== MAIN CONTENT ====================== */

main {
  min-height: calc(100vh - 200px);
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ====================== HERO SECTION ====================== */

.hero {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-radius: 12px;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.25rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
}

/* ====================== KINETIC HERO SECTION ====================== */

.kinetic-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1a2847 50%, #2d1b4e 100%);
  border-radius: 0;
  padding: 0;
  margin: -3rem -2rem 3rem -2rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.kinetic-blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.1;
  filter: blur(40px);
  animation: float 8s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #ff006e, #ff4757);
  bottom: -80px;
  left: -50px;
  animation-delay: 2s;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #ffd60a, #ffc300);
  top: 50%;
  left: 10%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -50px) rotate(120deg); }
  66% { transform: translate(-30px, 30px) rotate(240deg); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -2px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  color: white;
}

.hero-title .word {
  display: inline-block;
  animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--index) * 0.1s);
  color: white;
}

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

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 1);
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

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

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.scroll-indicator span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ====================== PAGE HEADER ====================== */

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-radius: 12px;
  border-left: 4px solid #2563eb;
  border: 2px solid rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-header:hover {
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

.page-header:hover::before {
  opacity: 1;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.page-header p {
  font-size: 1.1rem;
  color: #64748b;
}

/* ====================== SECTIONS ====================== */

.content-section {
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.content-section:hover {
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0f172a;
  border-bottom: 3px solid #2563eb;
  padding-bottom: 0.5rem;
}

.content-section h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem 0;
  color: #1e293b;
}

.content-section p {
  margin-bottom: 1rem;
  color: #475569;
}

.content-section ul,
.content-section ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.8rem;
  color: #475569;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #1e40af;
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

/* ====================== FEATURE GRID ====================== */

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

.feature-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid #2563eb;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(37, 99, 235, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2), 
              0 0 30px rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.5);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: #1e40af;
}

.feature-card p {
  color: #475569;
  margin: 0;
}

/* ====================== KINETIC FEATURE SECTION ====================== */

.feature-section {
  margin-top: 4rem;
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.1rem !important;
  color: #64748b !important;
  margin-bottom: 2rem !important;
  max-width: 700px;
}

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

.kinetic-card {
  position: relative;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  animation: slideInCard 0.8s ease both;
  animation-delay: calc(var(--index) * 0.15s);
  backdrop-filter: blur(10px);
  background-clip: padding-box;
}

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

.kinetic-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 
              0 0 40px rgba(var(--color-r), var(--color-g), var(--color-b), 0.2);
  border-color: var(--accent-color);
}

.kinetic-card:nth-child(1) {
  --accent-color: #00d4ff;
  --color-r: 0;
  --color-g: 212;
  --color-b: 255;
}

.kinetic-card:nth-child(2) {
  --accent-color: #ff006e;
  --color-r: 255;
  --color-g: 0;
  --color-b: 110;
}

.kinetic-card:nth-child(3) {
  --accent-color: #ffc300;
  --color-r: 255;
  --color-g: 195;
  --color-b: 0;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: rotate 20s linear infinite;
}

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

.kinetic-card:hover .card-icon {
  animation: rotate 1s linear infinite, pulse 0.6s ease-in-out 2;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.kinetic-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #0f172a;
  transition: color 0.3s ease;
}

.kinetic-card:hover h3 {
  color: var(--accent-color);
}

.kinetic-card p {
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

.card-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  border-radius: 50% 0 0 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-accent.accent-teal {
  background: linear-gradient(135deg, #00d4ff, #0099ff);
}

.card-accent.accent-magenta {
  background: linear-gradient(135deg, #ff006e, #ff4757);
}

.card-accent.accent-gold {
  background: linear-gradient(135deg, #ffd60a, #ffc300);
}

.kinetic-card:hover .card-accent {
  opacity: 0.1;
}

/* ====================== BUTTONS ====================== */

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5), 
              0 0 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: white;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-secondary:hover {
  background: #f0f9ff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 3rem;
  border-radius: 12px;
  margin: 3rem 0;
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2),
              0 0 40px rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease;
}

.cta-section h2 {
  color: white;
  border: none;
  margin-bottom: 1.5rem;
}

/* ====================== KINETIC CTA SECTION ====================== */

.kinetic-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1a2847 50%, #2d1b4e 100%);
  border-radius: 16px;
  padding: 4rem 2rem;
  margin: 4rem 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
              0 0 60px rgba(102, 126, 234, 0.2);
  border: 2px solid rgba(102, 126, 234, 0.3);
  transition: all 0.5s ease;
}

.cta-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-accent {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.08;
  filter: blur(50px);
}

.accent-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  top: -150px;
  right: -100px;
  animation: float 10s ease-in-out infinite;
}

.accent-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #ff006e, #ff4757);
  bottom: -100px;
  left: 10%;
  animation: float 12s ease-in-out infinite;
  animation-delay: 2s;
}

.accent-3 {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, #ffd60a, #ffc300);
  bottom: 20%;
  right: 5%;
  animation: float 14s ease-in-out infinite;
  animation-delay: 4s;
}

.cta-title {
  position: relative;
  z-index: 10;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kinetic-buttons {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.kinetic-btn {
  position: relative;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.kinetic-btn:nth-child(1) {
  animation-delay: 0.2s;
}

.kinetic-btn:nth-child(2) {
  animation-delay: 0.4s;
}

.kinetic-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.kinetic-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.kinetic-btn:active::after {
  width: 300px;
  height: 300px;
}

.kinetic-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2), 
              0 0 40px rgba(0, 212, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.kinetic-btn:hover::before {
  opacity: 1;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kinetic-btn:hover .btn-arrow {
  transform: translateX(6px);
}

/* ====================== TECH GRID ====================== */

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

.tech-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-card:hover {
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2),
              0 0 30px rgba(37, 99, 235, 0.1);
  transform: translateY(-4px);
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-card h3 {
  color: #2563eb;
  margin-bottom: 1rem;
}

.tech-card ul {
  list-style: none;
  margin-left: 0;
}

.tech-card li {
  padding: 0.5rem 0;
}

.tech-card li:before {
  content: "✓ ";
  color: #10b981;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ====================== TEAM GRID ====================== */

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

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  border-color: #2563eb;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2),
              0 0 30px rgba(37, 99, 235, 0.1);
}

.team-member:hover::before {
  opacity: 1;
}

.member-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.team-member h3 {
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.team-member p {
  color: #64748b;
  margin: 0;
}

/* ====================== VALUES LIST ====================== */

.values-list {
  list-style: none;
  margin-left: 0;
}

.values-list li {
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f1f5f9;
  border-radius: 8px;
  border-left: 4px solid #2563eb;
}

.values-list strong {
  color: #2563eb;
}

/* ====================== FEATURE LIST ====================== */

.feature-list {
  list-style: none;
  margin-left: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
}

.feature-list li:before {
  content: "★";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* ====================== LEARNING GOALS ====================== */

.learning-goals {
  counter-reset: item;
  list-style: none;
  margin-left: 0;
}

.learning-goals li {
  counter-increment: item;
  margin-bottom: 1rem;
  padding-left: 2.5rem;
  position: relative;
}

.learning-goals li:before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  background: #2563eb;
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ====================== CONTACT PAGE ====================== */

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
}

.info-item {
  margin-bottom: 2rem;
}

.info-item h3 {
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: #475569;
}

/* ====================== CONTACT FORM ====================== */

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e293b;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-group.checkbox input {
  width: auto;
}

.form-group.checkbox label {
  margin: 0;
}

.error-message {
  display: block;
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc2626;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 6px;
  display: none;
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #10b981;
}

.form-message.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* ====================== LEGAL CONTENT ====================== */

.legal-content {
  margin-top: 1.5rem;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2563eb;
}

.legal-content p {
  margin-bottom: 1rem;
  text-align: justify;
}

.legal-content ul {
  margin-bottom: 1rem;
}

/* ====================== FOOTER ====================== */

footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #cbd5e1;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #93c5fd;
}

.footer-section a:hover {
  color: white;
}

.footer-section ul {
  list-style: none;
  margin-left: 0;
}

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

/* ====================== MEDIA QUERIES ====================== */

@media (max-width: 768px) {
  .nav-menu {
    gap: 0;
  }

  .nav-menu a {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 0;
    width: 100%;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu a::after {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .feature-grid,
  .tech-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    font-size: 1.3rem;
    gap: 0.5rem;
  }

  .logo::before {
    font-size: 1.5rem;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 75px;
    flex-direction: column;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    width: 100%;
    text-align: center;
    transition: 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    gap: 0;
    z-index: 999;
  }

  .nav-menu li {
    padding: 0;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu.active {
    left: 0;
  }

  .btn-download {
    margin: 1rem;
    width: calc(100% - 2rem);
  }

  /* ====================== KINETIC RESPONSIVE 768px ====================== */

  .kinetic-hero {
    min-height: 70vh;
    padding: 2rem;
    margin: -3rem -2rem 2rem -2rem;
  }

  .hero-title {
    font-size: 2.5rem;
    gap: 0.3rem;
  }

  .hero-title .word {
    animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(var(--index) * 0.08s);
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .kinetic-blob {
    opacity: 0.06;
    filter: blur(50px);
  }

  .blob-1 {
    width: 250px;
    height: 250px;
    top: -80px;
    right: -80px;
  }

  .blob-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -30px;
  }

  .blob-3 {
    width: 220px;
    height: 220px;
  }

  .kinetic-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .kinetic-card {
    animation: slideInCard 0.6s ease both;
    animation-delay: calc(var(--index) * 0.1s);
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .kinetic-cta {
    padding: 3rem 1.5rem;
    margin: 3rem -2rem;
    border-radius: 0;
  }

  .cta-accent {
    opacity: 0.04;
  }

  .accent-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -80px;
  }

  .accent-2 {
    width: 180px;
    height: 180px;
    bottom: -80px;
    left: -20px;
  }

  .accent-3 {
    width: 200px;
    height: 200px;
  }

  .cta-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .kinetic-buttons {
    gap: 1rem;
  }

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

@media (max-width: 480px) {
  main {
    padding: 1.5rem 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .page-header {
    padding: 1.5rem 1rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .content-section {
    padding: 1.5rem 1rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }

  /* ====================== KINETIC RESPONSIVE 480px ====================== */

  .kinetic-hero {
    min-height: 60vh;
    padding: 1.5rem 1rem;
    margin: -3rem -2rem 1.5rem -2rem;
  }

  .hero-title {
    font-size: 1.75rem;
    gap: 0.2rem;
  }

  .hero-title .word {
    animation: slideInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(var(--index) * 0.06s);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .scroll-indicator {
    display: none;
  }

  .kinetic-blob {
    opacity: 0.04;
    filter: blur(60px);
  }

  .blob-1 {
    width: 150px;
    height: 150px;
    top: -50px;
    right: -50px;
  }

  .blob-2 {
    width: 120px;
    height: 120px;
    bottom: -40px;
    left: -40px;
  }

  .blob-3 {
    width: 140px;
    height: 140px;
    display: none;
  }

  .kinetic-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .kinetic-card {
    padding: 1.5rem;
    animation: slideInCard 0.5s ease both;
    animation-delay: calc(var(--index) * 0.08s);
  }

  .kinetic-card h3 {
    font-size: 1.2rem;
  }

  .card-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .kinetic-cta {
    padding: 2rem 1rem;
    margin: 2rem -2rem;
    border-radius: 0;
  }

  .cta-accent {
    opacity: 0.02;
  }

  .accent-1,
  .accent-2,
  .accent-3 {
    display: none;
  }

  .cta-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }

  .kinetic-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .kinetic-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* ====================== ANIMATIONS ====================== */

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

@keyframes glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3), 
                0 10px 30px rgba(0, 0, 0, 0.1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.6), 
                0 10px 40px rgba(0, 0, 0, 0.15);
  }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

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

.content-section {
  animation: fadeIn 0.5s ease-out;
}

/* ====================== GALLERY ====================== */

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

.galerie img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.galerie img:hover {
  transform: scale(1.05);
}

/* ====================== DARK MODE ====================== */

#dark-mode-toggle {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

#dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
}

body.dark {
  background-color: #1e293b;
  color: #e2e8f0;
  transition: all 0.5s ease;
}

body.dark header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  transition: all 0.5s ease;
}

body.dark .nav-menu a {
  color: rgba(226, 232, 240, 0.8);
}

body.dark .nav-menu a:hover {
  background: rgba(226, 232, 240, 0.1);
  color: white;
}

body.dark .nav-menu a.active {
  background: rgba(102, 126, 234, 0.3);
}

body.dark nav {
  border-color: #334155;
}

body.dark a {
  color: #60a5fa;
}

body.dark a:hover {
  color: #93c5fd;
}

body.dark main {
  background-color: #1e293b;
}

body.dark .hero {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
}

body.dark .hero h1 {
  color: #e2e8f0;
}

body.dark .hero p {
  color: #a0aec0;
}

body.dark .page-header {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-left-color: #667eea;
}

body.dark .page-header h1 {
  color: #e2e8f0;
}

body.dark .page-header p {
  color: #cbd5e1;
}

body.dark .content-section {
  background: #334155;
  color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

body.dark .content-section h2 {
  color: #e2e8f0;
  border-bottom-color: #667eea;
}

body.dark .content-section h3 {
  color: #cbd5e1;
}

body.dark .content-section p {
  color: #a0aec0;
}

body.dark .content-section li {
  color: #a0aec0;
}

body.dark .feature-card {
  background: linear-gradient(135deg, #2d3e5f 0%, #1e3a4d 100%);
  border-left-color: #667eea;
}

body.dark .feature-card h3 {
  color: #60a5fa;
}

body.dark .feature-card p {
  color: #a0aec0;
}

body.dark .btn {
  color: white;
}

body.dark .btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

body.dark .btn-secondary {
  background: #334155;
  color: #60a5fa;
  border-color: #667eea;
}

body.dark .btn-secondary:hover {
  background: #475569;
}

body.dark .cta-section {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

body.dark .cta-section h2 {
  color: white;
}

body.dark .tech-card {
  background: #334155;
  border-color: #475569;
}

body.dark .tech-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

body.dark .tech-card h3 {
  color: #60a5fa;
}

body.dark .tech-card li {
  color: #a0aec0;
}

body.dark .team-member {
  background: #334155;
  border-color: #475569;
}

body.dark .team-member:hover {
  border-color: #667eea;
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.15);
}

body.dark .team-member h3 {
  color: #60a5fa;
}

body.dark .team-member p {
  color: #a0aec0;
}

body.dark .values-list li {
  background: #2d3e5f;
  border-left-color: #667eea;
}

body.dark .values-list strong {
  color: #60a5fa;
}

body.dark .feature-list li:before {
  color: #667eea;
}

body.dark .learning-goals li:before {
  background: #667eea;
}

body.dark .contact-info {
  background: #334155;
  border-color: #475569;
}

body.dark .contact-info h3 {
  color: #60a5fa;
}

body.dark .contact-info p {
  color: #a0aec0;
}

body.dark .contact-form {
  background: #334155;
  border-color: #475569;
}

body.dark .form-group label {
  color: #e2e8f0;
}

body.dark .form-group input,
body.dark .form-group textarea {
  background: #1e293b;
  border-color: #475569;
  color: #e2e8f0;
}

body.dark .form-group input:focus,
body.dark .form-group textarea:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

body.dark .form-group.error input,
body.dark .form-group.error textarea {
  border-color: #ef4444;
}

body.dark .legal-content h3 {
  color: #60a5fa;
}

body.dark footer {
  background: linear-gradient(135deg, #0f172a 0%, #0f172a 100%);
  border-top: 1px solid #334155;
}

body.dark .footer-section h3 {
  color: #e2e8f0;
}

body.dark .footer-section a {
  color: #60a5fa;
}

body.dark .footer-section a:hover {
  color: #93c5fd;
}

body.dark .galerie img {
  border: 1px solid #475569;
}

body.dark .exercise-card {
  background: #334155;
  border: 2px solid #475569;
}

body.dark .exercise-card h2 {
  color: #e2e8f0;
  border-bottom-color: #667eea;
}

body.dark .exercise-card p {
  color: #a0aec0;
}

body.dark .exercise-card table {
  border-color: #475569;
}

body.dark .exercise-card th,
body.dark .exercise-card td {
  border-color: #475569;
  color: #a0aec0;
}

body.dark .dropdown-submenu {
  background: rgba(0, 0, 0, 0.4);
}

body.dark .dropdown-submenu li a {
  color: rgba(226, 232, 240, 0.95);
}

body.dark .dropdown-submenu li a:hover {
  background: rgba(226, 232, 240, 0.15);
}

body.dark .exercise-card th {
  background-color: #2d3e5f;
  color: #e2e8f0;
}

/* ====================== DARK MODE - KINETIC ELEMENTS ====================== */

body.dark .kinetic-hero {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a1845 100%);
}

body.dark .hero-title {
  color: #e2e8f0;
}

body.dark .hero-subtitle {
  color: rgba(226, 232, 240, 0.7);
}

body.dark .scroll-indicator span {
  color: rgba(226, 232, 240, 0.8);
}

body.dark .scroll-arrow {
  color: rgba(226, 232, 240, 0.6);
}

body.dark .kinetic-card {
  background: linear-gradient(135deg, #1a2332 0%, #1e2d3a 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(102, 126, 234, 0.2);
}

body.dark .kinetic-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 
              0 0 40px rgba(var(--color-r), var(--color-g), var(--color-b), 0.3);
  border-color: var(--accent-color);
}

body.dark .kinetic-card h3 {
  color: #e2e8f0;
}

body.dark .kinetic-card:hover h3 {
  color: var(--accent-color);
}

body.dark .kinetic-card p {
  color: #a0aec0;
}

body.dark .kinetic-cta {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a1845 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

body.dark .cta-title {
  color: #e2e8f0;
}

body.dark .kinetic-btn {
  border-color: rgba(226, 232, 240, 0.3);
  background: rgba(226, 232, 240, 0.05);
  color: #e2e8f0;
}

body.dark .kinetic-btn:hover {
  background: rgba(226, 232, 240, 0.15);
  border-color: rgba(226, 232, 240, 0.5);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

/* ====================== EXERCISE CARDS ====================== */

.exercise-card {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.85) 100%);
  position: relative;
  overflow: hidden;
}

.exercise-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exercise-card:hover {
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.2),
              0 0 30px rgba(102, 126, 234, 0.1);
  border-color: #667eea;
  transform: translateY(-4px);
}

.exercise-card:hover::before {
  opacity: 1;
}

.exercise-card h2 {
  color: #0f172a;
  border-bottom: 3px solid #667eea;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.exercise-card p {
  color: #475569;
}

.exercise-card ul {
  margin-left: 1.5rem;
}

/* ====================== QUIZ STYLES ====================== */

.quiz-container {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 2rem auto;
}

.quiz-question {
  animation: slideIn 0.3s ease;
}

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

.question-counter {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.quiz-question h2 {
  font-size: 1.5rem;
  color: #0f172a;
  margin: 1.5rem 0;
  line-height: 1.4;
}

.quiz-answers {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.answer-btn {
  padding: 1.75rem 2rem;
  min-height: 70px;
  border: 2px solid #cbd5e1;
  background: white;
  color: #1e293b;
  border-radius: 16px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  font-weight: 600;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.answer-btn:hover:not(:disabled) {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.05));
  transform: translateX(6px) translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

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

.answer-btn.correct {
  background: linear-gradient(135deg, #dcfce7, #d1fae5);
  border-color: #16a34a;
  color: #15803d;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.answer-btn.incorrect {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-color: #dc2626;
  color: #991b1b;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.feedback {
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.feedback.correct {
  background: #dcfce7;
  color: #15803d;
  border: 2px solid #16a34a;
}

.feedback.incorrect {
  background: #fee2e2;
  color: #991b1b;
  border: 2px solid #dc2626;
}

.quiz-progress {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.4s ease;
}

.points-display {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

.points-display strong {
  color: #667eea;
  font-size: 1.1rem;
}

.quiz-result {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
}

.quiz-result h2 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

#result-text {
  font-size: 1.2rem;
  color: #475569;
  line-height: 1.8;
  margin: 1.5rem 0;
}

/* ====================== RESPONSIVE QUIZ ====================== */

@media (max-width: 768px) {
  .quiz-container,
  .quiz-result {
    padding: 1.5rem;
    margin: 1rem;
  }

  .quiz-question h2 {
    font-size: 1.2rem;
  }

  .answer-btn {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}

.exercise-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}