/* ============================================================
   ConnexionTrack Design System v8
   风格定位：沉稳 · 专业 · 透明
   设计语言：清晰的信息层级、克制的动效、温暖的科技感
   优化内容：暗色模式、增强组件、更好的响应式、更细致的动效
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  /* Primary: 深海蓝绿 — 传递信任与专业 */
  --ct-teal-50:  #ecfeff;
  --ct-teal-100: #cffafe;
  --ct-teal-200: #a5f3fc;
  --ct-teal-300: #67e8f9;
  --ct-teal-400: #22d3ee;
  --ct-teal-500: #06b6d4;
  --ct-teal-600: #0891b2;
  --ct-teal-700: #0e7490;
  --ct-teal-800: #155e75;
  --ct-teal-900: #164e63;
  --ct-teal-950: #083344;

  /* Accent: 暖金 — 行动号召 */
  --ct-gold-400: #facc15;
  --ct-gold-500: #eab308;
  --ct-gold-600: #ca8a04;

  /* Neutral: 暖灰 */
  --ct-gray-50:  #fafaf9;
  --ct-gray-100: #f5f5f4;
  --ct-gray-200: #e7e5e4;
  --ct-gray-300: #d6d3d1;
  --ct-gray-400: #a8a29e;
  --ct-gray-500: #78716c;
  --ct-gray-600: #57534e;
  --ct-gray-700: #44403c;
  --ct-gray-800: #292524;
  --ct-gray-900: #1c1917;

  /* Semantic */
  --ct-success:     #059669;
  --ct-success-bg:  #ecfdf5;
  --ct-warning:     #d97706;
  --ct-warning-bg:  #fffbeb;
  --ct-danger:      #dc2626;
  --ct-danger-bg:   #fef2f2;
  --ct-info:        #2563eb;
  --ct-info-bg:     #eff6ff;

  /* Typography */
  --ct-font: -apple-system, BlinkMacSystemFont, 'SF Pro', 'Segoe UI', Roboto, 'Helvetica Neue', system-ui, sans-serif;
  --ct-font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  /* Fluid type scale */
  --ct-text-xs:   clamp(0.69rem, 0.65rem + 0.1vw, 0.75rem);
  --ct-text-sm:   clamp(0.83rem, 0.8rem + 0.1vw, 0.875rem);
  --ct-text-base: clamp(0.94rem, 0.92rem + 0.1vw, 1rem);
  --ct-text-lg:   clamp(1.06rem, 1.0rem + 0.15vw, 1.125rem);
  --ct-text-xl:   clamp(1.19rem, 1.1rem + 0.2vw, 1.25rem);
  --ct-text-2xl:  clamp(1.38rem, 1.25rem + 0.3vw, 1.5rem);
  --ct-text-3xl:  clamp(1.75rem, 1.5rem + 0.5vw, 2rem);

  /* Spacing */
  --ct-space-xs:  4px;
  --ct-space-sm:  8px;
  --ct-space-md:  16px;
  --ct-space-lg:  24px;
  --ct-space-xl:  32px;
  --ct-space-2xl: 48px;
  --ct-space-3xl: 64px;

  /* Borders & Shadows */
  --ct-radius-sm: 6px;
  --ct-radius:    10px;
  --ct-radius-lg: 16px;
  --ct-radius-xl: 24px;

  --ct-shadow-xs:  0 1px 2px rgba(0,0,0,.04);
  --ct-shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.04);
  --ct-shadow:     0 4px 12px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --ct-shadow-md:  0 6px 20px rgba(0,0,0,.07), 0 2px 6px rgba(0,0,0,.04);
  --ct-shadow-lg:  0 10px 40px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --ct-shadow-xl:  0 20px 60px rgba(0,0,0,.1);

  --ct-border:     1px solid var(--ct-gray-200);
  --ct-border-lg:  1.5px solid var(--ct-gray-200);

  /* Transitions */
  --ct-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --ct-bounce:     400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --ct-container: min(1120px, 100% - 48px);
  --ct-container-sm: min(720px, 100% - 32px);

  /* Focus & Selection */
  --ct-focus-ring: 0 0 0 3px rgba(6, 182, 212, 0.2);
  --ct-selection-bg: var(--ct-teal-200);

  /* Scrollbar */
  --ct-scrollbar-thumb: var(--ct-gray-300);
  --ct-scrollbar-track: transparent;

  /* Surfaced colors (for dark mode reversal) */
  --ct-bg:         #fafaf9;
  --ct-bg-card:    #ffffff;
  --ct-bg-raised:  #ffffff;
  --ct-text:       #292524;
  --ct-text-muted: #78716c;
  --ct-border-subtle: #e7e5e4;
  --ct-overlay:    rgba(0,0,0,.3);
}

