/* ===================================
   Design System - SmartDev Academy
   =================================== */

:root {
  /* Colors */
  --bg-primary: #0A0A0A;
  --bg-secondary: #141414;
  --primary: #FF00FF;
  --primary-dark: #CC00CC;
  --secondary: #8B00FF;
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #8B8B8B;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===================================
   Reset & Base
   =================================== */

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

html {
  scroll-behavior: smooth;
}

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

/* ===================================
   Background Effects
   =================================== */

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: pulse 8s ease-in-out infinite;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -100px;
  right: -100px;
  animation-delay: 4s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1.1);
  }
}

.glow-2 {
  animation-name: pulse2;
}

@keyframes pulse2 {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.15);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 0, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ===================================
   Layout
   =================================== */

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

/* ===================================
   Header
   =================================== */

.header {
  padding: var(--space-lg) 0;
  animation: fadeInDown 0.8s ease-out;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text {
  color: var(--text-primary);
}

.logo-accent {
  color: var(--primary);
}

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

.lang-selector {
  display: flex;
  gap: var(--space-xs);
}

.lang-btn {
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.lang-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
  color: var(--primary);
  background: rgba(255, 0, 255, 0.1);
  cursor: default;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl) 0;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 0, 255, 0.15);
  border: 1px solid rgba(255, 0, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.headline {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subheadline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.body-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 550px;
  line-height: 1.8;
}

.body-text strong {
  color: var(--text-secondary);
}

/* ===================================
   CTA Button
   =================================== */

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  width: fit-content;
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow:
    0 0 20px rgba(255, 0, 255, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 30px rgba(255, 0, 255, 0.6),
    0 8px 25px rgba(0, 0, 0, 0.4);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button span,
.cta-button svg {
  position: relative;
  z-index: 1;
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

.cta-button-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.125rem;
}

/* ===================================
   Section Title
   =================================== */

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

/* ===================================
   Pillars Section
   =================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.pillar {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.3s ease;
}

.pillar:hover {
  border-color: rgba(255, 0, 255, 0.3);
  transform: translateY(-4px);
}

.pillar:last-child {
  border-color: rgba(255, 0, 255, 0.2);
  background: rgba(255, 0, 255, 0.05);
}

.pillar:last-child:hover {
  border-color: rgba(255, 0, 255, 0.5);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 0, 255, 0.1);
  color: var(--primary);
}

.pillar:last-child .pillar-icon {
  background: rgba(255, 0, 255, 0.2);
}

.pillar-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.pillar-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================
   Pain Points Section
   =================================== */

.pain-points {
  text-align: center;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.pain-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 0, 0, 0.05);
  border: 1px solid rgba(255, 0, 0, 0.1);
  border-radius: var(--radius-md);
  text-align: left;
}

.pain-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.pain-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

.pain-conclusion {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.pain-conclusion strong {
  color: var(--primary);
}

/* ===================================
   For Who Section
   =================================== */

.for-who {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.for-who-column {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.for-yes {
  background: rgba(0, 255, 100, 0.05);
  border: 1px solid rgba(0, 255, 100, 0.15);
}

.for-no {
  background: rgba(255, 0, 0, 0.05);
  border: 1px solid rgba(255, 0, 0, 0.15);
}

.for-who-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.for-who-icon {
  font-size: 1.25rem;
}

.for-yes .for-who-icon {
  color: #00FF64;
}

.for-no .for-who-icon {
  color: #FF4444;
}

.for-who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.for-who-list li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: var(--space-md);
  position: relative;
}

.for-who-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ===================================
   Authority Section
   =================================== */

.authority {
  padding: var(--space-2xl);
  text-align: center;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 0, 255, 0.1);
  border-radius: var(--radius-lg);
}

.authority-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.authority-quote {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.4;
}

.authority-credentials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.credential {
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 0, 255, 0.1);
  border: 1px solid rgba(255, 0, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
}

.authority-stats {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.cta-highlight {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
}

.cta-section .cta-button {
  margin: 0 auto;
}

/* ===================================
   Footer
   =================================== */

.footer {
  padding: var(--space-xl) 0;
  text-align: center;
  animation: fadeIn 1s ease-out 0.6s both;
}

.footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

/* ===================================
   Responsive
   =================================== */

@media (max-width: 768px) {
  .container {
    padding: var(--space-md);
    gap: var(--space-2xl);
  }

  .hero {
    padding: var(--space-xl) 0;
  }

  .headline {
    font-size: 1.75rem;
  }

  .subheadline {
    font-size: 1rem;
  }

  .body-text {
    font-size: 0.9375rem;
  }

  .cta-button {
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .for-who {
    grid-template-columns: 1fr;
  }

  .authority-credentials {
    gap: var(--space-xs);
  }

  .credential {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
  }

  .glow-1 {
    width: 300px;
    height: 300px;
  }

  .glow-2 {
    width: 200px;
    height: 200px;
  }
}

/* ===================================
   Utilities
   =================================== */

::selection {
  background: var(--primary);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
