@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* Font Definitions */
@font-face {
    font-family: 'TeleNeo Office';
    src: url('fonts/T_teleneo_v1_8/T_teleneo_v1_8/Office (TTF) 1.8/TeleNeoOffice-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'TeleNeo Office';
    src: url('fonts/T_teleneo_v1_8/T_teleneo_v1_8/Office (TTF) 1.8/TeleNeoOffice-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'TeleNeo Office';
    src: url('fonts/T_teleneo_v1_8/T_teleneo_v1_8/Office (TTF) 1.8/TeleNeoOffice-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'TeleNeo Office';
    src: url('fonts/T_teleneo_v1_8/T_teleneo_v1_8/Office (TTF) 1.8/TeleNeoOffice-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'TeleNeo Office', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #262626;
    background-color: #ffffff;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background-color: #ffffff;
    color: #262626;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 72px;
    height: auto;
}

.header .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 24px;
    min-height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 16px;
    height: 100%;
}

.logo img {
    height: auto;
    max-height: 120px;
    width: auto;
    display: block;
}

.logo-text {

    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #e20074;
}

/* Header Navigation Hover */
.header .nav a:hover {
    color: #e20074 !important;
    border-bottom-color: #e20074 !important;
}

/* Secondary Header */
.secondary-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 64px;
    z-index: 99;
}

.secondary-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav {
    display: flex;
    gap: 40px;
    padding: 14px 0;
}

.nav a {
    color: #404040;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 8px 0;
}

.nav a:hover {
    color: #e20074;
}

.nav a.active {
    color: #e20074;
    border-bottom: 2px solid #e20074;
    padding-bottom: 6px;
}

.nav a.external-link::after {
    content: '\e89e';
    font-family: 'Material Icons';
    font-size: 18px;
    margin-left: 4px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

/* Main Layout */
.main-container {
    display: grid;
    grid-template-columns: 20% 1fr 20%;
    gap: 0;
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
    background-color: #ffffff;
}

/* Sidebar */
.sidebar {
    background-color: #ffffff;
    padding: 24px 16px;
    border-radius: 0;
    box-shadow: none;
    border-right: 1px solid #e5e5e5;
    height: calc(100vh - 120px);
    position: sticky;
    top: 120px;
    overflow-y: auto;
    max-height: 100%;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.15s ease;
    user-select: none;
}

.sidebar-section h3:hover {
    background-color: #f5f5f5;
}

.sidebar-section h3::after {
    content: '▼';
    font-size: 18px;
    transition: transform 0.2s ease;
    color: #a3a3a3;
}

.sidebar-section.collapsed h3::after {
    transform: rotate(-90deg);
}

.sidebar-section.header-only h3 {
    cursor: default;
    pointer-events: none;
}

.sidebar-section.header-only h3::after {
    display: none;
}

.sidebar-section.header-only h3:hover {
    background-color: transparent;
}

.sidebar-section ul {
    list-style: none;
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
    margin-top: 12px;
    opacity: 1;
}

.sidebar-section.collapsed ul {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
}

.sidebar-section li {
    margin-bottom: 4px;
}

.sidebar-section a {
    color: #404040;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.15s ease;
    line-height: 1.5;
}

.sidebar-section a:hover {
    background-color: #f5f5f5;
    color: #262626;
}

.sidebar-section a.active {
    background-color: #e2007530;
    color: #404040;
    font-weight: 400;
}

/* Nested submenus in sidebar */
.sidebar-section .submenu {
    list-style: none;
    margin-left: 12px;
    margin-top: 4px;
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.sidebar-section .submenu li {
    margin-bottom: 2px;
}

.sidebar-section .submenu a {
    font-size: 18px;
    padding: 6px 12px;
    color: #404040;
    font-weight: 400;
}

.sidebar-section .submenu.level-3 {
    margin-left: 12px;
}

.sidebar-section .submenu.level-3 a {
    font-size: 18px;
    color: #525252;
}

.submenu-parent > a {
    font-weight: 400;
    font-size: 18px;
    position: relative;
    padding-right: 24px;
}

.submenu-parent > a::after {
    content: '\e5cf';
    font-family: 'Material Icons';
    position: absolute;
    right: 12px;
    font-size: 20px;
    transition: transform 0.2s ease;
    color: #a3a3a3;
}

.submenu-parent.collapsed > a::after {
    transform: rotate(-90deg);
}

.submenu-parent.collapsed > .submenu {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
}

/* Main Content */
.content {
    background-color: #ffffff;
    padding: 48px 56px;
    border-radius: 0;
    box-shadow: none;
}

.breadcrumb {
    font-size: 18px;
    color: #737373;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #e20074;
    text-decoration: none;
    transition: color 0.15s;
}

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

.page-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #171717;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Intro Section */
.intro-section {
    margin-bottom: 56px;
}

.intro-text {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #262626;
    font-weight: 400;
}

.intro-section p {
    margin-bottom: 16px;
    font-size: 18px;
    color: #525252;
    line-height: 1.7;
}

/* Documentation Section */
.documentation-section,
.content-section {
    margin-bottom: 64px;
}

.documentation-section h2,
.content-section h2,
.examples-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #171717;
    letter-spacing: -0.01em;
}

.section-intro {
    font-size: 18px;
    color: #525252;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.doc-card {
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
}

.doc-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #171717;
    letter-spacing: -0.01em;
}

.doc-card p {
    font-size: 16px;
    color: #525252;
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    color: #e20074;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.15s;
}

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

/* Examples Section */
.examples-section {
    margin-bottom: 56px;
}

.video-container {
    margin: 32px 0;
}

.video-placeholder {
    background: linear-gradient(135deg, #e20074 0%, #b8005a 100%);
    border-radius: 8px;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.play-button {
    width: 72px;
    height: 72px;
    background-color: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.play-button:hover {
    background-color: rgba(255,255,255,0.4);
    transform: scale(1.08);
}

.video-placeholder p {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 500;
}

/* Use Cases */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.use-case {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.use-case:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #d4d4d4;
}

.use-case img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.use-case h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 24px 12px 24px;
    color: #171717;
    letter-spacing: -0.01em;
}

.use-case p {
    font-size: 14px;
    color: #525252;
    line-height: 1.7;
    padding: 0 24px 24px 24px;
}

/* Table of Contents */
.toc {
    background-color: #ffffff;
    padding: 24px 20px;
    border-radius: 0;
    box-shadow: none;
    border-left: 1px solid #e5e5e5;
    height: calc(100vh - 120px);
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
}

.toc-section {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 0;
    padding-right: 4px; /* Space for scrollbar */
}

.toc-section::-webkit-scrollbar {
    width: 4px;
}

.toc-section::-webkit-scrollbar-thumb {
    background-color: #e5e5e5;
    border-radius: 4px;
}

.toc-section:last-child {
    margin-bottom: 0;
}

.toc h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.toc-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin-bottom: 8px;
}

.toc a {
    color: #404040;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.15s;
    line-height: 1.5;
}

.toc a:hover {
    color: #e20074;
}

/* Placeholder Pages */
.placeholder-layout {
    grid-template-columns: 1fr;
    max-width: 960px;
}

.placeholder-content {
    text-align: center;
}

.placeholder-message {
    padding: 64px 48px;
    background: linear-gradient(135deg, #fafafa 0%, #e5e5e5 100%);
    border-radius: 8px;
    margin: 48px 0;
    border: 1px solid #e5e5e5;
}

.placeholder-icon {
    font-size: 72px;
    margin-bottom: 24px;
}

.placeholder-message h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #171717;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.placeholder-message p {
    font-size: 16px;
    color: #525252;
    margin-bottom: 12px;
    line-height: 1.6;
}

.placeholder-note {
    font-style: italic;
    color: #737373;
    margin-top: 24px;
    font-size: 14px;
}

.placeholder-features {
    text-align: left;
    background-color: #fafafa;
    padding: 32px;
    border-radius: 8px;
    margin-top: 32px;
    border: 1px solid #e5e5e5;
}

.placeholder-features h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #171717;
    font-weight: 600;
}

.placeholder-features ul {
    list-style: none;
    padding-left: 0;
}

.placeholder-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: #525252;
    line-height: 1.6;
}

.placeholder-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #e20074;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #262626;
    color: #fff;
    padding: 48px 0 24px;
    margin-top: auto; /* Pushes footer to bottom if content is short */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-column h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: #e20074; /* Magenta hover */
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* Responsive Design */

/* Tablet and smaller desktop (1200px and below) */
@media (max-width: 1200px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 100%;
    }

    .toc {
        display: none;
    }

    .logo img {
        max-height: 100px;
    }

    .logo-text {
        font-size: 20px;
    }

    .sidebar {
        position: relative;
        top: 0;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 20px 24px;
        max-height: none;
        overflow-y: visible;
    }

    .sidebar-section h3 {
        font-size: 17px;
        padding: 10px 12px;
    }

    .sidebar-section a {
        font-size: 17px;
        padding: 8px 12px;
    }

    .content {
        padding: 40px 48px;
    }

    .page-title {
        font-size: 36px;
    }

    /* Ensure tables are scrollable */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 100%;
    }

    .sidebar {
        position: relative;
        top: 0;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 16px 20px;
        max-height: none;
        overflow-y: visible;
    }

    .sidebar-section h3 {
        font-size: 16px;
        padding: 10px 12px;
    }

    .sidebar-section a {
        font-size: 16px;
        padding: 7px 12px;
    }

    .content {
        padding: 32px 40px;
    }

    .nav {
        gap: 24px;
    }

    .nav a {
        font-size: 16px;
    }

    .page-title {
        font-size: 32px;
    }

    .intro-text {
        font-size: 19px;
    }

    /* Ensure tables are scrollable */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile landscape and smaller tablets (768px and below) */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .main-container {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 100%;
    }

    .header {
        padding: 0;
        min-height: 64px;
    }

    .header .container {
        grid-template-columns: 1fr;
        justify-content: center;
        padding: 12px 16px;
        min-height: 64px;
    }

    .logo {
        justify-content: center;
        gap: 12px;
    }

    .logo img {
        max-height: 80px;
    }

    .logo-text {
        font-size: 18px;
    }

    /* Hide secondary navigation on mobile */
    .secondary-header {
        display: none;
    }

    /* Sidebar becomes collapsible on mobile */
    .sidebar {
        position: relative;
        top: 0;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 16px;
        max-height: none;
        overflow-y: visible;
    }

    .sidebar-section h3 {
        font-size: 16px;
        padding: 12px;
    }

    .sidebar-section a {
        font-size: 16px;
        padding: 8px 12px;
    }

    /* Main content adjustments */
    .content {
        padding: 24px 20px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .intro-text {
        font-size: 18px;
    }

    .intro-section p {
        font-size: 16px;
    }

    .documentation-section h2,
    .content-section h2,
    .examples-section h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .documentation-section h3,
    .content-section h3 {
        font-size: 20px;
    }

    /* Cards grid - single column on mobile */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }

    .doc-card {
        padding: 20px;
    }

    .doc-card h3 {
        font-size: 18px;
    }

    .doc-card p {
        font-size: 15px;
    }

    /* Use cases - single column */
    .use-cases {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Feature grid - single column */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Tables - allow horizontal scroll */
    .tech-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 14px;
    }

    .tech-table th,
    .tech-table td {
        padding: 10px 12px;
        white-space: nowrap;
    }

    /* Footer adjustments */
    .footer {
        padding: 32px 0 20px;
    }

    .footer-content {
        padding: 0 20px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-bottom {
        font-size: 11px;
        padding-top: 20px;
    }

    /* Related Information section - stack cards on mobile */
    .related-info-section {
        margin: 40px 0 -20px 0 !important;
        padding: 32px 20px 24px 20px !important;
        border-radius: 12px !important;
    }

    .related-info-section h2 {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }

    .related-info-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .related-info-card {
        padding: 20px !important;
    }

    .related-info-card h3 {
        font-size: 18px !important;
    }

    .related-info-card p {
        font-size: 15px !important;
    }

    /* Code blocks */
    pre {
        padding: 12px;
        font-size: 13px;
        overflow-x: auto;
    }

    .code-block-container {
        margin: 16px 0;
    }
}

