/* ===== AI Tri-Cities — styles.css ===== */

:root {
  --deep: #0a0e1a;
  --river: #1a3a5c;
  --sky: #2c5f8a;
  --accent: #4da8da;
  --glow: #7ec8e3;
  --sand: #d4c5a9;
  --warm: #e8dcc8;
  --white: #f0ece4;
}

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

body {
  background: var(--deep);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(26,58,92,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(44,95,138,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(77,168,218,0.1) 0%, transparent 50%);
  z-index: 0;
  animation: bgShift 12s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* ===== LAYOUT ===== */

.container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 960px;
  padding: 2rem;
  width: 100%;
}

/* ===== BRAND ===== */

.brand {
  margin-bottom: 0.4rem;
  animation: fadeDown 1s ease-out;
}

.brand h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, var(--white) 0%, var(--glow) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 60px rgba(77,168,218,0.25));
}

.brand h1 .ai {
  font-weight: 700;
  letter-spacing: 0.04em;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(180deg, #ffffff 20%, var(--glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.brand h1 .tri {
  font-style: italic;
}

.brand-domain {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: var(--accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.55;
  margin-bottom: 0.4rem;
  animation: fadeDown 1s ease-out 0.1s both;
}

.tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  color: var(--sand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: fadeDown 1s ease-out 0.2s both;
}

.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto 2rem;
  animation: fadeDown 1s ease-out 0.25s both;
}

/* ===== BRIDGE SVG ===== */

.bridge-scene {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 3rem;
  animation: fadeUp 1.2s ease-out 0.4s both;
  filter: drop-shadow(0 4px 30px rgba(77,168,218,0.15));
}

.bridge-scene svg {
  width: 100%;
  height: auto;
}

.water-shimmer {
  animation: shimmer 4s ease-in-out infinite alternate;
}

@keyframes shimmer {
  0% { opacity: 0.3; }
  50% { opacity: 0.6; }
  100% { opacity: 0.3; }
}

.bridge-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawBridge 2.5s ease-out 0.8s forwards;
}

@keyframes drawBridge {
  to { stroke-dashoffset: 0; }
}

/* ===== COMING SOON ===== */

.coming-soon {
  animation: fadeUp 1s ease-out 0.6s both;
  margin-bottom: 2.5rem;
}

.coming-soon h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.coming-soon p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(212,197,169,0.7);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

/* ===== SERVICE TAGS ===== */

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s ease-out 0.7s both;
}

.services span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.45;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(77,168,218,0.15);
  border-radius: 30px;
}

/* ===== CTA ===== */

.cta {
  animation: fadeUp 1s ease-out 0.8s both;
}

.cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(77,168,218,0.3);
  border-radius: 60px;
  transition: all 0.3s ease;
  background: rgba(77,168,218,0.05);
}

.cta a:hover {
  background: rgba(77,168,218,0.12);
  border-color: rgba(77,168,218,0.6);
  box-shadow: 0 0 30px rgba(77,168,218,0.15);
  transform: translateY(-1px);
}

/* ===== FOOTER ===== */

.footer {
  position: fixed;
  bottom: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(212,197,169,0.3);
  letter-spacing: 0.08em;
  z-index: 1;
  animation: fadeUp 1s ease-out 1s both;
}

/* ===== PARTICLES ===== */

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: float 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 10s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 2s; animation-duration: 8s; }
.particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 4s; animation-duration: 12s; }
.particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 1s; animation-duration: 9s; }
.particle:nth-child(5) { left: 85%; top: 40%; animation-delay: 3s; animation-duration: 11s; }
.particle:nth-child(6) { left: 40%; top: 80%; animation-delay: 5s; animation-duration: 7s; }

/* ===== KEYFRAMES ===== */

@keyframes float {
  0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
  25% { opacity: 0.6; }
  50% { opacity: 0.3; transform: translateY(-40px) scale(1.5); }
  75% { opacity: 0.5; }
}

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

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

/* ===== ACCESSIBILITY ===== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 600px) {
  .container { padding: 1.5rem; }
  .bridge-scene { margin-bottom: 2rem; }
  .services { gap: 0.4rem 0.6rem; }
  .services span { font-size: 0.7rem; padding: 0.25rem 0.6rem; }
}
