/*
Theme Name: Kaigo Learning
Theme URI: 
Author: Antigravity
Description: 介護の学び オリジナルテーマ
Version: 1.0.0
*/
/* ----------------------------------------------------
   CSS Design System
---------------------------------------------------- */
:root {
    /* Colors */
    --primary: #4F46E5;
    /* Indigo */
    --primary-light: #818CF8;
    --primary-dark: #3730A3;

    --secondary: #10B981;
    /* Emerald */
    --secondary-light: #34D399;

    --accent: #F59E0B;
    /* Amber */
    --danger: #EF4444;
    /* Red */

    --bg-color: #F8FAFC;
    /* Slate 50 */
    --text-main: #1E293B;
    /* Slate 800 */
    --text-muted: #64748B;
    /* Slate 500 */

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);

    /* Typography */
    --font-sans: 'Noto Sans JP', 'Inter', sans-serif;
    --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;

    /* Animation */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------------------------------------------------
   Background Elements
---------------------------------------------------- */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(129, 140, 248, 1) 0%, rgba(129, 140, 248, 0) 70%);
}

.blob-2 {
    bottom: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(52, 211, 153, 1) 0%, rgba(52, 211, 153, 0) 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 30%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.5) 0%, rgba(245, 158, 11, 0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-5%, 5%) scale(1.1);
    }

    100% {
        transform: translate(5%, -5%) scale(0.9);
    }
}

/* ----------------------------------------------------
   Glassmorphism Utilities
---------------------------------------------------- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.highlight-on-hover {
    transition: var(--transition);
}

.highlight-on-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

/* ----------------------------------------------------
   Buttons & Badges
---------------------------------------------------- */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary-small {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-primary-small:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #f1f5f9;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.2rem;
    border-radius: 50px;
}

.bg-blue {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    color: white;
}

.bg-green {
    background: linear-gradient(135deg, #34D399, #10B981);
    color: white;
}

.bg-orange {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: white;
}

.bg-cyan {
    background: linear-gradient(135deg, #22D3EE, #06B6D4);
    color: white;
}

.bg-red {
    background: linear-gradient(135deg, #F87171, #EF4444);
    color: white;
}

.category-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* ----------------------------------------------------
   Blog Specific Styles
---------------------------------------------------- */
.blog-layout {
    padding-top: 100px;
}

.blog-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-radius: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--primary);
}

.hero-section {
    text-align: center;
    padding: 60px 0 80px;
}

.hero-section h1 {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 10px 10px 10px 20px;
    border-radius: 50px;
}

.search-bar ion-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-right: 15px;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-sans);
}

.section-title {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    margin-bottom: 30px;
    text-align: center;
}

/* Blog Category Grid */
.category-section {
    margin-bottom: 80px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.category-card {
    padding: 30px;
    text-align: center;
    display: block;
}

.category-card .category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Blog Article Grid */
.latest-articles-section {
    margin-bottom: 80px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.article-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-image .category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
}

.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--text-main);
    transition: var(--transition);
}

.article-card:hover .article-title {
    color: var(--primary);
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}

.load-more {
    text-align: center;
}

.blog-footer {
    border-radius: 0;
    margin-top: 80px;
    padding: 40px 0;
    text-align: center;
}

.footer-content .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}


