/* ============================================
   LA ABUELAPP - CLEAN MODERN LIGHT THEME
   Mobile-First, White & Crisp
   ============================================ */

:root {
    /* Base Palette - Light Theme */
    --bg-body: #ffffff;
    --bg-surface: #ffffff;
    /* Was Slate-100, now White for seamless blending */
    --bg-card: #ffffff;
    /* Was White */

    /* Text Colors - High Contrast */
    --text-main: #0f172a;
    /* Slate-900 */
    --text-muted: #475569;
    /* Slate-600 */
    --text-light: #94a3b8;
    /* Slate-400 */

    /* Brand Colors - Vibrant & Modern */
    --primary: #4f46e5;
    /* Indigo-600 */
    --primary-dark: #3730a3;
    /* Indigo-800 */
    --primary-light: #818cf8;
    /* Indigo-400 */

    --secondary: #059669;
    /* Emerald-600 */
    --secondary-bg: #d1fae5;
    /* Emerald-100 */

    --accent: #db2777;
    /* Pink-600 */
    --accent-bg: #fce7f3;
    /* Pink-100 */

    /* Modern Shadows (instead of glow) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 10px 30px rgba(79, 70, 229, 0.15);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Borders */
    --border-subtle: #e2e8f0;
    /* Slate-200 */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Typography - Fluid */
    --text-xs: clamp(0.75rem, 2vw, 0.875rem);
    --text-sm: clamp(0.875rem, 2.5vw, 1rem);
    --text-base: clamp(1rem, 3vw, 1.125rem);
    --text-lg: clamp(1.125rem, 3.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 4vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 5vw, 2rem);
    --text-3xl: clamp(2rem, 6vw, 2.5rem);
    --text-4xl: clamp(2.5rem, 8vw, 3.5rem);

    /* Transitions */
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    background-color: var(--bg-body);
    width: 100%;
    overflow-x: hidden;
    /* Prevent horizontal scroll causing gap */
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: var(--text-base);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-sm);
    text-align: center;
}

h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

p {
    margin-bottom: var(--space-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

/* ============================================
   UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-base);
    cursor: pointer;
    background: var(--primary);
    color: white !important;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4), 0 8px 10px -6px rgba(79, 70, 229, 0.4);
    transition: var(--transition-base);
    min-height: 56px;
    letter-spacing: 0.02em;
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    box-shadow: none;
    transition: var(--transition-base);
}

.btn-outline:hover {
    background: var(--bg-surface);
    border-color: var(--primary-dark);
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition-base);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--text-lg);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
}

.brand-logo {
    height: 48px;
    width: auto;
    border-radius: 12px;
    /* Soft square */
    box-shadow: var(--shadow-sm);
}

.nav-links {
    display: none;
    list-style: none;
    gap: var(--space-xl);
}

.nav-links a {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--text-muted);
    padding: var(--space-sm);
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 769px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(80px + var(--space-xl)) var(--space-md) var(--space-xl);
    overflow: hidden;
    background-color: var(--bg-body);
}

/* Clean abstract shapes behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xl);
    width: 100%;
    z-index: 1;
}

.hero-text {
    order: 2;
}

.hero-image {
    order: 1;
    width: 100%;
    max-width: 320px;
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.hero-image img {
    width: 100%;
    /* Remove border-radius as modern mockups have their own frame */
    box-shadow: none;
    /* Modern mockups have built-in shadows */
    background: #ffffff;
    /* Ensure white background for transparent images */
    border-radius: 40px;
    /* Optional: matches phone radius if needed, or remove if image has it */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (min-width: 769px) {
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: left;
        align-items: center;
    }

    .hero-text {
        order: 1;
        padding-right: var(--space-xl);
    }

    .hero-text>div {
        justify-content: flex-start !important;
        /* Force align links */
    }

    .hero-image {
        order: 2;
        max-width: 450px;
        margin-left: auto;
    }
}

/* ============================================
   FEATURES SECTION (Clean Cards)
   ============================================ */

.features {
    padding: var(--space-3xl) 0;
    position: relative;
    background: white;
    /* Pure white for modern aesthetic */
}

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.feature-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    background: transparent;
    border: none;
    border-radius: 0;
    padding: var(--space-xl) 0;
    transition: var(--transition-base);
    box-shadow: none;
}

.feature-row:hover {
    box-shadow: none;
    transform: none;
    border-color: transparent;
}

.feature-description {
    text-align: center;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    background: var(--secondary-bg);
    color: var(--secondary);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.feature-visual img {
    width: 100%;
    max-width: 350px;
    /* Remove styling - modern mockups handle their own presentation */
    box-shadow: none;
    background: #ffffff;
    /* Ensure white background */
    border-radius: 40px;
}

.feature-description ul {
    list-style: none;
    text-align: left;
    margin: var(--space-md) 0;
    background: var(--bg-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.feature-description ul li {
    padding: var(--space-sm) 0;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--text-base);
    /* Increased for readability */
    border-bottom: 1px solid var(--border-subtle);
}

.feature-description ul li:last-child {
    border-bottom: none;
}

.feature-description ul li i {
    color: var(--primary);
    margin-top: 6px;
    /* Adjusted alignment */
}

@media (min-width: 769px) {
    .feature-row {
        flex-direction: row;
        align-items: center;
        gap: var(--space-3xl);
        padding: var(--space-3xl);
    }

    .feature-row:nth-child(even) {
        flex-direction: row-reverse;
    }

    .feature-description {
        text-align: left;
        flex: 1;
    }

    .feature-visual {
        flex: 1;
        display: flex;
        justify-content: center;
    }
}

/* ============================================
   PRIVACY CARDS
   ============================================ */

.privacy-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.privacy-option {
    background: var(--bg-body);
    border: 1px solid var(--border-subtle);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

.privacy-option i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    background: #e0e7ff;
    /* Indigo-100 */
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.privacy-option strong {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-main);
    font-weight: 700;
}

/* ============================================
   MANUAL / STEPS GRID (Redesigned)
   ============================================ */

.manual-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Step Connectors (Desktop Only) */
@media (min-width: 1025px) {
    .steps-grid::after {
        content: "";
        position: absolute;
        top: 45px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
        z-index: 0;
    }
}

.step-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.step-card::before {
    content: var(--step-num);
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-float);
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Responsive Steps */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 3rem;
    }

    .step-card {
        padding: 2rem;
    }
}


