/* Import Google Font Questrial */
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

/* PPTelegraf Font Face Declarations */
@font-face {
  font-family: 'PPTelegraf';
  src: url('https://cdn.getforge.com/pulsesdlc.com/1765971700/assets/fonts/PPTelegraf/PPTelegraf-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PPTelegraf';
  src: url('https://cdn.getforge.com/pulsesdlc.com/1765971700/assets/fonts/PPTelegraf/PPTelegraf-RegularOblique.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PPTelegraf';
  src: url('https://cdn.getforge.com/pulsesdlc.com/1765971700/assets/fonts/PPTelegraf/PPTelegraf-RegularSlanted.otf') format('opentype');
  font-weight: 400;
  font-style: oblique;
  font-display: swap;
}

@font-face {
  font-family: 'PPTelegraf';
  src: url('https://cdn.getforge.com/pulsesdlc.com/1765971700/assets/fonts/PPTelegraf/PPTelegraf-Ultralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PPTelegraf';
  src: url('https://cdn.getforge.com/pulsesdlc.com/1765971700/assets/fonts/PPTelegraf/PPTelegraf-UltralightOblique.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PPTelegraf';
  src: url('https://cdn.getforge.com/pulsesdlc.com/1765971700/assets/fonts/PPTelegraf/PPTelegraf-UltralightSlanted.otf') format('opentype');
  font-weight: 200;
  font-style: oblique;
  font-display: swap;
}

@font-face {
  font-family: 'PPTelegraf';
  src: url('https://cdn.getforge.com/pulsesdlc.com/1765971700/assets/fonts/PPTelegraf/PPTelegraf-Ultrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PPTelegraf';
  src: url('https://cdn.getforge.com/pulsesdlc.com/1765971700/assets/fonts/PPTelegraf/PPTelegraf-UltraboldOblique.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PPTelegraf';
  src: url('https://cdn.getforge.com/pulsesdlc.com/1765971700/assets/fonts/PPTelegraf/PPTelegraf-UltraboldSlanted.otf') format('opentype');
  font-weight: 800;
  font-style: oblique;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #1b1b1f;
  --muted: #6b7280;
  --brand: #2563eb;
  
  /* Gradient colors */
  --orange-200: oklch(0.901 0.076 70.697);
  --pink-200: oklch(0.899 0.061 343.231);
  --blue-300: oklch(0.809 0.105 251.813);
  --star-blue: #00bfff;
  
  /* Background gradient for light theme */
  --bg-gradient: linear-gradient(to bottom right, var(--orange-200), var(--pink-200), var(--blue-300));
}

/* Dark theme variables */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --fg: #ffffff;
  --muted: #a0a0a0;
  --star-blue: #00bfff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Questrial', -apple-system, system-ui, Segoe UI, Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

/* Typography - Headings use PPTelegraf */
h1, h2, h3, h4, h5, h6 {
  font-family: 'PPTelegraf', sans-serif;
  font-weight: 200;
}

.coming-soon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-gradient);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* Media shader background for dark theme */
.coming-soon-container[data-theme="dark"] {
  background: #000000;
}

.coming-soon-container[data-theme="dark"] .theme-background-shader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.coming-soon-container[data-theme="dark"] .theme-background-fallback video,
.coming-soon-container[data-theme="dark"] .theme-background-fallback img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.coming-soon-container[data-theme="dark"] > * {
  position: relative;
  z-index: 1;
}

/* Logo wrapper - default size for homepage */
.logo-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-link:focus {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 4px;
  border-radius: 4px;
}

[data-theme="dark"] .logo-link:focus {
  outline-color: rgba(255, 255, 255, 0.5);
}

.pulse-logo {
  display: block;
  width: 100%;
  height: 100%;
}

#logo-svg {
  width: 280px;
  height: 77px;
}

/* Logo colors for dark theme */
[data-theme="dark"] .pulse-logo path[fill="black"] {
  fill: white;
  transition: fill 0.3s ease;
}

[data-theme="dark"] .pulse-logo path[stroke="black"] {
  stroke: white;
  transition: stroke 0.3s ease;
}

/* Logo size variants */
.focus-header .logo-wrapper {
  max-width: 300px;
  height: 75px;
}

.text-content {
  margin-top: 48px;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.coming-soon-text {
  margin: 0 0 16px;
  font-family: 'PPTelegraf', sans-serif;
  font-size: 32px;
  font-weight: 200;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: color 0.3s ease;
}

[data-theme="dark"] .coming-soon-text {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.tagline {
  margin: 0 0 32px;
  font-family: 'Questrial', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
  letter-spacing: 0.02em;
  animation: fadeIn 1s ease-in-out 0.7s both;
  transition: color 0.3s ease;
}

[data-theme="dark"] .tagline {
  color: rgba(255, 255, 255, 0.9);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'PPTelegraf', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeIn 1s ease-in-out 0.9s both;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cta-button:hover {
  background-color: rgba(0, 0, 0, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Focus Link */
.focus-link-wrapper {
  margin: 24px 0 0;
  text-align: center;
}

.focus-link {
  display: inline-block;
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
  animation: fadeIn 1s ease-in-out 1s both;
}

.focus-link:hover {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: underline;
}

[data-theme="dark"] .focus-link {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .focus-link:hover {
  color: rgba(255, 255, 255, 1);
}

.focus-link:focus {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
  border-radius: 2px;
}

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

/* Override fadeIn animation for coming-soon-text to end at 0.6 opacity */
.coming-soon-text {
  animation: fadeInTo06 1s ease-in-out 0.5s both;
}

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

/* Star animations */
#static-star {
  transition: fill 1.2s ease-in-out, stroke 1.2s ease-in-out;
}

#static-star.booting {
  fill: var(--star-blue);
  stroke: var(--star-blue);
  animation: flicker 0.3s ease-in-out;
}

#spinning-star {
  transform-origin: 50% 50%;
  transform-box: fill-box;
  display: none;
}

#spinning-star.active {
  display: block;
  animation: spin 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#transitioning-star {
  display: none;
}

#transitioning-star.active {
  display: block;
}

#path-star {
  display: none;
}

#path-star.active {
  display: block;
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
  }
  10% {
    opacity: 0.3;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0.5;
  }
  40% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  60%, 100% {
    opacity: 1;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(180deg);
  }
  70% {
    transform: rotate(720deg);
  }
  100% {
    transform: rotate(720deg);
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  padding: 32px;
}

[data-theme="dark"] .modal-container {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="dark"] .modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 1);
}

.modal-close:focus {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-content {
  color: #1b1b1f;
  transition: color 0.3s ease;
}

[data-theme="dark"] .modal-content {
  color: rgba(255, 255, 255, 0.9);
}

.modal-title {
  margin: 0 0 8px;
  font-family: 'PPTelegraf', sans-serif;
  font-size: 28px;
  font-weight: 200;
  color: #1b1b1f;
  line-height: 1.3;
  transition: color 0.3s ease;
}

[data-theme="dark"] .modal-title {
  color: rgba(255, 255, 255, 0.9);
}

.modal-description {
  margin: 0 0 24px;
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.5;
  transition: color 0.3s ease;
}

[data-theme="dark"] .modal-description {
  color: rgba(255, 255, 255, 0.8);
}

/* Form Styles */
.pre-register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #1b1b1f;
  line-height: 1.4;
  transition: color 0.3s ease;
}

[data-theme="dark"] .form-label {
  color: rgba(255, 255, 255, 0.9);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  color: #1b1b1f;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  transition: all 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

[data-theme="dark"] .form-input {
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .form-input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.4);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: rgba(212, 24, 61, 0.5);
}

.form-submit {
  margin-top: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background-color: #1b1b1f;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-submit:hover {
  background-color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit:focus {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Theme Switcher */
.theme-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-switcher:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-switcher:active {
  transform: scale(0.95);
}

.theme-switcher svg {
  width: 24px;
  height: 24px;
  stroke: rgba(0, 0, 0, 0.7);
  transition: stroke 0.3s ease;
}

[data-theme="dark"] .theme-switcher {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .theme-switcher svg {
  stroke: rgba(255, 255, 255, 0.9);
}

/* Footer */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  text-align: center;
  background: transparent;
  z-index: 100;
}

.footer-text {
  margin: 0;
  font-family: 'Questrial', sans-serif;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.5;
  transition: color 0.3s ease;
}

[data-theme="dark"] .footer-text {
  color: rgba(255, 255, 255, 0.7);
}

.footer-text a {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-text a:hover {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: underline;
}

[data-theme="dark"] .footer-text a {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .footer-text a:hover {
  color: rgba(255, 255, 255, 1);
}

.footer-text a:focus {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .theme-switcher {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .theme-switcher svg {
    width: 20px;
    height: 20px;
  }

  .logo-wrapper {
    max-width: 100%;
    height: auto;
    min-height: 150px;
  }
  
  .pulse-logo {
    max-width: 100%;
    height: auto;
  }
  
  .text-content {
    margin-top: 32px;
  }
  
  .coming-soon-text {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .tagline {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 15px;
  }

  .focus-link {
    font-size: 14px;
  }

  .modal-container {
    padding: 24px;
    max-height: 95vh;
  }

  .modal-title {
    font-size: 24px;
    padding-right: 40px;
  }

  .modal-description {
    font-size: 14px;
  }

  .site-footer {
    padding: 12px 16px;
  }

  .footer-text {
    font-size: 12px;
  }
}

/* Focus Page Styles */
.focus-page-container {
  min-height: 100vh;
  background: var(--bg-gradient);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.focus-page-container[data-theme="dark"] {
  background: #000000;
}

.focus-page-container[data-theme="dark"] .theme-background-shader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.focus-page-container[data-theme="dark"] .theme-background-fallback video,
.focus-page-container[data-theme="dark"] .theme-background-fallback img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.focus-page-container[data-theme="dark"] > * {
  position: relative;
  z-index: 1;
}

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

.focus-header .logo-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 75px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-header .pulse-logo {
  display: block;
  width: 100%;
  height: 100%;
}

/* Introduction Section */
.intro-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.intro-section.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-content {
  text-align: center;
  animation: fadeIn 1s ease-in-out 0.3s both;
}

.intro-title {
  margin: 0 0 24px;
  font-family: 'PPTelegraf', sans-serif;
  font-size: 42px;
  font-weight: 200;
  color: rgba(0, 0, 0, 0.8);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

[data-theme="dark"] .intro-title {
  color: rgba(255, 255, 255, 0.9);
}

.intro-description {
  margin: 0 0 20px;
  font-family: 'Questrial', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
  transition: color 0.3s ease;
}

[data-theme="dark"] .intro-description {
  color: rgba(255, 255, 255, 0.9);
}

.intro-instruction {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.6);
  font-style: italic;
  transition: color 0.3s ease;
}

[data-theme="dark"] .intro-instruction {
  color: rgba(255, 255, 255, 0.8);
}

.lets-go-button {
  display: inline-block;
  padding: 16px 40px;
  font-family: 'PPTelegraf', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lets-go-button:hover {
  background-color: rgba(0, 0, 0, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lets-go-button:active {
  transform: translateY(0);
}

.lets-go-button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* SDLC Area Selection Buttons */
.sdlc-areas-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.sdlc-area-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.7);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .sdlc-area-btn {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.sdlc-area-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.sdlc-area-btn:active {
  transform: translateY(0);
}

.sdlc-area-btn:focus {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.sdlc-area-btn.active {
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.85);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.2);
  font-weight: 800;
}

/* Cards Section */
.cards-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
  animation: fadeIn 0.6s ease-in-out 0.3s forwards;
}

.cards-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.card {
  width: 100%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 48px 40px;
  transform: scale(0.95);
  animation: cardSlideIn 0.5s ease-out forwards;
}

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

.card-content {
  margin-bottom: 40px;
}

.card-title {
  margin: 0 0 16px;
  font-family: 'PPTelegraf', sans-serif;
  font-size: 28px;
  font-weight: 200;
  color: #1b1b1f;
  line-height: 1.3;
  transition: color 0.3s ease;
}

/* Card text stays dark since cards have light background */
.card-description {
  margin: 0;
  font-family: 'Questrial', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
  transition: color 0.3s ease;
}

.card-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.7);
  min-width: 120px;
}

.card-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-action-btn:active {
  transform: translateY(0);
}

.card-action-btn:focus {
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.card-action-btn.thumbs-up {
  border-color: rgba(34, 197, 94, 0.4);
  color: #16a34a;
}

.card-action-btn.thumbs-up:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.6);
}

.card-action-btn.thumbs-down {
  border-color: rgba(239, 68, 68, 0.4);
  color: #dc2626;
}

.card-action-btn.thumbs-down:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.6);
}

.card-action-btn.skip {
  border-color: rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.6);
}

.card-action-btn.skip:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
}

.card-action-btn svg {
  width: 24px;
  height: 24px;
}

.card-progress {
  text-align: center;
  margin-top: 8px;
}

.progress-text {
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  transition: color 0.3s ease;
}

/* Progress text stays dark since it's part of the card with light background */

/* Finish Button */
.finish-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.finish-button {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.finish-button:hover {
  background-color: rgba(0, 0, 0, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.finish-button:active {
  transform: translateY(0);
}

.finish-button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

[data-theme="dark"] .finish-button {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .finish-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Results Display */
.results-display {
  margin-bottom: 24px;
  max-height: 300px;
  overflow-y: auto;
  padding: 16px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .results-display {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.results-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-item {
  padding: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .result-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.result-area-name {
  font-family: 'PPTelegraf', sans-serif;
  font-weight: 200;
  font-size: 15px;
  margin-bottom: 8px;
  color: #1b1b1f;
}

[data-theme="dark"] .result-area-name {
  color: rgba(255, 255, 255, 0.9);
}

.result-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.stat-item {
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
  color: #1b1b1f;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

[data-theme="dark"] .stat-item {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.stat-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
}

.stat-item.thumbs-up-stat {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

[data-theme="dark"] .stat-item.thumbs-up-stat {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.stat-item.thumbs-down-stat {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

[data-theme="dark"] .stat-item.thumbs-down-stat {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.stat-item.skip-stat {
  background: rgba(156, 163, 175, 0.1);
  color: #6b7280;
}

[data-theme="dark"] .stat-item.skip-stat {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
}

.stat-item.total-stat {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  font-weight: 600;
}

[data-theme="dark"] .stat-item.total-stat {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.result-totals {
  margin-top: 8px;
  padding: 16px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  border: 2px solid rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .result-totals {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.result-totals h4 {
  margin: 0 0 12px;
  font-family: 'PPTelegraf', sans-serif;
  font-size: 16px;
  font-weight: 200;
  color: #1b1b1f;
}

[data-theme="dark"] .result-totals h4 {
  color: rgba(255, 255, 255, 0.9);
}

.no-votes {
  font-family: 'Questrial', sans-serif;
  text-align: center;
  color: rgba(0, 0, 0, 0.5);
  font-style: italic;
  padding: 16px;
}

[data-theme="dark"] .no-votes {
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments for focus page */
@media (max-width: 768px) {
  .focus-header .logo-wrapper {
    height: 60px;
    max-width: 100%;
  }

  .intro-title {
    font-size: 32px;
  }

  .intro-description {
    font-size: 16px;
  }

  .intro-instruction {
    font-size: 15px;
  }

  .lets-go-button {
    padding: 14px 32px;
    font-size: 16px;
  }

  .card {
    padding: 32px 24px;
    max-width: 100%;
  }

  .card-title {
    font-size: 24px;
  }

  .card-description {
    font-size: 16px;
  }

  .card-actions {
    gap: 12px;
  }

  .card-action-btn {
    padding: 12px 20px;
    font-size: 15px;
    min-width: 100px;
  }

  .sdlc-areas-container {
    gap: 8px;
    margin-bottom: 24px;
  }

  .sdlc-area-btn {
    padding: 8px 16px;
    font-size: 12px;
    white-space: normal;
    min-width: 0;
    flex: 1 1 calc(50% - 4px);
    max-width: calc(50% - 4px);
  }

  .finish-button {
    padding: 12px 24px;
    font-size: 15px;
  }

  .results-display {
    max-height: 250px;
    padding: 12px;
  }

  .result-stats {
    gap: 8px;
    font-size: 13px;
  }

  .modal-container {
    padding: 24px;
    max-width: 95%;
  }
}

/* Blog Post Styles */
.post-container {
  min-height: 100vh;
  background: var(--bg);
  padding: 120px 20px 100px;
  transition: background 0.3s ease;
}

.post-article {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg);
}

.post-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease;
}

[data-theme="dark"] .post-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.post-back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-back-link:hover {
  color: var(--fg);
  text-decoration: underline;
}

.post-title {
  margin: 0 0 16px;
  font-family: 'PPTelegraf', sans-serif;
  font-size: 42px;
  font-weight: 200;
  line-height: 1.2;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.post-date {
  display: block;
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
}

.post-content {
  line-height: 1.8;
  color: var(--fg);
}

.post-image {
  margin: 0 0 40px;
  border-radius: 12px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  display: block;
  object-fit: cover;
}

.post-body {
  font-family: 'Questrial', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--fg);
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
  font-family: 'PPTelegraf', sans-serif;
  margin: 40px 0 20px;
  font-weight: 200;
  line-height: 1.3;
  color: var(--fg);
}

.post-body h1 {
  font-size: 36px;
}

.post-body h2 {
  font-size: 30px;
}

.post-body h3 {
  font-size: 24px;
}

.post-body h4 {
  font-size: 20px;
}

.post-body p {
  margin: 0 0 24px;
}

.post-body ul,
.post-body ol {
  margin: 0 0 24px;
  padding-left: 28px;
}

.post-body li {
  margin: 0 0 12px;
}

.post-body a {
  color: var(--brand);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.post-body a:hover {
  color: var(--fg);
}

.post-body code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  color: var(--fg);
}

[data-theme="dark"] .post-body code {
  background: rgba(255, 255, 255, 0.1);
}

.post-body pre {
  margin: 0 0 24px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow-x: auto;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 15px;
  line-height: 1.6;
}

[data-theme="dark"] .post-body pre {
  background: rgba(255, 255, 255, 0.05);
}

.post-body pre code {
  padding: 0;
  background: transparent;
}

.post-body blockquote {
  margin: 0 0 24px;
  padding: 16px 24px;
  border-left: 4px solid var(--brand);
  background: rgba(0, 0, 0, 0.02);
  border-radius: 4px;
  font-style: italic;
  color: var(--muted);
}

[data-theme="dark"] .post-body blockquote {
  background: rgba(255, 255, 255, 0.03);
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

.post-body hr {
  margin: 40px 0;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .post-body hr {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.post-body table {
  width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
}

.post-body th,
.post-body td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .post-body th,
[data-theme="dark"] .post-body td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.post-body th {
  font-weight: 600;
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .post-body th {
  background: rgba(255, 255, 255, 0.03);
}

/* Navigation styles for post pages */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: var(--bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

[data-theme="dark"] .nav {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo .logo-wrapper {
  max-width: 200px;
  height: 55px;
  margin: 0;
}

.nav-logo .pulse-logo {
  width: 100%;
  height: 100%;
}

.nav-logo #logo-svg {
  width: 200px;
  height: 55px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  padding-right: 80px;
}

.nav-links a {
  font-size: 15px;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--brand);
}

/* Responsive adjustments for blog posts */
@media (max-width: 768px) {
  .post-container {
    padding: 70px 16px 80px;
  }

  .post-title {
    font-size: 32px;
  }

  .post-body {
    font-size: 16px;
  }

  .post-body h1 {
    font-size: 28px;
  }

  .post-body h2 {
    font-size: 24px;
  }

  .post-body h3 {
    font-size: 20px;
  }

  .post-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
  }

  .post-image {
    margin: 0 0 32px;
  }

  .nav {
    padding: 8px 12px;
  }

  .nav-logo .logo-wrapper {
    max-width: 120px;
    height: 32px;
  }

  .nav-logo #logo-svg {
    width: 120px;
    height: 32px;
  }

  .nav-links {
    gap: 12px;
    padding-right: 50px;
  }

  .nav-links a {
    font-size: 13px;
  }
}

/* Blog Index Styles */
.blog-page-wrapper {
  min-height: 100vh;
  background: #ffffff;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

[data-theme="dark"] .blog-page-wrapper {
  background: #000000;
}

.blog-page-wrapper > * {
  position: relative;
  z-index: 1;
}

.blog-index-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 100px;
  padding: 60px 20px 80px;
  min-height: calc(100vh - 200px);
}

.blog-index-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-index-title {
  font-family: 'PPTelegraf', sans-serif;
  font-weight: 200;
  font-size: 48px;
  margin: 0 0 16px;
  color: var(--fg);
  transition: color 0.3s ease;
}

.blog-index-subtitle {
  font-family: 'Questrial', sans-serif;
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  transition: color 0.3s ease;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  padding: 0 20px;
}

.blog-filter-btn {
  font-family: 'Questrial', sans-serif;
  font-size: 15px;
  padding: 10px 20px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.blog-filter-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.blog-filter-btn.active {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.3);
  color: rgba(0, 0, 0, 0.9);
  font-weight: 500;
}

[data-theme="dark"] .blog-filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .blog-filter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .blog-filter-btn.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 1);
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;
}

.blog-post-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

[data-theme="dark"] .blog-post-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .blog-post-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.blog-post-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-post-thumbnail {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}

.blog-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-thumbnail img {
  transform: scale(1.05);
}

.blog-post-content {
  padding: 32px;
}

.blog-post-title {
  font-family: 'PPTelegraf', sans-serif;
  font-weight: 200;
  font-size: 24px;
  margin: 0 0 16px;
  color: #1b1b1f;
  line-height: 1.3;
  transition: color 0.3s ease;
}

[data-theme="dark"] .blog-post-title {
  color: #ffffff;
}

.blog-post-date {
  font-family: 'Questrial', sans-serif;
  font-size: 14px;
  color: var(--muted);
  display: block;
  transition: color 0.3s ease;
}

/* Responsive adjustments for blog index */
@media (max-width: 768px) {
  .blog-index-container {
    margin-top: 60px;
    padding: 40px 20px 60px;
  }

  .blog-index-title {
    font-size: 36px;
  }

  .blog-index-subtitle {
    font-size: 16px;
  }

  .blog-filters {
    gap: 8px;
    margin-bottom: 32px;
    padding: 0;
  }

  .blog-filter-btn {
    font-size: 14px;
    padding: 8px 16px;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-post-thumbnail {
    height: 200px;
  }

  .blog-post-content {
    padding: 24px;
  }

  .blog-post-title {
    font-size: 20px;
  }
}
