/*
Theme Name: Sigcast
Theme URI: https://sigcast.example.com
Author: Sigcast
Author URI: https://sigcast.example.com
Description: Server-side copy trading for algorithmic traders. Single-page marketing site with email-verification account registration. Visual system referenced from thortradecopier.com.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sigcast
Tags: one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   Sigcast Design System — referenced from Thor (thortradecopier.com)
   ========================================================================== */

:root {
  --primary-color: #E8431F;
  --primary-dark: #d03a1b;
  --primary-light: #ff5c3b;
  --secondary-color: #FF9800;
  --accent-color: #ff6584;
  --text-color: #2d3436;
  --text-light: #636e72;
  --bg-color: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #151922;
  --success-color: #4cd137;
  --warning-color: #fbc531;
  --error-color: #e84118;
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --primary-gradient: linear-gradient(135deg, #FF512F 0%, #DD2476 50%, #F09819 100%);
  --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --dark-gradient: linear-gradient(135deg, #0c1427 0%, #1a1f35 50%, #0f172a 100%);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glow-orange: rgba(232, 67, 31, 0.6);
  --glow-purple: rgba(118, 75, 162, 0.4);
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Inter', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --section-padding: clamp(80px, 12vw, 140px);
  --container-max: 1280px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-height: 80px;
}

/* ==========================================================================
   Reset & Base  (typography scale referenced from lovable.dev)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;          /* lovable body */
  font-weight: 400;
  line-height: 24px;        /* lovable body line-height */
  color: var(--text-color);
  /* 整页一张淡粉渐变（与 Thor banner 融为一体），背景固定、内容在其上滚动 */
  background: linear-gradient(180deg, #fff5f2 0%, #ffe8e3 28%, #fff7f3 62%, #fff5f2 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 全屏星光粒子背景：固定在视口底层，内容在其上滚动 */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
.site-header { z-index: 100; }
.site-main, .site-footer { position: relative; z-index: 1; }
/* 区块背景半透明，让底层星光持续透出 */
.section--light, .section--dark, .hero, .auth-section, .account-section, .site-footer {
  backdrop-filter: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-color);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); letter-spacing: -0.04em; }   /* lovable display */
h2 { font-size: clamp(2rem, 5vw, 3rem);    letter-spacing: -0.04em; }   /* lovable h2: 48px, -1.92px */
h3 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); letter-spacing: -0.02em; }
h4 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; font-size: 16px; line-height: 24px; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section { padding: var(--section-padding) 0; position: relative; }
.section--light { background: transparent; }
.section--dark { background: transparent; color: var(--text-color); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark p { color: var(--text-color); }
.section--dark .text-muted { color: var(--text-light); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 8vw, 80px); }
.section-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 16px;
  display: inline-block;
}
.section--dark .section-head .eyebrow { color: var(--primary-color); }
.section-head .text-muted { color: var(--text-light); font-size: 1.05rem; }

.text-muted { color: var(--text-light); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;          /* lovable button */
  font-weight: 600;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 8px 24px var(--glow-orange);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--glow-orange); color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn--outline:hover { background: rgba(232, 67, 31, 0.08); color: var(--primary-dark); }

.btn--white { background: #fff; color: var(--bg-dark); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,255,255,0.25); color: var(--bg-dark); }

.btn--ghost-light { background: var(--glass-bg); color: #fff; border: 1px solid var(--glass-border); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); color: #fff; }

.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ==========================================================================
   Navigation — transparent, adapts to background on scroll
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: transparent;                    /* 顶部透明 */
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
/* 当导航下方是深色区块时（由 JS 添加） */
.site-header.on-dark {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.site-header.on-dark .nav-menu a { color: rgba(255, 255, 255, 0.92); }
.site-header.on-dark .nav-menu a:hover { color: #fff; }
.site-header.on-dark .lang-select { color: rgba(255,255,255,0.92); background-color: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }
.site-header.on-dark .lang-select option { color: #1a1f35; }
.site-header.on-dark .nav-toggle span { background: #fff; }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 48px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  font-size: 16px;          /* lovable nav */
  font-weight: 400;
  color: var(--nav-text, #1a1f35);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-menu a:hover { color: var(--primary-color); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* 语言下拉菜单 */
.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23636e72' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  padding: 9px 38px 9px 18px;
  font-family: var(--font-body);
  font-size: 14px;          /* lovable small */
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}
.lang-select:hover { border-color: var(--primary-color); }
.lang-select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(232, 67, 31, 0.12); }
.lang-select option { color: var(--text-color); background: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-color); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 32px 28px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-smooth);
    box-shadow: -8px 0 32px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 12px 8px; font-size: 1.05rem; }
  .nav-toggle { display: block; }

  /* 深色状态下打开的抽屉菜单保持浅色可读 */
  .site-header.on-dark .nav-menu { background: #fff; }
  .site-header.on-dark .nav-menu a { color: var(--nav-text, #1a1f35); }
  .site-header.on-dark .nav-menu a:hover { color: var(--primary-color); }
}

/* ==========================================================================
   Hero — 导航透明时 hero 从页面顶部开始
   ========================================================================== */

.site-header + .hero { margin-top: calc(-1 * var(--nav-height)); }
.hero {
  position: relative;
  background: transparent;
  overflow: hidden;
  padding: calc(var(--nav-height) + clamp(72px, 12vw, 140px)) 0 clamp(64px, 10vw, 120px);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232, 67, 31, 0.10) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.55;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 101, 132, 0.28) 0%, rgba(255, 152, 0, 0.12) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(232, 67, 31, 0.08);
  border: 1px solid rgba(232, 67, 31, 0.18);
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success-color);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { margin-bottom: 24px; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-light); max-width: 720px; margin: 0 auto 40px; }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: clamp(48px, 8vw, 72px); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: var(--box-shadow);
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--font-display), 'Segoe UI Symbol', 'Noto Sans Symbols', 'Apple Symbols', 'DejaVu Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 2px 0 6px;   /* 给特殊字形留出渲染空间，避免被裁切 */
}
.hero-stat .label { font-size: 0.9rem; color: var(--text-light); margin-top: 4px; }

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