/* ── Dark Mode Tokens ─────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --ct-bg:         #1c1917;
    --ct-bg-card:    #292524;
    --ct-bg-raised:  #44403c;
    --ct-text:       #e7e5e4;
    --ct-text-muted: #a8a29e;
    --ct-border-subtle: #44403c;
    --ct-overlay:    rgba(0,0,0,.6);

    /* Neutral palette dark shift */
    --ct-gray-50:  #1c1917;
    --ct-gray-100: #292524;
    --ct-gray-200: #44403c;
    --ct-gray-300: #57534e;
    --ct-gray-400: #78716c;
    --ct-gray-500: #a8a29e;
    --ct-gray-600: #d6d3d1;
    --ct-gray-700: #e7e5e4;
    --ct-gray-800: #f5f5f4;
    --ct-gray-900: #fafaf9;

    --ct-shadow-xs: 0 1px 2px rgba(0,0,0,.2);
    --ct-shadow-sm: 0 1px 3px rgba(0,0,0,.3), 0 2px 6px rgba(0,0,0,.2);
    --ct-shadow:    0 4px 12px rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.2);
    --ct-shadow-md: 0 6px 20px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.2);
    --ct-shadow-lg: 0 10px 40px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.2);
    --ct-shadow-xl: 0 20px 60px rgba(0,0,0,.45);

    --ct-border:     1px solid var(--ct-gray-200);
    --ct-border-lg:  1.5px solid var(--ct-gray-200);

    --ct-success-bg: #064e3b;
    --ct-warning-bg: #78350f;
    --ct-danger-bg:  #7f1d1d;
    --ct-info-bg:    #1e3a5f;
    
    --ct-teal-50:  #0c1929;
    --ct-teal-100: #0f2a3a;
  }
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ct-font);
  font-size: var(--ct-text-base);
  line-height: 1.6;
  color: var(--ct-text);
  background: var(--ct-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
a { color: var(--ct-teal-700); text-decoration: none; transition: color var(--ct-transition); }
a:hover { color: var(--ct-teal-600); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

/* ── Focus, Selection & Scrollbar ─────────────────────── */
:focus-visible {
  outline: 2px solid var(--ct-teal-500);
  outline-offset: 2px;
}
::selection {
  background: var(--ct-teal-200);
  color: var(--ct-teal-950);
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ct-gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ct-gray-400); }

/* ── Language Bar ─────────────────────────────────────── */
.ct-lang-bar {
  background: var(--ct-teal-950);
  color: #fff;
  font-size: var(--ct-text-xs);
  padding: 6px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ct-lang-bar button {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ct-teal-300);
  cursor: pointer;
  font-size: var(--ct-text-xs);
  font-family: var(--ct-font);
  padding: 3px 14px;
  border-radius: 999px;
  transition: all var(--ct-transition);
  line-height: 1.4;
}
.ct-lang-bar button:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.ct-lang-bar button.active { color: #fff; border-color: var(--ct-teal-400); background: rgba(255,255,255,.1); }

/* ── Navigation ───────────────────────────────────────── */
.ct-nav {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
@media (prefers-color-scheme: dark) {
  .ct-nav {
    background: rgba(28,25,23,.85);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
}
.ct-nav-inner {
  max-width: var(--ct-container);
  margin: 0 auto;
  padding: 14px var(--ct-space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ct-space-md);
}
.ct-nav-logo {
  font-size: var(--ct-text-lg);
  font-weight: 700;
  color: var(--ct-teal-700);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.ct-nav-logo:hover { text-decoration: none; opacity: .85; }
.ct-nav-logo img { border-radius: 8px; }
.ct-nav-logo .ct-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ct-gold-500);
  flex-shrink: 0;
}
.ct-nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}
.ct-nav-links a {
  color: var(--ct-gray-600);
  font-weight: 500;
  font-size: var(--ct-text-sm);
  padding: 6px 12px;
  border-radius: var(--ct-radius-sm);
  transition: all var(--ct-transition);
}
.ct-nav-links a:hover { color: var(--ct-teal-700); background: var(--ct-teal-50); text-decoration: none; }

/* ── Mobile Nav Toggle (Hamburger) ─────────────────────── */
.ct-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ct-teal-700);
  font-size: 1.5rem;
  line-height: 1;
  z-index: 51;
  border-radius: var(--ct-radius-sm);
  transition: background var(--ct-transition);
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-nav-toggle:hover { background: var(--ct-teal-50); }

/* ══════════════════════════════════════════════════════════
   BUTTON SYSTEM
   ══════════════════════════════════════════════════════════ */
.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: none;
  border-radius: var(--ct-radius);
  font-family: var(--ct-font);
  font-size: var(--ct-text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ct-transition), transform 120ms ease;
  white-space: nowrap;
  line-height: 1.4;
  user-select: none;
  position: relative;
  text-decoration: none !important;
}
.ct-btn:active { transform: scale(.96); }
.ct-btn:disabled,
.ct-btn.ct-loading {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
  pointer-events: none;
}
.ct-btn:focus-visible {
  outline: 2px solid var(--ct-teal-400);
  outline-offset: 2px;
}

/* Color variants */
.ct-btn-primary {
  background: var(--ct-teal-700);
  color: #fff;
  box-shadow: 0 1px 3px rgba(14,116,144,.25);
}
.ct-btn-primary:hover {
  background: var(--ct-teal-800);
  box-shadow: var(--ct-shadow-md);
  transform: translateY(-1px);
  color: #fff;
}