/* ----------------------------------------------------
   App Layout (for original index.html)
---------------------------------------------------- */
.app-container {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

/* Sidebar */
.sidebar {
    width: 280px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo ion-icon {
    font-size: 2.2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-links li button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    border-radius: 16px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.nav-links li button ion-icon {
    font-size: 1.4rem;
}

.nav-links li.active button,
.nav-links li button:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

/* Main Content */
.main-content {
    flex: 1;
    position: relative;
}

.app-main-content .page {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.app-main-content .page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----------------------------------------------------
   Header
---------------------------------------------------- */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 10px 0;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.page-header p {
    color: var(--text-muted);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

/* Buttons */
.btn-back {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 15px;
    transition: var(--transition);
}

.btn-back:hover {
    background: white;
    transform: translateX(-5px);
}

/* ----------------------------------------------------
   Dashboard Cards
---------------------------------------------------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-size: 1.3rem;
}

.badge {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Progress Section */
.progress-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 40%, var(--bg-color) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle::before {
    content: '';
    position: absolute;
    inset: 10px;
    background: white;
    border-radius: 50%;
}

.progress-text {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.progress-text small {
    font-size: 1rem;
    color: var(--text-muted);
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Recommended List */
.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

.topic-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.topic-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.topic-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.topic-details {
    flex: 1;
}

.topic-details h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.topic-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.go-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* ----------------------------------------------------
   Responsive Design
---------------------------------------------------- */
@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .sidebar {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        width: 100%;
        height: 70px;
        padding: 10px 20px;
        flex-direction: row;
        border-radius: 20px 20px 0 0;
        z-index: 100;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    }

    .logo {
        display: none;
    }

    .nav-links {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        gap: 0;
    }

    .nav-links li button {
        padding: 10px;
        flex-direction: column;
        gap: 4px;
        font-size: 0.7rem;
        background: transparent !important;
        box-shadow: none !important;
        color: var(--text-muted);
    }

    .nav-links li.active button {
        color: var(--primary);
    }

    .main-content {
        padding: 20px;
        padding-bottom: 100px;
    }
}

/* ----------------------------------------------------
   Quiz / Study Pages
---------------------------------------------------- */
/* Setup View */
.quiz-setup {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: 30px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2;
}

.setup-actions {
    position: relative;
    z-index: 2;
}

/* Active Quiz */
.quiz-header {
    margin-bottom: 30px;
}

.quiz-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.quiz-meta {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-muted);
}

.question-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.question-card {
    padding: 40px 30px;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.8;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 16px;
    font-size: 1.05rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.option-btn:hover {
    background: white;
    transform: translateX(5px);
    border-color: var(--primary-light);
}

.option-btn.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.option-btn.correct {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.option-btn.wrong {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

/* Feedback */
.feedback-panel {
    margin-top: 30px;
    padding: 30px;
    text-align: center;
    border-top: 5px solid transparent;
}

.feedback-panel.correct-style {
    border-top-color: var(--secondary);
}

.feedback-panel.wrong-style {
    border-top-color: var(--danger);
}

.feedback-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.correct-style .feedback-icon {
    color: var(--secondary);
}

.wrong-style .feedback-icon {
    color: var(--danger);
}

.feedback-panel h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feedback-panel p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
    text-align: left;
}

.hidden {
    display: none !important;
}

/* Result Page */
.result-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 50px 30px;
    text-align: center;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--secondary) 80%, var(--bg-color) 0);
    position: relative;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-dark);
}

.score-circle::before {
    content: '';
    position: absolute;
    inset: 15px;
    background: white;
    border-radius: 50%;
    z-index: -1;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

@media (max-width: 600px) {
    .result-actions {
        flex-direction: column;
    }
}

/* 霑ｽ蜉: 隧ｳ邏ｰ險倅ｺ九∈縺ｮ隱伜ｰ弱→谺｡縺ｸ繝懊ち繝ｳ縺ｮ繧ｨ繝ｪ繧｢ */
.feedback-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.detail-btn {
    border-color: var(--primary-light);
    color: var(--primary-dark);
    margin: 0;
    flex: 1;
}

.detail-btn ion-icon {
    font-size: 1.2rem;
    margin-right: 5px;
}

.btn-next {
    flex: 1;
    margin: 0;
}

@media (max-width: 600px) {
    .feedback-actions {
        flex-direction: column;
        gap: 10px;
    }
}

/* ----------------------------------------------------
   Premium Magazine Layout Styles
---------------------------------------------------- */
:root {
    --premium-font: 'Noto Serif JP', serif;
    --hero-gradient: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(79, 70, 229, 0.05) 100%);
}

.premium-container {
    max-width: 1100px;
}

.premium-header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.premium-header .logo-text {
    font-family: var(--premium-font);
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.premium-btn {
    background: linear-gradient(135deg, #4F46E5, #10B981);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    padding: 10px 24px;
}

.premium-hero {
    margin-top: 40px;
    margin-bottom: 60px;
}

.hero-content {
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-family: var(--premium-font);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Article (Top Large Card) */
.featured-article {
    display: flex;
    flex-direction: row;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 400px;
}

.featured-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.featured-image {
    width: 60%;
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-article:hover .featured-image img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.premium-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    font-family: var(--font-sans);
}

.featured-info {
    width: 40%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-info h2 {
    font-family: var(--premium-font);
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #111827;
}

.featured-excerpt {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1rem;
    flex-grow: 1;
}

.read-more-text {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* CTA Module */
.app-cta-module {
    background: linear-gradient(135deg, white, var(--bg-color));
    border: 1px solid rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
    border-radius: 24px;
}

.cta-inner {
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.cta-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
}

.glowing-btn {
    background: linear-gradient(45deg, #10B981, #4F46E5);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 5px 15px rgba(16,185,129,0.2); }
    100% { box-shadow: 0 15px 35px rgba(79,70,229,0.5); }
}

/* Premium Grid */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

.premium-section-title {
    font-family: var(--premium-font);
    font-size: 2rem;
    margin: 0;
}

.view-all-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all-link:hover {
    text-decoration: underline;
}

.premium-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.premium-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.premium-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-card:hover .premium-card-image img {
    transform: scale(1.05);
}

.premium-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.premium-card-content h3 {
    font-family: var(--premium-font);
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #111827;
}

.card-meta {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Premium Overlay */
.premium-overlay {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .featured-article {
        flex-direction: column;
        min-height: auto;
    }
    .featured-image, .featured-info {
        width: 100%;
    }
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .premium-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

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