/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
    --background-light: #f7fafc;
    --white: #ffffff;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background-light);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section {
    padding: 5rem 0;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.3"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.2"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.4"/></svg>') repeat;
    animation: float 20s infinite linear;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-shapes 15s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 60%;
    animation-delay: 10s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

@keyframes float-shapes {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-weight: 600;
    font-size: 1rem;
}

.feature-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-cta {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-text {
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* packyboxy Showcase */
.packyboxy-showcase {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.showcase-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.center-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.showcase-center h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

.showcase-center p {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0;
}

.showcase-rings {
    position: relative;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ring-1 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate-slow 30s infinite linear;
}

.ring-2 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate-slow 40s infinite linear reverse;
}

.ring-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate-slow 50s infinite linear;
}

.ring-4 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate-slow 60s infinite linear reverse;
}

@keyframes rotate-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.type-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.type-badge:hover {
    background: white;
    transform: scale(1.1);
}

/* Position type badges around rings */
.ring-1 .type-badge:nth-child(1) { top: -10px; left: 50%; transform: translateX(-50%); }
.ring-1 .type-badge:nth-child(2) { right: -10px; top: 50%; transform: translateY(-50%); }
.ring-1 .type-badge:nth-child(3) { bottom: -10px; left: 50%; transform: translateX(-50%); }
.ring-1 .type-badge:nth-child(4) { left: -10px; top: 50%; transform: translateY(-50%); }

.ring-2 .type-badge:nth-child(1) { top: -10px; left: 30%; }
.ring-2 .type-badge:nth-child(2) { top: -10px; right: 30%; }
.ring-2 .type-badge:nth-child(3) { bottom: -10px; right: 30%; }
.ring-2 .type-badge:nth-child(4) { bottom: -10px; left: 30%; }

.ring-3 .type-badge:nth-child(1) { top: 20%; right: -10px; }
.ring-3 .type-badge:nth-child(2) { bottom: 20%; right: -10px; }
.ring-3 .type-badge:nth-child(3) { bottom: 20%; left: -10px; }
.ring-3 .type-badge:nth-child(4) { top: 20%; left: -10px; }

.ring-4 .type-badge:nth-child(1) { top: 10%; left: 20%; }
.ring-4 .type-badge:nth-child(2) { top: 10%; right: 20%; }
.ring-4 .type-badge:nth-child(3) { bottom: 10%; right: 20%; }
.ring-4 .type-badge:nth-child(4) { bottom: 10%; left: 20%; }