.ct-btn-gold {
  background: linear-gradient(135deg, var(--ct-gold-500), #f59e0b);
  color: var(--ct-gray-900);
  box-shadow: 0 1px 3px rgba(202,138,4,.25);
}
.ct-btn-gold:hover {
  background: linear-gradient(135deg, #facc15, var(--ct-gold-500));
  box-shadow: var(--ct-shadow-md);
  transform: translateY(-1px);
}

.ct-btn-danger {
  background: var(--ct-danger);
  color: #fff;
}
.ct-btn-danger:hover {
  background: #b91c1c;
  box-shadow: var(--ct-shadow-md);
  transform: translateY(-1px);
}

.ct-btn-outline {
  background: transparent;
  color: var(--ct-teal-700);
  border: 1.5px solid var(--ct-teal-300);
  box-shadow: none;
}
.ct-btn-outline:hover {
  background: var(--ct-teal-50);
  border-color: var(--ct-teal-500);
  transform: translateY(-1px);
}

.ct-btn-ghost {
  background: transparent;
  color: var(--ct-gray-500);
  border: none;
  box-shadow: none;
}
.ct-btn-ghost:hover {
  background: var(--ct-gray-100);
  color: var(--ct-gray-700);
  transform: none;
}

.ct-btn-link {
  background: transparent;
  color: var(--ct-teal-700);
  border: none;
  box-shadow: none;
  padding: 4px 8px;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.ct-btn-link:hover { color: var(--ct-teal-500); transform: none; }

/* Size variants */
.ct-btn-sm  { padding: 6px 14px; font-size: var(--ct-text-xs); border-radius: var(--ct-radius-sm); gap: 6px; }
.ct-btn-lg  { padding: 14px 32px; font-size: var(--ct-text-base); border-radius: var(--ct-radius); }
.ct-btn-xl  { padding: 18px 40px; font-size: var(--ct-text-lg); border-radius: var(--ct-radius-lg); }
.ct-btn-pill { border-radius: 999px; }

/* ══════════════════════════════════════════════════════════
   FORM SYSTEM
   ══════════════════════════════════════════════════════════ */
.ct-form-group {
  margin-bottom: var(--ct-space-md);
}
.ct-label {
  display: block;
  font-size: var(--ct-text-xs);
  font-weight: 600;
  color: var(--ct-text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.ct-input, .ct-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--ct-gray-200);
  border-radius: var(--ct-radius);
  font-family: var(--ct-font);
  font-size: var(--ct-text-base);
  color: var(--ct-text);
  background: var(--ct-bg-card);
  transition: all var(--ct-transition);
  line-height: 1.5;
}
.ct-input:focus, .ct-select:focus {
  outline: none;
  border-color: var(--ct-teal-500);
  box-shadow: 0 0 0 3px rgba(6,182,212,.12);
}
.ct-input::placeholder { color: var(--ct-gray-400); }
.ct-input:hover, .ct-select:hover { border-color: var(--ct-gray-300); }
.ct-input:disabled, .ct-select:disabled {
  opacity: .5;
  cursor: not-allowed;
  background: var(--ct-gray-100);
}
.ct-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.ct-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ct-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--ct-teal-600);
  cursor: pointer;
  flex-shrink: 0;
}
.ct-checkbox label {
  font-size: var(--ct-text-sm);
  color: var(--ct-text);
  cursor: pointer;
}
textarea.ct-input {
  resize: vertical;
  min-height: 80px;
}

/* ══════════════════════════════════════════════════════════
   CARD SYSTEM
   ══════════════════════════════════════════════════════════ */
.ct-card {
  background: var(--ct-bg-card);
  border: 1px solid var(--ct-gray-200);
  border-radius: var(--ct-radius-lg);
  padding: var(--ct-space-lg);
  box-shadow: var(--ct-shadow-sm);
  transition: all var(--ct-transition);
}
.ct-card:hover { box-shadow: var(--ct-shadow-md); }
.ct-card-flat {
  box-shadow: none;
  border: 1px solid var(--ct-border-subtle);
}
.ct-card-flat:hover { box-shadow: var(--ct-shadow-sm); }

/* Sections */
.ct-section {
  padding: var(--ct-space-3xl) 0;
}
.ct-section-alt {
  background: var(--ct-gray-100);
}
.ct-section-title {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 800;
  color: var(--ct-text);
  text-align: center;
  margin-bottom: var(--ct-space-sm);
  letter-spacing: -.5px;
}
.ct-section-sub {
  text-align: center;
  color: var(--ct-text-muted);
  font-size: var(--ct-text-lg);
  max-width: 600px;
  margin: 0 auto var(--ct-space-xl);
  line-height: 1.6;
}

.ct-container {
  max-width: var(--ct-container);
  margin: 0 auto;
}
.ct-container-sm {
  max-width: var(--ct-container-sm);
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.ct-hero {
  background: linear-gradient(135deg, var(--ct-teal-900) 0%, var(--ct-teal-800) 40%, #0f172a 100%);
  padding: var(--ct-space-3xl) 0 var(--ct-space-2xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(6,182,212,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(234,179,8,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255,255,255,.03) 0%, transparent 40%);
  pointer-events: none;
}
.ct-hero::after {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.ct-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.ct-hero-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: var(--ct-space-md);
  animation: ct-fade-in-up .6s ease;
  color: #fff;
}
.ct-hero-title .ct-highlight { color: var(--ct-gold-400); }
.ct-hero-desc {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.2rem);
  color: rgba(255,255,255,.7);
  max-width: 580px;
  margin: 0 auto var(--ct-space-xl);
  line-height: 1.7;
  animation: ct-fade-in-up .6s ease .1s both;
}
.ct-hero-actions {
  animation: ct-fade-in-up .6s ease .2s both;
}

/* ══════════════════════════════════════════════════════════
   FEATURES GRID
   ══════════════════════════════════════════════════════════ */
.ct-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--ct-space-lg);
}
.ct-feature-card {
  background: var(--ct-bg-card);
  border: 1px solid var(--ct-gray-200);
  border-radius: var(--ct-radius-lg);
  padding: var(--ct-space-xl) var(--ct-space-lg);
  box-shadow: var(--ct-shadow-xs);
  transition: all var(--ct-transition);
  position: relative;
  overflow: hidden;
}
.ct-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--ct-teal-500), var(--ct-gold-500));
  opacity: 0;
  transition: opacity var(--ct-transition);
}
.ct-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ct-shadow-lg);
  border-color: var(--ct-teal-200);
}
.ct-feature-card:hover::before { opacity: 1; }
.ct-feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--ct-radius);
  background: var(--ct-teal-50);
  color: var(--ct-teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--ct-space-md);
  transition: all var(--ct-transition);
}
.ct-feature-card:hover .ct-feature-icon {
  background: var(--ct-teal-100);
  transform: scale(1.05);
}
.ct-feature-card h3 {
  font-size: var(--ct-text-base);
  font-weight: 700;
  color: var(--ct-text);
  margin-bottom: var(--ct-space-xs);
}
.ct-feature-card p {
  font-size: var(--ct-text-sm);
  color: var(--ct-text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   STEPS
   ══════════════════════════════════════════════════════════ */
.ct-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--ct-space-xl);
  margin-top: var(--ct-space-lg);
}
.ct-step {
  text-align: center;
  position: relative;
}
.ct-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 20px;
  font-size: 1.5rem;
  color: var(--ct-gray-300);
}
.ct-step-num {
  width: 44px; height: 44px;
  margin: 0 auto var(--ct-space-md);
  border-radius: 50%;
  background: var(--ct-teal-50);
  border: 2px solid var(--ct-teal-200);
  color: var(--ct-teal-700);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ct-transition);
}
.ct-step:hover .ct-step-num {
  background: var(--ct-teal-100);
  border-color: var(--ct-teal-400);
  transform: scale(1.1);
}
.ct-step h3 {
  font-size: var(--ct-text-base);
  font-weight: 700;
  color: var(--ct-text);
  margin-bottom: var(--ct-space-xs);
}
.ct-step p {
  font-size: var(--ct-text-sm);
  color: var(--ct-text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════════════════ */
.ct-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: var(--ct-text-xs);
  font-weight: 600;
  line-height: 1.4;
  background: var(--ct-teal-50);
  color: var(--ct-teal-700);
}
.ct-badge-success { background: var(--ct-success-bg); color: var(--ct-success); }
.ct-badge-warning { background: var(--ct-warning-bg); color: var(--ct-warning); }
.ct-badge-danger  { background: var(--ct-danger-bg); color: var(--ct-danger); }
.ct-badge-info    { background: var(--ct-info-bg); color: var(--ct-info); }
.ct-badge-lg { padding: 6px 16px; font-size: var(--ct-text-sm); }

/* ══════════════════════════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════════════════════════ */
.ct-timeline {
  position: relative;
  padding-left: 36px;
}
.ct-timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ct-gray-200);
  border-radius: 1px;
}
.ct-timeline-step {
  position: relative;
  padding: 0 0 var(--ct-space-lg);
  animation: ct-fade-in-up .4s ease both;
}
.ct-timeline-step:nth-child(1) { animation-delay: 0s; }
.ct-timeline-step:nth-child(2) { animation-delay: .05s; }
.ct-timeline-step:nth-child(3) { animation-delay: .1s; }
.ct-timeline-step:nth-child(4) { animation-delay: .15s; }
.ct-timeline-step:nth-child(5) { animation-delay: .2s; }
.ct-timeline-step:nth-child(6) { animation-delay: .25s; }
.ct-timeline-step:nth-child(7) { animation-delay: .3s; }
.ct-timeline-step:last-child { padding-bottom: 0; }
.ct-timeline-dot {
  position: absolute;
  left: -28px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ct-bg-card);
  border: 2px solid var(--ct-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  transition: all var(--ct-transition);
}
.ct-timeline-step.active .ct-timeline-dot {
  border-color: var(--ct-teal-600);
  background: var(--ct-teal-50);
  box-shadow: 0 0 0 4px rgba(6,182,212,.12);
}
.ct-timeline-label {
  font-size: var(--ct-text-sm);
  font-weight: 600;
  color: var(--ct-text);
}
.ct-timeline-step.active .ct-timeline-label {
  color: var(--ct-teal-700);
}
.ct-timeline-date {
  font-size: var(--ct-text-xs);
  color: var(--ct-gray-400);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════════════════ */
.ct-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--ct-text-sm);
}
.ct-table th {
  text-align: left;
  padding: 10px 12px;
  font-weight: 600;
  font-size: var(--ct-text-xs);
  color: var(--ct-gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 2px solid var(--ct-gray-200);
  background: var(--ct-gray-50);
}
.ct-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ct-gray-100);
  color: var(--ct-gray-700);
}
.ct-table tbody tr { transition: background var(--ct-transition); }
.ct-table tbody tr:hover { background: var(--ct-teal-50); }
.ct-table-wrap { overflow-x: auto; }

