/* ===== XAOUT Corporate Website - Global Styles ===== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1E293B;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== CSS Variables ===== */
:root {
  --primary: #0A1628;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-light: #EFF6FF;
  --green: #10B981;
  --orange: #F59E0B;
  --red: #EF4444;
  --text: #1E293B;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --bg: #FFFFFF;
  --bg-gray: #F8FAFC;
  --bg-dark: #0F172A;
  --border: #E2E8F0;
  --shadow: 0 2px 8px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 6px 16px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 28px rgba(0,0,0,.12), 0 4px 10px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 48px rgba(0,0,0,.14), 0 8px 16px rgba(0,0,0,.08);
  --max-w: 1120px;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.35; color: var(--primary); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { color: var(--text-light); font-size: .95rem; line-height: 1.85; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-title { margin-bottom: 16px; }
.section-desc {
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--text-light);
  font-size: 1rem;
}

/* ===== Layout ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--bg-gray); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #CBD5E1; }
.section--accent { background: var(--accent); color: #fff; }
.section--accent h2, .section--accent p { color: #fff; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header__logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: .05em;
}
.header__logo span { color: var(--accent); }
.header__nav { display: flex; align-items: center; gap: 32px; }
.header__nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  position: relative;
}
.header__nav a:hover { color: var(--accent); }
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.header__nav a:hover::after { width: 100%; }
.header__cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn--outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.btn--white {
  background: #fff;
  color: var(--accent);
}
.btn--white:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--dark {
  background: var(--primary);
  color: #fff;
}
.btn--dark:hover {
  background: #1E293B;
  transform: translateY(-2px);
}
.btn--lg {
  padding: 16px 40px;
  font-size: 1rem;
  border-radius: 8px;
}
.btn--sm {
  padding: 8px 20px;
  font-size: .8rem;
}
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 50%, #0A1628 100%);
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(37,99,235,.3), transparent),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(16,185,129,.15), transparent);
}
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: .3; }
  50% { transform: translateY(-30px) scale(1.5); opacity: .8; }
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__text { color: #fff; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.4);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: #93C5FD;
  margin-bottom: 24px;
}
.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero h1 .accent { color: #60A5FA; }
.hero h1 .accent-green { color: #34D399; }
.hero__sub {
  font-size: 1.1rem;
  color: #94A3B8;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero__visual {
  position: relative;
}
.hero__card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
}
.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.hero__stat {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.hero__stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #60A5FA;
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label {
  font-size: .75rem;
  color: #94A3B8;
}
.hero__floating {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .8rem;
  color: #fff;
  animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero__floating--1 { top: -20px; right: -20px; animation-delay: 0s; }
.hero__floating--2 { bottom: -10px; left: -20px; animation-delay: 1s; }

/* ===== Feature Cards ===== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-width: 0;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}
.card__icon--blue { background: #EFF6FF; color: var(--accent); }
.card__icon--green { background: #ECFDF5; color: var(--green); }
.card__icon--orange { background: #FFFBEB; color: var(--orange); }
.card__icon--red { background: #FEF2F2; color: var(--red); }
.card__icon--purple { background: #F5F3FF; color: #7C3AED; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .9rem; line-height: 1.7; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}
.card__link:hover { gap: 10px; }
.card__link svg { width: 16px; height: 16px; }

/* ===== Stats / Numbers ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.section--dark .stat-num { color: #60A5FA; }
.stat-label {
  font-size: .85rem;
  color: var(--text-light);
}
.section--dark .stat-label { color: #94A3B8; }

/* ===== Platform Logos ===== */
.platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-light);
  font-size: .9rem;
}
.platform-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  border: 2px solid var(--border);
  transition: var(--transition);
}
.platform-icon:hover { transform: scale(1.1); border-color: var(--accent); }
.platform-icon--amazon { background: #FFF8E1; color: #FF9900; }
.platform-icon--rakuten { background: #FFF0F0; color: #BF0000; }
.platform-icon--shopify { background: #E8F5E9; color: #96BF48; }
.platform-icon--yahoo { background: #FFF3E0; color: #FF0033; }

/* ===== Flow / Steps ===== */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.flow__step {
  position: relative;
  text-align: center;
  padding: 32px 20px;
  counter-increment: step;
}
.flow__step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(37,99,235,.1);
  margin-bottom: 16px;
  line-height: 1;
}
.flow__step::after {
  content: '';
  position: absolute;
  top: 50px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--border);
}
.flow__step:last-child::after { display: none; }
.flow__step h4 { margin-bottom: 8px; }
.flow__step p { font-size: .85rem; }

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent) 0%, #1D4ED8 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 300px at 10% 50%, rgba(255,255,255,.1), transparent),
    radial-gradient(circle 200px at 90% 50%, rgba(255,255,255,.08), transparent);
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .btn-group { justify-content: center; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: #94A3B8;
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand {}
.footer__logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.footer__logo span { color: #60A5FA; }
.footer__desc {
  font-size: .85rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  transition: var(--transition);
  font-size: .9rem;
}
.footer__social a:hover {
  background: var(--accent);
  color: #fff;
}
.footer h4 {
  color: #fff;
  font-size: .85rem;
  margin-bottom: 20px;
  letter-spacing: .05em;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-size: .85rem;
  transition: var(--transition);
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a:hover { color: #fff; }

/* ===== Service Detail Sections ===== */
.service-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 100%);
  color: #fff;
  text-align: center;
}
.service-hero h1 { color: #fff; margin-bottom: 16px; }
.service-hero p { color: #94A3B8; max-width: 640px; margin: 0 auto; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.feature-row:nth-child(even) .feature-row__img { order: -1; }
.feature-row__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-gray);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-row__img .placeholder {
  font-size: 4rem;
  opacity: .3;
}
.feature-row__text {}
.feature-row__text h3 { margin-bottom: 16px; }
.feature-row__text p { margin-bottom: 16px; }
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .9rem;
  color: var(--text-light);
}
.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow);
}
.pricing-card--featured {
  border-color: var(--accent);
  transform: scale(1.02);
}
.pricing-card--featured::before {
  content: 'おすすめ';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 20px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.pricing-card--featured:hover { transform: scale(1.02) translateY(-4px); }
.pricing-card h3 { margin-bottom: 8px; }
.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 20px 0;
}
.pricing-price span { font-size: .9rem; font-weight: 500; color: var(--text-light); }
.pricing-features {
  text-align: left;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-light);
}
.pricing-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-q svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--text-lighter);
}
.faq-item.active .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a__inner {
  padding: 0 0 20px;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Contact Form ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group--full { grid-column: 1 / -1; }
.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
}
.form-label .required {
  color: var(--red);
  font-size: .75rem;
  margin-left: 4px;
}
.form-input, .form-select, .form-textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  transition: var(--transition);
  background: #fff;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-light);
}
.form-checkbox input { margin-top: 4px; accent-color: var(--accent); }

