/**
 * Single Key Feature Page - Modern Magazine Style
 * Immersive design with rich content sections
 */

/* ============================================
   HERO SECTION - IMMERSIVE FULL WIDTH
   ============================================ */

.kf-hero-immersive {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.kf-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.kf-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.kf-hero-immersive:hover .kf-hero-bg img {
    transform: scale(1.1);
}

.kf-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(30, 35, 52, 0.4) 0%,
        rgba(30, 35, 52, 0.7) 50%,
        rgba(30, 35, 52, 0.95) 100%
    );
}

.kf-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 60px 80px;
}

.kf-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.kf-hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.kf-hero-inner h1 {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.kf-hero-excerpt {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.kf-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

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

.kf-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.kf-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kf-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.kf-scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(255, 151, 96, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.kf-scroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(255, 151, 96, 0.5);
}

.kf-scroll-btn svg {
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(3px); }
}

.kf-modules-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.kf-modules-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ============================================
   QUICK NAVIGATION - HORIZONTAL PILLS
   ============================================ */

.kf-quick-nav {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 85px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.kf-quick-nav-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.kf-quick-nav-scroll {
    display: flex;
    gap: 10px;
    padding: 16px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.kf-quick-nav-scroll::-webkit-scrollbar {
    display: none;
}

.kf-quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg);
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.kf-quick-pill:hover {
    background: rgba(255, 151, 96, 0.1);
    border-color: var(--primary);
}

.kf-quick-pill.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 151, 96, 0.3);
}

.kf-pill-icon {
    font-size: 1.1rem;
}

.kf-pill-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.kf-quick-pill.active .kf-pill-title {
    color: white;
}

/* ============================================
   CONTENT MAGAZINE LAYOUT
   ============================================ */

.kf-content-magazine {
    background: white;
    padding: 80px 0;
}

.kf-content-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* Sidebar */
.kf-sidebar {
    position: relative;
}

.kf-sidebar-sticky {
    position: sticky;
    top: 180px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Table of Contents */
.kf-toc {
    background: var(--bg);
    border-radius: 20px;
    padding: 24px;
}

.kf-toc h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.kf-toc h4 svg {
    color: var(--primary);
}

.kf-toc-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kf-toc-item {
    display: block;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.kf-toc-item:hover {
    background: white;
    color: var(--primary);
}

.kf-toc-item.active {
    background: white;
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

.kf-toc-item.kf-toc-sub {
    padding-left: 24px;
    font-size: 0.85rem;
}

.kf-toc-empty {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Sidebar Modules */
.kf-sidebar-modules {
    background: var(--bg);
    border-radius: 20px;
    padding: 24px;
}

.kf-sidebar-modules h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.kf-sidebar-modules h4 svg {
    color: var(--primary);
}

.kf-sidebar-modules-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kf-sidebar-module {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.kf-sidebar-module:hover {
    border-color: var(--module-color, var(--primary));
    transform: translateX(4px);
}

.kf-sidebar-module-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.kf-sidebar-module-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kf-sidebar-module span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kf-sidebar-more {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kf-sidebar-more:hover {
    color: var(--primary-dark);
}

/* Main Content */
.kf-main-content {
    min-width: 0;
}

.kf-article-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text);
}

/* Content HTML Styling - Sections */
.kf-article-content .key-feature-intro {
    margin-bottom: 48px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 151, 96, 0.08) 0%, rgba(255, 122, 61, 0.05) 100%);
    border-radius: 20px;
    border-left: 4px solid var(--primary);
}

.kf-article-content .lead-paragraph {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

.kf-article-content .key-feature-section {
    margin-bottom: 48px;
    padding: 32px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.kf-article-content .key-feature-section:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.kf-article-content .section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.kf-article-content .section-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--gradient);
    border-radius: 4px;
}

.kf-article-content .section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

.kf-article-content .section-detail {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    padding-left: 16px;
    border-left: 2px solid rgba(0, 0, 0, 0.08);
}

.kf-article-content .feature-link,
.kf-article-content .module-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 151, 96, 0.3);
    transition: all 0.2s ease;
}

