/* ==========================================
   MAINICHI MONDAI - UNIFIED STYLES
   ========================================== */

/* CSS Variables */
:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --secondary: #6f42c1;
    --secondary-dark: #5a32a3;
    --success: #28a745;
    --warning: #f59e0b;
    --error: #ef4444;
    --card-light: #ffffff;
    --card-dark: #1e1e1e;
    --bg-light: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-section-light: #f8f9fa;
    --bg-section-dark: #161616;
    --border-light: #e5e7eb;
    --border-dark: #2d2d2d;
    --text-light: #1f2937;
    --text-dark: #f9fafb;
    --text-muted-light: #6b7280;
    --text-muted-dark: #9ca3af;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   BASE STYLES
   ========================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    background: var(--bg-light);
    color: var(--text-light);
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.dark-mode {
    background: var(--bg-dark);
    color: var(--text-dark);
}

/* ==========================================
   LAYOUT
   ========================================== */

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

/* Specific container for content pages */
.page-content .container {
    max-width: 800px;
    padding: 120px 24px 80px;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.dark-mode .header {
    background: rgba(10, 10, 10, 0.9);
    border-bottom-color: var(--border-dark);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.25rem;
}

.dark-mode .logo-header {
    color: var(--text-dark);
}

.logo-header img {
    width: 40px;
    height: auto;
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

.dark-mode .logo-light {
    display: none;
}

.dark-mode .logo-dark {
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn-header {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-light);
}

.dark-mode .btn-secondary {
    color: var(--text-dark);
    border-color: var(--border-dark);
}

.btn-secondary:hover {
    background: var(--bg-section-light);
}

.dark-mode .btn-secondary:hover {
    background: var(--bg-section-dark);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta-white {
    background: white;
    color: var(--primary);
    padding: 18px 48px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.25rem;
}

.dark-mode .theme-toggle {
    border-color: var(--border-dark);
}

.theme-toggle:hover {
    background: var(--bg-section-light);
    transform: scale(1.05);
}

.dark-mode .theme-toggle:hover {
    background: var(--bg-section-dark);
}

/* ==========================================
   HERO SECTION (Landing Page)
   ========================================== */

.hero {
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 123, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(111, 66, 193, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-logo {
    margin-bottom: 32px;
}

.hero-logo img {
    width: 160px;
    height: auto;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin: 0 0 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--text-muted-light);
    margin: 0 auto 48px;
    max-width: 700px;
    font-weight: 400;
    line-height: 1.6;
}

.dark-mode .hero-subtitle {
    color: var(--text-muted-dark);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    margin-bottom: 48px;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.4);
}

.hero-cta:active {
    transform: translateY(-1px);
}

/* ==========================================
   TRUST BADGES
   ========================================== */

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    color: var(--text-muted-light);
    font-size: 0.9375rem;
}

.dark-mode .trust-badges {
    color: var(--text-muted-dark);
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.badge-icon {
    color: var(--success);
    font-size: 1.125rem;
}

/* ==========================================
   SECTIONS
   ========================================== */

.section {
    padding: 20px 0;
}

.section-alt {
    background: var(--bg-section-light);
}

.dark-mode .section-alt {
    background: var(--bg-section-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted-light);
    max-width: 700px;
    margin: 0 auto;
}

.dark-mode .section-description {
    color: var(--text-muted-dark);
}

/* ==========================================
   PAGE CONTENT (Privacy, Changelog)
   ========================================== */

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--text-muted-light);
    font-size: 1.125rem;
    margin-bottom: 48px;
}

.dark-mode .page-subtitle {
    color: var(--text-muted-dark);
}

.page-updated {
    color: var(--text-muted-light);
    font-size: 1rem;
    margin-bottom: 48px;
}

.dark-mode .page-updated {
    color: var(--text-muted-dark);
}

.back-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 32px;
    transition: all 0.2s ease;
}

.back-link:hover {
    transform: translateX(-4px);
}

.intro {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 10px;
    padding: 24px;
    background: var(--bg-section-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.dark-mode .intro {
    background: var(--bg-section-dark);
}

.section p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.section ul {
    margin: 16px 0 16px 24px;
    line-height: 1.8;
}

.section li {
    margin-bottom: 12px;
}

.highlight-box {
    background: var(--bg-section-light);
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid var(--secondary);
}

.dark-mode .highlight-box {
    background: var(--bg-section-dark);
}

.contact-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    margin: 48px 0;
}

.contact-box h3 {
    font-size: 1.5rem;
    margin: 0 0 12px;
}

.contact-box p {
    margin: 0 0 20px;
    opacity: 0.95;
}

.contact-email {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   FEATURES GRID
   ========================================== */

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

.feature-card {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.dark-mode .feature-card {
    background: var(--card-dark);
    border-color: var(--border-dark);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: block;
    line-height: 1;
}

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--text-light);
}

.dark-mode .feature-title {
    color: var(--text-dark);
}

.feature-desc {
    font-size: 1rem;
    color: var(--text-muted-light);
    line-height: 1.7;
    margin: 0;
}

.dark-mode .feature-desc {
    color: var(--text-muted-dark);
}

/* ==========================================
   STATS
   ========================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.dark-mode .stat-card {
    background: var(--card-dark);
    border-color: var(--border-dark);
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

.dark-mode .stat-label {
    color: var(--text-muted-dark);
}

/* Stats Box (Changelog) */
.stats-box {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(111, 66, 193, 0.1));
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    text-align: center;
}