/* ══════════════════════════════════════════════════════════
   FLIGHT ROUTE
   ══════════════════════════════════════════════════════════ */
.ct-flight-route {
  display: flex;
  align-items: center;
  gap: var(--ct-space-md);
  padding: var(--ct-space-md) 0;
}
.ct-flight-point { text-align: center; flex-shrink: 0; }
.ct-flight-point .ct-code {
  font-size: var(--ct-text-xl);
  font-weight: 800;
  color: var(--ct-teal-700);
  font-family: var(--ct-font-mono);
}
.ct-flight-point .ct-city {
  font-size: var(--ct-text-xs);
  color: var(--ct-gray-500);
  margin-top: 2px;
}
.ct-flight-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ct-gray-300) 0, var(--ct-gray-300) 6px, transparent 6px, transparent 12px);
  position: relative;
}
.ct-flight-line .ct-flight-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--ct-bg-card);
  padding: 0 8px;
  font-size: 1.1rem;
}
.ct-flight-info {
  font-size: var(--ct-text-sm);
  color: var(--ct-gray-500);
  text-align: center;
  margin-top: var(--ct-space-sm);
}

/* ══════════════════════════════════════════════════════════
   SHARE BAR
   ══════════════════════════════════════════════════════════ */
.ct-share-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.ct-share-bar input {
  flex: 1;
  min-width: 140px;
  padding: 8px 12px;
  border: 1.5px solid var(--ct-gray-200);
  border-radius: var(--ct-radius-sm);
  font-family: var(--ct-font-mono);
  font-size: var(--ct-text-xs);
  background: var(--ct-gray-50);
  color: var(--ct-gray-600);
}
.ct-share-bar input:focus {
  outline: none;
  border-color: var(--ct-teal-500);
}

