/* Geoff Website Styles */
/* Cybersecurity Dark Theme */

:root {
  --bg: #000000;
  --surface: #0a0a0a;
  --border: #1a1a1a;
  --text: #e8e8e8;
  --text-muted: #888888;
  --accent: #0057ff;
  --accent-hover: #0066ff;
  --success: #00c853;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --max-width: 720px;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

.logo-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-mascot {
  margin-bottom: 32px;
}

.mascot {
  max-width: 160px;
  height: auto;
}

/* Sparkle animations */
.sparkle {
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
  animation-delay: 0s;
}

.sparkle-2 {
  animation-delay: 0.5s;
}

.sparkle-3 {
  animation-delay: 1s;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.6);
  }
}

.hero-tagline {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* Section Titles */
.section-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  text-align: center;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 24px;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.step {
  text-align: center;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: rgba(0, 87, 255, 0.1);
  border-radius: 50%;
  border: 1px solid rgba(0, 87, 255, 0.2);
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Philosophy Section */
.philosophy {
  padding: 80px 24px;
}

.philosophy-list {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
}

.philosophy-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.philosophy-list li:last-child {
  border-bottom: none;
}

.philosophy-list strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.philosophy-list span {
  font-size: 15px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 60px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-icon {
  color: var(--text-muted);
}

.footer-tagline {
  font-size: 15px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-link svg {
  width: 20px;
  height: 20px;
}

.footer-license {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Sponsor Section */
.sponsor-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sponsor-text {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.7;
}

.sponsor-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sponsor-btn:hover {
  color: #db61a2;
  border-color: #db61a2;
}

.sponsor-btn svg {
  color: #db61a2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-tagline {
    font-size: 26px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 40px;
  }

  .how-it-works,
  .philosophy {
    padding: 60px 24px;
  }
}

/* Learn More Section */
.learn-more {
  margin-top: 48px;
  text-align: center;
}

.learn-more-btn {
  cursor: pointer;
  list-style: none;
}

.learn-more-btn::-webkit-details-marker {
  display: none;
}

.learn-more[open] .learn-more-btn {
  margin-bottom: 32px;
}

/* Gallery */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 20px;
  position: relative;
  margin-bottom: -20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gallery-item:nth-child(1) { z-index: 6; }
.gallery-item:nth-child(2) { z-index: 5; transform: translateX(8px); }
.gallery-item:nth-child(3) { z-index: 4; transform: translateX(16px); }
.gallery-item:nth-child(4) { z-index: 3; transform: translateX(24px); }
.gallery-item:nth-child(5) { z-index: 2; transform: translateX(32px); }
.gallery-item:nth-child(6) { z-index: 1; transform: translateX(40px); margin-bottom: 0; }

.gallery-item:hover {
  border-color: var(--accent);
  z-index: 10;
  box-shadow: 0 8px 30px rgba(0, 87, 255, 0.2);
}

.gallery-item:nth-child(1):hover { transform: translateY(-4px); }
.gallery-item:nth-child(2):hover { transform: translateX(8px) translateY(-4px); }
.gallery-item:nth-child(3):hover { transform: translateX(16px) translateY(-4px); }
.gallery-item:nth-child(4):hover { transform: translateX(24px) translateY(-4px); }
.gallery-item:nth-child(5):hover { transform: translateX(32px) translateY(-4px); }
.gallery-item:nth-child(6):hover { transform: translateX(40px) translateY(-4px); }

.gallery-item img {
  width: 180px;
  height: auto;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.gallery-caption {
  flex: 1;
  text-align: left;
}

.gallery-caption h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.gallery-caption p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .gallery-item {
    flex-direction: column;
    text-align: center;
    transform: none !important;
    margin-bottom: -10px;
  }

  .gallery-item:hover {
    transform: translateY(-4px) !important;
  }

  .gallery-item:nth-child(6) {
    margin-bottom: 0;
  }

  .gallery-item img {
    width: 100%;
    max-width: 240px;
  }

  .gallery-caption {
    text-align: center;
  }
}

/* Focus states for accessibility */
.btn:focus,
.logo:focus,
.footer-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sparkle {
    animation: none;
    opacity: 1;
  }

  .btn,
  .logo,
  .footer-link {
    transition: none;
  }
}
