@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1A73E8;
    --secondary-color: #0F1E2E;
    --accent-color: #00C853;
    --background-color: #F6F8FA;
    --text-color: #1C1C1C;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 10px;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    padding: 8px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(26, 115, 232, 0.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switch {
    background: none;
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-switch:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Page Header */
.page-header {
    background: var(--white);
    padding: 40px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Info Box */
.info-box {
    background: #e8f0fe;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
    margin-bottom: 40px;
    display: flex;
    gap: 15px;
}

.info-box i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 3px;
}

.info-box h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.info-box ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.info-box li {
    margin-bottom: 5px;
    color: #444;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1557b0 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.card p {
    color: #666;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1557b0;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #0a141f;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #00a042;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0a0a0;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}


table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--secondary-color);
}

tr:hover {
    background-color: #f8f9fa;
}

/* Generator Area */
.generator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.preview-area {
    background: #f8f9fa;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    flex-direction: column;
    padding: 20px;
}

#barcode-result,
#qr-result {
    max-width: 100%;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .generator-container {
        grid-template-columns: 1fr;
    }
}

/* Custom Alert Notifications */
.custom-alert {
    position: fixed;
    top: 90px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.custom-alert.alert-error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.custom-alert.alert-success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.custom-alert.alert-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.custom-alert i {
    font-size: 20px;
}

.custom-alert .alert-content {
    flex-grow: 1;
}

.custom-alert .alert-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.custom-alert .alert-message {
    font-size: 14px;
}

.custom-alert .alert-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.custom-alert .alert-close:hover {
    opacity: 1;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.setting-box {
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.setting-box .form-label {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Tabs */
.tabs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tab-header {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.6;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    opacity: 1;
    color: var(--primary-color);
}

.tab-btn.active {
    opacity: 1;
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* Drag & Drop Zone */
/* Drag & Drop Zone */
.drag-drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: var(--bg-color);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#bulk-text {
    min-height: 300px;
    resize: vertical;
}

.drag-drop-zone:hover,
.drag-drop-zone.dragover {
    border-color: var(--primary-color);
    background-color: rgba(74, 144, 226, 0.05);
}

.drag-drop-zone i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}

.drag-drop-zone p {
    color: #666;
    margin-bottom: 10px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.stat-box {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-box h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.stat-box.success h3 {
    color: #28a745;
}

.stat-box.error h3 {
    color: #dc3545;
}

.stat-box p {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.info-card p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Search Box */
.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
    outline: none;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.comparison-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.comparison-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: #555;
}

.comparison-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Barcode Cards */
.barcode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.barcode-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.barcode-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: #f8f9fa;
}

.card-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.badge-1d {
    background-color: #ff9800;
}

.badge-2d {
    background-color: #00c853;
}

.card-preview {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    background: white;
}

.card-body {
    padding: 20px;
}

.spec-list {
    list-style: none;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px dashed #eee;
    padding-bottom: 5px;
}

.spec-list li span:first-child {
    font-weight: 600;
    color: #333;
}

.usage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.usage-tag {
    font-size: 0.8rem;
    padding: 3px 8px;
    background: #e3f2fd;
    color: var(--primary-color);
    border-radius: 4px;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page Styles */
.about-intro {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e9ecef;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-year {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: block;
}

/* Facts Grid */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.fact-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.fact-card:hover {
    transform: translateY(-5px);
}

.fact-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
}

.fact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 12px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive Timeline */
@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .spec-list {
        list-style: none;
    }

    .spec-list li {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        font-size: 0.9rem;
        color: #666;
        border-bottom: 1px dashed #eee;
        padding-bottom: 5px;
    }

    .spec-list li span:first-child {
        font-weight: 600;
        color: #333;
    }

    .usage-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
    }

    .usage-tag {
        font-size: 0.8rem;
        padding: 3px 8px;
        background: #e3f2fd;
        color: var(--primary-color);
        border-radius: 4px;
    }

    @media (max-width: 768px) {
        .comparison-grid {
            grid-template-columns: 1fr;
        }
    }

    /* About Page Styles */
    .about-intro {
        background: white;
        padding: 40px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin-bottom: 40px;
        border-left: 5px solid var(--primary-color);
    }

    /* Timeline */
    .timeline {
        position: relative;
        max-width: 800px;
        margin: 0 auto 60px;
        padding: 20px 0;
    }

    .timeline::after {
        content: '';
        position: absolute;
        width: 4px;
        background-color: #e9ecef;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -2px;
        border-radius: 2px;
    }

    .timeline-item {
        padding: 10px 40px;
        position: relative;
        background-color: inherit;
        width: 50%;
        box-sizing: border-box;
    }

    .timeline-item.left {
        left: 0;
    }

    .timeline-item.right {
        left: 50%;
    }

    .timeline-item::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        right: -10px;
        background-color: white;
        border: 4px solid var(--primary-color);
        border-radius: 50%;
        z-index: 1;
    }

    .timeline-item.right::after {
        left: -10px;
    }
}

/* Visual Overhaul Styles */

/* Facts Grid Updates */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.fact-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.fact-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    line-height: 1;
    z-index: 0;
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary-color) !important;
    position: relative;
    z-index: 1;
}