/* ===== Video Section ===== */
.video-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 16px;
}
.video-placeholder__play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(37,99,235,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  cursor: pointer;
}
.video-placeholder__play:hover { background: var(--accent); transform: scale(1.1); }

/* ===== Testimonials ===== */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card__stars {
  color: #FBBF24;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card__text {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
}
.testimonial-card__name { font-weight: 600; font-size: .85rem; color: var(--primary); }
.testimonial-card__role { font-size: .75rem; color: var(--text-lighter); }

/* ===== Logo Scroll ===== */
.logo-scroll {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}
.logo-scroll::before,
.logo-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}
.logo-scroll::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.logo-scroll::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.section--gray .logo-scroll::before { background: linear-gradient(90deg, var(--bg-gray), transparent); }
.section--gray .logo-scroll::after { background: linear-gradient(-90deg, var(--bg-gray), transparent); }
.logo-track {
  display: flex;
  align-items: center;
  gap: 100px;
  animation: scrollLogos 20s linear infinite;
  width: max-content;
}
.logo-track:hover { animation-play-state: paused; }
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-track__item {
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-lighter);
  white-space: nowrap;
  opacity: .5;
  transition: var(--transition);
}
.logo-track__item:hover { opacity: 1; }
.logo-track__logo {
  flex-shrink: 0;
  opacity: .6;
  transition: var(--transition);
  filter: grayscale(.3);
  cursor: default;
}
.logo-track__logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

/* ===== About Page ===== */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  text-align: center;
  padding: 40px 24px;
}
.value-card__num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(37,99,235,.1);
  margin-bottom: 16px;
  line-height: 1;
}
.value-card h3 { margin-bottom: 12px; }

.company-info {
  max-width: 720px;
  margin: 0 auto;
}
.company-info table {
  width: 100%;
  border-collapse: collapse;
}
.company-info th, .company-info td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: .9rem;
}
.company-info th {
  width: 160px;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-gray);
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 480px; margin: 0 auto; }
  .grid-4, .stats-bar, .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step::after { display: none; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row:nth-child(even) .feature-row__img { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .header__nav, .header__cta { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .platforms { gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
