:root {
  --color-midnight: #0E1A2B;
  --color-graphite: #1F2933;
  --color-steel: #3A4A5A;
  --color-cyan: #4FD1C5;
  --color-neon-blue: #5B9DFF;
  --color-ice: #F5F7FA;
  --color-ice-muted: rgba(245, 247, 250, 0.7);
  --color-ice-subtle: rgba(245, 247, 250, 0.5);
  
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 8px 30px rgba(79, 209, 197, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-midnight);
  color: var(--color-ice);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--color-cyan);
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  text-wrap: pretty;
}


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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 26, 43, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 74, 90, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 32px;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ice-muted);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-cyan);
  transition: width var(--transition-normal);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-ice);
}

.header-cta {
  display: none;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ice);
  transition: var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.nav-mobile {
  position: fixed;
  z-index: 9999;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-midnight);
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}

.nav-mobile.active {
  transform: translateX(0);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile a {
  display: block;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--color-graphite);
  color: var(--color-cyan);
}

.nav-mobile .mobile-cta {
  margin-top: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-neon-blue));
  color: var(--color-midnight);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: var(--color-midnight);
}

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

.btn-secondary:hover {
  background: var(--color-cyan);
  color: var(--color-midnight);
}

.btn-ghost {
  background: rgba(79, 209, 197, 0.1);
  color: var(--color-cyan);
}

.btn-ghost:hover {
  background: rgba(79, 209, 197, 0.2);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(79, 209, 197, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(91, 157, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  padding: 60px 0;
}

.hero-text {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(79, 209, 197, 0.1);
  border: 1px solid rgba(79, 209, 197, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--color-cyan);
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-ice-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
}

.code-window {
  background: var(--color-graphite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
}

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

.code-dot.red { background: #FF5F56; }
.code-dot.yellow { background: #FFBD2E; }
.code-dot.green { background: #27CA40; }

.code-content {
  padding: 24px;
  font-family: 'Fira Code', 'Monaco', monospace;
  font-size: 0.9rem;
  line-height: 1.8;
  overflow-x: auto;
}

.code-content .comment { color: var(--color-steel); }
.code-content .keyword { color: var(--color-neon-blue); }
.code-content .function { color: var(--color-cyan); }
.code-content .string { color: #F9A8D4; }
.code-content .number { color: #FBBF24; }

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-ice-muted);
}

/* Features / Why Learn */
.features-grid {
  display: grid;
  gap: 24px;
}

.feature-card {
  background: var(--color-graphite);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(58, 74, 90, 0.5);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 209, 197, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--color-cyan);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-ice-muted);
}

/* Course Cards */
.courses-grid {
  display: grid;
  gap: 24px;
}

.course-card {
  background: var(--color-graphite);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(58, 74, 90, 0.5);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-hover);
}

.course-image {
  height: 200px;
  background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-steel) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-cyan);
}

.course-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-level {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(79, 209, 197, 0.1);
  color: var(--color-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 16px;
  width: fit-content;
}

.course-card h3 {
  margin-bottom: 12px;
}

.course-card p {
  color: var(--color-ice-muted);
  margin-bottom: 20px;
  flex: 1;
}

.course-meta {
  display: flex;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--color-ice-subtle);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Learning Method */
.method-steps {
  display: grid;
  gap: 32px;
  counter-reset: step;
}

.method-step {
  display: grid;
  gap: 24px;
  align-items: center;
  counter-increment: step;
}

.step-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-neon-blue));
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-midnight);
}

.step-content h3 {
  margin-bottom: 8px;
}

.step-content p {
  color: var(--color-ice-muted);
}

/* Projects */
.projects-grid {
  display: grid;
  gap: 24px;
}

.project-card {
  background: var(--color-graphite);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(58, 74, 90, 0.5);
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-hover);
}

.project-preview {
  height: 220px;
  background: var(--color-midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.project-preview-code {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--color-ice-muted);
  white-space: pre-wrap;
  line-height: 1.6;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  margin-bottom: 8px;
}

.project-info p {
  color: var(--color-ice-muted);
  font-size: 0.95rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.project-tag {
  padding: 4px 10px;
  background: rgba(91, 157, 255, 0.1);
  color: var(--color-neon-blue);
  font-size: 0.75rem;
  border-radius: 4px;
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 24px;
}

.review-card {
  background: var(--color-graphite);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(58, 74, 90, 0.5);
}

.review-stars {
  color: #FBBF24;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.review-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-ice-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-neon-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-midnight);
}

.review-author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.review-author-info span {
  font-size: 0.875rem;
  color: var(--color-ice-subtle);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-midnight) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--color-ice-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-midnight);
  border: 1px solid var(--color-steel);
  border-radius: var(--radius-sm);
  color: var(--color-ice);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-cyan);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23F5F7FA' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-cyan);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox span {
  font-size: 0.9rem;
  color: var(--color-ice-muted);
}