/* ══════════════════════════════════════════════════════════
   CONTACT CARDS
   ══════════════════════════════════════════════════════════ */
.ct-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--ct-space-lg);
  margin-top: var(--ct-space-lg);
}
.ct-contact-card {
  background: var(--ct-bg-card);
  border: 1px solid var(--ct-gray-200);
  border-radius: var(--ct-radius-lg);
  padding: var(--ct-space-xl);
  text-align: center;
  transition: all var(--ct-transition);
}
.ct-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ct-shadow-lg);
  border-color: var(--ct-teal-200);
}
.ct-contact-icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--ct-space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--ct-teal-50);
  border-radius: 50%;
  color: var(--ct-teal-700);
  transition: all var(--ct-transition);
}
.ct-contact-card:hover .ct-contact-icon {
  background: var(--ct-teal-100);
  transform: scale(1.05);
}
.ct-contact-card h3 {
  font-size: var(--ct-text-base);
  font-weight: 700;
  color: var(--ct-text);
  margin-bottom: var(--ct-space-xs);
}
.ct-contact-card p {
  font-size: var(--ct-text-sm);
  color: var(--ct-text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   PRICING CALCULATOR
   ══════════════════════════════════════════════════════════ */
.ct-pricing-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ct-space-lg);
  align-items: start;
}
.ct-pricing-result {
  background: var(--ct-bg-card);
  border: 1px solid var(--ct-gray-200);
  border-radius: var(--ct-radius-lg);
  padding: var(--ct-space-xl);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ct-pricing-result .ct-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ct-teal-700);
  line-height: 1.2;
}
.ct-pricing-breakdown {
  font-size: var(--ct-text-sm);
  color: var(--ct-text-muted);
  margin-top: var(--ct-space-sm);
}

/* ══════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════ */
.ct-cta {
  background: linear-gradient(135deg, var(--ct-teal-900) 0%, var(--ct-teal-800) 60%, #0f172a 100%);
  padding: var(--ct-space-3xl) 0;
  text-align: center;
}
.ct-cta h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--ct-space-sm);
}
.ct-cta p {
  color: rgba(255,255,255,.7);
  margin-bottom: var(--ct-space-lg);
}
.ct-cta form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  align-items: center;
}
.ct-cta form input {
  flex: 1;
  min-width: 0;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  font-size: var(--ct-text-base);
  font-family: var(--ct-font);
  background: rgba(255,255,255,.12);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: all var(--ct-transition);
}
.ct-cta form input::placeholder { color: rgba(255,255,255,.4); }
.ct-cta form input:focus {
  outline: none;
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 3px rgba(6,182,212,.2);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.ct-footer {
  background: var(--ct-teal-950);
  color: rgba(255,255,255,.6);
  padding: var(--ct-space-2xl) 0;
  text-align: center;
  font-size: var(--ct-text-sm);
}
.ct-footer p { margin-bottom: 4px; }
.ct-footer a { color: var(--ct-teal-300); }
.ct-footer a:hover { color: #fff; }

/* ══════════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ══════════════════════════════════════════════════════════ */
.ct-float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
  z-index: 999;
  transition: all var(--ct-transition);
  text-decoration: none !important;
}
.ct-float-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.4);
}

/* ══════════════════════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════════════════════ */
.ct-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 12px 24px;
  border-radius: var(--ct-radius);
  background: var(--ct-gray-900);
  color: #fff;
  font-size: var(--ct-text-sm);
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--ct-shadow-lg);
}
.ct-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.ct-toast-ok  { background: var(--ct-success); color: #fff; }
.ct-toast-err { background: var(--ct-danger); color: #fff; }

/* ══════════════════════════════════════════════════════════
   DIALOG / OVERLAY
   ══════════════════════════════════════════════════════════ */
.ct-overlay {
  position: fixed;
  inset: 0;
  background: var(--ct-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--ct-space-lg);
  animation: ct-fade-in .2s ease;
}
.ct-dialog {
  background: var(--ct-bg-card);
  border-radius: var(--ct-radius-lg);
  padding: var(--ct-space-xl);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--ct-shadow-xl);
  animation: ct-scale-in .25s ease;
}
.ct-dialog h3 {
  font-size: var(--ct-text-xl);
  font-weight: 700;
  color: var(--ct-text);
  margin-bottom: var(--ct-space-sm);
}
.ct-dialog p {
  color: var(--ct-text-muted);
  font-size: var(--ct-text-sm);
  line-height: 1.6;
  margin-bottom: var(--ct-space-md);
}
.ct-dialog-actions {
  display: flex;
  gap: var(--ct-space-sm);
  margin-top: var(--ct-space-lg);
  justify-content: flex-end;
}

/* ── Search Suggestions ──────────────────────────────── */
.ct-search-suggest {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--ct-bg-card);
  border: 1px solid var(--ct-gray-300);
  border-radius: var(--ct-radius-sm);
  box-shadow: var(--ct-shadow-lg);
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
}
.ct-search-suggest-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: var(--ct-text-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--ct-transition);
}
.ct-search-suggest-item:hover { background: var(--ct-gray-100); }

/* ── Input error state ───────────────────────────────── */
.ct-input-error {
  color: var(--ct-danger);
  font-size: var(--ct-text-xs);
  margin-top: 4px;
  text-align: center;
}
.ct-input.has-error { border-color: var(--ct-danger); }

/* ── Phone list result card ──────────────────────────── */
.ct-result-card { padding: 20px; }
.ct-result-card h2 { margin-bottom: 4px; }
.ct-result-sub {
  color: var(--ct-gray-400);
  margin-bottom: 12px;
  font-size: .9rem;
}
.ct-pkg-mini-card {
  padding: 12px;
  margin-bottom: 8px;
}
.ct-pkg-mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.ct-pkg-desc {
  font-size: var(--ct-text-xs);
  color: var(--ct-gray-500);
  margin-top: 4px;
}
.ct-result-actions { margin-top: 12px; text-align: center; }

