/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ========== Gradient Backgrounds ========== */
.gradient-bg { background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%); }
.gradient-bg-sub { background: linear-gradient(135deg, #0a1628 0%, #1a2744 50%, #0a1628 100%); }

/* ========== Layout ========== */
.min-h-screen { min-height: 100vh; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.w-full { width: 100%; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ========== Spacing ========== */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-3 { padding: 0.75rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.pt-28 { padding-top: 7rem; }
.pt-32 { padding-top: 8rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-20 { padding-bottom: 5rem; }
.pl-6 { padding-left: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mr-1\.5 { margin-right: 0.375rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-auto { margin-left: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* ========== Typography ========== */
.text-white { color: #ffffff; }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.text-white\/90 { color: rgba(255,255,255,0.9); }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-green-300 { color: #86efac; }
.text-green-400 { color: #4ade80; }
.text-yellow-300 { color: #fde047; }
.text-yellow-400 { color: #facc15; }
.text-sky-400 { color: #38bdf8; }
.text-blue-400 { color: #60a5fa; }
.text-violet-400 { color: #a78bfa; }
.text-purple-400 { color: #c084fc; }
.text-orange-400 { color: #fb923c; }
.text-cyan-400 { color: #22d3ee; }
.text-rose-400 { color: #fb7185; }
.text-emerald-400 { color: #34d399; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-\[15px\] { font-size: 15px; }
.text-\[10px\] { font-size: 10px; }
.text-\[8px\] { font-size: 8px; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.list-disc { list-style-type: disc; }

/* ========== Backgrounds ========== */
.bg-white { background-color: #ffffff; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-400 { background-color: #4ade80; }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.8); }
.bg-slate-800\/90 { background-color: rgba(30, 41, 59, 0.9); }
.bg-slate-700\/50 { background-color: rgba(51, 65, 85, 0.5); }
.bg-green-500\/5 { background-color: rgba(34, 197, 94, 0.05); }
.bg-green-500\/10 { background-color: rgba(34, 197, 94, 0.1); }
.bg-blue-500\/10 { background-color: rgba(59, 130, 246, 0.1); }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }
.bg-orange-500\/10 { background-color: rgba(249, 115, 22, 0.1); }
.bg-cyan-500\/10 { background-color: rgba(6, 182, 212, 0.1); }
.bg-rose-500\/10 { background-color: rgba(244, 63, 94, 0.1); }
.bg-sky-500\/10 { background-color: rgba(14, 165, 233, 0.1); }
.bg-violet-500\/10 { background-color: rgba(139, 92, 246, 0.1); }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-yellow-500\/10 { background-color: rgba(234, 179, 8, 0.1); }

/* ========== Borders ========== */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }
.border-y { border-top: 1px solid; border-bottom: 1px solid; }
.border-white\/5 { border-color: rgba(255,255,255,0.05); }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-green-500\/20 { border-color: rgba(34, 197, 94, 0.2); }
.border-green-500\/30 { border-color: rgba(34, 197, 94, 0.3); }
.border-blue-500\/20 { border-color: rgba(59, 130, 246, 0.2); }
.border-purple-500\/20 { border-color: rgba(168, 85, 247, 0.2); }
.border-yellow-500\/30 { border-color: rgba(234, 179, 8, 0.3); }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-\[2rem\] { border-radius: 2rem; }

/* ========== Effects ========== */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-green-500\/20 { box-shadow: 0 10px 15px -3px rgba(34,197,94,0.2), 0 4px 6px -4px rgba(34,197,94,0.2); }
.shadow-green-500\/30 { box-shadow: 0 10px 15px -3px rgba(34,197,94,0.3), 0 4px 6px -4px rgba(34,197,94,0.3); }
.shadow-green-500\/10 { box-shadow: 0 25px 50px -12px rgba(34,197,94,0.1); }
.backdrop-blur-md { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.blur-3xl { filter: blur(64px); }
.transition { transition: all 0.15s ease; }
.opacity-90 { opacity: 0.9; }

/* ========== Sizing ========== */
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.h-72 { height: 18rem; }

/* ========== Transform ========== */
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.top-1\/2 { top: 50%; }
.left-1\/2 { left: 50%; }
.center-absolute { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* ========== Animation ========== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* ========== Components ========== */
.card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.15s ease;
}
.card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(34,197,94,0.3);
}
.step-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.glow { box-shadow: 0 0 40px rgba(34,197,94,0.15); }

/* ========== Hover States ========== */
.hover\:bg-green-400:hover { background-color: #4ade80; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-green-400:hover { color: #4ade80; }
.hover\:underline:hover { text-decoration: underline; }

/* ========== Details/Summary (FAQ) ========== */
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] .icon-plus { display: none; }
details:not([open]) .icon-minus { display: none; }
details[open] .icon-minus { display: inline; }

/* ========== Grid Columns ========== */
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ========== Responsive ========== */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:text-left { text-align: left; }
    .md\:items-start { align-items: flex-start; }
    .md\:block { display: block; }
    .md\:gap-6 { gap: 1.5rem; }
}

/* ========== Links ========== */
a { color: inherit; text-decoration: none; }

/* ========== Icon Base (SVG inline icons) ========== */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    vertical-align: middle;
}
.icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* ========== Button reset ========== */
button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

/* ========== Image reset ========== */
img { display: block; max-width: 100%; }
