/* Reset and Basic Styling */
body, h1, h2, h3, p, ul, li, a, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

body {
    background-color: #f4f7f9; 
    color: #333; 
}

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

/* Header & Navigation */
header {
    background-color: #005050; 
    color: #ffffff;
    padding: 10px 0; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

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

.logo {
    font-size: 1.8em; 
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex; 
    align-items: center; 
    position: relative; 
    margin-left: 20px; 
}

.logo .ticker {
    font-size: 0.55em; 
    font-weight: normal; 
    margin-left: 8px; 
    color: #a0ffff; 
}

.logo .header-logo-img {
    height: 30px;       
    width: auto;        
    transform: scale(3);  
    transform-origin: center; 
    margin-left: 28px; 
}


nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover, 
nav ul li a.active-link { 
    color: #66ffff; 
}

/* Mobile Menu Button */
.menu-toggle {
    display: none; 
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 80, 80, 0.8), rgba(0, 80, 80, 0.7)), url('https://via.placeholder.com/1500x600.png?text=Bitmark+Network') no-repeat center center/cover; 
    color: #ffffff;
    padding: 80px 20px; 
    text-align: center;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero h1 span { 
    color: #66ffff;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Specific styling for the hero section on get-btmk.html and other subpages */
#get-btmk-hero {
    padding-top: 40px;
    padding-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background-color: #66ffff; 
    color: #005050; 
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin: 5px 10px; 
    border: 2px solid transparent; 
}

.cta-button:hover {
    background-color: #50e0e0;
    transform: translateY(-2px);
}
.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #66ffff;
    color: #66ffff;
}
.cta-button.secondary:hover {
     background-color: #66ffff;
     color: #005050;
}


/* Sections Styling */
section {
    padding: 60px 20px; 
}

.alternate-bg {
    background-color: #ffffff;
}


section h2 {
    text-align: center;
    font-size: 2.2em;
    color: #005050;
    margin-bottom: 40px;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #66ffff;
    margin: 10px auto 0;
    border-radius: 2px;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-item {
    background-color: #ffffff; 
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; 
    flex-direction: column; 
}
.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.grid-item h3 {
    color: #006060; 
    margin-bottom: 15px;
    font-size: 1.4em;
}
.grid-item p, .grid-item ul {
    font-size: 1em;
    color: #555;
    flex-grow: 1; 
}
.grid-item ul {
    list-style-position: inside;
    padding-left: 0; 
    margin-top: 10px;
}
.grid-item li {
    margin-bottom: 8px;
}
.grid-item a { 
    color: #007070;
    font-weight: bold;
    text-decoration: none;
}
.grid-item a:hover {
    text-decoration: underline;
    color: #66ffff;
}

/* Styles for Exchange Section on get-btmk.html */
.exchange-item { }

.exchange-logo { 
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    display: block;   
    margin-left: auto;
    margin-right: auto;
}

.dexomy-item-layout {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dexomy-item-layout .exchange-logo {
    margin: 0;
    flex-shrink: 0;
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

.dexomy-item-layout .exchange-content {
    flex-grow: 1;
}

.exchange-item .cta-button { 
    margin-top: 15px;
}


/* Guide & Content Styling (New Section) */
pre {
    background-color: #e0f2f1; /* Light teal background */
    border: 1px solid #b2dfdb; /* Slightly darker border */
    border-left: 5px solid #008080; /* Teal accent left border */
    color: #333;
    padding: 15px;
    border-radius: 5px;
    white-space: pre-wrap; /* Allows wrapping of long lines */
    word-wrap: break-word; /* Breaks long words */
    margin: 20px 0;
}
code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95em;
}

.table-container {
    overflow-x: auto; /* Adds horizontal scroll for table on small screens */
    margin: 20px 0;
    border: 1px solid #b2dfdb;
    border-radius: 8px;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #b2dfdb;
}
thead th {
    background-color: #006060; /* Darker teal for table header */
    color: #ffffff;
    font-weight: bold;
}
tbody tr:nth-child(even) {
    background-color: #e0f2f1; /* Zebra striping for rows */
}
tbody tr:hover {
    background-color: #b2dfdb; /* Hover effect for rows */
}
td .special-note {
    font-style: italic;
    font-size: 0.9em;
    color: #007070;
}

.note {
    background-color: #fff3e0; /* Light orange for notes */
    border-left: 5px solid #ff9800; /* Orange accent */
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}
.note p {
    margin: 0;
}


/* Footer */
footer {
    background-color: #004040; 
    color: #e0e0e0;
    text-align: center;
    padding: 30px 20px; 
}
footer p {
    margin-bottom: 10px;
}
footer a {
    color: #66ffff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
.footer-links {
    margin-top: 10px;
}
.footer-links a {
    margin: 0 10px;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        padding: 8px 0; 
    }
    header .container {
        flex-direction: row; 
        justify-content: space-between;
        width: 90%; 
        margin: 0 auto; 
    }
    
    .logo {
        font-size: 1.5em; 
        margin-left: 10px; 
    }
    .logo .header-logo-img {
        height: 20px;      
        transform: scale(2.25); 
        margin-left: 15px; 
    }
    .logo .ticker {
        font-size: 0.6em; 
        margin-left: 6px; 
    }

    nav#main-nav { 
        margin-top: 0;
        width: 100%; 
        position: absolute;
        top: 50px; 
        left: 0;
        background-color: #004040; 
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        display: none; 
    }
    nav#main-nav.active { 
        display: block;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 10px 0; 
    }
    nav ul li {
        margin: 0;
        text-align: center; 
    }
    nav ul li a {
        display: block; 
        padding: 12px 20px; 
        border-bottom: 1px solid #005050; 
    }
    nav ul li:last-child a {
        border-bottom: none;
    }

    .menu-toggle {
        display: block; 
    }

    .hero h1 {
        font-size: 2.0em; 
    }
    .hero p {
        font-size: 1em;
    }

    .cta-button {
        font-size: 1em;
        padding: 10px 20px;
        display: block; 
        width: 80%;
        max-width: 300px; 
        margin: 10px auto; 
    }
    .grid {
        grid-template-columns: 1fr; 
    }
    section h2 {
        font-size: 1.8em;
    }

    /* Responsive layout for Dexomy item */
    .dexomy-item-layout {
        flex-direction: column; 
        align-items: center; 
        text-align: center;
    }
    .dexomy-item-layout .exchange-logo {
        margin-bottom: 15px; 
        max-width: 80px; 
    }
}
