/* ============================================
   HAIXP - Main Layout Styles
   Clean Professional Design with Chinese Characteristics
   ============================================ */

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ============================================
   Header / Navigation
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header--transparent {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: none;
}

.header--solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
}

.header__logo-text {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.header__logo-text span:first-child {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: var(--text-xl);
  font-weight: 800;
}

.header__logo-subtext {
  font-size: var(--text-xs);
  font-weight: 500;
  -webkit-text-fill-color: var(--text-secondary) !important;
  color: var(--text-secondary);
  letter-spacing: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.header__nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.header__nav-link--dropdown {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.header__nav-link--dropdown::after {
  content: '▾';
  font-size: 10px;
  line-height: 1;
  opacity: 0.7;
  transform: translateY(1px);
}

.header__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  padding: var(--space-2);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1100;
}

.header__dropdown--right {
  left: auto;
  right: 0;
}

.header__nav-item--dropdown:hover .header__dropdown,
.header__nav-item--dropdown:focus-within .header__dropdown {
  display: block;
}

.header__dropdown-link {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.header__dropdown-link:hover,
.header__dropdown-link--active {
  color: var(--primary);
  background: rgba(0, 85, 165, 0.06);
}

.header__dropdown-label {
  padding: var(--space-2) var(--space-3) var(--space-1);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header__dropdown-lang {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3) var(--space-2);
}

.header__dropdown-lang .lang-switch__btn {
  border: 1px solid var(--gray-300);
}

.header__nav-link {
  padding: var(--space-2) var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--primary);
  background: rgba(0, 85, 165, 0.06);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.lang-switch__btn {
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.lang-switch__btn--active {
  background: var(--primary);
  color: var(--white);
}

.btn-join {
  padding: var(--space-2) var(--space-5);
  background: var(--primary);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-join:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 85, 165, 0.3);
}

.traffic-widget {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  background: rgba(0, 85, 165, 0.04);
}

.traffic-widget__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.traffic-widget__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.traffic-widget__value {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.traffic-widget__divider {
  width: 1px;
  height: 28px;
  background: var(--gray-200);
}

@media (max-width: 980px) {
  .traffic-widget {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: var(--space-8);
  z-index: 999;
}

.mobile-nav--open {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-nav a {
  color: var(--text-primary);
  font-size: var(--text-lg);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-200);
}

/* Theme toggle button */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: rgba(0, 85, 165, 0.04);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: rgba(0, 85, 165, 0.08);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.mobile-nav__details {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav__details summary {
  cursor: pointer;
  color: var(--text-primary);
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.mobile-nav__details summary::-webkit-details-marker {
  display: none;
}

.mobile-nav__details summary::after {
  content: '+';
  font-size: var(--text-xl);
  line-height: 1;
  color: var(--text-muted);
}

.mobile-nav__details[open] summary::after {
  content: '–';
}

.mobile-nav__details-links {
  padding-top: var(--space-3);
  padding-left: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav__details-links a {
  font-size: var(--text-base);
  color: var(--text-secondary);
  border-bottom: none;
  padding: var(--space-2) 0;
}

.mobile-nav__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: var(--space-1);
}

.mobile-nav__lang {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2) 0 var(--space-1);
}

.mobile-nav__lang .lang-switch__btn {
  border: 1px solid var(--gray-300);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(102, 204, 255, 0.35), rgba(0, 0, 0, 0)),
    linear-gradient(135deg, #002a55 0%, #004a8f 40%, #0055a5 70%, #0099cc 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-6);
  letter-spacing: 1px;
}

.hero__title-highlight {
  color: var(--accent-light);
}

.hero__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: var(--space-10);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn--primary {
  background: var(--white);
  color: var(--primary);
}

.btn--primary:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}

.btn--secondary {
  background: var(--primary);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--primary);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--disabled,
.btn--disabled:hover,
.btn:disabled,
.btn:disabled:hover {
  background: var(--gray-300);
  color: var(--gray-500);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  border-color: var(--gray-300);
}

/* Notice Banner */
.notice-banner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius-md);
  color: #6d4c00;
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.notice-banner__icon {
  flex-shrink: 0;
  font-size: var(--text-lg);
}

.notice-banner--inline {
  margin-top: var(--space-3);
  margin-bottom: 0;
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
}

.hero__visual {
  position: relative;
  width: 45%;
  min-width: 320px;
  max-width: 500px;
  min-height: 300px;
  z-index: 1;
  opacity: 0.85;
  flex-shrink: 0;
}

.hero__visual svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Stats Bar
   ============================================ */

.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-10) 0;
  box-shadow: var(--shadow-sm);
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* ============================================
   Section Base
   ============================================ */

.section {
  padding: var(--space-24) 0;
  background: var(--white);
}

.section--dark {
  background: var(--gray-50);
  color: var(--text-primary);
}

.section--gray {
  background: var(--gray-50);
}

.section--gradient {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  color: var(--text-primary);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.section__tag {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: rgba(0, 85, 165, 0.08);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  letter-spacing: 1px;
}

.section--dark .section__tag {
  background: rgba(0, 85, 165, 0.1);
  color: var(--primary);
}

.section__title {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.section__desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
}

.section--dark .section__desc {
  color: var(--text-secondary);
}

/* ============================================
   Feature Cards
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  position: relative;
  padding: var(--space-10);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 85, 165, 0.08);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
  color: var(--primary);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
}

.feature-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.feature-card__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Dark variant */
.section--dark .feature-card {
  background: var(--white);
  border-color: var(--gray-200);
}

.section--dark .feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}

.section--dark .feature-card__desc {
  color: var(--text-secondary);
}

/* ============================================
   Info Cards / Benefits
   ============================================ */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.info-card {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.info-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.info-card__number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-mono);
  line-height: 1;
  flex-shrink: 0;
}

.info-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.info-card__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.cta {
  position: relative;
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, #003366 0%, #005599 50%, #0077bb 100%);
  overflow: hidden;
}

.cta__bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.cta .container {
  position: relative;
  text-align: center;
}

.cta__title {
  font-size: clamp(var(--text-3xl), 3vw, var(--text-5xl));
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto var(--space-10);
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta__notice {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: #1a2332;
  border-top: 3px solid var(--primary);
  color: rgba(255, 255, 255, 0.65);
}

/* Dark theme overrides */
html[data-theme="dark"] body {
  background: var(--surface-bg);
}

html[data-theme="dark"] .header--transparent,
html[data-theme="dark"] .header--solid {
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

html[data-theme="dark"] .header__nav-link {
  color: rgba(226, 232, 240, 0.72);
}

html[data-theme="dark"] .header__nav-link:hover,
html[data-theme="dark"] .header__nav-link--active {
  color: var(--white);
  background: rgba(102, 204, 255, 0.08);
}

html[data-theme="dark"] .lang-switch {
  border-color: rgba(148, 163, 184, 0.22);
}

html[data-theme="dark"] .traffic-widget {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(102, 204, 255, 0.06);
}

html[data-theme="dark"] .section {
  background: transparent;
}

html[data-theme="dark"] .section--dark,
html[data-theme="dark"] .section--gray,
html[data-theme="dark"] .section--gradient {
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .join-step,
html[data-theme="dark"] .requirement-card,
html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .tech-spec,
html[data-theme="dark"] .contact-item,
html[data-theme="dark"] .contact-form {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="dark"] .mobile-nav {
  background: rgba(11, 18, 32, 0.92);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

html[data-theme="dark"] .mobile-nav a {
  color: rgba(226, 232, 240, 0.86);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

html[data-theme="dark"] .stats-bar {
  background: var(--surface-primary);
  border-bottom-color: var(--surface-border);
  box-shadow: none;
}

html[data-theme="dark"] .info-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(148, 163, 184, 0.22);
}

html[data-theme="dark"] .notice-banner {
  background: rgba(255, 200, 50, 0.1);
  border-color: rgba(255, 200, 50, 0.2);
  color: rgba(226, 232, 240, 0.82);
}

html[data-theme="dark"] .btn--light {
  background: var(--surface-primary);
  color: var(--primary);
}

html[data-theme="dark"] .btn--primary {
  background: var(--surface-primary);
  color: var(--primary);
}

.footer__main {
  padding: var(--space-10) 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-8);
}

.footer__brand {
  max-width: none;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer__logo-icon {
  width: 36px;
  height: 36px;
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  background: rgba(0, 85, 165, 0.15);
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-4);
}

.footer__links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-8);
}

.footer__links li {
  margin-bottom: var(--space-2);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--primary-light);
}

.footer__bottom {
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer__bottom-links a {
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--primary-light);
}

.footer__disclaimer {
  padding: var(--space-3) 0 var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.6;
}

/* ============================================
   Scroll Animations
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left--visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right--visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    max-width: 100%;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header__nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

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

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .cta {
    padding: var(--space-16) 0;
  }

  /* Hide logo subtext on small screens to prevent overflow */
  .header__logo-subtext {
    display: none;
  }
}

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