@font-face {
    font-family: 'Departure Mono';
    src: url('departuremono.otf') format('opentype');
}

@font-face {
    font-family: 'Inter';
    src: url('https://fonts.gstatic.com/s/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2') format('woff2');
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;  /* Prevent horizontal scrolling */
    background: #080808;
}

body {
    background: linear-gradient(
        135deg,
        #080808 0%,
        #080808 20%,
        #0A0A0A 40%,
        #0A0A0A 50%,
        #0A0A0A 60%,
        #080808 80%,
        #080808 100%
    );
    background-size: 100% 200%;
    background-position: center;
    color: #fff;
    font-family: 'Departure Mono', monospace;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0) }
    10% { transform: translate(-2%, -2%) }
    20% { transform: translate(2%, 2%) }
    30% { transform: translate(-1%, 1%) }
    40% { transform: translate(1%, -1%) }
    50% { transform: translate(-2%, 2%) }
    60% { transform: translate(2%, -2%) }
    70% { transform: translate(-1%, -1%) }
    80% { transform: translate(1%, 1%) }
    90% { transform: translate(-2%, 1%) }
}

@keyframes pulse {
    0%, 100% { opacity: 0.55 }
    50% { opacity: 0.65 }
}

/* Add grainy background effect */
body:before {
    content: "";
    position: fixed;
    top: -150%;
    left: -150%;
    width: 400%;
    height: 400%;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.2 0'/%3E%3CfeBlend mode='screen'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    animation: grain 8s steps(10) infinite;
    opacity: 0.35;
}