/* packyboxy Wheel */
.packyboxy-wheel {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.wheel-segments {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: rotate 30s infinite linear;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.segment {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.segment:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Position segments around the circle */
.segment:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.segment:nth-child(2) { top: 10%; right: 10%; }
.segment:nth-child(3) { top: 30%; right: 0; }
.segment:nth-child(4) { top: 50%; right: 0; transform: translateY(-50%); }
.segment:nth-child(5) { bottom: 30%; right: 0; }
.segment:nth-child(6) { bottom: 10%; right: 10%; }
.segment:nth-child(7) { bottom: 0; right: 30%; }
.segment:nth-child(8) { bottom: 0; left: 50%; transform: translateX(-50%); }
.segment:nth-child(9) { bottom: 0; left: 30%; }
.segment:nth-child(10) { bottom: 10%; left: 10%; }
.segment:nth-child(11) { bottom: 30%; left: 0; }
.segment:nth-child(12) { top: 50%; left: 0; transform: translateY(-50%); }
.segment:nth-child(13) { top: 30%; left: 0; }
.segment:nth-child(14) { top: 10%; left: 10%; }
.segment:nth-child(15) { top: 0; left: 30%; }
.segment:nth-child(16) { top: 0; right: 30%; }

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: var(--transition);
}

header.blog-post-header{
    position: relative;
    z-index: 5;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-color);
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.how-it-works-content {
    max-width: 1000px;
    margin: 0 auto;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
}

.step-item:nth-child(even) {
    grid-template-columns: 1fr 200px;
}

.step-item:nth-child(even) .step-visual {
    order: 2;
}

.step-item:nth-child(even) .step-content {
    order: 1;
    text-align: right;
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
}

.step-number {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.step-icon {
    font-size: 3rem;
    background: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
}

.step-content h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-features {
    list-style: none;
    padding: 0;
}

.step-features li {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.step-connector {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 1rem 0;
    opacity: 0.3;
}

/* Features Alternating Layout */
.features-alternating {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.feature-row:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-row-reverse {
    grid-template-columns: 1fr 2fr;
}

.feature-row-reverse .feature-content {
    order: 2;
}

.feature-row-reverse .feature-visual {
    order: 1;
}

.feature-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.feature-icon-large {
    font-size: 4rem;
    min-width: 80px;
    text-align: center;
}

.feature-text h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight {
    background: var(--background-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--primary-color);
}

.privacy-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.privacy-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.privacy-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.privacy-text {
    font-weight: 500;
    color: var(--text-dark);
}

.time-comparison {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

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

.time-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.time-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Feature Visuals */
.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.accuracy-chart {
    position: relative;
}

.chart-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0deg 342deg, var(--background-light) 342deg 360deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chart-circle::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
}

.chart-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1;
}

.chart-label {
    font-size: 0.9rem;
    color: var(--text-light);
    z-index: 1;
}

.privacy-shield {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-medium);
}

.shield-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.shield-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.speed-indicator {
    position: relative;
}

.speed-circle {
    width: 120px;
    height: 120px;
    border: 8px solid var(--background-light);
    border-top: 8px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: spin 3s linear infinite;
}

.speed-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.speed-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Features Grid */
.features-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* packyboxy Types Grid */
.packyboxy-types-section {
    background: white;
}

.packyboxy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.packyboxy-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.packyboxy-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.packyboxy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.packyboxy-code {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.packyboxy-name {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.packyboxy-card p {
    color: var(--text-dark);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active {
    transform: rotate(90deg);
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* 主要内容区域 */
main {
    min-height: calc(100vh - 140px);
    /* padding: 2rem 0; */
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f5576c 100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Blog Preview */
.blog-preview-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
    color: inherit;
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

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

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* 进度条 */
.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Enhanced Question Card */
.question-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    animation: slideInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px 20px 0 0;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.question-title::before {
    content: '🧠';
    font-size: 1.2rem;
}

.question-text {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.6;
}

.options {
    display: grid;
    gap: 1.2rem;
}

.option {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.option:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.option:hover::before {
    left: 100%;
}

.option.selected {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
}

.option.selected::after {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Enhanced Progress Bar */
.progress-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    /* box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1); */

    /* border: 1px solid rgba(102, 126, 234, 0.1); */
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
/* When hidden, collapse height to remove blank space */
#progress-section .progress-container.is-hidden { margin: 0 !important; padding: 0 !important; height: 0 !important; border: 0 !important; box-shadow: none !important; }

}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Enhanced Fade In Animation */
.fade-in {
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Button Styles */
.btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(0);
}

/* Results Page Styles */
.result-header {
    text-align: center;
    margin-bottom: 2rem;
}

.packyboxy-type {
    font-size: 3rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.packyboxy-name {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
}

.traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.trait-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* History */
.history-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 底部样式 */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--text-dark);
        z-index: 1001;
        position: relative;
        padding: 0.5rem;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active {
        color: white;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
    }

    /* Mobile Menu Container */
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        z-index: 1000;
        animation: slideInFromTop 0.3s ease-out;
    }

    nav ul.active {
        display: flex;
    }

    /* Mobile Menu Items */
    nav ul li {
        margin: 1rem 0;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    /* When menu is active, show items with animation */
    nav ul.active li {
        transform: translateY(0);
        opacity: 1;
        animation: fadeInUp 0.5s ease-out forwards;
    }

    nav ul.active li:nth-child(1) { animation-delay: 0.1s; }
    nav ul.active li:nth-child(2) { animation-delay: 0.2s; }
    nav ul.active li:nth-child(3) { animation-delay: 0.3s; }
    nav ul.active li:nth-child(4) { animation-delay: 0.4s; }
    nav ul.active li:nth-child(5) { animation-delay: 0.5s; }
    nav ul.active li:nth-child(6) { animation-delay: 0.6s; }

    nav ul li a {
        color: white;
        font-size: 1.5rem;
        font-weight: 600;
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        display: block;
        text-align: center;
        min-width: 200px;
    }

    nav ul li a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    /* Animations */
    @keyframes slideInFromTop {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes fadeInUp {
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .packyboxy-wheel {
        width: 300px;
        height: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps-timeline {
        gap: 2rem;
    }

    .step-item {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        text-align: center;
    }

    .step-item:nth-child(even) .step-content {
        text-align: center;
    }

    .features-alternating {
        gap: 2rem;
    }

    .feature-row {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }

    .feature-row-reverse .feature-content {
        order: 1;
    }

    .feature-row-reverse .feature-visual {
        order: 2;
    }

    .feature-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-highlights {
        justify-content: center;
    }

    .time-comparison {
        justify-content: center;
        flex-wrap: wrap;
    }

    .packyboxy-grid,
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text{
        width: 85%;
        margin-top: 20px;
    }

    .showcase-rings{
        width: 85%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .content-card {
        padding: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.blog-search {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-input {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    min-width: 300px;
    outline: none;
}

.blog-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.category-btn:hover,
.category-btn.active {
    background: white;
    color: var(--primary-color);
}

.blog-section {
    padding: 4rem 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--background-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Blog Post Styles */
.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-post {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-bottom: 3rem;
}

.post-header {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.post-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-footer {
    padding: 2rem;
    border-top: 1px solid #e2e8f0;
}

.post-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.comments-section h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.comment {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
}

.comment:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    color: var(--primary-color);
    font-weight: 600;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment-content {
    color: var(--text-dark);
    line-height: 1.6;
}

.comment-form {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.comment-form h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.no-comments {
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    font-style: italic;
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
}

.related-articles h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.related-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-content {
    padding: 1rem;
}

.related-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
}

.related-content h4 a:hover {
    color: var(--primary-color);
}

.related-meta {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form .btn {
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
}

.newsletter-form .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Animation Effects */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bounce-in {
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Blog Post Detail Page Styles */
.blog-post-header {
    padding: 2rem;
    border-bottom: 1px solid var(--background-light);
}

.blog-breadcrumb {
    margin-bottom: 1rem;
}

.blog-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-post-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-post-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    padding: 2rem;
    line-height: 1.8;
}

.blog-post-content .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.blog-post-content h2 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.blog-post-content h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.blog-post-content ul, .blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-post-content th,
.blog-post-content td {
    padding: 0.75rem;
    border: 1px solid var(--background-light);
    text-align: left;
}

.blog-post-content th {
    background: var(--background-light);
    font-weight: 600;
}

.myth-debunk {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.myth-debunk p {
    margin-bottom: 1rem;
}

.myth-debunk strong {
    color: var(--primary-color);
}

/* Additional Blog Detail Styles */
.temperament-profile,
.health-profile,
.type-health-profile,
.shadow-profile {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.temperament-profile h4,
.health-profile h4,
.type-health-profile h4,
.shadow-profile h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-light);
}

.blog-post-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.blog-post-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 1rem 0;
}

.blog-post-content .highlight {
    background: #fff3cd;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.blog-post-content .warning {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.blog-post-content .info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.blog-post-content .success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.blog-post-footer {
    padding: 2rem;
    border-top: 1px solid var(--background-light);
    background: var(--background-light);
}

.blog-share h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--secondary-color);
}


/* Test HUD */
.test-hud { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.test-hud .hud-left { display:flex; gap:1rem; align-items:center; color:var(--text-light); font-size:0.95rem; }
.test-hud .hud-center { display:flex; flex-direction:column; align-items:center; gap:0.25rem; }
.test-hud .milestones { display:flex; gap:0.5rem; }
.test-hud .milestones .dot { width:28px; height:28px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:#f1f3f8; color:#666; font-size:0.85rem; box-shadow: var(--shadow-light); }
.test-hud .milestones .dot.active { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color:#fff; }
.test-hud .progress-percentage { font-weight:600; color:var(--primary-color); }
.test-hud .hud-right .btn-small { padding:6px 10px; font-size:0.85rem; }
@media (max-width: 600px){
  .test-hud{ flex-direction:column; align-items:stretch; }
  .test-hud .hud-right{ display:flex; gap:0.5rem; justify-content:center; }
}

/* Responsive Blog Post Detail */
@media (max-width: 768px) {
    .blog-post-title {
        font-size: 2rem;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-post-content {

        padding: 1.5rem;
    }

    .blog-post-header {
        padding: 1.5rem;
    }

    .blog-post-footer {
        padding: 1.5rem;
    }

    .share-buttons {
        flex-direction: column;
    }
}

/* Blog Loading Styles */
.blog-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
