/* Home Page Specific Styles */
.home-hero {
    padding: 8rem 0 6rem;
    background-color: #0f172a;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* CSS-only Tech Background - Brand Aligned */
.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--yali-primary);
    /* Brand Gradient */
    background-image:
        /* Smooth gradient from Primary to Dark */
        linear-gradient(135deg, var(--yali-primary) 0%, var(--yali-primary-dark) 100%),
        /* Subtle Accent Glow */
        radial-gradient(circle at 90% 20%, rgba(34, 211, 238, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.3) 0%, transparent 50%);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

/* Add a clean grid pattern overlay */
.hero-bg-decoration::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
}

/* Ensure content is above background */
.home-hero .container {
    position: relative;
    z-index: 1;
}

.home-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
    /* Force white text on purple background */
}

/* High contrast gradient text for colored background */
.gradient-text {
    background: linear-gradient(90deg, #ffffff 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.home-hero .hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Optimizing Buttons for Dark/Brand Background */
.home-hero .hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.home-hero .hero-content {
    text-align: left;
}

.home-hero .hero-description {
    margin: 0 0 2.5rem 0;
}

/* AI Writer Widget */
.hero-widget {
    perspective: 1000px;
}

.ai-widget-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--yali-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem 1.75rem;
    color: var(--yali-text);
    position: relative;
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-width: 420px;
    margin: 0 auto 0 auto;
}

.ai-widget-card:hover {
    transform: rotateY(0) rotateX(0);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.widget-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--yali-secondary);
}

.widget-header .badge {
    background: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--yali-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.widget-tabs {
    display: flex;
    background: var(--yali-bg);
    padding: 0.35rem;
    border-radius: var(--yali-radius-md);
    margin-bottom: 1.5rem;
}

.widget-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: none;
    background: transparent;
    color: var(--yali-text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: calc(var(--yali-radius-md) - 2px);
    cursor: pointer;
    transition: all 0.2s;
}

.widget-tab.active {
    background: white;
    color: var(--yali-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.widget-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 220px;
    justify-content: space-between;
}

.widget-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--yali-secondary);
}

.widget-field label .required {
    color: #ef4444;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--yali-border);
    border-radius: var(--yali-radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--yali-bg-alt);
    box-sizing: border-box;
}

.form-textarea {
    resize: none;
    height: 55px !important;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--yali-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background: white;
}

.widget-row {
    display: flex;
    gap: 1rem;
}

.widget-field.half {
    flex: 1;
}

.btn-generate {
    padding: 1rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: var(--yali-radius-md);
}

.widget-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--yali-border);
    font-size: 0.8125rem;
    color: #94a3b8;
}

.widget-footer a {
    color: var(--yali-primary);
    text-decoration: none;
    font-weight: 500;
}

/* Locked Overlay - Removed for interactive login */
.widget-overlay {
    display: none;
}

