/* Core design tokens (converted from Tailwind CSS setup) */
:root {
  --background: hsl(215 50% 8%);
  --foreground: hsl(210 40% 96%);

  --card: hsl(215 45% 12%);
  --card-foreground: hsl(210 40% 96%);

  --popover: hsl(215 45% 12%);
  --popover-foreground: hsl(210 40% 96%);

  --primary: hsl(185 70% 45%);
  --primary-foreground: hsl(215 50% 8%);

  --secondary: hsl(215 40% 18%);
  --secondary-foreground: hsl(210 40% 96%);

  --muted: hsl(215 35% 15%);
  --muted-foreground: hsl(210 20% 60%);

  --accent: hsl(175 80% 50%);
  --accent-foreground: hsl(215 50% 8%);

  --destructive: hsl(0 84% 60%);
  --destructive-foreground: hsl(210 40% 98%);

  --border: hsl(215 30% 20%);
  --input: hsl(215 30% 20%);
  --ring: hsl(185 70% 45%);

  --radius: 12px;

  --gradient-primary: linear-gradient(135deg, hsl(185 70% 45%), hsl(175 80% 50%));
  --gradient-bg: radial-gradient(ellipse at top, hsl(215 45% 15%), hsl(215 50% 8%));
  --gradient-glow: radial-gradient(circle, hsl(185 70% 45% / 0.3), transparent 70%);

  --shadow-glow: 0 0 40px hsl(185 70% 45% / 0.4);
  --shadow-soft: 0 10px 40px hsl(215 50% 5% / 0.5);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--gradient-bg);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.page-root {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.content {
  position: relative;
  z-index: 10;
  max-width: 40rem; /* ~640px */
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: var(--gradient-glow);
  opacity: 0.5;
  pointer-events: none;
}

/* Floating shapes (from FloatingShape.tsx) */
.floating-shape {
  position: absolute;
  background: linear-gradient(to bottom right, hsla(175, 80%, 50%, 0.3), hsla(175, 80%, 50%, 0.1));
  backdrop-filter: blur(4px);
  animation-name: float-shape;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.floating-shape.sm {
  width: 2rem;
  height: 2rem;
}

.floating-shape.md {
  width: 4rem;
  height: 4rem;
}

.floating-shape.lg {
  width: 6rem;
  height: 6rem;
}

.floating-shape.circle {
  border-radius: 999px;
}

.floating-shape.square {
  border-radius: 0.5rem;
  transform: rotate(45deg);
}

.floating-shape.hexagon {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Approximate Tailwind offset utilities used in Index.tsx */
.top-10 {
  top: 10%;
}
.left-5 {
  left: 5%;
}
.top-20 {
  top: 20%;
}
.right-10 {
  right: 10%;
}
.bottom-15 {
  bottom: 15%;
}
.left-15 {
  left: 15%;
}
.bottom-25 {
  bottom: 25%;
}
.right-8 {
  right: 8%;
}
.top-40 {
  top: 40%;
}
.left-8 {
  left: 8%;
}
.top-60 {
  top: 60%;
}
.right-15 {
  right: 15%;
}

@keyframes float-shape {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(10px, -20px) scale(1.05);
  }
  66% {
    transform: translate(0, -10px) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Hero section */
.hero {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.hero-tagline {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

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

.hero-title {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  font-size: 2.25rem;
}

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

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

.text-gradient {
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Pulsing ring (from PulsingRing.tsx) */
.pulsing-ring {
  position: relative;
  width: 12rem;
  height: 12rem;
  margin: 2rem 0 3rem;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

@media (min-width: 768px) {
  .pulsing-ring {
    width: 16rem;
    height: 16rem;
    margin: 3rem 0 3.5rem;
  }
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid hsla(175, 80%, 50%, 0.4);
  opacity: 0;
  animation: pulse-ring 3s ease-out infinite;
}

.ring-outer {
  animation-delay: 0s;
}
.ring-middle {
  animation-delay: 1s;
}
.ring-inner {
  animation-delay: 2s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  66% {
    transform: scale(1.5);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.ring-dashed {
  position: absolute;
  inset: 16px;
  border-radius: 999px;
  border: 4px dashed hsla(185, 70%, 45%, 0.6);
  animation: rotate-ring 20s linear infinite;
}

@keyframes rotate-ring {
  to {
    transform: rotate(360deg);
  }
}

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-center::before {
  content: "";
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  background: linear-gradient(to bottom right, var(--primary), hsla(185, 70%, 45%, 0.8));
  box-shadow: var(--shadow-glow);
  animation: pulse-center 2s ease-in-out infinite;
}

@media (min-width: 768px) {
  .ring-center::before {
    width: 7rem;
    height: 7rem;
  }
}

.ring-icon {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .ring-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

@keyframes pulse-center {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Status message */
.status {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.6s ease-out forwards;
  animation-delay: 0.6s;
}

.status h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .status h3 {
    font-size: 1.875rem;
  }
}

.status p {
  margin: 0;
  font-size: 1.125rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted-foreground);
}

/* Progress bar */
.progress {
  width: 100%;
  max-width: 28rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
  animation-delay: 0.8s;
}

.progress-track {
  height: 0.5rem;
  background-color: var(--muted);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 50%;
  background-image: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
  border-radius: 999px;
  animation: progress-move 2s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes progress-move {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Message card */
.message-card {
  background-color: rgba(18, 25, 40, 0.7);
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  max-width: 30rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.6s ease-out forwards;
  animation-delay: 1s;
}

.message-main {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .message-main {
    font-size: 1.25rem;
  }
}

.message-sub {
  margin: 0;
  color: var(--muted-foreground);
}

/* Contact */
.contact {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
  animation-delay: 1.2s;
}

.contact-label {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.contact-email {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.divider {
  color: var(--border);
}

.contact-phone {
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
  animation-delay: 1.4s;
}

/* Language switcher */
.lang-switch {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 20;
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-btn:hover {
  color: var(--foreground);
  background-color: rgba(15, 23, 42, 0.9);
}

.lang-btn--active {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
}

/* Simple entrance animations */
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