.dark-mode .stats-box {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(111, 66, 193, 0.15));
    border-color: var(--border-dark);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   CAROUSEL
   ========================================== */

.screenshots-section {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 64px auto 0;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    background: var(--card-light);
    position: relative;
}

.dark-mode .carousel-wrapper {
    border-color: var(--border-dark);
    background: var(--card-dark);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.carousel-slide-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    background: var(--bg-section-light);
}

.dark-mode .carousel-slide-image {
    background: var(--bg-section-dark);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.25rem;
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.dark-mode .carousel-btn {
    background: rgba(30, 30, 30, 0.9);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.15);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:active {
    transform: scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(1);
}

.carousel-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-light);
    border-color: var(--border-light);
}

.dark-mode .carousel-btn:disabled:hover {
    background: rgba(30, 30, 30, 0.9);
    color: var(--text-dark);
    border-color: var(--border-dark);
}

.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    pointer-events: all;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dark-mode .carousel-dot {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-dot.active {
    background: white;
    width: 32px;
    border-radius: 5px;
}

.carousel-dot:hover {
    background: white;
    opacity: 0.8;
}

/* ==========================================
   TIMELINE (Changelog)
   ========================================== */

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.version-block {
    position: relative;
    margin-bottom: 48px;
    animation: fadeInUp 0.5s ease-out backwards;
}

.version-block:nth-child(1) {
    animation-delay: 0.1s;
}

.version-block:nth-child(2) {
    animation-delay: 0.2s;
}

.version-block:nth-child(3) {
    animation-delay: 0.3s;
}

.version-block:nth-child(4) {
    animation-delay: 0.4s;
}

.version-block:nth-child(5) {
    animation-delay: 0.5s;
}

.version-block::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--bg-light);
    box-shadow: 0 0 0 4px var(--primary);
    z-index: 1;
}

.dark-mode .version-block::before {
    border-color: var(--bg-dark);
}

.version-block.latest::before {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px var(--primary);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 123, 255, 0.4);
    }
}

.version-card {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.dark-mode .version-card {
    background: var(--card-dark);
    border-color: var(--border-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.version-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.version-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.version-number {
    display: flex;
    align-items: center;
    gap: 12px;
}

.version-number h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.dark-mode .version-number h2 {
    color: var(--text-dark);
}

.version-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-latest {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.badge-stable {
    background: var(--success);
    color: white;
}

.version-date {
    color: var(--text-muted-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.dark-mode .version-date {
    color: var(--text-muted-dark);
}

.changes-section {
    margin-top: 20px;
}

.changes-category {
    margin-bottom: 20px;
}

.changes-category:last-child {
    margin-bottom: 0;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: var(--text-muted-light);
}

.dark-mode .category-title {
    color: var(--text-muted-dark);
}

.category-title.new {
    color: var(--success);
}

.category-title.improved {
    color: var(--primary);
}

.category-title.fixed {
    color: var(--warning);
}

.changes-list {
    list-style: none;
    padding: 0;
}

.changes-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.changes-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.icon {
    font-size: 1rem;
}

/* ==========================================
   LOADING & ERROR STATES
   ========================================== */

.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

.dark-mode .spinner {
    border-color: var(--border-dark);
    border-top-color: var(--primary);
}

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

.error-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted-light);
}

.dark-mode .error-state {
    color: var(--text-muted-dark);
}

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

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 80px 24px;
    border-radius: 24px;
    margin: 100px auto;
    max-width: 1200px;
    box-shadow: var(--shadow-xl);
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: clamp(1.125rem, 3vw, 1.375rem);
    margin: 0 0 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--bg-section-light);
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.dark-mode .footer {
    background: var(--bg-section-dark);
    border-top-color: var(--border-dark);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo img {
    width: 120px;
    height: auto;
}

.footer-text {
    color: var(--text-muted-light);
    font-size: 0.9375rem;
    margin: 0 0 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dark-mode .footer-text {
    color: var(--text-muted-dark);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.footer-link {
    color: var(--text-muted-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dark-mode .footer-link {
    color: var(--text-muted-dark);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-copyright {
    color: var(--text-muted-light);
    font-size: 0.875rem;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.dark-mode .footer-copyright {
    color: var(--text-muted-dark);
    border-top-color: var(--border-dark);
}

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

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

    .page-content .container {
        padding: 100px 20px 60px;
    }

    .header-inner {
        padding: 12px 20px;
    }

    .btn-header {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-logo img {
        width: 120px;
    }

    .section {
        padding: 20px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 48px;
    }

    .stats-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 20px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .carousel-container {
        margin-top: 48px;
    }

    .carousel-wrapper {
        border-radius: 16px;
    }

    .carousel-controls {
        padding: 0 16px;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }

    .carousel-dots {
        bottom: 20px;
    }

    .cta-section {
        padding: 60px 20px;
        margin: 60px 20px;
        border-radius: 20px;
    }

    .timeline {
        padding-left: 32px;
    }

    .version-block::before {
        left: -32px;
        width: 16px;
        height: 16px;
    }

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

    .version-number h2 {
        font-size: 1.25rem;
    }

    .version-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .intro {
        font-size: 1rem;
        padding: 20px;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        width: 100px;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 16px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .carousel-controls {
        padding: 0 12px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-dots {
        bottom: 16px;
        gap: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 24px;
    }
}

/* ==========================================
   PERFORMANCE OPTIMIZATIONS
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}