/* ============================================================
   ToroCAT Official Website — style.css
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0c0f;
  --bg-2:      #111318;
  --bg-card:   #16181f;
  --border:    rgba(255,255,255,0.08);
  --accent:    #8b5cf6;
  --accent-2:  #a78bfa;
  --text:      #f0f0f0;
  --text-muted:#8b8f9e;
  --radius:    16px;
  --radius-sm: 10px;
  --font:      'Inter', system-ui, sans-serif;
  --max-w:     1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11,12,15,0.75);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-cat {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: inline-block;
  border-radius: 50%;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 70vh;
  background: radial-gradient(ellipse, rgba(139,92,246,0.16) 0%, transparent 70%);
  pointer-events: none;
}

.city-skyline {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  display: flex;
  justify-content: space-around;
  font-size: clamp(3rem, 8vw, 7rem);
  opacity: 0.06;
  user-select: none;
  filter: blur(2px);
}

.city { animation: cityFloat 6s ease-in-out infinite; }
.city-1 { animation-delay: 0s; }
.city-2 { animation-delay: 1.2s; }
.city-3 { animation-delay: 2.4s; }
.city-4 { animation-delay: 0.6s; }
.city-5 { animation-delay: 1.8s; }

@keyframes cityFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.floating-cheers { position: absolute; inset: 0; }
.cheer {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0;
  animation: floatUp 8s ease-in infinite;
  user-select: none;
}
.c1 { left: 8%;  animation-delay: 0s;   animation-duration: 7s; }
.c2 { left: 18%; animation-delay: 1.5s; animation-duration: 9s; }
.c3 { left: 30%; animation-delay: 3s;   animation-duration: 6s; }
.c4 { left: 45%; animation-delay: 0.8s; animation-duration: 8s; }
.c5 { left: 60%; animation-delay: 2.2s; animation-duration: 7.5s; }
.c6 { left: 72%; animation-delay: 4s;   animation-duration: 6.5s; }
.c7 { left: 85%; animation-delay: 1s;   animation-duration: 9s; }
.c8 { left: 92%; animation-delay: 3.5s; animation-duration: 7s; }

@keyframes floatUp {
  0%   { bottom: -5%; opacity: 0; transform: scale(0.7) rotate(-10deg); }
  20%  { opacity: 0.6; }
  80%  { opacity: 0.3; }
  100% { bottom: 110%; opacity: 0; transform: scale(1.2) rotate(15deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.accent { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,92,246,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

/* ── Cities Band ── */
.cities-band {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.cities-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.cities-track span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section Shared ── */
section { padding: 100px 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 60px;
}

/* ── Mission ── */
.mission { background: var(--bg-2); }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color .25s, transform .25s;
}
.mission-card:hover {
  border-color: rgba(139,92,246,0.3);
  transform: translateY(-4px);
}

.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.mission-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ── Apps ── */
.apps { background: var(--bg); }

.app-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  position: relative;
}

.app-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--accent-2), #c4b5fd);
}

.app-featured-badge {
  display: inline-block;
  background: rgba(139,92,246,0.15);
  border-bottom: 1px solid rgba(139,92,246,0.2);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 10px 24px;
  width: 100%;
}

.app-featured-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  padding: 48px;
  align-items: start;
}

.app-featured-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(167,139,250,0.1));
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 28px;
  flex-shrink: 0;
}
.app-big-icon { font-size: 3.5rem; }

.app-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.app-tagline {
  color: var(--accent-2);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.app-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 32px;
}

.app-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.app-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.app-features li strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.app-features li span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: default;
}
.store-btn > span { font-size: 1.6rem; }
.store-btn small { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.store-btn strong { display: block; font-size: 1rem; color: var(--text); }

.apps-more {
  display: flex;
  justify-content: center;
}

.more-card {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 64px;
  text-align: center;
  color: var(--text-muted);
  width: 100%;
  max-width: 420px;
}

.more-icon { font-size: 2.5rem; margin-bottom: 16px; }
.more-card p { font-weight: 600; color: var(--text); margin-bottom: 8px; }
.more-card span { font-size: 0.875rem; }

/* ── SUNO Promo ── */
.suno-promo {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* background radial pulse */
.suno-promo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.14) 0%, transparent 70%);
  pointer-events: none;
  animation: sunoPulse 4s ease-in-out infinite;
}