.kf-article-content .feature-link:hover,
.kf-article-content .module-link:hover {
    border-bottom-color: var(--primary);
}

/* Connections Section */
.kf-article-content .key-feature-connections {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, var(--secondary) 0%, #2d3a52 100%);
    border-radius: 20px;
    color: white;
}

.kf-article-content .connections-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
}

.kf-article-content .connections-content {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.kf-article-content .connections-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Standard Content Elements */
.kf-article-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 56px 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.kf-article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 40px 0 20px;
}

.kf-article-content p {
    margin-bottom: 20px;
}

.kf-article-content ul,
.kf-article-content ol {
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.kf-article-content li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
}

.kf-article-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gradient);
    border-radius: 50%;
}

.kf-article-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--bg);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--text-dark);
}

/* ============================================
   MODULES SHOWCASE SECTION
   ============================================ */

.kf-modules-showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}

.kf-modules-showcase-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.kf-modules-header {
    text-align: center;
    margin-bottom: 60px;
}

.kf-modules-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.kf-modules-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 151, 96, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.kf-modules-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.kf-modules-header p {
    font-size: 1.2rem;
    color: var(--text);
}

/* Modules Grid */
.kf-modules-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
}

.kf-module-card-new {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

.kf-module-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--module-color, var(--primary));
}

.kf-module-card-new.featured {
    grid-column: span 2;
}

.kf-module-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.kf-module-card-new.featured .kf-module-card-image {
    height: 280px;
}

.kf-module-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.kf-module-card-new:hover .kf-module-card-image img {
    transform: scale(1.08);
}

.kf-module-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.kf-module-card-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.kf-module-card-body {
    padding: 28px;
}

.kf-module-card-body h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.kf-module-card-body p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.kf-module-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.kf-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.kf-feature-tag svg {
    color: #10b981;
}

.kf-feature-more {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255, 151, 96, 0.1);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.kf-module-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.kf-module-card-link:hover {
    gap: 12px;
}

.kf-module-card-link svg {
    transition: transform 0.3s ease;
}

.kf-module-card-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   NAVIGATION SECTION
   ============================================ */

.kf-nav-section {
    padding: 80px 0;
    background: white;
}

.kf-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.kf-nav-header {
    text-align: center;
    margin-bottom: 48px;
}

.kf-nav-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.kf-nav-header p {
    font-size: 1.1rem;
    color: var(--text);
}

.kf-nav-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.kf-nav-card-new {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.kf-nav-card-new:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.kf-nav-card-new.kf-nav-empty {
    justify-content: center;
    background: transparent;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.kf-nav-card-new.kf-nav-empty span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.kf-nav-card-image {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.kf-nav-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kf-nav-card-content {
    flex: 1;
    min-width: 0;
}

.kf-nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.kf-nav-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kf-nav-title-wrap h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kf-nav-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.kf-nav-prev .kf-nav-card-content {
    text-align: left;
}

.kf-nav-next {
    flex-direction: row-reverse;
}

.kf-nav-next .kf-nav-card-content {
    text-align: right;
}

.kf-nav-next .kf-nav-label {
    justify-content: flex-end;
}

.kf-nav-next .kf-nav-title-wrap {
    justify-content: flex-end;
}

.kf-nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.kf-nav-center:hover {
    transform: scale(1.05);
}

.kf-nav-center-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 151, 96, 0.3);
    transition: all 0.3s ease;
}

.kf-nav-center:hover .kf-nav-center-icon {
    box-shadow: 0 15px 40px rgba(255, 151, 96, 0.4);
    transform: translateY(-4px);
}

.kf-nav-center span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

/* ============================================
   CTA SECTION
   ============================================ */

.kf-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #2d3a52 100%);
    position: relative;
    overflow: hidden;
}

.kf-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 151, 96, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.kf-cta-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.kf-cta-content {
    flex: 1;
}

.kf-cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 151, 96, 0.2);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.kf-cta-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
}