/* Add a radial gradient overlay for extra depth */
body:after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(12, 12, 12, 0.95) 0%,
        rgba(12, 12, 12, 0.9) 20%,
        rgba(12, 12, 12, 0.8) 40%,
        rgba(12, 12, 12, 0.4) 60%,
        rgba(12, 12, 12, 0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(32, 32, 32, .8);
    background: linear-gradient(
        to bottom,
        rgba(8, 8, 8, 0.95) 0%,
        rgba(8, 8, 8, 0.8) 50%,
        rgba(8, 8, 8, 0) 100%
    );
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

.logo img {
    height: 24px;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.auth-buttons button {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.auth-buttons button svg {
    width: 16px;
    height: 16px;
}

.auth-buttons .sign-in {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    margin-right: 8px;
}

.auth-buttons .sign-in:hover {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
}

.auth-buttons .sign-in svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    width: 14px;
    height: 14px;
}

.auth-buttons .sign-up {
    background-color: transparent;
    border: 1px solid #f6821f;
    color: #f6821f;
    position: relative;
    overflow: visible;
    height: 38px;
}

.auth-buttons .sign-up:hover {
    background: rgba(246, 130, 31, 0.1);
    border-color: #f6821f;
}

.auth-buttons .sign-up:hover svg {
    filter: drop-shadow(0 0 8px rgba(246, 130, 31, 0.6));
    transform: scale(1.02);
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 0 0 rgba(246, 130, 31, 0.4); }
    70% { box-shadow: 0 0 12px 6px rgba(246, 130, 31, 0); }
    100% { box-shadow: 0 0 0 0 rgba(246, 130, 31, 0); }
}

.auth-buttons .sign-up:hover {
    animation: glowPulse 2s infinite;
}

.auth-buttons .sign-up svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* Remove the old gradient overlay */
.auth-buttons .sign-up::before {
    display: none;
}

.main-content {
    margin-top: 100px;
    padding: 3rem;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 100;
    box-sizing: border-box;  /* Ensure padding is included in width */
    width: 100%;  /* Ensure full width */
}

.breadcrumb {
    display: inline;
    background: rgba(98, 98, 98, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 999px;
    padding: 6px 20px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    font-family: 'Departure Mono', monospace;
}

h1 {
    font-size: 56px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -1px;
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
}

.description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3.5rem;
    max-width: 700px;
    line-height: 1.6;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* Remove controls styles */
.controls {
    display: none;
}

/* Remove write button styles */
.write-button,
.write-button:hover,
.write-button:disabled {
    display: none;
}

/* Remove last write styles */
.last-write {
    display: none;
}

/* Remove mobile globe styles */
.mobile-globe {
    display: none;
}

table {
    max-width: 700px;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.85rem;
    table-layout: fixed;
    margin-top: 80px;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    color: #888;
    font-weight: normal;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    font-size: 16px;
    font-family: 'Departure Mono', monospace;
}

.title-col {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    font-family: 'Inter', sans-serif !important;
}

.normal-col {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

/* Column widths */
th:nth-child(1), td:nth-child(1) { width: 30%; }
th:nth-child(2), td:nth-child(2) { width: 15%; }
th:nth-child(3), td:nth-child(3) { width: 20%; }
th:nth-child(4), td:nth-child(4) { width: 20%; }
th:nth-child(5), td:nth-child(5) { width: 15%; }

.latency-good {
    color: #00cc66;
}

.latency-medium, .latency-poor {
    color: rgba(255, 255, 255, 0.9);
}

.region-code {
    color: white;
}

.flip-number {
    display: inline-flex;
    gap: 1px;
    padding: 2px 4px;
    border-radius: 3px;
}

.flip-digit {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.flip-digit::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    z-index: 2;
}

.flip-digit.updating {
    animation: flipUpdate 0.6s ease-in-out;
}

@keyframes flipUpdate {
    0% { transform: rotateX(0); }
    50% { transform: rotateX(90deg); }
    100% { transform: rotateX(0); }
}

#globe-container {
    display: none;
}

.regions-grid {
    display: none;
}

/* Add subtle hover effect on table rows */
tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.hero-section {
    max-width: 700px;
    margin: 4rem 0;
    position: relative;
    z-index: 100;
}

.content-layout {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
    position: relative;
    max-width: 100%;
    z-index: 100;
}

.regions-list {
    flex: 1;
    max-width: 800px;
    margin-right: 400px;
    position: relative;
    z-index: 100;
}

.globe-container {
    position: fixed;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    pointer-events: none;
}

.globe-container pre {
    font-size: 8px;
    line-height: 8px;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.69);
    white-space: pre;
    font-family: monospace;
    transform: scale(1.2);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: grab;
    pointer-events: auto;
    position: relative;
    z-index: -1;
}

.globe-container pre:active {
    cursor: grabbing;
}

.globe-container:active {
    cursor: unset;
}

.region-card {
    background: rgba(25, 25, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: minmax(400px, 3fr) minmax(300px, 1fr);
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    z-index: 100;
}

.region-card:before {
    content: "";
    position: absolute;
    top: -150%;
    left: -150%;
    width: 400%;
    height: 400%;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.15 0'/%3E%3CfeBlend mode='overlay'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 150px;
    opacity: 0.15;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.region-card:hover:before {
    opacity: 0.2;
}

.region-card.fastest:before {
    opacity: 0.25;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
    min-width: 0; /* Allow text truncation to work */
}

.card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0; /* Allow text truncation to work */
    font-family: 'Departure Mono', monospace;
}

.region-code {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    height: 24px;
    font-family: 'Departure Mono', monospace;
    letter-spacing: 0.5px;
}

.card-globe {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    position: relative;
}

.card-globe pre {
    font-size: 6px;
    line-height: 6px;
    letter-spacing: 2px;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.region-card:hover .card-globe pre {
    opacity: 0.6;
}

.card-stats {
    display: flex;
    justify-content: flex-end;
    margin: 0;
    position: relative;
    z-index: 1;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Departure Mono', monospace;
    line-height: 1;
    letter-spacing: 0.5px;
    display: flex;
    gap: 2px;
}

.flip-number {
    display: inline-flex;
    gap: 1px;
    padding: 2px 4px;
    border-radius: 3px;
}

.flip-digit {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 0.6em;
    text-align: center;
}

.flip-digit.updating {
    animation: flipUpdate 0.3s ease-in-out;
}

@keyframes flipUpdate {
    0% { transform: rotateX(0); }
    50% { transform: rotateX(90deg); }
    100% { transform: rotateX(0); }
}

/* Add new classes for card states */
.region-card.fastest {
    background: rgba(0, 204, 102, 0.05);
    border-color: rgba(0, 204, 102, 0.3);
}

.region-card.fastest:hover {
    background: rgba(0, 204, 102, 0.08);
}

.region-card.fastest .stat-value {
    color: #00cc66;
}

.region-card:not(.fastest) {
    opacity: 0.8;
}

.region-card:not(.fastest):hover {
    opacity: 0.9;
}

.mobile-globe {
    display: none; /* Hide by default on desktop */
}

.mobile-globe pre {
    font-size: 8px;
    line-height: 8px;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.9);
    white-space: pre;
    font-family: monospace;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.4);
    margin: 0;
    padding: 0;
}

.region-card:hover .mobile-globe {
    opacity: 0.35;
}

/* Update responsive breakpoints */
@media (max-width: 1400px) {
    .content-layout {
        flex-direction: column;
        gap: 2rem;
        padding: 0;
        max-width: 1200px;
    }

    .regions-list {
        max-width: 100%;
        margin-right: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1.5rem;
    }

    .globe-container {
        display: none;
    }

    .region-card {
        margin-bottom: 0;
        padding: 1.75rem;
        padding-right: 2.5rem;
        min-height: 160px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-left: 0;
    }

    .card-header h3 {
        font-size: 0.9375rem;
        white-space: normal;
        line-height: 1.4;
        opacity: 0.9;
        padding-left: 0;
    }

    .region-code {
        font-size: 0.8125rem;
        padding: 0.25rem 0.625rem;
        background: rgba(255, 255, 255, 0.15);
        height: 20px;
        margin-left: 0;
    }

    .card-stats {
        padding-left: 0;
        margin-top: auto;
        width: 100%;
        justify-content: flex-start;
    }

    .stat {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
        padding-left: 0;
    }

    .stat-label {
        font-size: 0.75rem;
        opacity: 0.6;
        letter-spacing: 0.5px;
        padding-left: 0;
    }

    .stat-value {
        font-size: 1.125rem;
        text-align: left;
        padding-left: 0;
    }

    .mobile-globe {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: -30px;
        opacity: 0.25;
        scale: 0.8;
        z-index: 1;
    }

    .mobile-globe pre {
        transform: translate(-50%, -50%) scale(1.2);
    }

    .region-card:hover .mobile-globe,
    .region-card.fastest .mobile-globe {
        opacity: 0.25;
    }

    .region-card.fastest {
        background: linear-gradient(
            to bottom,
            rgba(0, 204, 102, 0.08),
            rgba(0, 204, 102, 0.03)
        );
    }
}

@media (max-width: 1000px) {
    .main-content {
        padding: 2rem;
    }

    .regions-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.25rem;
    }

    .region-card {
        padding:1.5rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 2rem 1rem;
        margin-left: 0;  /* Remove left margin on mobile */
        margin-right: 0;  /* Remove right margin on mobile */
    }

    .regions-list {
        max-width: 100%;
        margin-right: 0;  /* Remove right margin on mobile */
    }

    .region-card {
        padding: 1.5rem;
        padding-right: 2.5rem;
        min-height: 140px;
        width: 100%;  /* Ensure full width */
        box-sizing: border-box;  /* Include padding in width */
    }

    .card-header h3 {
        font-size: 0.875rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .mobile-globe {
        scale: 0.75;
        right: -25px;
    }

    /* Hide View Docs button on mobile */
    .auth-buttons .sign-in {
        display: none;
    }

    /* Adjust spacing since we removed a button */
    .auth-buttons {
        gap: 0;
    }

    .header {
        padding: 1.5rem 1rem;
    }

    .docs-section {
        max-width: 100%;
        margin-right: 0;  /* Remove right margin on mobile */
        padding: 1rem;  /* Adjust padding for mobile */
    }

    .code-block {
        width: 100%;  /* Ensure full width */
        box-sizing: border-box;  /* Include padding in width */
    }

    .code-block pre {
        overflow-x: auto;  /* Allow horizontal scrolling within code blocks */
        width: 100%;
    }

    .time-savings .comparison {
        display: block;
    }

    .time-savings .comparison .first-part {
        display: block;
        white-space: normal;
    }

    .time-savings .comparison .second-part {
        display: block;
        white-space: normal;
    }
}

#mobileGlobeContainer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
    pointer-events: none;
}

