@font-face {
    font-family: 'OCRAStd';
    src: url('../fonts/OCRAStd.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Ganzo Blockchain Website Styles */

html {
    scroll-behavior: smooth;
}

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

/* Hexagonal honeycomb background pattern */
body {
    font-family: 'OCRAStd', 'Courier New', monospace;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #121212;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imgs/hexagon_honeycomb_tile.png');
    background-size: 30px 50px;
    background-repeat: repeat;
    opacity: 0.20;
    pointer-events: none;
    z-index: -1;
}

/* Hero Banner */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Hero Banner */
.hero-banner {
    max-width: 518px;
    width: 70%;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    background: transparent;
    color: #e0e0e0;
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    width: 256px;
    height: 256px;
    display: block;
    position: relative;
    z-index: 2;
    border: none;
    outline: none;
    background: transparent;
    border-radius: 50%; /* perfect circle */
}

.ganzo-text {
    max-width: 660px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 1.2rem;
    margin: 8px 0 10px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    color: #ffa500;
    max-width: 900px;
}

.hero .tagline {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 2px;
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.hero .subtitle {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.hero .tagline-secondary {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.hero .tagline {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    margin-top: 8px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.hero .tagline-secondary {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    margin-top: 2px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.connect-text {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.hero nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid rgba(255,165,0,0.5);
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(255,165,0,0.1);
}

.hero nav a:hover {
    background: rgba(255,165,0,0.3);
    border-color: #ffa500;
}

.btn-primary {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%) !important;
    color: #050510 !important;
    border: none !important;
    font-weight: 600;
}

/* Sections */
.section {
    padding: 20px 0;
    background: transparent;
}

.section.alt {
    background: transparent;
}

.section h2 {
    font-size: 1rem;
    margin: 0 0 10px;
    color: #ffa500;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: block;
    width: 30%;
    max-width: 360px;
    text-align: left;
    white-space: nowrap;
}

/* Features Grid - flexible auto-fit layout */
.features-grid,
.roadmap-grid,
.tokenomics-grid,
.community-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 0;
}

/* Feature Cards */
.feature-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 12px;
}

.feature-card h3 {
    color: #ffa500;
    margin-bottom: 0;
    font-size: 1rem;
    text-align: left;
}

.feature-card p {
    color: #ffffff;
    text-align: left;
}

/* Secondary features row - uses same auto-fit but can override if needed */
.features-grid.secondary-features {
    margin-top: 20px;
    gap: 15px;
    justify-content: center;
}

.features-grid.secondary-features .feature-card {
    padding: 15px;
    text-align: center;
}

.features-grid.secondary-features .feature-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0;
    text-align: center;
}

/* Tertiary features row (Anonymous) */
.features-grid.tertiary-features {
    margin-top: 20px;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    justify-content: center;
}

.features-grid.tertiary-features .feature-card {
    padding: 15px;
    text-align: center;
}

/* Roadmap Items */
.roadmap-item {
    background: rgba(0, 0, 0, 0.5);
    padding: 25px;
    border-radius: 12px;
}

.roadmap-item h3 {
    color: #ffa500;
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Community Cards */
.community-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.community-card h3 {
    color: #ffa500;
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Docs List */
.docs-list {
    list-style: none;
    margin-top: 20px;
}

.docs-list li {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.docs-list a {
    color: #ffa500;
    text-decoration: none;
    font-weight: 500;
}

.docs-list a:hover {
    text-decoration: underline;
}

/* SEO content helpers */
.section-intro {
    color: #ffffff;
    font-size: 1rem;
    margin-top: 10px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: block;
    max-width: 980px;
}

.link-card {
    color: #ffffff;
    text-decoration: none;
}

.process-grid,
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}

.process-card,
.faq-card {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 22px 26px;
    border-radius: 12px;
}

.process-card h3,
.faq-card h3 {
    color: #ffa500;
    margin-bottom: 10px;
    font-size: 1rem;
}

.process-card p,
.faq-card p {
    color: #ffffff;
}

/* Footer */
footer {
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: #ffa500;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
}

.footer-nav a:hover {
    text-decoration: underline;
}

footer p {
    font-size: 1rem;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 1.2rem;
    }

    .section {
        padding: 30px 0;
    }

    .logo {
        width: 180px;
        height: 180px;
    }

    .community-card,
    .process-card,
    .faq-card {
        padding: 20px;
    }
}

/* Coming Soon */
.coming-soon {
    font-size: 1rem;
    color: #ffa500;
    margin-top: 5px;
    display: inline-block;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    font-weight: bold;
}

/* Lead paragraph */
.lead {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

/* General text color */
.section p {
    color: #ffffff;
}

.section p:not(.lead) {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: block;
    max-width: 1200px;
}

/* Platform Icons (macOS/Android) */
/* Download section — platform detection */
.download-section {
    margin-top: 20px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.platform-download {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.platform-download .platform-icon {
    width: 40px;
    height: 40px;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.download-text {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
}

.download-link:hover .download-text {
    color: #ff7a00;
}

/* Linux curl inline */
.curl-text {
    color: #888;
    font-size: 0.85rem;
    font-family: inherit;
    white-space: nowrap;
}

.copy-icon {
    width: 9px;
    height: 9px;
    cursor: pointer;
}

.copy-icon:hover {
    opacity: 0.6;
}

/* Top navigation bar - matches original layout, organized in CSS */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.top-nav .links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-nav a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'OCRAStd', 'Courier New', monospace;
    font-size: 1rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.top-nav a:hover {
    color: #ffa500;
}

.top-nav a.active {
    color: #ffa500;
}

.top-nav .sep {
    color: #555;
    font-size: 1rem;
}

.top-nav .social {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: auto;
}

.top-nav .social a {
    display: inline-block;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.top-nav .social a:hover {
    background: rgba(255, 165, 0, 0.15);
}

.top-nav .social img {
    width: 28px;
    height: 28px;
    display: block;
}

/* Mobile responsive navigation */
@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 16px;
    }

    .top-nav .links {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .top-nav .social {
        margin-left: 0;
        justify-content: flex-start;
    }
}

/* Navigation links on dark (legacy hero nav - keep for any remaining usage) */
.hero nav a {
    color: #d0d0d0;
}