/* iOS-Style Liquid Glass Coming Soon Page */

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

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 50%, #ffffff 100%);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

/* Background Layer */
.background-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.grid-animation {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 25s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.08), transparent);
  top: -200px;
  left: -200px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.05), transparent);
  bottom: -150px;
  right: -150px;
  animation-delay: -10s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03), transparent);
  top: 50%;
  left: 50%;
  animation-delay: -5s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Glass Panel */
.content-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.glass-panel {
  width: 100%;
  max-width: 600px;
  padding: 80px 60px;

  /* Core glass effect */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px) saturate(140%);
  -webkit-backdrop-filter: blur(30px) saturate(140%);

  /* Glass edges and depth */
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15), 0 2px 12px rgba(0, 0, 0, 0.08),
    inset 0 2px 2px rgba(255, 255, 255, 0.3),
    inset 0 -1px 1px rgba(0, 0, 0, 0.05);

  /* Center content */
  text-align: center;

  /* Subtle morph animation */
  animation: glassMorph 10s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

@keyframes glassMorph {
  0%,
  100% {
    border-radius: 24px 28px 24px 28px;
    backdrop-filter: blur(30px) saturate(140%);
  }
  50% {
    border-radius: 28px 24px 28px 24px;
    backdrop-filter: blur(32px) saturate(145%);
  }
}

/* Light ray effect */
.glass-panel::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.12) 55%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 70%
  );
  animation: shimmer 15s infinite; /* Enhanced duration */
  pointer-events: none;
}

/* Film grain texture */
.glass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.015;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' /%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  border-radius: inherit;
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg) translateX(-100%);
  }
  100% {
    transform: rotate(0deg) translateX(100%);
  }
}

/* Typography */
.logo {
  margin: 0 0 60px 0;
  display: flex;
  justify-content: center;
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}

.logo-img {
  height: 40px;
  width: auto;
}

.tagline {
  font-size: 44px; /* Slightly larger */
  font-weight: 200; /* Lighter for elegance */
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 40px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: #000;
  animation: fadeUp 0.8s ease-out 0.1s forwards;
  opacity: 0;
}

.status {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  color: #00c9a7;
  margin: 0 0 60px 0;
  text-shadow: 0 0 30px rgba(0, 201, 167, 0.2);
  letter-spacing: 0.05em;
  animation: fadeUp 0.8s ease-out 0.2s forwards,
    pulse 3s ease-in-out 0.8s infinite;
  opacity: 0;
}

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

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

/* Service Chips */
.services {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0 0 60px 0;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.service-chip {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  transition: all 0.3s ease;
  position: relative;
  color: #000;
  cursor: pointer;
}

.service-chip::before {
  content: "•";
  color: #00c9a7;
  margin-right: 6px;
  filter: drop-shadow(0 0 4px currentColor);
}

.service-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.12);
}

/* Email Form */
.email-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0 0 80px 0;
  animation: fadeUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.glass-input {
  padding: 14px 20px;
  width: 250px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
  font-family: "Inter", system-ui, sans-serif;
  color: #000;
}

.glass-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  text-transform: lowercase;
}

.glass-input:focus {
  outline: none;
  border-color: rgba(0, 201, 167, 0.3);
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.1),
    inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.glass-button {
  padding: 14px 28px;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", system-ui, sans-serif;
  color: #000;
}

.glass-button:hover {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  transform: translateY(-1px);
}

/* Success Message */
.success-message {
  font-size: 16px;
  color: #666;
  animation: fadeIn 0.5s ease-out;
  text-align: center;
  margin: 0;
}

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

/* Footer */
.panel-footer {
  font-size: 13px;
  opacity: 0.5;
  color: #000;
  text-align: center;
  animation: fadeUp 0.8s ease-out 0.5s forwards;
}

.panel-footer a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.panel-footer a:hover {
  color: #00c9a7;
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .glass-panel {
    padding: 60px 40px;
  }

  .tagline {
    font-size: 32px;
  }

  .email-form {
    flex-direction: column;
  }

  .glass-input {
    width: 100%;
  }

  .services {
    flex-direction: column;
  }

  .content-wrapper {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .glass-panel {
    padding: 60px 50px;
  }

  .tagline {
    font-size: 38px;
  }
}

@media (max-width: 375px) {
  .glass-panel {
    padding: 50px 30px;
  }

  .tagline {
    font-size: 28px;
  }

  .logo-img {
    height: 35px;
  }
}

/* Accessibility - Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .grid-animation {
    animation: none;
  }

  .orb {
    animation: none;
  }

  .glass-panel {
    animation: none;
  }

  .glass-panel::before {
    animation: none;
  }

  .logo,
  .tagline,
  .status,
  .services,
  .email-form,
  .panel-footer {
    animation: none;
    opacity: 1;
  }
}