.form-checkbox a {
  color: var(--color-cyan);
  text-decoration: underline;
}

/* Contact Info */
.contact-info {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 209, 197, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-cyan);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--color-ice-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: var(--color-graphite);
  border-top: 1px solid rgba(58, 74, 90, 0.5);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--color-ice-muted);
  margin-top: 16px;
  max-width: 300px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-ice);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-ice-muted);
  font-size: 0.95rem;
}

.footer-contact p {
  color: var(--color-ice-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--color-ice-muted);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(58, 74, 90, 0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-ice-subtle);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-legal a {
  color: var(--color-ice-subtle);
  font-size: 0.875rem;
}

/* Page Hero (for inner pages) */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(79, 209, 197, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-left {
  text-align: left;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--color-ice-muted);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero-left p {
  margin: 0;
}

.page-hero-content {
  display: grid;
  gap: 48px;
  align-items: center;
}

.page-hero-text {
  max-width: 700px;
}

.page-hero-visual {
  position: relative;
}

.page-hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--color-ice-subtle);
}

.breadcrumb a {
  color: var(--color-ice-muted);
}

.breadcrumb span {
  color: var(--color-cyan);
}

/* Content Sections */
.content-section {
  padding: 60px 0;
}

.content-grid {
  display: grid;
  gap: 48px;
}

.content-block h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.content-block h3 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-block p {
  color: var(--color-ice-muted);
  margin-bottom: 16px;
}

.content-block ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.content-block li {
  color: var(--color-ice-muted);
  margin-bottom: 8px;
  position: relative;
}

.content-block li::before {
  content: '→';
  color: var(--color-cyan);
  position: absolute;
  left: -24px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 24px;
}

.pricing-card {
  background: var(--color-graphite);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid rgba(58, 74, 90, 0.5);
  text-align: center;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  border-color: var(--color-cyan);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Populär';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-neon-blue));
  color: var(--color-midnight);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}

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

.pricing-card h3 {
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  margin: 20px 0;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-ice-muted);
}

.pricing-card p {
  color: var(--color-ice-muted);
  margin-bottom: 24px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--color-ice-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-cyan);
  font-weight: 700;
}

/* Thank You Page */
.thankyou-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.thankyou-content {
  max-width: 500px;
}

.thankyou-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-neon-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.thankyou-content h1 {
  margin-bottom: 16px;
}

.thankyou-content p {
  color: var(--color-ice-muted);
  margin-bottom: 32px;
}

/* Team Grid */
.team-grid {
  display: grid;
  gap: 24px;
}

.team-card {
  background: var(--color-graphite);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(58, 74, 90, 0.5);
}

.team-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-neon-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-midnight);
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--color-cyan);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.team-card p {
  color: var(--color-ice-muted);
  font-size: 0.95rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--color-ice-muted);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  margin-bottom: 12px;
}

