/* Release Notes Section - GRCTech */

#release-notes {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1629 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #94a3b8;
}

.breadcrumb a {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #a78bfa;
}

.breadcrumb span:last-child {
    color: #e0e7ff;
    font-weight: 500;
}

#release-notes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.release-notes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header Section */
.release-notes-header {
    text-align: center;
    margin-bottom: 60px;
}

.release-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.release-notes-header h2 {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
}

.release-notes-header p {
    color: #94a3b8;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Version Card */
.version-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.version-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6 0%, #3b82f6 100%);
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Version Header */
.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 15px;
    cursor: pointer;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.version-header:hover {
    opacity: 0.8;
}

.version-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.version-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.version-emoji {
    font-size: 32px;
}

.version-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.version-date {
    color: #94a3b8;
    font-size: 14px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-icon {
    color: #8b5cf6;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.version-card.expanded .toggle-icon {
    transform: rotate(180deg);
}

/* Version Content */
.version-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.version-card.expanded .version-content {
    max-height: 10000px;
    opacity: 1;
    transition: max-height 0.8s ease-in, opacity 0.5s ease 0.2s;
    padding-top: 20px;
}

/* Version Description */
.version-description {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modules List */
.modules-list {
    margin-top: 35px;
    text-align: left;
}

.modules-list-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

/* Module Item */
.module-item {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #8b5cf6;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-align: left;
}

.module-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-left-color: #3b82f6;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.15);
}

.module-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.module-item-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.module-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

.module-item-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #8b5cf6;
}

.module-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.module-item-list li {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.8;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.module-item-list li:last-child {
    border-bottom: none;
}

.module-item-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: bold;
    font-size: 18px;
    top: 10px;
}

.module-item-list li strong {
    color: #e0e7ff;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2px;
}

/* Version Impact Section */
.version-impact {
    margin-top: 35px;
    padding: 25px 30px;
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
}

.impact-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.version-impact p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.version-impact ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.version-impact ul li {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.8;
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.version-impact ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 18px;
}

.impact-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    color: #e0e7ff;
}

/* CTA Section */
.release-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
}

.release-cta h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
}

.release-cta p {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 25px;
}

.release-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
}

/* Release Notes Banner (for GRCTech page) */
#release-notes-banner {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

#release-notes-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.release-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.release-banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6 0%, #3b82f6 100%);
    border-radius: 20px 20px 0 0;
}

.release-banner-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

.release-banner-content {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.release-banner-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.release-banner-text {
    flex: 1;
}

.release-banner-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.release-banner-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.release-banner-text p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.release-banner-action {
    flex-shrink: 0;
}

.release-notes-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.release-notes-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.release-notes-btn:hover::before {
    left: 100%;
}

.release-notes-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

.release-notes-btn i {
    transition: transform 0.3s ease;
}

.release-notes-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    #release-notes {
        padding: 60px 0;
    }

    .release-notes-header h2 {
        font-size: 32px;
    }

    .release-notes-header p {
        font-size: 16px;
    }

    .version-card {
        padding: 25px;
    }

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

    .version-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .version-number {
        font-size: 26px;
    }

    .toggle-icon {
        font-size: 18px;
    }

    .version-impact {
        padding: 20px;
    }

    .impact-title {
        font-size: 16px;
    }

    .version-impact p,
    .version-impact ul li {
        font-size: 14px;
    }

    .modules-list-title {
        font-size: 20px;
    }

    .module-item {
        padding: 20px;
    }

    .module-item-title {
        font-size: 16px;
    }

    .module-item-subtitle {
        font-size: 14px;
    }

    .module-item-list li {
        font-size: 14px;
        padding-left: 25px;
    }

    .release-cta {
        padding: 30px 20px;
    }

    .release-cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .release-notes-header h2 {
        font-size: 28px;
    }

    .version-number {
        font-size: 22px;
    }

    .version-emoji {
        font-size: 24px;
    }

    .modules-list-title {
        font-size: 18px;
    }

    .module-item {
        padding: 18px;
    }

    .module-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .module-item-icon {
        font-size: 24px;
    }

    .module-item-title {
        font-size: 15px;
    }

    .module-item-subtitle {
        font-size: 13px;
        display: block;
        margin-top: 4px;
    }

    .module-item-list li {
        font-size: 13px;
        padding-left: 22px;
    }
}

/* Banner Responsive */
@media (max-width: 992px) {
    .release-banner-container {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .release-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .release-banner-action {
        width: 100%;
    }

    .release-notes-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #release-notes-banner {
        padding: 40px 0;
    }

    .release-banner-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .release-banner-text h3 {
        font-size: 20px;
    }

    .release-banner-text p {
        font-size: 14px;
    }
}