/* Primary CTA - Becomes White on Purple */
.home-hero .btn-primary {
    background: #ffffff;
    color: var(--yali-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.home-hero .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    color: var(--yali-primary-dark);
}

/* Secondary CTA - Transparent Outline */
.home-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.home-hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

.hero-bg-decoration::before {
    display: none;
}

/* Products Section - Modern Layout */
.home-products {
    padding: 6rem 0;
    background: #f8fafc;
    border-top: 1px solid var(--yali-border);
}

.home-products .section-header {
    margin-bottom: 3rem;
}

.home-products .section-title {
    color: var(--yali-secondary);
    margin-bottom: 1.5rem;
}

.home-products .section-subtitle {
    font-size: 1.125rem;
    color: var(--yali-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.home-products .section-title::after {
    background: var(--yali-gradient);
}

.products-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
}

/* 主产品大卡片 - 品牌渐变设计 */
.product-hero {
    background: linear-gradient(135deg, var(--yali-primary) 0%, var(--yali-primary-dark) 100%);
    border-radius: var(--yali-radius-xl);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.product-hero-content {
    position: relative;
    z-index: 1;
}

.product-badge-main {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--yali-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-star {
    font-size: 1rem;
}

.product-hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-hero-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.product-hero-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-hero-stats .stat-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 1rem 1.25rem;
    border-radius: var(--yali-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 80px;
    text-align: center;
    transition: var(--yali-transition);
}

.product-hero-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.product-hero-stats .stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-hero-stats .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.product-hero .btn-primary {
    background: #fff;
    color: var(--yali-primary);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.product-hero .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.product-hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.product-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-hero .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    font-weight: 600;
}

.product-hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* 次要产品网格 - 深色背景上的白色卡片 */
.products-grid-secondary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.products-grid-secondary .product-card-mini {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 0;
}

.product-card-mini .product-mini-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card-mini {
    background: #fff;
    border-radius: var(--yali-radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--yali-border);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-card-mini::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--yali-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-mini:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--yali-primary-light);
}

.product-card-mini:hover::before {
    opacity: 1;
}

.product-mini-icon {
    font-size: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--yali-radius-md);
    flex-shrink: 0;
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--yali-primary);
}

.product-mini-content {
    flex: 1;
}

.product-mini-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--yali-secondary);
    margin-bottom: 0.375rem;
}

.product-mini-content p {
    font-size: 0.875rem;
    color: var(--yali-text-muted);
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
}

.product-mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.mini-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--yali-primary);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--yali-radius-full);
}

.arrow-icon {
    color: var(--yali-primary);
    font-size: 1.25rem;
    opacity: 0;
    transition: var(--yali-transition);
    flex-shrink: 0;
}

.product-card-mini:hover .arrow-icon {
    opacity: 1;
    transform: translateX(4px);
}

/* 旧版网格兼容 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--yali-card);
    border-radius: var(--yali-radius-lg);
    padding: 2rem;
    text-decoration: none;
    box-shadow: var(--yali-shadow);
    transition: var(--yali-transition);
    display: block;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--yali-shadow-lg);
}

.product-card.coming-soon {
    opacity: 0.7;
}

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

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--yali-secondary);
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--yali-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-link {
    color: var(--yali-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--yali-bg-alt);
    color: var(--yali-text-muted);
    font-size: 0.75rem;
    border-radius: var(--yali-radius-full);
}

/* Features Section - Modern Layout */
.home-features {
    padding: 6rem 0;
    background: var(--yali-card);
}

.home-features .section-header {
    margin-bottom: 3rem;
}

.features-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--yali-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.home-features .features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--yali-secondary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.home-features .features-intro {
    font-size: 1.125rem;
    color: var(--yali-text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* 3个核心卖点卡片 */
.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.core-value-card {
    background: linear-gradient(135deg, var(--yali-bg) 0%, var(--yali-card) 100%);
    border-radius: var(--yali-radius-xl);
    padding: 2rem;
    border: 1px solid var(--yali-border);
    text-align: center;
    transition: var(--yali-transition);
    position: relative;
    overflow: hidden;
}

.core-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--yali-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.core-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.15);
    border-color: var(--yali-primary-light);
}

.core-value-card:hover::before {
    opacity: 1;
}

.core-value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--yali-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--yali-primary);
}

.core-value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--yali-secondary);
    margin-bottom: 0.75rem;
}

.core-value-card p {
    font-size: 0.9375rem;
    color: var(--yali-text-muted);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.core-value-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.value-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--yali-primary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--yali-radius-full);
}

.more-features-header {
    text-align: center;
    margin: 3rem 0 2rem;
    position: relative;
}

.more-features-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--yali-border);
}

.more-features-header span {
    display: inline-block;
    padding: 0 1.5rem;
    background: var(--yali-card);
    color: var(--yali-text-muted);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* 右侧：功能卡片网格 */
.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--yali-bg);
    border-radius: var(--yali-radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--yali-border);
    transition: var(--yali-transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--yali-gradient);
    opacity: 0;
    transition: var(--yali-transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--yali-shadow-lg);
    border-color: var(--yali-primary-light);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--yali-primary) 0%, var(--yali-primary-dark) 100%);
    border-radius: var(--yali-radius-md);
    margin-bottom: 1.25rem;
    color: #fff;
}