/* ══════════════════════════════════════════════════════════
   STATES (Loading, Empty, Error)
   ══════════════════════════════════════════════════════════ */
.ct-state {
  text-align: center;
  padding: var(--ct-space-2xl) var(--ct-space-lg);
}
.ct-state-icon {
  font-size: 3rem;
  margin-bottom: var(--ct-space-md);
  display: block;
  line-height: 1;
}
.ct-state h2 {
  font-size: var(--ct-text-xl);
  font-weight: 700;
  color: var(--ct-text);
  margin-bottom: var(--ct-space-xs);
}
.ct-state p {
  font-size: var(--ct-text-sm);
  color: var(--ct-text-muted);
  line-height: 1.6;
}

/* Spinner */
.ct-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--ct-gray-200);
  border-top-color: var(--ct-teal-600);
  border-radius: 50%;
  animation: ct-spin .7s linear infinite;
  margin: 0 auto var(--ct-space-md);
}

/* Skeleton */
.ct-skeleton {
  background: linear-gradient(90deg, var(--ct-gray-100) 25%, var(--ct-gray-200) 50%, var(--ct-gray-100) 75%);
  background-size: 200% 100%;
  animation: ct-shimmer 1.5s ease infinite;
  border-radius: var(--ct-radius-sm);
  height: 16px;
  margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════
   PORTAL — 客户门户专属样式
   ══════════════════════════════════════════════════════════ */
.portal-page { min-height:100vh; background:var(--ct-bg) }
.portal-container { max-width:800px; margin:0 auto; padding:20px }
.portal-card {
  background: var(--ct-bg-card);
  border: 1px solid var(--ct-gray-200);
  border-radius: var(--ct-radius-lg);
  padding: var(--ct-space-lg);
  margin-bottom: var(--ct-space-md);
  box-shadow: var(--ct-shadow-sm);
  transition: all var(--ct-transition);
}
.portal-card:hover { box-shadow: var(--ct-shadow-md); }
.portal-card h3 {
  margin-bottom: var(--ct-space-md);
  font-size: var(--ct-text-base);
  color: var(--ct-teal-700);
  font-weight: 700;
}
.portal-label {
  font-size: var(--ct-text-xs);
  color: var(--ct-gray-400);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.portal-value {
  font-size: var(--ct-text-sm);
  font-weight: 500;
  color: var(--ct-text);
}

/* 包裹行 */
.ct-pkg-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--ct-gray-100);
  cursor: pointer;
  border-radius: var(--ct-radius-sm);
  transition: all var(--ct-transition);
}
.ct-pkg-row:last-child { border-bottom: none; }
.ct-pkg-row:hover {
  background: var(--ct-teal-50);
  margin: 0 -4px;
  padding: 12px 16px;
}
.ct-pkg-id {
  font-family: var(--ct-font-mono);
  font-size: var(--ct-text-sm);
  font-weight: 600;
  min-width: 160px;
  color: var(--ct-text);
}

/* 认证框 */
.auth-box { max-width: 420px; margin: 40px auto; }
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: var(--ct-space-lg);
  border-bottom: 2px solid var(--ct-gray-200);
}
.auth-tab {
  padding: 12px 24px;
  cursor: pointer;
  border: none;
  background: none;
  font-size: var(--ct-text-sm);
  font-family: var(--ct-font);
  color: var(--ct-gray-400);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--ct-transition);
  font-weight: 500;
}
.auth-tab:hover { color: var(--ct-teal-600); }
.auth-tab.active {
  color: var(--ct-teal-700);
  border-bottom-color: var(--ct-teal-600);
  font-weight: 600;
}

/* 支付覆盖层 */
.ct-pay-overlay {
  position: fixed;
  inset: 0;
  background: var(--ct-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--ct-space-lg);
  animation: ct-fade-in .2s ease;
}
.ct-pay-box {
  background: var(--ct-bg-card);
  border-radius: var(--ct-radius-lg);
  padding: var(--ct-space-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--ct-shadow-xl);
  animation: ct-scale-in .25s ease;
}
.ct-pay-info-box {
  padding: var(--ct-space-md);
  background: var(--ct-gray-100);
  border-radius: var(--ct-radius);
  text-align: center;
  margin-bottom: var(--ct-space-md);
}

/* ══════════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════════ */
.ct-faq-container { max-width: 720px; margin: 0 auto; }
.ct-faq-item {
  border: 1px solid var(--ct-gray-200);
  border-radius: var(--ct-radius);
  margin-bottom: var(--ct-space-sm);
  overflow: hidden;
  background: var(--ct-bg-card);
  transition: box-shadow var(--ct-transition);
}
.ct-faq-item:hover { box-shadow: var(--ct-shadow-sm); }
.ct-faq-q {
  padding: var(--ct-space-md) var(--ct-space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--ct-text-base);
  color: var(--ct-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ct-space-sm);
  transition: color var(--ct-transition);
  user-select: none;
}
.ct-faq-q:hover { color: var(--ct-teal-700); }
.ct-faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--ct-gray-400);
  flex-shrink: 0;
  transition: transform var(--ct-transition);
}
.ct-faq-item.open .ct-faq-q::after {
  content: '−';
  transform: rotate(180deg);
}
.ct-faq-a {
  padding: 0 var(--ct-space-lg) var(--ct-space-md);
  font-size: var(--ct-text-sm);
  color: var(--ct-text-muted);
  line-height: 1.7;
  display: none;
}
.ct-faq-item.open .ct-faq-a { display: block; }

/* ══════════════════════════════════════════════════════════
   UTILITY CLASSES
   ══════════════════════════════════════════════════════════ */