.fact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
}

.fact-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 40px 0;
    border-radius: 12px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive Timeline */
@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .spec-list {
        list-style: none;
    }

    .spec-list li {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        font-size: 0.9rem;
        color: #666;
        border-bottom: 1px dashed #eee;
        padding-bottom: 5px;
    }

    .spec-list li span:first-child {
        font-weight: 600;
        color: #333;
    }

    .usage-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
    }

    .usage-tag {
        font-size: 0.8rem;
        padding: 3px 8px;
        background: #e3f2fd;
        color: var(--primary-color);
        border-radius: 4px;
    }

    @media (max-width: 768px) {
        .comparison-grid {
            grid-template-columns: 1fr;
        }
    }

    /* About Page Styles */
    .about-intro {
        background: white;
        padding: 40px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin-bottom: 40px;
        border-left: 5px solid var(--primary-color);
    }

    /* Timeline */
    .timeline {
        position: relative;
        max-width: 800px;
        margin: 0 auto 60px;
        padding: 20px 0;
    }

    .timeline::after {
        content: '';
        position: absolute;
        width: 4px;
        background-color: #e9ecef;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -2px;
        border-radius: 2px;
    }

    .timeline-item {
        padding: 10px 40px;
        position: relative;
        background-color: inherit;
        width: 50%;
        box-sizing: border-box;
    }

    .timeline-item.left {
        left: 0;
    }

    .timeline-item.right {
        left: 50%;
    }

    .timeline-item::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        right: -10px;
        background-color: white;
        border: 4px solid var(--primary-color);
        border-radius: 50%;
        z-index: 1;
    }

    .timeline-item.right::after {
        left: -10px;
    }
}

/* Visual Overhaul Styles */

/* Facts Grid Updates */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.fact-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.fact-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    line-height: 1;
    z-index: 0;
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary-color) !important;
    position: relative;
    z-index: 1;
}

.fact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
}

.fact-card p {
    font-size: 0.95rem;
    color: #666;
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

/* Did You Know Section (Alert Style) */
.dyk-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

.dyk-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.dyk-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.dyk-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.dyk-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dyk-item {
    background: rgba(26, 115, 232, 0.05);
    /* Light primary color */
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.dyk-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2px;
}

.dyk-content h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.dyk-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Evolution Section (Comparison Cards) */
.evo-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 60px;
    border: 1px solid #f0f0f0;
}

.evo-header-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.evo-header-main i {
    font-size: 2rem;
    color: var(--primary-color);
}

.evo-header-main h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.evo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.evo-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.evo-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.evo-card-header i {
    font-size: 1.5rem;
}

.evo-card-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

/* 1D Specifics */
.evo-1d .evo-card-header h3 {
    color: var(--secondary-color);
}

.evo-1d .evo-card-header i {
    color: var(--secondary-color);
}

/* 2D Specifics */
.evo-2d .evo-card-header h3 {
    color: var(--primary-color);
}

.evo-2d .evo-card-header i {
    color: var(--primary-color);
}

.evo-features h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.evo-list {
    list-style: none;
    margin-bottom: 20px;
}

.evo-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
    padding-left: 0;
}

.evo-usage {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.evo-footer {
    text-align: center;
    margin-top: 30px;
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary-color) !important;
    position: relative;
    z-index: 1;
}

.fact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
}

.fact-card p {
    font-size: 0.95rem;
    color: #666;
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

/* Did You Know Section (Alert Style) */
.dyk-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

.dyk-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.dyk-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.dyk-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.dyk-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dyk-item {
    background: rgba(26, 115, 232, 0.05);
    /* Light primary color */
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.dyk-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2px;
}

.dyk-content h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.dyk-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Evolution Section (Comparison Cards) */
.evo-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 60px;
    border: 1px solid #f0f0f0;
}

.evo-header-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.evo-header-main i {
    font-size: 2rem;
    color: var(--primary-color);
}

.evo-header-main h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.evo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.evo-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e9ecef;
}

.evo-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.evo-card-header i {
    font-size: 1.5rem;
}