.feature-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--yali-secondary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--yali-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 旧版兼容 */
.home-features .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

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

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--yali-secondary);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--yali-text-muted);
}

/* Blog Section */
.home-blog {
    padding: 6rem 0;
    background: var(--yali-bg);
}

.home-blog .section-header {
    margin-bottom: 3rem;
}

.home-blog .section-title {
    margin-bottom: 0.75rem;
}

.home-blog .section-subtitle {
    font-size: 1.125rem;
    color: var(--yali-text-muted);
}

/* 使用 archive 样式 */
.home-blog .archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.home-blog .archive-card {
    background: var(--yali-card);
    border-radius: var(--yali-radius-lg);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: var(--yali-transition);
    display: flex;
    flex-direction: column;
}

.home-blog .archive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.home-blog .archive-thumbnail {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--yali-bg-alt);
    position: relative;
}

.home-blog .archive-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-blog .archive-card:hover .archive-thumbnail img {
    transform: scale(1.05);
}

.home-blog .archive-thumbnail-default {
    background-image: url('../../images/placeholder.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-blog .archive-thumbnail-default img {
    display: none;
}

/* 辅助类：隐藏内容但对屏幕阅读器可见 */
.home-blog .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-blog .archive-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.home-blog .archive-category {
    display: inline-block;
    padding: 0.35rem 0.875rem;
    background: rgba(var(--yali-primary-rgb), 0.1);
    color: var(--yali-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--yali-radius-full);
    margin-bottom: 0.75rem;
    text-decoration: none;
    width: fit-content;
    transition: var(--yali-transition);
}

.home-blog .archive-category:hover {
    background: var(--yali-primary);
    color: #fff;
}

.home-blog .archive-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.home-blog .archive-item-title a {
    color: var(--yali-secondary);
    text-decoration: none;
    transition: var(--yali-transition);
}

.home-blog .archive-item-title a:hover {
    color: var(--yali-primary);
}

.home-blog .archive-excerpt {
    color: var(--yali-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.home-blog .archive-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--yali-text-light);
}

.home-blog .archive-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 2rem;
}

/* CTA Section */
.home-cta {
    padding: 5rem 0;
    background: var(--yali-gradient);
    color: #fff;
}

.home-cta h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

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

.home-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.home-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-showcase {
        grid-template-columns: 1fr;
    }
    
    .core-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-hero {
        text-align: center;
    }
    
    .product-hero-stats {
        justify-content: center;
    }
    
    .features-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-left {
        text-align: center;
    }
    
    .features-highlights {
        align-items: center;
    }
    
    .products-grid,
    .home-features .features-grid,
    .home-blog .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: 5rem 0 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .home-hero .hero-content {
        text-align: center;
    }
    
    .home-hero .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .home-hero .hero-actions {
        justify-content: center;
    }
    
    .ai-widget-card {
        transform: none;
    }

    .home-hero .hero-title {
        font-size: 2.25rem;
    }
    
    .product-hero {
        padding: 1.75rem;
        min-height: auto;
    }
    
    .product-hero-title {
        font-size: 1.5rem;
    }
    
    .product-hero-stats {
        gap: 1.5rem;
    }
    
    .products-grid-secondary .product-card-mini {
        flex: none;
    }
    
    .product-card-mini {
        padding: 1.25rem;
    }
    
    .product-mini-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
    
    .product-mini-content p {
        font-size: 0.875rem;
    }
    
    .home-features .features-title {
        font-size: 1.75rem;
    }
    
    .core-values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .core-value-card {
        padding: 1.5rem;
        text-align: left;
    }

    .core-value-icon {
        margin: 0 0 1rem 0;
    }

    .core-value-tags {
        justify-content: flex-start;
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .home-features .features-grid,
    .home-blog .archive-grid {
        grid-template-columns: 1fr;
    }

    .home-cta h2 {
        font-size: 1.75rem;
    }
}