﻿/* 
  AetherCore CSS
  Aesthetic: Ultra-modern, Cyberpunk-lite, Mature
  Color Palette: Pitch Black, Neon Cyan, Tungsten Grey
*/

:root {
  --bg-color: #030303;
  --bg-grid: #111111;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --accent: #00add8; /* Go Cyan */
  --accent-glow: rgba(0, 173, 216, 0.2);
  --border-color: #222222;
  --card-bg: rgba(10, 10, 10, 0.6);

  --font-sans: "Inter", -apple-system, sans-serif;
  --font-mono: "Fira Code", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Effects */
.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
  z-index: -2;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 80%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 80%
  );
}

.ambient-glow {
  position: fixed;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 40vh;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  color: var(--accent);
}

.github-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.github-link:hover {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 0;
}

.metrics-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 173, 216, 0.05);
  border: 1px solid rgba(0, 173, 216, 0.2);
  border-radius: 99px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 173, 216, 0.4);
  }
  70% {
    opacity: 0.5;
    box-shadow: 0 0 0 6px rgba(0, 173, 216, 0);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 173, 216, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 3.5rem;
}

/* Terminal Profile */
.terminal-container {
  width: 100%;
  max-width: 700px;
  text-align: left;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  margin-bottom: 3.5rem;
}

.terminal-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(20, 20, 20, 0.8);
  border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
  display: flex;
  gap: 6px;
}

.terminal-buttons span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}

.terminal-buttons span:nth-child(1) {
  background: #ff5f56;
}
.terminal-buttons span:nth-child(2) {
  background: #ffbd2e;
}
.terminal-buttons span:nth-child(3) {
  background: #27c93f;
}

.terminal-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-right: 48px; /* Offset buttons width for centering */
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #e5e5e5;
  height: 250px;
  line-height: 1.7;
}

.term-cmd {
  color: var(--accent);
}
.term-path {
  color: #888;
}
.term-success {
  color: #27c93f;
}
.term-cursor {
  display: inline-block;
  width: 8px;
  height: 1.2em;
  background-color: var(--text-primary);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* CTA Section */
.cta-section {
  width: 100%;
  max-width: 500px;
}

.cta-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.cta-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

.notify-form {
  display: flex;
  gap: 0.5rem;
}

input[type="email"] {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

input[type="email"]::placeholder {
  color: #555;
}

input[type="email"]:focus {
  border-color: var(--accent);
}

.primary-btn {
  background: var(--text-primary);
  color: var(--bg-color);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    transform 0.1s,
    background-color 0.2s;
}

.primary-btn:hover {
  background: #e0e0e0;
}

.primary-btn:active {
  transform: scale(0.98);
}

.secondary-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.secondary-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent);
  background: rgba(0, 173, 216, 0.05);
  box-shadow: 0 0 15px rgba(0, 173, 216, 0.1);
}

.secondary-btn:active {
  transform: scale(0.98);
}

.secondary-btn svg {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.secondary-btn:hover svg {
  color: var(--accent);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.action-buttons {
  display: flex;
  gap: 1rem;
}



/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-value span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Animations */
.animate-fade-in {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeIn 0.8s forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .stats-grid {
    gap: 0.5rem;
  }

  .stat-card {
    padding: 1rem 0.5rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-value span {
    font-size: 0.75rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .notify-form {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


/* Form Styles */
.form-section {
    padding: 2rem 0 4rem;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    text-align: center;
}

.page-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    text-align: center;
}

.form-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

.aether-form .form-group {
    margin-bottom: 2rem;
}

.aether-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.aether-form .form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.aether-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.aether-form .required {
    color: var(--accent);
}

.aether-form .help-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.aether-form input[type="text"],
.aether-form input[type="email"],
.aether-form textarea,
.aether-form select {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.aether-form input:focus,
.aether-form textarea:focus,
.aether-form select:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.05);
}

.aether-form textarea {
    resize: vertical;
    min-height: 100px;
}

.select-wrapper {
    position: relative;
}

.aether-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    cursor: pointer;
}

.aether-form select option {
    background: var(--bg-color);
    color: var(--text-primary);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1.25rem;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .aether-form .form-row {
        flex-direction: column;
        gap: 2rem;
    }
    .form-container {
        padding: 1.5rem;
    }
}