.evo-card-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

/* 1D Specifics */
.evo-1d .evo-card-header h3 {
    color: var(--secondary-color);
}

.evo-1d .evo-card-header i {
    color: var(--secondary-color);
}

/* 2D Specifics */
.evo-2d .evo-card-header h3 {
    color: var(--primary-color);
}

.evo-2d .evo-card-header i {
    color: var(--primary-color);
}

.evo-features h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.evo-list {
    list-style: none;
    margin-bottom: 20px;
}

.evo-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
    padding-left: 0;
}

.evo-usage {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.evo-footer {
    text-align: center;
    margin-top: 30px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .evo-grid {
        position: relative;
        z-index: 1;
    }

    .fact-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        position: relative;
        z-index: 1;
        color: var(--secondary-color);
    }

    .fact-card p {
        font-size: 0.95rem;
        color: #666;
        position: relative;
        z-index: 1;
        line-height: 1.5;
    }

    /* Did You Know Section (Alert Style) */
    .dyk-section {
        background: white;
        border-radius: 16px;
        padding: 40px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        margin-bottom: 40px;
        border: 1px solid #f0f0f0;
    }

    .dyk-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .dyk-header i {
        font-size: 2rem;
        color: var(--primary-color);
    }

    .dyk-header h2 {
        font-size: 1.8rem;
        color: var(--primary-color);
        margin: 0;
    }

    .dyk-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .dyk-item {
        background: rgba(26, 115, 232, 0.05);
        /* Light primary color */
        border-left: 5px solid var(--primary-color);
        padding: 20px;
        border-radius: 8px;
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }

    .dyk-icon {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-top: 2px;
    }

    .dyk-content h4 {
        color: var(--secondary-color);
        margin-bottom: 5px;
        font-size: 1.1rem;
    }

    .dyk-content p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Evolution Section (Comparison Cards) */
    .evo-section {
        background: white;
        border-radius: 16px;
        padding: 40px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        margin-bottom: 60px;
        border: 1px solid #f0f0f0;
    }

    .evo-header-main {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .evo-header-main i {
        font-size: 2rem;
        color: var(--primary-color);
    }

    .evo-header-main h2 {
        font-size: 1.8rem;
        color: var(--primary-color);
        margin: 0;
    }

    .evo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .evo-card {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 25px;
        border: 1px solid #e9ecef;
    }

    .evo-card-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid #e9ecef;
    }

    .evo-card-header i {
        font-size: 1.5rem;
    }

    .evo-card-header h3 {
        font-size: 1.3rem;
        margin: 0;
    }

    /* 1D Specifics */
    .evo-1d .evo-card-header h3 {
        color: var(--secondary-color);
    }

    .evo-1d .evo-card-header i {
        color: var(--secondary-color);
    }

    /* 2D Specifics */
    .evo-2d .evo-card-header h3 {
        color: var(--primary-color);
    }

    .evo-2d .evo-card-header i {
        color: var(--primary-color);
    }

    .evo-features h4 {
        font-size: 1rem;
        color: var(--text-color);
        margin-bottom: 10px;
        font-weight: 600;
    }

    .evo-list {
        list-style: none;
        margin-bottom: 20px;
    }

    .evo-list li {
        margin-bottom: 8px;
        font-size: 0.95rem;
        color: #555;
        padding-left: 0;
    }

    .evo-usage {
        font-weight: 600;
        color: var(--secondary-color);
        font-size: 0.95rem;
    }

    .evo-footer {
        text-align: center;
        margin-top: 30px;
        font-weight: 600;
        color: var(--primary-color);
        font-size: 1.1rem;
    }

    @media (max-width: 768px) {
        .evo-grid {
            grid-template-columns: 1fr;
        }
    }

}

/* Utilities */
.mb-60 {
    margin-bottom: 60px;
}

/* News Page Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: 600;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.news-footer {
    margin-top: auto;
}

/* Featured News Styles */
.featured-news {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

@media (min-width: 769px) {
    .featured-news {
        flex-direction: row;
        align-items: stretch;
        min-height: 350px;
    }

    .featured-image-wrapper {
        flex: 1;
        width: 50%;
        position: relative;
        min-height: 350px;
    }

    .featured-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .featured-content {
        flex: 1;
        width: 50%;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .featured-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .featured-image-wrapper {
        width: 100%;
        height: 250px;
        position: relative;
    }

    .featured-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .featured-content {
        padding: 25px;
    }

    .featured-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}

.featured-title {
    color: var(--secondary-color);
    font-weight: 700;
}

.featured-excerpt {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.badgex {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 15px;
    width: fit-content;
}