/* ============================================================
   LitClaw Landing Page — Pure CSS (replaces Tailwind + Motion)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: #E53E3E; color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ---------- Utility ---------- */
.container { max-width: 1280px; margin: 0 auto; }

/* ---------- Hero entrance animations (CSS, not scroll) ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-anim {
  opacity: 0; animation: fadeInUp .8s ease forwards;
  display: flex; flex-direction: column; align-items: center; width: 100%;
}
.hero-anim-delay-1 { animation-delay: .3s; }
.hero-anim-delay-2 { animation-delay: .6s; }
.hero-anim-delay-3 { animation-delay: .8s; }

/* ---------- Scroll‑reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(.95);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* stagger children */
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(10,10,10,.8);
  border-bottom: 1px solid rgba(229,62,62,.2);
}
@media (min-width: 768px) { .navbar { padding: 1rem 5rem; } }

.navbar-brand { display: flex; align-items: center; gap: .5rem; }
.navbar-brand img { width: 32px; height: 32px; border-radius: 6px; }
.navbar-brand span { font-size: 1.25rem; font-weight: 700; letter-spacing: .05em; }

.navbar-links { display: none; align-items: center; gap: 1.5rem; color: #A3A3A3; font-size: .875rem; font-weight: 500; }
@media (min-width: 768px) { .navbar-links { display: flex; } }
.navbar-links a:hover { color: #fff; }
.navbar-links a { transition: color .2s; }
.navbar-link-dropdown { position: relative; display: flex; align-items: center; }
.navbar-link-trigger {
  padding: 0; background: none; border: none;
  color: inherit; font: inherit; line-height: inherit;
  transition: color .2s;
}
.navbar-link-trigger:hover { color: #fff; }
.navbar-link-dropdown .navbar-dropdown {
  top: calc(100% + .75rem); left: 50%; right: auto;
  transform: translateX(-50%);
}

.navbar-actions {
  display: flex; align-items: center; gap: .75rem;
}
.navbar-dropdown-wrap { position: relative; }

@media (max-width: 480px) {
  .navbar-actions { gap: .5rem; }
}

.btn-primary-sm {
  background: #E53E3E; color: #fff;
  padding: .5rem 1.25rem; border-radius: 9999px;
  font-size: .875rem; font-weight: 700;
  box-shadow: 0 0 15px rgba(229,62,62,.4);
  transition: background .2s, transform .15s;
}
.btn-primary-sm:hover { background: #ff4d4d; transform: scale(1.05); }
.btn-primary-sm:active { transform: scale(.95); }

/* Navbar dropdown */
.navbar-dropdown {
  display: none; position: absolute; top: calc(100% + .5rem); right: 0;
  min-width: 220px; padding: .5rem;
  background: #1A1A1A; border: 1px solid #333; border-radius: .75rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  flex-direction: column; gap: .25rem; z-index: 100;
}
.navbar-dropdown.open { display: flex; }
.navbar-dropdown a,
.navbar-dropdown .dropdown-item-disabled {
  display: flex; align-items: center; gap: .625rem;
  padding: .625rem .875rem; border-radius: .5rem;
  font-size: .8125rem; font-weight: 500; color: #fff;
  transition: background .15s;
}
.navbar-dropdown a:hover { background: rgba(229,62,62,.15); }
.navbar-dropdown svg { flex-shrink: 0; }
.dropdown-item-disabled {
  color: #555; cursor: not-allowed; pointer-events: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 1rem 4rem;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 6rem 5rem 4rem; } }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .g1 {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: #E53E3E; border-radius: 50%;
  filter: blur(120px); opacity: .15; mix-blend-mode: screen;
}
.hero-bg .g2 {
  position: absolute; top: 25%; left: 25%;
  width: 300px; height: 300px;
  background: #ff6b6b; border-radius: 50%;
  filter: blur(100px); opacity: .1; mix-blend-mode: screen;
}
.hero-bg .g3 {
  position: absolute; bottom: 25%; right: 25%;
  width: 400px; height: 400px;
  background: #991b1b; border-radius: 50%;
  filter: blur(120px); opacity: .2; mix-blend-mode: screen;
}

.hero-inner {
  position: relative; z-index: 10;
  max-width: 960px; width: 100%; margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

.hero-logo {
  width: 128px; height: 128px; margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(229,62,62,.4));
}

.hero h1 {
  font-size: 3.75rem; font-weight: 900;
  background: linear-gradient(to bottom right, #fff, #fff, #a3a3a3);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem; letter-spacing: -.02em; line-height: 1.1;
}
@media (min-width: 768px) { .hero h1 { font-size: 6rem; } }

.hero-badge {
  display: inline-block; padding: .375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(229,62,62,.3);
  background: rgba(229,62,62,.1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  margin-bottom: 1rem;
}
.hero-badge span { color: #E53E3E; font-weight: 500; letter-spacing: .05em; font-size: .875rem; }

.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .hero-tags { gap: 1rem; } }
.hero-tags span { color: #A3A3A3; font-size: .875rem; font-weight: 500; display: flex; align-items: center; gap: .5rem; }
@media (min-width: 768px) { .hero-tags span { font-size: 1rem; } }
.hero-tags .dot { color: #4E4E4E; display: none; }
@media (min-width: 768px) { .hero-tags .dot { display: inline-block; } }

/* Download buttons */
.hero-actions {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem; margin-top: 3rem; width: 100%;
}
@media (min-width: 768px) { .hero-actions { flex-direction: row; justify-content: center; width: auto; } }

.btn-download {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .75rem;
  background: #fff; color: #000;
  padding: 1rem 2rem; border-radius: .75rem;
  font-weight: 700; font-size: 1rem;
  position: relative; overflow: hidden;
  transition: background .2s, transform .2s;
}
@media (min-width: 768px) { .btn-download { width: auto; } }
.btn-download:hover { background: #f3f3f3; transform: scale(1.02) translateY(-2px); }
.btn-download-disabled {
  background: #555 !important; color: #999 !important;
  cursor: not-allowed; pointer-events: none; opacity: .5;
}
.btn-download svg { width: 20px; height: 20px; transition: transform .2s; }
.btn-download:hover svg { transform: scale(1.1); }
.btn-download .shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.05), transparent);
  transform: translateX(-100%);
}
.btn-download:hover .shimmer { animation: shimmer 1.5s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

.hero-hint { margin-top: 1.5rem; color: #4E4E4E; font-size: .75rem; }

/* ============================================================
   APP INTERFACE
   ============================================================ */
.app-interface {
  position: relative; padding: 6rem 1rem; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh;
}
@media (min-width: 768px) { .app-interface { padding: 6rem 5rem; } }

.app-interface-inner {
  width: 100%; max-width: 1400px;
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
}

.app-interface h2 {
  font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 1rem; text-align: center;
}
@media (min-width: 768px) { .app-interface h2 { font-size: 3rem; } }

.comm-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 2rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .comm-logos { gap: 2rem; } }
.comm-logo {
  width: 64px; height: 64px; border-radius: 50%;
  background: #f5f5f5; border: 1px solid #333;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,.3);
  transition: border-color .3s, transform .2s;
}
@media (min-width: 768px) { .comm-logo { width: 80px; height: 80px; } }
.comm-logo:hover { border-color: rgba(229,62,62,.5); }
.comm-logo img { width: 40px; height: 40px; object-fit: contain; transition: transform .2s; }
@media (min-width: 768px) { .comm-logo img { width: 48px; height: 48px; } }
.comm-logo:hover img { transform: scale(1.1); }

.screenshot-frame {
  border-radius: 2rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 100px rgba(229,62,62,.2);
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
}
.screenshot-frame img { width: 100%; border-radius: 1.8rem; display: block; object-fit: cover; }

.app-interface-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 100%; max-width: 960px; height: 500px;
  background: #E53E3E; border-radius: 50%;
  filter: blur(160px); opacity: .15;
  pointer-events: none; mix-blend-mode: screen;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 6rem 1rem 8rem;
  background: #0a0a0a; position: relative; overflow: hidden;
}
@media (min-width: 768px) { .features { padding: 6rem 5rem 8rem; } }

.features-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.features-bg .g1 {
  position: absolute; top: 25%; left: -10%;
  width: 500px; height: 500px; background: #E53E3E; border-radius: 50%;
  filter: blur(150px); opacity: .1; mix-blend-mode: screen;
}
.features-bg .g2 {
  position: absolute; bottom: 25%; right: -10%;
  width: 600px; height: 600px; background: #9B2C2C; border-radius: 50%;
  filter: blur(180px); opacity: .15; mix-blend-mode: screen;
}

.features .section-header { text-align: center; margin-bottom: 4rem; position: relative; z-index: 10; }
.features .section-header h2 { font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
@media (min-width: 768px) { .features .section-header h2 { font-size: 3rem; } }
.features .section-header p { color: #A3A3A3; font-size: 1.125rem; max-width: 640px; margin: 0 auto; }

.features-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  position: relative; z-index: 10;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  position: relative; padding: 1px; border-radius: 1rem;
  background: #333;
  transition: transform .5s, box-shadow .5s; overflow: hidden;
}
.feature-card:hover { transform: translateY(-6px) scale(1.02); }

/* Hover border glow */
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: #E53E3E; opacity: 0;
  transition: opacity .5s; border-radius: 1rem;
}
.feature-card:hover::before { opacity: 1; }

/* Rotating beams */
.feature-card::after {
  content: ''; position: absolute; inset: -1000%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 10deg, #ff6b6b 20deg, transparent 30deg, transparent 180deg, transparent 190deg, #ff6b6b 200deg, transparent 210deg, transparent 360deg);
  opacity: 0; animation: spin 4s linear infinite; pointer-events: none;
  transition: opacity .5s;
}
.feature-card:hover::after { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.feature-card-inner {
  position: relative; z-index: 10;
  height: 100%; width: 100%; padding: 2rem;
  border-radius: calc(1rem - 1px);
  background: #1A1A1A;
}
.feature-card:hover .feature-card-inner {
  background: linear-gradient(to bottom right, rgba(229,62,62,.05), #1A1A1A);
}

.feature-icon {
  width: 48px; height: 48px; border-radius: .75rem;
  background: #2a2a2a;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 0 15px rgba(229,62,62,0);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(229,62,62,.3);
}
.feature-icon svg { width: 24px; height: 24px; color: #E53E3E; stroke: #E53E3E; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.feature-card-inner h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: .75rem; letter-spacing: .02em; }
.feature-card-inner p { color: #A3A3A3; font-size: .875rem; line-height: 1.7; font-weight: 300; }

/* ============================================================
   SCENARIOS
   ============================================================ */
@keyframes flow-lr {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.scenarios {
  padding: 7rem 1rem 6rem;
  background: linear-gradient(to bottom, #111, #0a0a0a);
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(51,51,51,.5);
}
@media (min-width: 768px) { .scenarios { padding: 7rem 5rem 6rem; } }

.scenarios-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.scenarios-bg .g1 {
  position: absolute; top: 33%; left: 25%;
  width: 400px; height: 400px; background: #E53E3E; border-radius: 50%;
  filter: blur(200px); opacity: .08;
}
.scenarios-bg .g2 {
  position: absolute; bottom: 25%; right: 25%;
  width: 500px; height: 500px; background: #9B2C2C; border-radius: 50%;
  filter: blur(200px); opacity: .12;
}

.scenarios .section-header { text-align: center; margin-bottom: 4rem; position: relative; z-index: 10; }
.scenarios .section-header h2 { font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 1rem; letter-spacing: -.01em; }
@media (min-width: 768px) { .scenarios .section-header h2 { font-size: 3rem; } }
.scenarios .section-header p { color: #A3A3A3; font-size: 1.125rem; max-width: 640px; margin: 0 auto; font-weight: 300; }

.scenarios-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  position: relative; z-index: 10;
}
@media (min-width: 1024px) { .scenarios-grid { grid-template-columns: repeat(2, 1fr); } }

.scenario-card {
  position: relative; border-radius: 1rem; overflow: hidden;
  border: 1px solid transparent;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  z-index: 10;
}
.scenario-card:hover { transform: scale(1.02); z-index: 20; }

/* Flow lines on hover */
.scenario-card .flow-line {
  position: absolute; left: 0; width: 100%; height: 2px;
  opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 30;
  overflow: hidden;
}
.scenario-card .flow-line.top { top: 0; }
.scenario-card .flow-line.bottom { bottom: 0; }
.scenario-card:hover .flow-line { opacity: 1; }
.scenario-card .flow-line span {
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  animation: flow-lr 2s linear infinite;
}

.scenario-top { padding: 2rem; flex: 1; display: flex; flex-direction: column; gap: 2.5rem; position: relative; z-index: 20; }
@media (min-width: 768px) { .scenario-top { padding: 2.5rem; } }
.scenario-prompt {
  background: rgba(255,255,255,.95); color: #333;
  padding: 1.25rem 1.5rem; border-radius: 1rem;
  font-size: .9375rem; line-height: 1.6;
  box-shadow: 0 2px 10px rgba(0,0,0,.02);
}
.scenario-delivery { display: flex; flex-direction: column; gap: 1rem; margin-top: auto; }
.scenario-delivery-title { color: #555; font-size: .875rem; font-weight: 500; }
.scenario-delivery-items { background: rgba(0,0,0,.04); padding: 1.25rem; border-radius: 1rem; display: flex; flex-direction: column; gap: .875rem; }
.scenario-delivery-item { display: flex; align-items: center; gap: .75rem; }
.scenario-delivery-item .emoji { font-size: 1.125rem; opacity: .8; }
.scenario-delivery-item .text { color: #1A1A1A; font-size: .875rem; font-weight: 700; letter-spacing: .02em; }

.scenario-bottom { padding: 1.5rem 2rem; position: relative; z-index: 20; }
@media (min-width: 768px) { .scenario-bottom { padding: 2rem 2.5rem; } }
.scenario-bottom h3 { font-weight: 700; color: #fff; margin-bottom: .5rem; font-size: 1.25rem; letter-spacing: .02em; }
.scenario-bottom p { color: #A3A3A3; font-size: .875rem; line-height: 1.6; }

/* Scenario color themes */
.sc-pink .scenario-top { background: #F3E2E2; }
.sc-pink .scenario-bottom { background: #36272A; }
.sc-pink:hover { border-color: rgba(235,153,168,.6); box-shadow: 0 0 20px rgba(235,153,168,.4); }
.sc-pink .flow-line span { background: linear-gradient(90deg, transparent, rgb(235,153,168), transparent); }

.sc-amber .scenario-top { background: #EFE8E2; }
.sc-amber .scenario-bottom { background: #39342D; }
.sc-amber:hover { border-color: rgba(222,175,126,.6); box-shadow: 0 0 20px rgba(222,175,126,.4); }
.sc-amber .flow-line span { background: linear-gradient(90deg, transparent, rgb(222,175,126), transparent); }

.sc-green .scenario-top { background: #DEEFE6; }
.sc-green .scenario-bottom { background: #25332C; }
.sc-green:hover { border-color: rgba(133,204,165,.6); box-shadow: 0 0 20px rgba(133,204,165,.4); }
.sc-green .flow-line span { background: linear-gradient(90deg, transparent, rgb(133,204,165), transparent); }

.sc-lime .scenario-top { background: #EAECE0; }
.sc-lime .scenario-bottom { background: #383C2C; }
.sc-lime:hover { border-color: rgba(196,209,134,.6); box-shadow: 0 0 20px rgba(196,209,134,.4); }
.sc-lime .flow-line span { background: linear-gradient(90deg, transparent, rgb(196,209,134), transparent); }

.sc-purple .scenario-top { background: #E5E3F5; }
.sc-purple .scenario-bottom { background: #26233B; }
.sc-purple:hover { border-color: rgba(167,153,227,.6); box-shadow: 0 0 20px rgba(167,153,227,.4); }
.sc-purple .flow-line span { background: linear-gradient(90deg, transparent, rgb(167,153,227), transparent); }

.sc-blue .scenario-top { background: #DFE7ED; }
.sc-blue .scenario-bottom { background: #283845; }
.sc-blue:hover { border-color: rgba(135,179,217,.6); box-shadow: 0 0 20px rgba(135,179,217,.4); }
.sc-blue .flow-line span { background: linear-gradient(90deg, transparent, rgb(135,179,217), transparent); }

/* ============================================================
   SKILLHUB
   ============================================================ */
.skillhub {
  padding: 6rem 1rem 8rem; background: #0a0a0a;
  position: relative; overflow: hidden;
}
@media (min-width: 768px) { .skillhub { padding: 6rem 0 8rem; } }

.skillhub-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.skillhub-bg .g1 {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 400px; background: #E53E3E; border-radius: 50%;
  filter: blur(180px); opacity: .06;
}
.skillhub-bg .g2 {
  position: absolute; top: -10%; left: -5%;
  width: 400px; height: 400px; background: #9B2C2C; border-radius: 50%;
  filter: blur(150px); opacity: .1;
}
.skillhub-bg .g3 {
  position: absolute; bottom: -10%; right: -5%;
  width: 500px; height: 500px; background: #742a2a; border-radius: 50%;
  filter: blur(160px); opacity: .1;
}

.skillhub-header {
  margin-bottom: 6rem; text-align: center;
  padding: 0 1rem; position: relative; z-index: 10;
}
@media (min-width: 768px) { .skillhub-header { padding: 0 5rem; } }

.skillhub-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem .75rem; border-radius: 9999px;
  border: 1px solid rgba(229,62,62,.3);
  background: rgba(229,62,62,.1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  margin-bottom: 1.5rem;
}
.skillhub-badge svg { width: 16px; height: 16px; color: #E53E3E; stroke: #E53E3E; fill: none; stroke-width: 2; }
.skillhub-badge span { color: #E53E3E; font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

.skillhub-header h2 { font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .skillhub-header h2 { font-size: 3rem; } }
.skillhub-header p { color: #A3A3A3; font-size: 1.125rem; max-width: 640px; margin: 0 auto; font-weight: 300; line-height: 1.7; }
.skillhub-header p strong { color: #fff; font-weight: 500; }

/* Marquee container */
.marquee-wrap {
  position: relative; width: 100%; overflow: hidden;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: ''; position: absolute; top: 0; z-index: 20;
  width: 300px; height: 100%;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, #0a0a0a, transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, #0a0a0a, transparent); }

.marquee-track {
  display: flex; gap: 1.5rem; width: max-content;
}
.marquee-track.row1 { animation: marquee-ltr 180s linear infinite; }
.marquee-track.row2 { animation: marquee-rtl 160s linear infinite; }

@keyframes marquee-ltr { 0% { transform: translateX(-33.333%); } 100% { transform: translateX(0); } }
@keyframes marquee-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }

.skill-card {
  flex-shrink: 0; width: 320px;
  padding: 1.5rem; border-radius: 1rem;
  background: #151515; border: 1px solid #333;
  display: flex; flex-direction: column;
  transition: border-color .3s, box-shadow .3s;
}
.skill-card:hover {
  border-color: rgba(229,62,62,.5);
  box-shadow: 0 0 20px rgba(229,62,62,.15);
}
.skill-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.skill-card-emoji {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: .75rem; background: #222; border: 1px solid #444;
  font-size: 1.375rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.3);
  transition: background .3s, border-color .3s;
}
.skill-card:hover .skill-card-emoji { background: #1A1A1A; border-color: rgba(229,62,62,.4); }
.skill-card-head h3 {
  font-size: 1.125rem; font-weight: 700;
  color: rgba(255,255,255,.9);
  transition: color .3s;
}
.skill-card:hover .skill-card-head h3 { color: #fff; }
.skill-card p { color: #A3A3A3; font-size: .875rem; line-height: 1.6; font-weight: 300; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 7rem 1rem 0;
  background: #0a0a0a; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  border-top: 1px solid rgba(51,51,51,.5);
}
@media (min-width: 768px) { .cta { padding: 7rem 5rem 0; } }

.cta-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cta-bg .g1 {
  position: absolute; top: 25%; left: 0;
  width: 600px; height: 600px; background: #9B2C2C; border-radius: 50%;
  filter: blur(200px); opacity: .08;
}
.cta-bg .g2 {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%) translateY(50%);
  width: 800px; height: 400px; background: #E53E3E; border-radius: 50%;
  filter: blur(150px); opacity: .1;
}

.cta-inner { position: relative; z-index: 10; max-width: 896px; margin: 0 auto; text-align: center; }

.cta-inner h2 {
  font-size: 2.5rem; font-weight: 900; color: #fff;
  margin-bottom: 1.5rem; letter-spacing: -.01em; line-height: 1.25;
}
@media (min-width: 768px) { .cta-inner h2 { font-size: 3rem; } }
.cta-inner h2 .accent { color: #E53E3E; display: inline-flex; align-items: center; gap: .5rem; }
.cta-inner h2 .accent svg {
  width: 32px; height: 32px; stroke: #E53E3E; fill: none; stroke-width: 2;
  animation: pulse 2s ease-in-out infinite;
}
@media (min-width: 768px) { .cta-inner h2 .accent svg { width: 48px; height: 48px; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

.btn-cta {
  display: inline-flex; align-items: center; gap: .75rem;
  background: #E53E3E; color: #fff;
  padding: 1.25rem 2rem; border-radius: 1rem;
  font-weight: 900; font-size: 1.125rem;
  box-shadow: 0 0 20px rgba(229,62,62,.5);
  border: 1px solid rgba(255,107,107,.5);
  transition: background .2s, transform .15s;
  animation: cta-glow 2.5s ease-in-out infinite;
}
.btn-cta:hover { background: #ff4d4d; transform: scale(1.05); }
.btn-cta:active { transform: scale(.95); }
.btn-cta svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229,62,62,0); }
  50% { box-shadow: 0 0 20px 0 rgba(229,62,62,.6); }
}

/* Community card */
.community-card {
  padding: 2rem;
  border: 1px solid #222;
  border-radius: 1.5rem;
  background: rgba(15,15,15,.6);
  backdrop-filter: blur(12px);
  max-width: 896px; margin: 6rem auto 0;
  position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
@media (min-width: 768px) { .community-card { padding: 3rem; } }
.community-card:hover { 
  border-color: rgba(229,62,62,.4); 
  box-shadow: 0 0 40px rgba(229,62,62,.1);
}
.community-card .glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(229,62,62,.03) 50%, transparent 100%);
  pointer-events: none; transition: background .5s;
}
.community-card:hover .glow {
  background: linear-gradient(135deg, transparent 0%, rgba(229,62,62,.08) 50%, transparent 100%);
}

.community-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  z-index: 10;
  position: relative;
}
@media (min-width: 768px) {
  .community-content {
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
  }
}

.community-header { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.community-icon {
  width: 56px; height: 56px; border-radius: 1rem;
  background: linear-gradient(135deg, rgba(229,62,62,.2) 0%, rgba(229,62,62,.1) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(229,62,62,.2);
}
.community-icon svg { width: 28px; height: 28px; stroke: #E53E3E; fill: none; stroke-width: 2; }
.community-header h3 { font-size: 1.75rem; font-weight: 700; color: #fff; letter-spacing: .02em; margin-bottom: 1.25rem; }

.community-benefit {
  color: #FED7AA;
  font-size: .9375rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding: .875rem 1.25rem;
  background: linear-gradient(135deg, rgba(229,62,62,.12) 0%, rgba(251,146,60,.08) 100%);
  border-radius: .75rem;
  border: 1px solid rgba(251,146,60,.25);
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.community-benefit .benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FBBF24;
}
.community-benefit strong {
  color: #FDBA74;
  font-weight: 700;
  font-size: 1.125rem;
}

.community-features { display: flex; flex-direction: column; gap: .875rem; }
.community-feature { 
  display: flex; align-items: flex-start; gap: .625rem; 
  color: #A3A3A3; font-size: .9375rem; font-weight: 300; 
  line-height: 1.6;
}
.community-feature .star { color: #E53E3E; flex-shrink: 0; margin-top: .125rem; }
.community-feature strong { color: #fff; font-weight: 500; }

.community-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.qr-item { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,.03);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.08);
  transition: all .3s;
}
.qr-item:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(229,62,62,.3);
  transform: translateY(-2px);
}
.qr-item img {
  width: 180px; height: 180px; object-fit: cover;
  border-radius: .75rem; border: 1px solid #333;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  background: #fff; padding: .5rem;
  transition: all .3s;
}
@media (min-width: 768px) { 
  .qr-item img { width: 200px; height: 200px; } 
}
.qr-item:hover img {
  border-color: rgba(229,62,62,.4);
  box-shadow: 0 8px 30px rgba(229,62,62,.2);
}
.qr-label {
  color: #E53E3E; font-size: .8125rem; font-weight: 600;
  background: rgba(229,62,62,.15);
  padding: .5rem 1.25rem; border-radius: 9999px;
  border: 1px solid rgba(229,62,62,.25);
  letter-spacing: .05em;
  white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 6rem 1rem 2rem; background: #0a0a0a;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem;
  color: #4E4E4E; font-size: .75rem;
  text-align: center;
}
.site-footer a {
  color: #4E4E4E; transition: color .2s;
}
.site-footer a:hover { color: #A3A3A3; text-decoration: underline; }
.footer-links { display: flex; align-items: center; gap: 1rem; }