@keyframes sunoPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
  50%       { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}

.suno-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.suno-glow-ring {
  font-size: 3.5rem;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(167,139,250,0.1));
  border: 1px solid rgba(139,92,246,0.4);
  border-radius: 50%;
  margin-bottom: 32px;
  box-shadow: 0 0 32px rgba(139,92,246,0.25), 0 0 64px rgba(139,92,246,0.1);
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 32px rgba(139,92,246,0.25), 0 0 64px rgba(139,92,246,0.1); }
  50%       { box-shadow: 0 0 48px rgba(139,92,246,0.45), 0 0 96px rgba(139,92,246,0.2); }
}

.suno-content { position: relative; }

.suno-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.suno-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 40%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.suno-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 40px;
}

/* SUNO CTA button */
.btn-suno {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 100px;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(139,92,246,0.35);
  transition: transform .25s, box-shadow .25s, background .25s;
  position: relative;
  overflow: hidden;
}

.btn-suno::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity .25s;
}

.btn-suno:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(139,92,246,0.55);
}
.btn-suno:hover::before { opacity: 1; }

.suno-btn-icon {
  font-size: 1.3rem;
  animation: iconBounce 1.8s ease-in-out infinite;
}

@keyframes iconBounce {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.25); }
}

.suno-arrow {
  font-size: 1.1rem;
  transition: transform .25s;
}
.btn-suno:hover .suno-arrow { transform: translateX(5px); }

/* floating musical notes */
.suno-notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.note {
  position: absolute;
  font-size: 1.4rem;
  color: var(--accent-2);
  opacity: 0;
  animation: noteFloat 6s ease-in infinite;
  user-select: none;
}

.n1 { left: 5%;  animation-delay: 0s;   animation-duration: 5.5s; }
.n2 { left: 18%; animation-delay: 1s;   animation-duration: 7s; }
.n3 { left: 35%; animation-delay: 2.5s; animation-duration: 6s; }
.n4 { left: 60%; animation-delay: 0.5s; animation-duration: 6.5s; }
.n5 { left: 78%; animation-delay: 1.8s; animation-duration: 5s; }
.n6 { left: 92%; animation-delay: 3s;   animation-duration: 7.5s; }

@keyframes noteFloat {
  0%   { bottom: -10%; opacity: 0; transform: scale(0.8) rotate(-8deg); }
  20%  { opacity: 0.5; }
  80%  { opacity: 0.2; }
  100% { bottom: 110%; opacity: 0; transform: scale(1.3) rotate(12deg); }
}

/* Responsive */
@media (max-width: 480px) {
  .btn-suno { font-size: 0.9rem; padding: 14px 24px; }
  .suno-title { -webkit-text-fill-color: var(--text); }
}

/* ── Quote ── */
.quote-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.08) 0%, transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

blockquote {
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  font-style: italic;
  color: var(--text);
}

cite {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 400;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Contact ── */
.contact { background: var(--bg-2); }

.contact-inner { text-align: center; }

.contact-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 36px;
}

.contact-btn { font-size: 1rem; }

/* ── Footer ── */
.site-footer {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-cities {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer-legal {
  margin-top: 4px;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
  opacity: 0.6;
  transition: color .2s, opacity .2s;
}

.footer-legal a:hover {
  color: var(--accent-2);
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { display: none; }

  .app-featured-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }

  .app-featured-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
  }
  .app-big-icon { font-size: 2.5rem; }

  .mission-grid { grid-template-columns: 1fr; }

  .section-title { margin-bottom: 36px; }

  .more-card { padding: 36px 32px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .app-features li { flex-direction: column; gap: 6px; }
}

/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
