/* ==========================================================================
   anttonen.it — Under Construction Landing Page Stylesheet
   Modern, Dark Cybernetic Theme with Glassmorphism & Neon Accents
   ========================================================================== */

:root {
  --bg-primary: #070b14;
  --bg-secondary: #0d1527;
  --bg-card: rgba(16, 26, 48, 0.7);
  --bg-card-hover: rgba(22, 36, 66, 0.85);
  --border-color: rgba(99, 130, 201, 0.18);
  --border-glow: rgba(0, 242, 254, 0.4);
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.15);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
}

.glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.18) 0%, rgba(79, 172, 254, 0.08) 50%, transparent 80%);
}

.glow-bottom {
  bottom: -150px;
  right: 10%;
  width: 500px;
  height: 450px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0, 242, 254, 0.05) 50%, transparent 80%);
}

/* Main Layout */
.app-layout {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-symbol {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

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

.logo-domain {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
}

.domain-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 21, 39, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.domain-badge strong {
  color: var(--accent-cyan);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.pulse-indicator {
  width: 9px;
  height: 9px;
  background-color: #f59e0b;
  border-radius: 50%;
  position: relative;
}

.pulse-indicator::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.5);
  animation: ripple 1.6s infinite ease-out;
}

@keyframes ripple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Main Content Typography */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 900px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #00f2fe 55%, #8b5cf6 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-description strong {
  color: #e2e8f0;
}

/* Hero Visual Section */
.hero-visual-section {
  width: 100%;
  margin-bottom: 3.5rem;
}

.visual-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.visual-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 242, 254, 0.25);
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: clamp(320px, 46vw, 540px);
  overflow: hidden;
  background: linear-gradient(180deg, #0b1324 0%, #070d18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.visual-card:hover .image-wrapper img {
  transform: scale(1.03);
}

/* SVG Fallback if image load fails */
.svg-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 3rem;
  background: radial-gradient(circle, #0e1b38 0%, #070b14 80%);
}

.image-wrapper.fallback-mode img {
  display: none;
}

.image-wrapper.fallback-mode .svg-fallback {
  display: flex;
}

.robot-stage {
  position: relative;
  width: 180px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.robot-avatar {
  font-size: 5rem;
  animation: float-bot 3s infinite ease-in-out;
  position: relative;
  z-index: 2;
}

.robot-avatar.secondary {
  position: absolute;
  font-size: 3rem;
  right: 0;
  top: 10px;
  animation: float-bot 3.8s infinite ease-in-out reverse;
}

.robot-avatar.tertiary {
  position: absolute;
  font-size: 2.2rem;
  left: 5px;
  bottom: 10px;
  animation: float-bot 2.6s infinite ease-in-out 0.4s;
}

@keyframes float-bot {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

.fallback-note {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  margin-top: 1.5rem;
  font-size: 1rem;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(10, 20, 40, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: float-slow 4s infinite ease-in-out;
  pointer-events: none;
  z-index: 3;
}

.badge-1 {
  top: 10%;
  left: 4%;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 12%;
  left: 6%;
  animation-delay: 1.2s;
}

.badge-3 {
  top: 12%;
  right: 4%;
  animation-delay: 2.1s;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Progress Section */
.progress-container {
  padding: 1.5rem 2rem;
  background: rgba(10, 16, 31, 0.9);
  border-top: 1px solid var(--border-color);
  text-align: left;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.progress-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.progress-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  width: 74%;
  height: 100%;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 50%, #8b5cf6 100%);
  border-radius: 9999px;
  position: relative;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.progress-glow {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 25px;
  background: white;
  filter: blur(4px);
  opacity: 0.8;
  animation: shine 2s infinite ease-in-out;
}

@keyframes shine {
  0% { opacity: 0.3; }
  50% { opacity: 0.9; }
  100% { opacity: 0.3; }
}

.progress-subtext {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.coffee-counter strong {
  color: #f59e0b;
}

/* Live Terminal Section */
.terminal-section {
  width: 100%;
  margin-bottom: 3.5rem;
  background: #090e1a;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.terminal-header {
  background: #0f182c;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  gap: 1rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boost-btn {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(139, 92, 246, 0.25) 100%);
  border: 1px solid var(--accent-cyan);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.boost-btn:hover {
  background: var(--accent-cyan);
  color: #070b14;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
  transform: translateY(-1px);
}

.boost-btn:active {
  transform: translateY(1px);
}

.terminal-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  height: 190px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.log-line {
  line-height: 1.5;
  word-break: break-all;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  animation: log-fade-in 0.2s ease-out;
}

@keyframes log-fade-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

.log-time {
  color: var(--text-dim);
  flex-shrink: 0;
}

.log-tag {
  color: var(--accent-cyan);
  font-weight: 600;
  flex-shrink: 0;
}

.log-tag.system { color: #818cf8; }
.log-tag.robot { color: #34d399; }
.log-tag.ai { color: #f472b6; }
.log-tag.boost { color: #fbbf24; font-weight: 700; }

.log-msg {
  color: #cbd5e1;
}

.log-status-ok {
  color: #10b981;
  font-weight: 600;
}

/* Features Grid */
.features-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  text-align: left;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 254, 0.1);
}

.feature-card.highlighted {
  border-color: rgba(139, 92, 246, 0.45);
  background: linear-gradient(180deg, rgba(22, 36, 66, 0.7) 0%, rgba(13, 21, 39, 0.7) 100%);
}

.feature-card.highlighted::before {
  content: 'FOCUS';
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact Card */
.contact-section {
  width: 100%;
  margin-bottom: 3.5rem;
}

.contact-card {
  background: linear-gradient(135deg, rgba(16, 26, 48, 0.85) 0%, rgba(13, 21, 39, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.contact-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #fff;
}

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

.contact-methods {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
}

.email-btn {
  background: var(--accent-cyan);
  color: #070b14;
  border: none;
}

.email-btn:hover {
  background: #38f9d7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4);
}

.notify-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.notify-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-tagline {
  color: var(--text-dim);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: #0d1629;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  text-align: center;
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.modal-dialog h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.modal-dialog p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.notify-form input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(6, 11, 23, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}

.notify-form input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

.submit-btn {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  border: none;
  color: #070b14;
  font-weight: 700;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 242, 254, 0.4);
}

.notify-success {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.hidden {
  display: none;
}

/* Responsiveness */
@media (max-width: 768px) {
  .app-layout {
    padding: 1.25rem 1rem 2rem;
  }
  
  .header {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .contact-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-methods {
    justify-content: center;
    width: 100%;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .floating-badge {
    display: none; /* Hide floating badges on smaller screens for cleaner view */
  }
}
