/* ===== DCMB Bot Website Styles ===== */
/* Modern dark blue/purple theme with smooth animations */

/* CSS Variables */
:root {
    --primary: #5865F2;
    --primary-dark: #4752C4;
    --secondary: #7289DA;
    --accent: #9B59B6;
    --bg-dark: #0F0F23;
    --bg-darker: #080814;
    --bg-card: #1a1a2e;
    --bg-card-hover: #232342;
    --text-primary: #ffffff;
    --text-secondary: #b9bbbe;
    --text-muted: #72767d;
    --success: #43B581;
    --warning: #FAA61A;
    --danger: #F04747;
    --discord: #5865F2;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #5865F2 0%, #9B59B6 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(88, 101, 242, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.logo-img:hover {
    transform: rotate(360deg) scale(1.1);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.cta-button {
    background: var(--gradient-primary);
    color: white;
    padding: 0.6rem 1.5rem;
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: 0 0 40px rgba(88, 101, 242, 0.6);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.8rem 1.5rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-discord {
    background: var(--discord);
    color: white;
}

.btn-discord:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-right: 3px solid var(--text-muted);
    border-bottom: 3px solid var(--text-muted);
    transform: rotate(45deg);
}

/* ===== ANIMATIONS ===== */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 0.8s ease-out 0.6s backwards;
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

/* ===== SCREENSHOTS SECTION ===== */
.screenshots {
    background: var(--bg-dark);
}

.screenshot-carousel {
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-card);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.slide-caption {
    text-align: center;
    padding: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(88, 101, 242, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

/* ===== NEWS SECTION ===== */
.news {
    background: var(--bg-darker);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.news-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* ===== DISCORD CTA SECTION ===== */
.discord-cta {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(155, 89, 182, 0.2) 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.cta-stat {
    display: flex;
    flex-direction: column;
}

.cta-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.cta-stat-label {
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a img {
    width: 30px;
    height: 30px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-social a:hover img {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

/* ===== FEATURES DETAIL PAGE ===== */
.features-detail {
    background: var(--bg-dark);
}

.feature-detail-section {
    margin-bottom: 5rem;
}

.feature-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-detail-section.reverse .feature-detail-content {
    direction: rtl;
}

.feature-detail-section.reverse .feature-detail-text {
    direction: ltr;
}

.feature-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-detail-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
}

.feature-detail-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.feature-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.additional-features {
    text-align: center;
    padding: 3rem 0;
}

.additional-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.additional-feature {
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.additional-feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.additional-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.additional-feature h4 {
    margin-bottom: 0.5rem;
}

.additional-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 16px;
    margin-top: 3rem;
}

.feature-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== DOCS PAGE ===== */
.docs-section {
    background: var(--bg-dark);
    padding-top: 50px;
}

.docs-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-nav h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.docs-nav ul {
    list-style: none;
}

.docs-nav ul li {
    margin-bottom: 0.5rem;
}

.docs-link {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
}

.docs-link:hover,
.docs-link.active {
    background: var(--primary);
    color: white;
}

.docs-content {
    max-width: 800px;
}

.docs-block {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-block:last-child {
    border-bottom: none;
}

.docs-block h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.docs-block h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.step-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.permission-list {
    list-style: none;
    padding-left: 1rem;
}

.permission-list li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

.info-box,
.warning-box {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.info-box {
    background: rgba(88, 101, 242, 0.1);
    border-left: 4px solid var(--primary);
}

.warning-box {
    background: rgba(250, 166, 26, 0.1);
    border-left: 4px solid var(--warning);
}

code {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary);
}

.command-category {
    margin-bottom: 3rem;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.command-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.command-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.command-header {
    margin-bottom: 1rem;
}

.command-header code {
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
}

.command-usage {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.setup-steps {
    padding-left: 1.5rem;
}

.setup-steps li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.config-table {
    overflow-x: auto;
    margin: 1rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

thead {
    background: rgba(88, 101, 242, 0.2);
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    font-weight: 600;
}

tr:last-child td {
    border-bottom: none;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.color-swatch {
    width: 100px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow);
    font-size: 0.9rem;
}

.permission-explanation ul {
    padding-left: 2rem;
}

.permission-explanation li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.docs-cta {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 3rem;
}

.docs-cta h2 {
    margin-bottom: 1rem;
}

.docs-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }
    
    .docs-sidebar {
        position: static;
    }
    
    .feature-detail-content {
        grid-template-columns: 1fr;
    }
    
    .feature-detail-section.reverse .feature-detail-content {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--bg-darker);
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .news-modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* ===== News Modal ===== */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.news-modal.active {
    display: flex;
}

.news-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.news-modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
    z-index: 10000;
}

.news-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

.news-modal-close:hover {
    background: var(--danger);
    transform: rotate(90deg);
}

.news-modal-header {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.news-modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-header .news-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.4);
}

.news-modal-body {
    padding: 2.5rem;
}

.news-modal-body .news-date {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-modal-body h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.news-full-content {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-full-content h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.news-full-content p {
    margin-bottom: 1.5rem;
}

.news-full-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news-full-content li {
    margin-bottom: 0.75rem;
    position: relative;
}

.news-full-content li::marker {
    color: var(--accent);
}

.news-full-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.news-full-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.news-full-content a:hover {
    border-bottom-color: var(--primary);
}

.modal-link-text {
    display: block;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(88, 101, 242, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
}

.modal-link-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.modal-link-text a:hover {
    border-bottom-color: var(--primary);
}

.modal-link-text a::after {
    content: ' →';
    display: inline-block;
    transition: var(--transition);
}

.modal-link-text a:hover::after {
    transform: translateX(5px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .news-modal-header {
        height: 250px;
    }
    
    .news-modal-body {
        padding: 1.5rem;
    }
    
    .news-modal-body h2 {
        font-size: 1.8rem;
    }
}