.legal-content .last-updated {
  color: var(--color-ice-subtle);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content p {
  color: var(--color-ice-muted);
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-content li {
  color: var(--color-ice-muted);
  margin-bottom: 8px;
  list-style: disc;
}

.legal-content a {
  color: var(--color-cyan);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-graphite);
  padding: 20px;
  border-top: 1px solid var(--color-steel);
  z-index: 1001;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-content p {
  color: var(--color-ice-muted);
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

/* Course Detail Page */
.course-overview {
  display: grid;
  gap: 32px;
}

.course-sidebar {
  background: var(--color-graphite);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(58, 74, 90, 0.5);
  height: fit-content;
}

.course-sidebar h3 {
  margin-bottom: 20px;
}

.course-details {
  margin-bottom: 24px;
}

.course-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(58, 74, 90, 0.5);
}

.course-detail-item:last-child {
  border-bottom: none;
}

.course-detail-item span:first-child {
  color: var(--color-ice-muted);
}

.course-detail-item span:last-child {
  font-weight: 600;
}

.course-modules {
  margin-top: 32px;
}

.module-item {
  background: var(--color-midnight);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(58, 74, 90, 0.3);
}

.module-item h4 {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cyan);
  color: var(--color-midnight);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

.module-item p {
  color: var(--color-ice-muted);
  font-size: 0.9rem;
  padding-left: 40px;
}

/* Responsive Design - 320px and up */
@media (max-width: 319px) {
  .container {
    padding: 0 12px;
  }
  .footer-legal {
    flex-direction: column;
  }
  /* Typography - Headings */
  h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  
  h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  
  h3 {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  
  h4 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  
  h5, h6 {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  
  /* Paragraphs and text */
  p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  
  /* Hero Section */
  .hero-content {
    padding: 40px 0;
    gap: 32px;
  }
  
  .hero-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    margin-bottom: 16px;
  }
  
  /* Page Hero */
  .page-hero {
    padding: 100px 0 40px;
  }
  
  .page-hero h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .page-hero p {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  .page-hero-content {
    gap: 24px;
  }
  
  /* Section Headers */
  .section-header {
    margin-bottom: 32px;
  }
  
  .section-label {
    font-size: 0.7rem;
    margin-bottom: 8px;
  }
  
  .section-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  
  .section-description {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  /* Content Blocks */
  .content-block h2 {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }
  
  .content-block h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    margin-top: 24px;
  }
  
  .content-block p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  
  .content-block ul,
  .content-block ol {
    font-size: 0.875rem;
    line-height: 1.6;
    padding-left: 20px;
    margin-bottom: 16px;
  }
  
  .content-block li {
    margin-bottom: 8px;
  }
  
  /* Buttons */
  .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  /* Cards */
  .feature-card,
  .course-card,
  .project-card,
  .review-card,
  .pricing-card {
    padding: 16px;
  }
  
  .feature-card h3,
  .course-card h3,
  .project-card h3,
  .review-card h3,
  .pricing-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .feature-card p,
  .course-card p,
  .project-card p,
  .review-card p,
  .pricing-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  /* Course Image */
  .course-image {
    height: 150px;
    font-size: 1.5rem;
  }
  
  /* Reviews */
  .review-text {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  .review-author h4 {
    font-size: 0.875rem;
  }
  
  .review-author span {
    font-size: 0.75rem;
  }
  
  /* Pricing */
  .price {
    font-size: 2rem;
  }
  
  .pricing-features {
    font-size: 0.8rem;
  }
  
  .pricing-features li {
    font-size: 0.8rem;
    padding: 6px 0;
  }
  
  /* Forms */
  .form-label {
    font-size: 0.875rem;
    margin-bottom: 8px;
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 0.875rem;
    padding: 10px 12px;
  }
  
  /* Footer */
  .footer-heading {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .footer-links a {
    font-size: 0.875rem;
  }
  
  .footer p {
    font-size: 0.8rem;
  }
  
  /* Navigation */
  .nav-desktop a {
    font-size: 0.875rem;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .header-cta .btn {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
  
  /* Breadcrumb */
  .breadcrumb {
    font-size: 0.75rem;
    margin-bottom: 16px;
  }
  
  .breadcrumb a {
    font-size: 0.75rem;
  }
  
  /* Legal Content */
  .legal-content h2 {
    font-size: 1.125rem;
    margin-top: 24px;
    margin-bottom: 12px;
  }
  
  .legal-content h3 {
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  .legal-content p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  
  .legal-content ul,
  .legal-content ol {
    font-size: 0.875rem;
    line-height: 1.6;
    padding-left: 20px;
    margin-bottom: 16px;
  }
  
  .legal-content li {
    margin-bottom: 8px;
  }
  
  /* Section Spacing */
  .section {
    padding: 40px 0;
  }
  
  .cta-section {
    padding: 32px 16px;
  }
  
  .cta-section h2 {
    font-size: 1.25rem;
  }
  
  .cta-section p {
    font-size: 0.875rem;
  }
  
  /* Cookie Consent */
  .cookie-content {
    flex-direction: column;
    padding: 16px;
  }
  
  .cookie-content p {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  
  .cookie-buttons .btn {
    width: 100%;
    font-size: 0.85rem;
  }
  
  /* Method Steps */
  .method-step {
    gap: 12px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .step-content h3 {
    font-size: 1rem;
  }
  
  .step-content p {
    font-size: 0.875rem;
  }
  
  /* Code Window */
  .code-content {
    font-size: 0.7rem;
    padding: 12px;
  }
  
  /* Stats */
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
}

@media (min-width: 320px) {
  .container {
    padding: 0 16px;
  }

  .footer-legal {
    flex-direction: column;
  }
  /* Typography - Responsive Headings */
  h1 {
    font-size: clamp(1.75rem, 5vw, 4rem);
    line-height: 1.2;
  }
  
  h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.3;
  }
  
  h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.4;
  }
  
  h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.4;
  }
  
  h5, h6 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.4;
  }
  
  /* Paragraphs */
  p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
  }
  
  /* Hero Section */
  .hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.25rem);
    line-height: 1.6;
  }
  
  .hero-badge {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  }
  
  /* Page Hero */
  .page-hero {
    padding: clamp(100px, 20vw, 160px) 0 clamp(40px, 10vw, 80px);
  }
  
  .page-hero h1 {
    font-size: clamp(1.3rem, 5vw, 3rem);
  }
  
  .page-hero p {
    font-size: clamp(0.875rem, 2.5vw, 1.25rem);
  }
  
  .page-hero-content {
    gap: clamp(24px, 5vw, 48px);
  }
  
  /* Section Headers */
  .section-label {
    font-size: clamp(0.7rem, 1.5vw, 0.875rem);
  }
  
  .section-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
  }
  
  .section-description {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    line-height: 1.6;
  }
  
  /* Content Blocks */
  .content-block h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .content-block h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
  }
  
  .content-block p {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
  
  .content-block ul,
  .content-block ol {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
  
  /* Buttons */
  .btn {
    padding: clamp(10px, 2vw, 14px) clamp(16px, 4vw, 28px);
    font-size: clamp(0.85rem, 2vw, 1rem);
  }
  
  /* Cards */
  .feature-card,
  .course-card,
  .project-card,
  .review-card,
  .pricing-card {
    padding: clamp(16px, 3vw, 32px);
  }
  
  .feature-card h3,
  .course-card h3,
  .project-card h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  }
  
  .feature-card p,
  .course-card p,
  .project-card p {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
  
  /* Course Image */
  .course-image {
    height: clamp(150px, 30vw, 200px);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  /* Reviews */
  .review-text {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
  }
  
  .review-author h4 {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }
  
  .review-author span {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  }
  
  /* Pricing */
  .price {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .pricing-features {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
  
  .pricing-features li {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
  
  /* Forms */
  .form-label {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    font-size: clamp(0.875rem, 2vw, 1rem);
    padding: clamp(10px, 2vw, 14px) clamp(12px, 2.5vw, 16px);
  }
  
  /* Footer */
  .footer-heading {
    font-size: clamp(1rem, 2vw, 1.25rem);
  }
  
  .footer-links a {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }
  
  .footer p {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  }
  
  /* Navigation */
  .nav-desktop a {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }
  
  .logo {
    font-size: clamp(1rem, 2vw, 1.25rem);
  }
  
  .header-cta .btn {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    padding: clamp(8px, 1.5vw, 12px) clamp(14px, 2.5vw, 20px);
  }
  
  /* Breadcrumb */
  .breadcrumb {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  }
  
  .breadcrumb a {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  }
  
  /* Legal Content */
  .legal-content h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
  }
  
  .legal-content h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  }
  
  .legal-content p {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
  
  .legal-content ul,
  .legal-content ol {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
  
  /* Section Spacing */
  .section {
    padding: clamp(40px, 10vw, 100px) 0;
  }
  
  .cta-section {
    padding: clamp(32px, 8vw, 60px) clamp(16px, 4vw, 32px);
  }
  
  .cta-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .cta-section p {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
  }
  
  /* Cookie Consent */
  .cookie-content {
    padding: clamp(16px, 3vw, 24px);
  }
  
  .cookie-content p {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  }
  
  .cookie-buttons .btn {
    font-size: clamp(0.85rem, 2vw, 0.9rem);
  }
  
  /* Method Steps */
  .method-step {
    gap: clamp(12px, 3vw, 24px);
  }
  
  .step-number {
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }
  
  .step-content h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  }
  
  .step-content p {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
  
  /* Code Window */
  .code-content {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    padding: clamp(12px, 3vw, 24px);
  }
  
  /* Stats */
  .stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .stat-label {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  }
  
  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .method-step {
    grid-template-columns: auto 1fr;
    gap: 32px;
  }
  
  .course-overview {
    grid-template-columns: 1fr 350px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: block;
  }
  
  .header-cta {
    display: block;
  }
  
  .mobile-toggle {
    display: none;
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }
  
  .page-hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    text-align: left;
  }
  
  .page-hero-content .page-hero-text {
    margin: 0;
  }
  
  .page-hero-content .page-hero-visual {
    order: 2;
  }
  
  .page-hero-left .page-hero-content {
    text-align: left;
  }
  
  .page-hero-left .page-hero-content .page-hero-text {
    margin: 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .cta-section {
    padding: 80px 60px;
  }
}

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

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
