/* NableNexus Technodruid Streaming Hub - Static CSS */

/* CSS Variables - Dark Mode Technodruid Theme */
:root {
  --color-background: hsl(0, 0%, 6%);
  --color-foreground: hsl(130, 5%, 95%);
  --color-primary: hsl(130, 45%, 45%);
  --color-primary-foreground: hsl(130, 5%, 98%);
  --color-border: hsl(130, 15%, 20%);
  --color-card: hsl(0, 0%, 10%);
  --color-card-border: hsl(130, 15%, 15%);
  --color-muted-foreground: hsl(130, 5%, 70%);
  
  --font-display: 'Orbitron', sans-serif;
  --font-sans: 'Space Grotesk', sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background-color: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  background: none;
  border: none;
  color: var(--color-muted-foreground);
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.3s;
  font-family: var(--font-sans);
}

.nav-link:hover {
  color: var(--color-foreground);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, transparent, var(--color-background));
  z-index: 0;
}

.background-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background-color: var(--color-primary);
  filter: blur(80px);
  animation: float 6s ease-in-out infinite;
}

.orb-1 {
  top: 5rem;
  left: 5rem;
  width: 16rem;
  height: 16rem;
}

.orb-2 {
  bottom: 5rem;
  right: 5rem;
  width: 24rem;
  height: 24rem;
  background-color: hsla(130, 45%, 45%, 0.5);
  animation-delay: -3s;
}

.orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37.5rem;
  height: 37.5rem;
  background-color: hsla(130, 45%, 45%, 0.3);
  animation: glow-pulse 3s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.hero-title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.hero-title-glow {
  position: absolute;
  inset: 0;
  filter: blur(50px);
  background-color: hsla(130, 45%, 45%, 0.3);
  animation: glow-pulse 3s ease-in-out infinite;
  z-index: -1;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1rem;
  color: var(--color-muted-foreground);
  max-width: 42rem;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.75rem;
  }
  .hero-tagline {
    font-size: 1.875rem;
  }
  .hero-description {
    font-size: 1.125rem;
  }
  .hero-ctas {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
  .hero-tagline {
    font-size: 1.875rem;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator-border {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid hsla(130, 45%, 45%, 0.5);
  border-radius: 1.25rem;
  padding: 0.25rem;
}

.scroll-indicator-dot {
  width: 0.375rem;
  height: 0.75rem;
  background-color: var(--color-primary);
  border-radius: 0.375rem;
  margin: 0 auto;
  animation: pulse 2s ease-in-out infinite;
}

/* Section Styles */
.section {
  padding: 6rem 1rem;
}

.section-about {
  background: linear-gradient(to bottom, transparent, hsla(0, 0%, 10%, 0.3));
}

.section-connect {
  background: linear-gradient(to bottom, transparent, hsla(0, 0%, 10%, 0.3));
}

.section-container {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.section-container-wide {
  max-width: 80rem;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-foreground);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-divider {
  width: 5rem;
  height: 0.25rem;
  background: linear-gradient(to right, transparent, var(--color-primary), transparent);
  margin: 0 auto 2rem;
}

/* About Section */
.about-text {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

/* Content Section */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.content-card {
  position: relative;
  transition: all 0.3s;
}

.card-glow {
  position: absolute;
  inset: -0.125rem;
  background: linear-gradient(to right, var(--color-primary), hsla(130, 45%, 45%, 0.5));
  border-radius: 0.5rem;
  filter: blur(8px);
  opacity: 0.3;
  transition: opacity 0.3s;
}

.content-card:hover .card-glow {
  opacity: 0.6;
}

.card-content {
  position: relative;
  background-color: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.embed-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.card-label {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.label-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary);
}

.label-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
}

/* Social Links */
.connect-description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .social-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: all 0.3s;
}

.social-card:hover {
  border-color: hsla(130, 45%, 45%, 0.5);
  box-shadow: 0 0 20px hsla(130, 45%, 45%, 0.3);
  transform: scale(1.1);
}

.social-icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: hsla(130, 45%, 45%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.social-card:hover .social-icon-wrapper {
  background-color: hsla(130, 45%, 45%, 0.2);
}

.social-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
}

.social-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  transition: color 0.3s;
}

.social-card:hover .social-label {
  color: var(--color-foreground);
}

/* Newsletter */
.newsletter-container {
  max-width: 42rem;
  margin: 0 auto;
}

.newsletter-card {
  background-color: hsla(0, 0%, 10%, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-card-border);
  border-radius: 0.5rem;
  padding: 2rem;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-foreground);
}

.newsletter-description {
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  padding: 0.625rem 1rem;
  color: var(--color-foreground);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px hsla(130, 45%, 45%, 0.1);
}

.newsletter-input::placeholder {
  color: var(--color-muted-foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  box-shadow: 0 0 10px hsla(130, 45%, 45%, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 20px hsla(130, 45%, 45%, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  backdrop-filter: blur(10px);
  background-color: hsla(0, 0%, 6%, 0.5);
  border-color: hsla(130, 45%, 45%, 0.3);
  color: var(--color-foreground);
}

.btn-outline:hover {
  border-color: hsla(130, 45%, 45%, 0.6);
}

.btn-newsletter {
  white-space: nowrap;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

.btn-icon-right {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover .btn-icon-right {
  opacity: 1;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-icon.animate-pulse {
  animation: pulse 1s ease-in-out infinite;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 1rem;
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

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

.footer-divider {
  width: 8rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border), transparent);
  margin: 1.5rem auto;
}

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

.footer-signature {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  margin-top: 0.5rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 24rem;
}

.toast {
  background-color: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.3s ease-out;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-foreground);
}

.toast-description {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.toast.toast-success {
  border-left: 4px solid var(--color-primary);
}

.toast.toast-error {
  border-left: 4px solid hsl(0, 65%, 42%);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