/* ============================================
   TESTIMONIALS (Clean Gird)
   ============================================ */

.testimonials {
    padding: var(--space-3xl) 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    /* Subtle gradient instead of hard gray */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.7);
    /* Glassmorphism base */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    background: rgba(255, 255, 255, 0.9);
}

.testimonial-rating {
    color: #fbbf24;
    /* Premium Amber */
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-main);
    font-size: 1.05rem;
    font-style: normal;
    /* More modern and clean */
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* Gradient placeholder for realistic feel */
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


@media(min-width: 769px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   FAQ (Clean Accordion)
   ============================================ */

.faq-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-body);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
    color: var(--text-main);
    padding: var(--space-md) 0;
    font-weight: 700;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-base);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: var(--space-lg);
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ============================================
   CTA & FOOTER
   ============================================ */

.cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(to top, #f1f5f9, transparent);
}

.cta-box {
    /* New container class for white box */
    background: white;
    padding: var(--space-3xl) var(--space-md);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-subtle);
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: #000;
    /* Standard Black for Stores */
    color: white;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    min-width: 180px;
    transition: var(--transition-base);
    text-decoration: none;
    border: 1px solid transparent;
}

.store-btn i {
    font-size: 2rem;
}

.store-btn:hover {
    opacity: 0.9;
    background: #000;
    transform: translateY(-2px);
}

footer {
    padding: var(--space-2xl) 0;
    background: var(--bg-body);
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    text-align: center;
}

.social-links a {
    color: var(--text-muted);
    background: var(--bg-surface);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   ANIMATION REVEAL
   ============================================ */
/* Base Reveal State */
.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

/* 1. Reveal Up (Default) */
.reveal:not(.reveal-left):not(.reveal-right):not(.reveal-zoom) {
    transform: translateY(50px);
}

/* 2. Reveal Left (From Right) */
.reveal-left {
    transform: translateX(50px);
}

/* 3. Reveal Right (From Left) */
.reveal-right {
    transform: translateX(-50px);
}

/* 4. Reveal Zoom (Scale Up) */
.reveal-zoom {
    transform: scale(0.9);
}

/* Active State (Triggered by JS) */
.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger Delays */
.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}

.reveal-delay-400 {
    transition-delay: 0.4s;
}

/* ============================================
   IMMERSIVE EFFECTS
   ============================================ */

/* 1. Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1001;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s linear;
}

/* 2. Parallax Orbs */
.ambient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    transition: transform 0.2s linear;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light), transparent);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #fbcfe8, transparent);
    /* Pinkish */
    bottom: -10%;
    right: -10%;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #bae6fd, transparent);
    /* Blueish */
    top: 40%;
    right: 20%;
    opacity: 0.3;
}

/* 3. 3D Tilt Wrapper */
.tilt-card {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

/* ============================================
   NEWS / BLOG SECTION
   ============================================ */

.news-section {
    padding: var(--space-3xl) 0;
    background: #f8fafc;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.news-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.news-image-container {
    width: 100%;
    height: 200px;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-image {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.news-content {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card .feature-tag {
    align-self: flex-start;
    margin-bottom: var(--space-sm);
}

.news-card h3 {
    margin-bottom: var(--space-sm);
}

.news-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.news-card .btn-text {
    margin-top: auto;
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}


@media (min-width: 769px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   CHANGELOG SECTION
   ============================================ */

.changelog-section {
    padding: var(--space-3xl) 0;
    background: white;
}

.changelog-container {
    max-width: 900px;
    margin: 0 auto;
}

.changelog-timeline {
    position: relative;
    padding: var(--space-xl) 0;
}

.changelog-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: var(--space-2xl);
    transition: var(--transition-base);
}

.changelog-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-subtle);
}

.changelog-item:last-child::before {
    height: 30px;
    /* Only show line up to the dot */
}

.changelog-dot {
    position: absolute;
    left: -6px;
    top: 10px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-light), 0 0 10px var(--primary);
    z-index: 1;
}

.changelog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.changelog-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-light);
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.version-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.version-number {
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--text-main);
}

.release-date {
    font-size: var(--text-sm);
    color: var(--text-light);
    font-family: monospace;
}

.changelog-body ul {
    list-style: none;
    padding: 0;
}

.changelog-body li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.changelog-body li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

@media (max-width: 600px) {
    .changelog-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Enhanced Changelog Categories */
.changelog-body ol {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.changelog-body ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.changelog-body ol li::before {
    content: "\f054";
    /* FontAwesome chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
    top: 0.2rem;
}

.changelog-body .category-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    display: table;
    /* To fit content */
    background: var(--bg-body);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}