.kf-cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.kf-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-lg svg {
    margin-right: 8px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .kf-content-layout {
        grid-template-columns: 260px 1fr;
        gap: 40px;
    }

    .kf-modules-grid-new {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }

    .kf-module-card-new.featured {
        grid-column: span 1;
    }
}

@media (max-width: 1024px) {
    .kf-hero-inner h1 {
        font-size: 3rem;
    }

    .kf-content-layout {
        grid-template-columns: 1fr;
    }

    .kf-sidebar {
        display: none;
    }

    .kf-content-layout {
        padding: 0 40px;
    }

    .kf-modules-showcase-inner,
    .kf-nav-inner,
    .kf-cta-inner {
        padding: 0 40px;
    }

    .kf-nav-grid {
        grid-template-columns: 1fr 1fr;
    }

    .kf-nav-center {
        grid-column: span 2;
        order: -1;
    }

    .kf-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .kf-cta-actions {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .kf-hero-immersive {
        min-height: 80vh;
    }

    .kf-hero-content {
        padding: 100px 24px 60px;
    }

    .kf-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .kf-hero-inner h1 {
        font-size: 2.2rem;
    }

    .kf-hero-excerpt {
        font-size: 1.1rem;
    }

    .kf-hero-stats {
        gap: 32px;
    }

    .kf-stat-number {
        font-size: 2rem;
    }

    .kf-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .kf-scroll-btn,
    .kf-modules-btn {
        width: 100%;
        justify-content: center;
    }

    .kf-quick-nav {
        top: 70px;
    }

    .kf-quick-nav-inner {
        padding: 0 16px;
    }

    .kf-content-magazine {
        padding: 50px 0;
    }

    .kf-content-layout {
        padding: 0 20px;
    }

    .kf-article-content {
        font-size: 1.05rem;
    }

    .kf-article-content .key-feature-intro,
    .kf-article-content .key-feature-section {
        padding: 24px;
        margin-bottom: 32px;
    }

    .kf-article-content .lead-paragraph {
        font-size: 1.15rem;
    }

    .kf-article-content .section-title {
        font-size: 1.25rem;
    }

    .kf-article-content h2 {
        font-size: 1.6rem;
    }

    .kf-modules-showcase {
        padding: 60px 0;
    }

    .kf-modules-showcase-inner {
        padding: 0 20px;
    }

    .kf-modules-header h2 {
        font-size: 2rem;
    }

    .kf-modules-grid-new {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kf-module-card-image {
        height: 180px;
    }

    .kf-module-card-body {
        padding: 20px;
    }

    .kf-nav-section {
        padding: 60px 0;
    }

    .kf-nav-inner {
        padding: 0 20px;
    }

    .kf-nav-header h3 {
        font-size: 1.5rem;
    }

    .kf-nav-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .kf-nav-center {
        grid-column: span 1;
        order: 0;
    }

    .kf-nav-card-new {
        padding: 16px;
    }

    .kf-nav-card-image {
        width: 60px;
        height: 60px;
    }

    .kf-nav-next {
        flex-direction: row;
    }

    .kf-nav-next .kf-nav-card-content {
        text-align: left;
    }

    .kf-nav-next .kf-nav-label {
        justify-content: flex-start;
    }

    .kf-nav-next .kf-nav-title-wrap {
        justify-content: flex-start;
    }

    .kf-cta-section {
        padding: 60px 0;
    }

    .kf-cta-inner {
        padding: 0 20px;
    }

    .kf-cta-content h3 {
        font-size: 1.8rem;
    }

    .kf-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .kf-cta-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .kf-hero-inner h1 {
        font-size: 1.8rem;
    }

    .kf-hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .kf-quick-pill {
        padding: 8px 14px;
    }

    .kf-pill-title {
        font-size: 0.8rem;
    }

    .kf-article-content .key-feature-intro,
    .kf-article-content .key-feature-section {
        padding: 20px;
        border-radius: 16px;
    }

    .kf-article-content .section-title::before {
        height: 24px;
    }

    .kf-module-card-body h3 {
        font-size: 1.2rem;
    }

    .kf-nav-title-wrap h4 {
        font-size: 1rem;
    }
}