/* Mobile portrait (480px and below) */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .header {
        min-height: 60px;
    }

    .header .container {
        padding: 10px 12px;
        min-height: 60px;
    }

    .logo img {
        max-height: 60px;
    }

    .logo-text {
        font-size: 16px;
    }

    .sidebar {
        padding: 12px;
    }

    .sidebar-section h3 {
        font-size: 15px;
        padding: 10px;
    }

    .sidebar-section a {
        font-size: 15px;
        padding: 7px 10px;
    }

    .content {
        padding: 20px 16px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .intro-text {
        font-size: 16px;
    }

    .intro-section p {
        font-size: 15px;
    }

    .documentation-section h2,
    .content-section h2,
    .examples-section h2 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .documentation-section h3,
    .content-section h3 {
        font-size: 18px;
    }

    .section-intro {
        font-size: 15px;
    }

    .cards-grid {
        gap: 14px;
        margin-top: 20px;
    }

    .doc-card {
        padding: 16px;
    }

    .doc-card h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .doc-card p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .card-link {
        font-size: 14px;
    }

    .use-cases {
        gap: 16px;
    }

    .use-case h3 {
        font-size: 18px;
        margin: 20px 20px 10px 20px;
    }

    .use-case p {
        font-size: 13px;
        padding: 0 20px 20px 20px;
    }

    .feature-grid {
        gap: 14px;
    }

    .feature-card {
        padding: 18px;
    }

    .feature-card h4 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .feature-card li {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .tech-table {
        font-size: 13px;
    }

    .tech-table th,
    .tech-table td {
        padding: 8px 10px;
    }

    .footer {
        padding: 28px 0 16px;
    }

    .footer-content {
        padding: 0 16px;
    }

    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .footer-column ul li a {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 10px;
        padding-top: 16px;
    }

    /* Related Information section - more compact on small mobile */
    .related-info-section {
        margin: 32px 0 -20px 0 !important;
        padding: 24px 16px 20px 16px !important;
        border-radius: 10px !important;
    }

    .related-info-section h2 {
        font-size: 22px !important;
        margin-bottom: 16px !important;
    }

    .related-info-grid {
        gap: 14px !important;
    }

    .related-info-card {
        padding: 16px !important;
    }

    .related-info-card h3 {
        font-size: 17px !important;
        margin-bottom: 8px !important;
    }

    .related-info-card p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* Code blocks - smaller on mobile */
    pre {
        padding: 10px;
        font-size: 12px;
    }

    .code-block-header {
        padding: 6px 12px;
    }

    .copy-button {
        padding: 3px 10px;
        font-size: 11px;
    }

    /* Touch-friendly minimum tap targets */
    .nav a,
    .sidebar-section a,
    .card-link,
    .copy-button,
    button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Very small mobile devices (360px and below) */
@media (max-width: 360px) {
    .logo-text {
        font-size: 14px;
    }

    .page-title {
        font-size: 22px;
    }

    .content {
        padding: 16px 12px;
    }

    .related-info-section {
        padding: 20px 12px 16px 12px !important;
    }

    .related-info-section h2 {
        font-size: 20px !important;
    }

    .related-info-card {
        padding: 14px !important;
    }
}

/* Code Blocks & Copy Button */
.code-block-container {
    position: relative;
    margin: 24px 0;
    background-color: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.code-block-header {
    display: flex;
    justify-content: flex-end;
    padding: 8px 16px;
    background-color: #fafafa;
    border-bottom: 1px solid #e5e5e5;
}

.copy-button {
    background: none;
    border: 1px solid #d4d4d4;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #525252;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copy-button:hover {
    background-color: #ffffff;
    border-color: #a3a3a3;
    color: #262626;
}

.copy-button i {
    font-size: 14px;
}

pre {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #262626;
}

code {
    font-family: inherit;
}

/* Inline code styling */
p code, li code, td code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    color: #e20074;
}

/* Feature Grid (Non-clickable cards) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.feature-card {
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #171717;
}

.feature-card ul {
    margin: 0;
    padding-left: 20px;
}

.feature-card li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #525252;
}

/* Tech Table */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 16px;
}

.tech-table th,
.tech-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.tech-table th {
    background-color: #fafafa;
    font-weight: 600;
    color: #171717;
    border-top: 1px solid #e5e5e5;
}

.tech-table tr:last-child td {
    border-bottom: none;
}

.tech-table code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    color: #e20074;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}