/* ==========================================================================
   Waitlist / Lead form
   ========================================================================== */

.lead-form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--box-shadow);
  padding: clamp(28px, 5vw, 48px);
  text-align: left;
}
.lead-form-card h3 { margin-bottom: 6px; }
.lead-form-card .sub { color: var(--text-light); font-size: 0.95rem; margin-bottom: 28px; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--text-color); }
.form-field label .req { color: var(--primary-color); }
.form-field .hint { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-color);
  background: #fff;
  transition: var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(232, 67, 31, 0.12);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23636e72' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
/* 两列标签等高中对齐：长标签折两行时也不把下拉框顶下去 */
.form-row .form-field label { min-height: 3.5em; display: flex; align-items: flex-start; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form-row .form-field label { min-height: 0; } }

.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--border-radius); font-size: 0.92rem; }
.form-status.success { display: block; background: rgba(76, 209, 55, 0.12); color: #1e7a12; border: 1px solid rgba(76, 209, 55, 0.3); }
.form-status.error { display: block; background: rgba(232, 65, 24, 0.1); color: var(--error-color); border: 1px solid rgba(232, 65, 24, 0.3); }
.form-status.loading { display: block; color: var(--text-light); }

/* ==========================================================================
   Feature cards (numbered)
   ========================================================================== */

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  transition: var(--transition);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-card .f-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  background: rgba(232, 67, 31, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 22px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-light); font-size: 0.98rem; margin: 0; }

.feature-card .f-list { list-style: none; margin: 14px 0 0; padding: 0; }
.feature-card .f-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-light);
  font-size: 0.94rem;
  margin-bottom: 8px;
}
.feature-card .f-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-gradient);
}

/* ==========================================================================
   How it works / We are building
   ========================================================================== */

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; gap: 40px; } }

.how-item .how-arrow { font-family: var(--font-display); font-size: 1.6rem; color: var(--primary-color); margin: 12px 0; }
.how-item .num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--primary-color); font-weight: 600; letter-spacing: 0.1em; }
.how-item h3 { margin: 10px 0 8px; font-size: 1.25rem; }
.how-item p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(76, 209, 55, 0.12);
  border: 1px solid rgba(76, 209, 55, 0.3);
  color: #1e7a12;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 20px;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success-color); animation: pulse 2s infinite; }

/* ==========================================================================
   Auth pages (register / login / account)
   ========================================================================== */

.auth-section { min-height: calc(100vh - var(--nav-height)); display: flex; align-items: center; padding: 60px 0; background: transparent; }

.auth-card {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--box-shadow);
  padding: clamp(32px, 6vw, 52px);
}
.auth-card .auth-logo { text-align: center; margin-bottom: 24px; }
.auth-card .auth-logo img { height: 44px; margin: 0 auto; }
.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card .auth-sub { text-align: center; color: var(--text-light); font-size: 0.95rem; margin-bottom: 28px; }

.auth-switch { text-align: center; margin-top: 20px; font-size: 0.92rem; color: var(--text-light); }

/* verification code row */
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.code-row .btn { padding: 13px 18px; font-size: 0.88rem; }

.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 8px 0 4px; }
.otp-inputs input {
  width: 52px; height: 60px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: var(--text-color);
  transition: var(--transition);
}
.otp-inputs input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(232, 67, 31, 0.12); }

.countdown { text-align: center; font-size: 0.85rem; color: var(--text-light); margin: 6px 0 18px; }

/* Account center */
.account-section { padding: 60px 0 100px; background: transparent; min-height: calc(100vh - var(--nav-height)); }
.account-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--box-shadow);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 24px;
}
.account-card h3 { margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.account-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .account-meta { grid-template-columns: 1fr; } }
.account-meta .meta-item { background: var(--bg-light); border-radius: 12px; padding: 16px 18px; }
.account-meta .meta-item .k { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.account-meta .meta-item .v { font-size: 1rem; font-weight: 600; }

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

.site-footer { background: transparent; color: var(--text-color); padding: clamp(64px, 8vw, 96px) 0 32px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
@media (max-width: 960px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 { color: var(--text-color); font-size: 0.95rem; margin-bottom: 18px; }
.site-footer p { color: var(--text-light); font-size: 0.92rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: var(--text-light); font-size: 0.92rem; text-decoration: none; transition: color 0.2s ease; }
.site-footer ul a:hover { color: var(--primary-color); }

.footer-brand img { height: 36px; margin-bottom: 14px; }

.footer-contact { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { color: var(--text-color); font-size: 0.95rem; text-decoration: none; transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--primary-color); }
.footer-contact .footer-domain { color: var(--text-light); font-size: 0.9rem; font-family: var(--font-mono); }

.footer-legal { border-top: 1px solid rgba(0, 0, 0, 0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal p { color: rgba(45, 52, 54, 0.6); font-size: 0.85rem; margin: 0; }
.footer-legal nav a { color: rgba(45, 52, 54, 0.6); font-size: 0.85rem; margin-left: 20px; text-decoration: none; }
.footer-legal nav a:hover { color: var(--primary-color); }

.footer-risk {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.35);
}
.footer-risk p { font-size: 0.78rem; color: rgba(45, 52, 54, 0.65); margin: 0; line-height: 1.7; }

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; }
}
