/* OptimizeToolBox Website - Champion OS Aesthetic */

:root {
  --bg-deep: #0a0a0a;
  --bg-base: #0e0e0e;
  --bg-surface: #161616;
  --bg-elevated: #1c1c1c;
  --text-primary: #e8e8e8;
  --text-secondary: #a0a0a0;
  --text-muted: #808080;
  --accent: #e63329;
  --accent-orange: #ff6b1a;
  --accent-glow: rgba(230, 51, 41, 0.3);
  --accent-dim: rgba(230, 51, 41, 0.08);
  --font-body: 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-display: 'Montserrat', 'Arial', sans-serif;
}

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

html, body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
}

/* Atmospheric Effects */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.4;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 51, 41, 0.15) 0%, transparent 70%);
  top: -200px;
  left: -100px;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.1) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation-delay: -10s;
}

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

/* Container */
.container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  padding: 3vh 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeInDown 1s ease-out;
}

.header-left {
  flex-shrink: 0;
}

.header-right {
  flex: 1;
  text-align: right;
}

.logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #f5f5f5 0%, #9ca3af 25%, #d1d5db 50%, #6b7280 75%, #e5e7eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: metalShine 2s ease-in-out forwards;
  margin: 0;
  position: relative;
}

.brand-title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  filter: blur(2px);
}

@keyframes metalShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0.5rem 0;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 0;
}

.hero {
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(230, 51, 41, 0.15);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4vh;
  letter-spacing: 0.05em;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 3vh;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.title-line {
  display: block;
  animation: slideInLeft 0.8s ease-out both;
}

.title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 5vh;
  animation: fadeIn 1s ease-out 0.6s both;
}

/* CTA Button */
.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-orange) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 1s ease-out 0.8s both;
  box-shadow: 0 8px 32px var(--accent-glow);
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--accent-glow);
}

.cta-button:active {
  transform: translateY(-2px);
}

.button-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: transform 0.6s;
}

.cta-button:hover .button-glow {
  transform: translate(-50%, -50%) scale(2);
}

.button-icon {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  color: white;
}

.button-text {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.05em;
}

/* Footer */
.footer {
  padding: 4vh 0 3vh;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeIn 1s ease-out 1s both;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

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

.filing-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.filing-link:hover {
  color: var(--text-secondary);
}

.filing-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.filing-divider {
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Channel Buttons */
.channel-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default, #2a2a2a);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.channel-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--accent-dim);
  box-shadow: 0 4px 16px var(--accent-glow);
  transform: translateY(-2px);
}

.channel-icon {
  display: flex;
  align-items: center;
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .channel-buttons {
    gap: 0.75rem;
  }

  .channel-btn {
    padding: 0.75rem 1.3rem;
    font-size: 0.9rem;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 6vw;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .header-right {
    text-align: left;
  }

  .logo-image {
    height: 50px;
  }

  .brand-title {
    font-size: 1.5rem;
  }

  .brand-subtitle {
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.9rem 2.5rem;
  }

  .button-icon {
    width: 20px;
    height: 20px;
  }

  .button-text {
    font-size: 1rem;
  }

  .filing-info {
    flex-direction: column;
    gap: 0.8rem;
  }

  .filing-divider {
    display: none;
  }

  .glow-orb-1,
  .glow-orb-2 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1.2rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
  }

  .button-icon {
    width: 18px;
    height: 18px;
  }

  .button-text {
    font-size: 0.95rem;
  }
}