.ct-flex          { display: flex; align-items: center; }
.ct-flex-center   { display: flex; align-items: center; justify-content: center; }
.ct-flex-between  { display: flex; align-items: center; justify-content: space-between; }
.ct-flex-wrap     { flex-wrap: wrap; }
.ct-flex-col      { flex-direction: column; }
.ct-gap-xs        { gap: 4px; }
.ct-gap-sm        { gap: 8px; }
.ct-gap-md        { gap: 16px; }
.ct-gap-lg        { gap: 24px; }
.ct-flex-1        { flex: 1; min-width: 0; }
.ct-flex-shrink0  { flex-shrink: 0; }
.ct-text-center   { text-align: center; }
.ct-text-left     { text-align: left; }
.ct-text-sm       { font-size: var(--ct-text-sm); }
.ct-text-xs       { font-size: var(--ct-text-xs); }
.ct-text-muted    { color: var(--ct-text-muted); }
.ct-mt-xs         { margin-top: 4px; }
.ct-mt-sm         { margin-top: 8px; }
.ct-mt-md         { margin-top: 16px; }
.ct-mt-lg         { margin-top: 24px; }
.ct-mt-xl         { margin-top: 32px; }
.ct-mb-sm         { margin-bottom: 8px; }
.ct-mb-md         { margin-bottom: 16px; }
.ct-mb-lg         { margin-bottom: 24px; }
.ct-my-sm         { margin-top: 8px; margin-bottom: 8px; }
.ct-my-md         { margin-top: 16px; margin-bottom: 16px; }
.ct-my-lg         { margin-top: 24px; margin-bottom: 24px; }
.ct-p-sm          { padding: 8px; }
.ct-p-md          { padding: 16px; }
.ct-p-lg          { padding: 24px; }
.ct-hidden        { display: none !important; }
.ct-mono          { font-family: var(--ct-font-mono); }
.ct-w-full        { width: 100%; }
.ct-relative      { position: relative; }
.ct-grid-2        { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ct-space-md); }
.ct-grid-3        { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--ct-space-md); }
.ct-grid-4        { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ct-space-md); }

