:root {
    /* Techno AI Theme Colors */
    --bg-base: #080220;
    --bg-surface: #0a0428;
    --bg-surface-elevated: #150a38;
    --bg-acrylic: rgba(8, 2, 32, 0.85);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-primary: #6766ff;
    --accent-primary-hover: #5655d4;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(103, 102, 255, 0.4);

    /* Typography */
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 40px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    text-transform: capitalize;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
    font-weight: 400;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-acrylic);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-img.small {
    height: 24px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-surface-elevated);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-item-dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-content a {
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: all 0.2s;
}

.dropdown-content a:hover {
    background-color: rgba(103, 102, 255, 0.1);
    color: var(--accent-primary);
    padding-left: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.nav-actions {
    display: flex;
    gap: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #ffffff;
    border-radius: 30px;
    padding: 8px 24px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 10px 20px rgba(103, 102, 255, 0.3);
}

.btn-primary:hover {
    background-color: #ffffff;
    color: var(--accent-primary);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-primary);
    color: #ffffff;
    border-radius: 40px;
    padding: 8px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: #ffffff;
}

.btn-text {
    background-color: transparent;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-text:hover {
    color: var(--accent-primary);
}

.btn-large {
    padding: 16px 45px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 2rem 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    background-image: url('images/banner-bg-1.png');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: 5%;
}

.hero p {
    font-size: 1.25rem;
    max-width: 550px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-images {
    position: relative;
    width: 50%;
    height: 600px;
}

.hero-thumb {
    position: absolute;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.hero-thumb-1 {
    top: 1%;
    right: 0;
    width: 490px;
    z-index: 1;
    animation-delay: 0s;
}

.hero-thumb-2 {
    top: 45%;
    right: 56%;
    width: 450px;
    z-index: 3;
    animation-delay: 1.0s;
}

.hero-thumb-3 {
    top: 10%;
    right: 55%;
    width: 350px;
    z-index: 2;
    animation-delay: 3s;
}

.hero-thumb-4 {
    top: 25%;
    right: 50px;
    width: 650px;
    z-index: 4;
    animation-delay: 3.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sections */
.section {
    padding: var(--space-xl) 2rem;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--accent-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

/* Techno Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fluent-card {
    background: var(--bg-base);
    border-radius: var(--radius-lg);
    padding: 59px 40px 48px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease;
}

.fluent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(91.06deg, rgb(103, 102, 255) 6.82%, rgba(103, 102, 255, 0.2) 37.09%, rgba(103, 102, 255, 0.2) 67.36%, rgb(103, 102, 255) 96.43%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.fluent-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(103, 102, 255, 0.1);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.card-link:hover {
    color: #ffffff;
}

/* Split Layouts (Image + Text) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-image img {
    width: 100%;
    border-radius: var(--radius-md);
    animation: float 5s ease-in-out infinite;
}

.feature-list {
    list-style: none;
    margin-top: 2.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-bullet {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-list strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

/* Contact Section */
.contact-section {
    background: var(--bg-surface);
}

.contact-card {
    background: var(--bg-base);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, rgba(103, 102, 255, 0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.fluent-form .form-group {
    margin-bottom: 1.5rem;
}

.fluent-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.fluent-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.fluent-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.fluent-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(103, 102, 255, 0.05);
}

textarea.fluent-input {
    border-radius: 20px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 2rem 2rem;
    background: var(--bg-base);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.link-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.link-column a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 10rem;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-images {
        width: 100%;
        margin-top: 4rem;
        height: 400px;
    }

    .hero-thumb-1,
    .hero-thumb-2,
    .hero-thumb-3,
    .hero-thumb-4 {
        position: relative;
        width: 80%;
        margin: 0 auto;
        display: block;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

    .hero-thumb-2,
    .hero-thumb-3,
    .hero-thumb-4 {
        display: none;
    }

    .split-layout,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .fluent-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 2rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.pricing-card {
    background: rgba(14, 14, 16, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-card .desc {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    min-height: 55px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-size: 1rem;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%236766ff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.pricing-card.premium-wrapper {
    background: linear-gradient(135deg, var(--accent-primary) 0%, rgba(103, 102, 255, 0.2) 100%);
    padding: 2px;
    border-radius: var(--radius-md);
    box-shadow: 0 0 40px rgba(103, 102, 255, 0.4);
    border: none;
}

.pricing-card.premium-wrapper .pricing-card-inner {
    background: #0a0428;
    border-radius: calc(var(--radius-md) - 2px);
    padding: 3rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card .btn-block {
    width: 100%;
    margin-top: auto;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* API Documentation Styles */
.api-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.api-sidebar {
    position: sticky;
    top: 100px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.api-sidebar h4 {
    font-size: 1.1rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.api-nav-list {
    list-style: none;
}

.api-nav-item {
    margin-bottom: 0.25rem;
}

.api-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.api-nav-link:hover,
.api-nav-link.active {
    background: rgba(103, 102, 255, 0.15);
    color: var(--text-primary);
    padding-left: 1rem;
}

.api-nav-link.active {
    border-left: 3px solid var(--accent-primary);
    color: var(--accent-primary);
    font-weight: 600;
}

.api-main {
    min-width: 0;
}

.api-article {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 3rem;
}

.doc-section {
    margin-bottom: 4rem;
    scroll-margin-top: 120px;
}

.doc-section h2 {
    font-size: 2.25rem;
    color: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.doc-section h3 {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.doc-section p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.doc-badge-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.825rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-net {
    background: rgba(120, 80, 240, 0.2);
    color: #a87ffb;
    border: 1px solid rgba(120, 80, 240, 0.4);
}

.badge-wpf {
    background: rgba(0, 160, 230, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(0, 160, 230, 0.4);
}

.badge-pro {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.4);
}

.badge-free {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.badge-alc {
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.4);
}

.code-box {
    background: #050114;
    border: 1px solid rgba(103, 102, 255, 0.25);
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    overflow: hidden;
}

.code-header {
    background: #0d0628;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.code-header .lang-tag {
    color: var(--accent-primary);
    font-weight: bold;
}

.code-copy-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.code-copy-btn:hover {
    color: #fff;
    border-color: var(--accent-primary);
    background: rgba(103, 102, 255, 0.2);
}

.code-box pre {
    padding: 1.25rem;
    overflow-x: auto;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.925rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.code-box code {
    font-family: inherit;
}

/* Inline Code */
:not(pre)>code {
    background: rgba(103, 102, 255, 0.15);
    color: #a5b4fc;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.9em;
    border: 1px solid rgba(103, 102, 255, 0.2);
}

/* Data Tables */
.doc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.doc-table th,
.doc-table td {
    padding: 0.9rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.doc-table th {
    background: rgba(103, 102, 255, 0.1);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Callouts */
.callout {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    border-left: 4px solid;
    background: rgba(255, 255, 255, 0.02);
}

.callout-info {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.06);
}

.callout-tip {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.06);
}

.callout-warning {
    border-color: #facc15;
    background: rgba(250, 204, 21, 0.06);
}

.callout-important {
    border-color: #f43f5e;
    background: rgba(244, 63, 94, 0.06);
}

.callout-title {
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.callout-info .callout-title {
    color: #38bdf8;
}

.callout-tip .callout-title {
    color: #4ade80;
}

.callout-warning .callout-title {
    color: #facc15;
}

.callout-important .callout-title {
    color: #f43f5e;
}

/* Mermaid & Visual Diagram Cards */
.mermaid-diagram-card {
    background: #090d16;
    border: 1px solid rgba(103, 102, 255, 0.3);
    border-radius: var(--radius-md);
    margin: 2rem 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mermaid-header {
    background: #0f1524;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    font-family: var(--font-heading);
    font-size: 0.85rem;
}

.mermaid-header .lang-tag {
    color: #38bdf8;
    font-weight: bold;
    letter-spacing: 1px;
}

.mermaid-body {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(103, 102, 255, 0.05) 0%, rgba(5, 8, 15, 0.8) 100%);
    overflow-x: auto;
}

.mermaid-body svg {
    max-width: 100% !important;
    height: auto !important;
}

.ascii-diagram-card {
    background: #050811;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-md);
    margin: 2rem 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ascii-diagram-card pre {
    padding: 1.5rem;
    overflow-x: auto;
    font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #38bdf8;
}

/* Software Download Page Styles */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.download-item {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.download-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-primary);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.download-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 10px 30px rgba(103, 102, 255, 0.15);
}

.download-item:hover::before {
    opacity: 1;
}

.dl-info {
    flex: 1;
}

.dl-info h2 {
    font-size: 1.75rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dl-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.dl-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.dl-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
}