﻿/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: linear-gradient(180deg, #f0f4f8 0%, #e8eef5 100%);
    min-height: 100vh;
}



/* Header */
.header {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #ffb84d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-desktop {
    display: flex;
    gap: 40px;
}

    .nav-desktop a {
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        position: relative;
    }

        .nav-desktop a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #ffd700, #ffb84d);
            transition: width 0.3s ease;
        }

        .nav-desktop a:hover {
            color: #ffd700;
        }

            .nav-desktop a:hover::after {
                width: 100%;
            }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

    .mobile-menu-toggle span {
        width: 24px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

.nav-mobile {
    display: none;
    flex-direction: column;
    background: #112240;
    padding: 20px;
}

    .nav-mobile.active {
        display: flex;
    }

    .nav-mobile a {
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: color 0.3s ease;
    }

        .nav-mobile a:hover {
            color: #ffd700;
        }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a192f 0%, #112240 50%, #1a365d 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ffd700, #ffb84d);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4fd1c5, #38b2ac);
    bottom: -150px;
    left: -100px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

    .hero h1 .highlight {
        background: linear-gradient(135deg, #ffd700 0%, #ffb84d 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 32px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700 0%, #ffb84d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 4px;
}

/* Reports Section */
.reports-section {
    padding: 60px 0 80px;
}

/* Report Card */
.report-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 0;
    margin-bottom: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

    .report-card:hover {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
        transform: translateY(-4px);
    }

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0a192f, #1a365d, #4fd1c5);
}

.card-featured .card-accent {
    background: linear-gradient(90deg, #ffd700, #ff6b6b, #667eea);
}

.featured-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #ffd700, #ffb84d);
    color: #0a192f;
    padding: 8px 50px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    z-index: 10;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 0;
}

.badge-group {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-sale {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: #ffffff;
}

.badge-new {
    background: linear-gradient(135deg, #4fd1c5, #38b2ac);
    color: #ffffff;
}

.report-id {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    font-family: monospace;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
}

.card-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 24px 32px;
}

/* Report Cover */
.report-cover {
    background-image: url('/DMRIMAGE/Dmr_Book.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding: 20px;
    width: 200px;
    height: 260px;
    min-width: 200px;
    min-height: 260px;
    max-width: 200px;
    max-height: 260px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.cover-alt {
    background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);
}

.cover-gradient {
    background: linear-gradient(180deg, #e0e7ff 0%, #c7d2fe 100%);
}

.cover-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.cover-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(0, 0, 0, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.03) 0%, transparent 50%);
}

.cover-inner h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0a192f;
    line-height: 1.4;
}

.cover-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

    .cover-meta .year {
        font-size: 2.5rem;
        font-weight: 800;
        color: rgba(10, 25, 47, 0.1);
    }

.dmr-badge {
    background: #0a192f;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Report Info */
.report-info {
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
}

.report-title {
    font-size: 18px;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 12px;
    line-height: 1.4;
}

.report-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.report-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .tag:hover {
        background: #e2e8f0;
    }

.report-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
}

.meta-icon {
    font-size: 1rem;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
}

.pricing-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-old {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.price-current {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0a192f;
}

.price-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.discount-badge {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.license-type {
    font-size: 0.85rem;
    color: #64748b;
}

.action-group {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline {
    background: #ffffff;
    color: #0a192f;
    border: 2px solid #e2e8f0;
}

    .btn-outline:hover {
        border-color: #0a192f;
        background: #f8fafc;
    }

.btn-primary {
    background: linear-gradient(135deg, #0a192f 0%, #1a365d 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(10, 25, 47, 0.2);
}

    .btn-primary:hover {
        box-shadow: 0 8px 24px rgba(10, 25, 47, 0.3);
        transform: translateY(-2px);
    }

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    padding: 50px 0;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-stats {
        width: 100%;
        justify-content: center;
    }

    .card-body {
        grid-template-columns: 180px 1fr;
        gap: 24px;
    }

    .card-footer {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .pricing-block {
        text-align: center;
    }

    .price-main,
    .price-details {
        justify-content: center;
    }

    .action-group {
        justify-content: center;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 50px 0;
    }

        .hero h1 {
            font-size: 2rem;
        }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .stat-item {
        flex-direction: row;
        gap: 12px;
    }

    .card-body {
        grid-template-columns: 1fr;
    }

    .report-cover {
        max-width: 220px;
        margin: 0 auto;
    }

    .card-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 20px 20px 0;
    }

    .card-body {
        padding: 20px;
    }

    .card-footer {
        padding: 20px;
    }

    .action-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        justify-content: center;
    }

    .featured-ribbon {
        display: none;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .report-title {
        font-size: 1.15rem;
    }

    .report-desc {
        font-size: 0.9rem;
    }

    .report-meta-grid {
        gap: 16px;
    }

    .price-current {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}