.time-savings {
    font-family: 'Inter', sans-serif;
    margin-bottom: 3.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.time-savings.visible {
    opacity: 1;
    transform: translateY(0);
}

.time-savings .highlight {
    color: #00cc66;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
}

.time-savings .comparison {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.time-savings .comparison .first-part {
    white-space: nowrap;
}

.time-savings .comparison .second-part {
    white-space: normal;
}

.time-savings .detail {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

@media (min-width: 768px) {
    .time-savings .comparison {
        font-size: 1rem;
    }
    
    .time-savings .detail {
        font-size: 0.875rem;
    }
}

.comparison {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;  /* Prevent wrapping of comparison elements */
    gap: 0.25rem;      /* Add small gap between elements */
}

.docs-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-right: 400px;
    position: relative;
    z-index: 100;
}

.docs-block {
    margin-bottom: 4rem;
}

.docs-block h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.docs-block p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 800px;
}

.code-block {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 100;
}

.code-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.code-tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

.code-tab.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.code-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.code-content {
    display: none;
    position: relative;
    z-index: 100;
}

.code-content.active {
    display: block;
}

.code-image {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.code-image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 8px;
}

.code-image-container:before {
    content: "";
    position: absolute;
    top: -150%;
    left: -150%;
    width: 400%;
    height: 400%;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.15 0'/%3E%3CfeBlend mode='overlay'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 150px;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
    transition: opacity 0.3s ease;
}

.code-image-container:hover:before {
    opacity: 0.2;
}

.code-image-container:hover .code-image {
    opacity: 0.7;
}

.try-it-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.code-image-container:hover .try-it-button {
    opacity: 1;
    pointer-events: auto;
}

.try-it-button:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header span {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.copy-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.copy-button.copied {
    background: rgba(0, 204, 102, 0.2);
    border-color: rgba(0, 204, 102, 0.4);
    color: #00cc66;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    position: relative;
}

.code-block code {
    font-family: 'Departure Mono', monospace;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    display: block;
}

/* Syntax highlighting */
.code-block code .comment { color: #8b8b8b94; }
.code-block code .keyword { color: #A0A0A0; }
.code-block code .string { color: #99FFE4; }
.code-block code .function { color: #FFC799; }
.code-block code .number { color: #FFC799; }
.code-block code .operator { color: #A0A0A0; }
.code-block code .variable { color: #FFF; }
.code-block code .property { color: #FFF; }
.code-block code .invalid { color: #FF8080; }

@media (max-width: 1400px) {
    .docs-section {
        max-width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .docs-section {
        margin-top: 4rem;
        padding-top: 3rem;
    }

    .docs-block h2 {
        font-size: 1.75rem;
    }

    .docs-block p {
        font-size: 1rem;
    }

    .code-block code {
        font-size: 0.875rem;
    }
}

/* Remove stability indicator styles */
.stability-indicator,
.stability-bar {
    display: none;
}

/* Remove refresh button styles */
.refresh-button,
.refresh-button:hover,
.refresh-button:active {
    display: none;
}

/* Remove terms link styles */
.terms-link {
    display: none;
}

.region-card.loading {
    background: rgba(25, 25, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.region-card.loading {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.4; }
}

.region-card.loading .card-header,
.region-card.loading .card-stats,
.region-card.loading .mobile-globe {
    opacity: 0;
}

.globe-container.loading {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.cta-section {
    padding: 0;
    margin: 6rem 0 4rem 0;
    max-width: 800px;
}

.cta-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: left;
    background: none;
    -webkit-text-fill-color: initial;
}

.cta-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.cta-buttons .sign-in {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cta-buttons .sign-in:hover {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .sign-in svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    width: 14px;
    height: 14px;
}

.cta-buttons .sign-up {
    background-color: transparent;
    border: 1px solid #f6821f;
    color: #f6821f;
    position: relative;
    overflow: visible;
    height: 38px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cta-buttons .sign-up:hover {
    background: rgba(246, 130, 31, 0.1);
    border-color: #f6821f;
    animation: glowPulse 2s infinite;
}

.cta-buttons .sign-up:hover svg {
    filter: drop-shadow(0 0 8px rgba(246, 130, 31, 0.6));
    transform: scale(1.02);
}

.cta-buttons .sign-up svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* Add new footer styles */
.footer {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 3rem;
    margin-top: 6rem;
    background: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    box-sizing: border-box;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 1rem;
        margin-top: 4rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Remove default link styling for buttons */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* Ensure buttons inside links maintain their styling */
a button {
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}