/* ── Expanded utilities ───────────────────────────────── */
.ct-max-w-xs  { max-width: 320px; margin-left: auto; margin-right: auto; }
.ct-max-w-sm  { max-width: 480px; margin-left: auto; margin-right: auto; }
.ct-max-w-md  { max-width: 640px; margin-left: auto; margin-right: auto; }
.ct-mx-auto   { margin-left: auto; margin-right: auto; }
.ct-my-auto   { margin-top: auto; margin-bottom: auto; }
.ct-pt-sm     { padding-top: var(--ct-space-sm); }
.ct-pb-sm     { padding-bottom: var(--ct-space-sm); }
.ct-pt-md     { padding-top: var(--ct-space-md); }
.ct-pb-md     { padding-bottom: var(--ct-space-md); }
.ct-pl-lg     { padding-left: var(--ct-space-lg); }
.ct-pr-lg     { padding-right: var(--ct-space-lg); }
.ct-col-span-full { grid-column: 1 / -1; }
.ct-border-top    { border-top: 1px solid var(--ct-gray-200); }
.ct-border-bottom { border-bottom: 1px solid var(--ct-gray-200); }
.ct-border-none   { border: none !important; }
.ct-font-bold      { font-weight: 700; }
.ct-font-semibold  { font-weight: 600; }
.ct-text-primary   { color: var(--ct-teal-700); }
.ct-text-white     { color: #fff; }
.ct-bg-primary     { background: var(--ct-teal-700); color: #fff; }
.ct-pointer        { cursor: pointer; }
.ct-select-all     { user-select: all; }
.ct-overflow-auto  { overflow: auto; }
.ct-truncate       { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-block          { display: block; }
.ct-inline-block   { display: inline-block; }
.ct-inline-flex    { display: inline-flex; align-items: center; }
.ct-min-w-0        { min-width: 0; }
.ct-min-w-200      { min-width: 200px; }
.ct-slide-down     { animation: ct-slide-down .3s ease; }
.ct-stagger        { animation: ct-fade-in .4s ease; }
.ct-whitespace-nowrap { white-space: nowrap; }
.ct-leading-snug   { line-height: 1.4; }
.ct-rounded-full   { border-radius: 999px; }
.ct-shadow-none    { box-shadow: none !important; }
.ct-gap-10         { gap: 10px; }
.ct-self-stretch   { align-self: stretch; }
.ct-items-start    { align-items: flex-start; }
.ct-justify-center { justify-content: center; }
.ct-flex-wrap-gap  { display: flex; flex-wrap: wrap; gap: var(--ct-space-sm); align-items: center; }

/* ══════════════════════════════════════════════════════════
   MARKETS GRID (landing)
   ══════════════════════════════════════════════════════════ */
.ct-markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--ct-space-md);
}
.ct-market-card {
  background: var(--ct-bg-card);
  border: 1px solid var(--ct-gray-200);
  border-radius: var(--ct-radius);
  padding: var(--ct-space-md);
  text-align: center;
  font-weight: 600;
  font-size: var(--ct-text-base);
  color: var(--ct-text);
  transition: all var(--ct-transition);
}
.ct-market-card:hover {
  border-color: var(--ct-teal-400);
  box-shadow: var(--ct-shadow-md);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════ */
@keyframes ct-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ct-fade-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ct-scale-in {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ct-spin {
  to { transform: rotate(360deg); }
}
@keyframes ct-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes ct-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ct-fade-in    { animation: ct-fade-in .4s ease; }
.ct-fade-in-up { animation: ct-fade-in-up .5s ease; }
.ct-scale-in   { animation: ct-scale-in .3s ease; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* Tablet / small desktop */
@media (max-width: 900px) {
  .ct-container { padding: 0 var(--ct-space-md); }
  .ct-container-sm { padding: 0 var(--ct-space-sm); }
}

/* Mobile: 768px breakpoint */
@media (max-width: 768px) {
  :root {
    --ct-container: 100% - 32px;
  }

  /* ── Navigation drawer ── */
  .ct-nav-toggle { display: inline-flex; }
  .ct-nav-inner { position: relative; padding: 12px var(--ct-space-md); }
  .ct-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--ct-gray-200);
    box-shadow: var(--ct-shadow-lg);
    z-index: 49;
    gap: 2px;
    max-height: 80vh;
    overflow-y: auto;
  }
  .ct-nav-links.open { display: flex; }
  .ct-nav-links a {
    padding: 12px 16px;
    border-radius: var(--ct-radius);
    width: 100%;
    font-size: var(--ct-text-base);
    border-bottom: 1px solid var(--ct-gray-100);
  }
  .ct-nav-links a:last-child { border-bottom: none; }
  .ct-nav-links a:hover { background: var(--ct-teal-50); }

  /* ── Hero ── */
  .ct-hero { padding: var(--ct-space-2xl) 0 var(--ct-space-xl); }
  .ct-hero-title { font-size: clamp(1.6rem, 1.3rem + 2vw, 2rem); }
  .ct-hero-desc { font-size: var(--ct-text-base); }
  .ct-hero-actions form { flex-direction: column; align-items: stretch !important; }
  .ct-hero-actions input { min-width: 0 !important; width: 100%; border-radius: 999px !important; }
  .ct-hero-actions button { width: 100%; }

  /* ── Sections ── */
  .ct-section { padding: var(--ct-space-2xl) 0; }

  /* ── Grids stack ── */
  .ct-features { grid-template-columns: 1fr; }
  .ct-steps { grid-template-columns: 1fr; gap: var(--ct-space-lg); }
  .ct-step:not(:last-child)::after { display: none; }
  .ct-contact-cards { grid-template-columns: 1fr; }
  .ct-pricing-calc { grid-template-columns: 1fr; }
  .ct-grid-2, .ct-grid-3, .ct-grid-4 { grid-template-columns: 1fr; }
  .ct-markets-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Cards ── */
  .ct-card { padding: var(--ct-space-md); }
  .ct-share-bar { flex-direction: column; }
  .ct-share-bar input { width: 100%; }

  .ct-table td, .ct-table th { padding: 6px 8px; }
  .ct-table-wrap { overflow-x: auto; }

  /* ── Dialog ── */
  .ct-dialog { width: 95% !important; max-height: 85vh; margin: 10px auto; }

  /* ── Floating WA ── */
  .ct-float-wa { width: 48px; height: 48px; font-size: 1.3rem; bottom: 16px; right: 16px; }

  /* ── Buttons ── */
  .ct-btn { font-size: .85rem; padding: 8px 16px; }
  .ct-btn-lg { padding: 12px 24px; }
  .ct-btn-xl { padding: 14px 28px; }

  /* ── Portal ── */
  .ct-pkg-row { flex-wrap: wrap; gap: 8px; padding: 10px; }
  .ct-pkg-id { min-width: auto; font-size: var(--ct-text-xs); }
  .portal-container { padding: 12px; }
  .portal-card { padding: var(--ct-space-md); }
  .auth-box { margin: 20px auto; padding: 0 12px; }
  .auth-tab { font-size: var(--ct-text-xs); padding: 10px 16px; }
  .portal-card h3 { font-size: var(--ct-text-sm); }
}

/* Small mobile: 480px breakpoint */
@media (max-width: 480px) {
  .ct-section-title { font-size: 1.35rem; }
  .ct-section-sub { font-size: var(--ct-text-base); }
  .ct-hero-title { font-size: 1.5rem; }
  .ct-hero-desc { font-size: .9rem; }

  /* ── Language bar compact ── */
  .ct-lang-bar { gap: 0; padding: 4px 0; }
  .ct-lang-bar button { font-size: .7rem; padding: 2px 6px; }

  /* ── Tables: card layout ── */
  .ct-table thead { display: none; }
  .ct-table tbody tr {
    display: block;
    margin-bottom: 8px;
    border: 1px solid var(--ct-gray-200);
    border-radius: var(--ct-radius-sm);
    padding: 8px;
    background: var(--ct-bg-card);
  }
  .ct-table tbody td {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border: none;
    font-size: .8rem;
  }
  .ct-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ct-gray-500);
    flex-shrink: 0;
  }
  /* ── Flight route ── */
  .ct-flight-route { flex-wrap: wrap; justify-content: center; }

  /* ── Contact cards ── */
  .ct-contact-card { padding: var(--ct-space-md); }
  .ct-contact-card h3 { font-size: var(--ct-text-sm); }

  /* ── Pricing calculator ── */
  .ct-pricing-result .ct-price { font-size: 1.5rem; }

  /* ── Timeline ── */
  .ct-timeline { padding-left: 28px; }
  .ct-timeline-dot { width: 20px; height: 20px; left: -24px; font-size: .55rem; }

  /* ── Dialog ── */
  .ct-dialog { padding: var(--ct-space-md); }

  /* ── Portal ── */
  .portal-container { padding: 8px; }
  .portal-card { padding: 12px; }
}

/* Print */
@media print {
  body { background: #fff !important; }
  .ct-lang-bar, .ct-float-wa, .ct-nav, .ct-hero,
  .ct-section, .ct-footer, .ct-toast,
  .ct-btn, form, .ct-state, [onclick] { display: none !important; }
  .ct-card { box-shadow: none !important; border: 1px solid #ccc !important; break-inside: avoid; }
  .ct-timeline-step { break-inside: avoid; }
}
