:root {
  --theme-bg: #f5f7fe;
  --theme-surface: #ffffff;
  --theme-text: #0b1220;
  --theme-muted: #5b6478;
  --theme-primary: #4f46e5;
  --theme-primary-soft: rgba(79, 70, 229, 0.10);
  --theme-accent: #06b6d4;
  --theme-border: #e7eaf6;
  --theme-radius: 20px;
  --theme-shadow: 0 22px 48px -22px rgba(34, 41, 92, 0.36);
  --theme-shadow-sm: 0 8px 22px -14px rgba(34, 41, 92, 0.28);
  --theme-font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body.theme1 {
  background: var(--theme-bg);
  color: var(--theme-text);
  font-family: var(--theme-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Aurora: frosted glass + animated aurora mesh */
.theme1-shell .t-header-shell {
  backdrop-filter: saturate(180%) blur(16px);
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.62));
  border-bottom: 1px solid color-mix(in srgb, var(--theme-primary) 12%, var(--theme-border));
}

.theme1-shell .t-card {
  position: relative;
  background: color-mix(in srgb, var(--theme-surface) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-primary) 8%, var(--theme-border));
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow-sm);
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: transform .32s cubic-bezier(.2,.7,.2,1), box-shadow .32s ease, border-color .32s ease;
}
.theme1-shell .t-card::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px 160px at 50% -40%, rgba(79,70,229,0.12), transparent 70%);
  opacity: 0; transition: opacity .32s ease; pointer-events: none;
}
.theme1-shell .t-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--theme-shadow);
  border-color: color-mix(in srgb, var(--theme-primary) 40%, var(--theme-border));
}
.theme1-shell .t-card:hover::after { opacity: 1; }

.theme1-shell .t-hero {
  position: relative;
  background:
    radial-gradient(900px 520px at 8% -20%, rgba(6,182,212,0.22), transparent 60%),
    radial-gradient(820px 560px at 95% 10%, rgba(168,85,247,0.20), transparent 58%),
    radial-gradient(700px 520px at 50% 120%, rgba(79,70,229,0.18), transparent 60%),
    linear-gradient(180deg, #ffffff, #eef1fc);
  overflow: hidden;
}
.theme1-shell .t-hero::before {
  content: "";
  position: absolute; inset: -30% -10% auto -10%; height: 70%;
  background: conic-gradient(from 180deg at 50% 50%, rgba(79,70,229,0.18), rgba(6,182,212,0.16), rgba(168,85,247,0.18), rgba(79,70,229,0.18));
  filter: blur(60px);
  animation: auroraDrift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes auroraDrift {
  from { transform: translate3d(-4%, -2%, 0) rotate(0deg); }
  to   { transform: translate3d(6%, 3%, 0) rotate(8deg); }
}

.theme1-shell .t-btn-primary {
  position: relative;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 12px 28px -10px rgba(79,70,229,0.6);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.theme1-shell .t-btn-primary::before {
  content: "";
  position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
}
.theme1-shell .t-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(79,70,229,0.66);
}
.theme1-shell .t-btn-primary:hover::before { left: 140%; }

.theme1-shell .t-section-title {
  letter-spacing: -0.025em;
  background: linear-gradient(120deg, var(--theme-text), color-mix(in srgb, var(--theme-primary) 75%, var(--theme-text)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
