/* General body styling for modern look and feel */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; /* Light, soft background */
    color: #333; /* Default text color */
    line-height: 1.6;
    display: flex; /* Enables flexbox layout */
    flex-direction: column; /* Stacks children vertically */
    min-height: 100vh; /* Ensures body takes at least full viewport height */
}

/* Header styling */
header {
    background: linear-gradient(90deg, #2c3e50, #3498db); /* Gradient background */
    color: #fff;
    padding: 20px 40px; /* Generous padding */
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

header img {
    width: 60px; /* Appropriate logo size */
    height: 60px;
    border-radius: 50%; /* Circular logo (if image is square) */
    margin-right: 20px; /* Spacing between logo and title */
    object-fit: cover; /* Ensures image covers the area well */
}

header h1 {
    margin: 0; /* Removes default margin */
    font-size: 2em; /* Prominent title */
    font-weight: 500;
}

/* Navigation bar styling */
nav {
    display: flex;
    justify-content: center; /* Centers nav items */
    align-items: center; /* Align items vertically for icon */
    background: #2c3e50; /* Dark, complementary background */
    padding: 8px 0; /* Adjusted padding for potentially smaller icon height */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow */
}

nav a {
    color: #ecf0f1; /* Light text for contrast */
    padding: 10px 18px; /* Adjusted padding for more items */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.9em; /* Slightly smaller font for more items */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
    border-radius: 4px; /* Slightly rounded corners */
    margin: 0 4px; /* Adjusted margin for more items */
    display: flex; /* For aligning icon and text if needed, though home icon is standalone */
    align-items: center;
}

nav a.nav-icon-link svg { /* Style for SVG icons in nav */
    width: 20px; /* Icon size */
    height: 20px;
    fill: #ecf0f1; /* Default icon color */
    transition: fill 0.3s ease;
}

nav a.nav-icon-link:hover svg,
nav a.nav-icon-link.active svg {
    fill: #fff; /* Icon color on hover/active */
}
nav a.nav-icon-link {
    padding: 8px 12px; /* Specific padding for icon link */
}


nav a:hover, nav a.active { /* Hover and active states for text links */
    background-color: #3498db; /* Highlight color */
    color: #fff;
}
nav a.nav-icon-link.active { /* Specific active style for icon link if needed */
    background-color: #3498db; /* Or a different highlight if preferred */
}


/* Main content area styling */
main {
    padding: 40px; 
    text-align: left; 
    max-width: 960px; 
    margin: 20px auto; 
    background-color: #fff; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    flex-grow: 1; 
}

main h2 { 
    color: #2c3e50; 
    margin-top: 0; 
    margin-bottom: 25px; 
    padding-bottom: 10px; 
    border-bottom: 2px solid #eee; 
    font-size: 1.8em;
}
main h3 {
    color: #34495e;
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

main section {
    margin-bottom: 40px; 
}
main section:last-child {
    margin-bottom: 0;
}


main p {
    margin-bottom: 15px; 
    text-align: left; 
}

main p strong { 
    color: #333;
    font-weight: 600;
}

main a { 
    color: #3498db; 
    text-decoration: none;
    transition: color 0.3s ease;
}

main a:hover {
    text-decoration: underline;
    color: #2980b9; 
}

.text-link { 
    color: #3498db;
    text-decoration: underline;
    font-weight: 500;
}
.text-link:hover {
    color: #2980b9;
    text-decoration: none;
}


/* Homepage Specific Styles */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa; 
    border-radius: 6px;
    margin-bottom: 40px;
}
.hero-section h1 {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}
.hero-section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 5px; 
}
.primary-cta {
    background-color: #3498db; 
    color: #fff;
}
.primary-cta:hover {
    background-color: #2980b9; 
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.secondary-cta { 
    background-color: #e9ecef;
    color: #2c3e50;
    border: 1px solid #ced4da;
}
.secondary-cta:hover {
    background-color: #d3d9df;
    color: #2c3e50;
    text-decoration: none;
    transform: translateY(-2px);
}


.features-section h2, .roadmap-section h2, .ecosystem-section h2, .tokenomics-teaser-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.feature-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3498db; 
}
.feature-icon svg {
    width: 40px; 
    height: 40px;
}

.feature-item h3 {
    font-size: 1.25em;
    margin-bottom: 10px;
    color: #2c3e50;
}
.feature-item p {
    font-size: 0.95em;
    color: #555;
    text-align: center;
}

.roadmap-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0 auto 20px auto;
    max-width: 700px;
}
.roadmap-section li {
    background-color: #f8f9fa;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 4px solid #3498db;
    font-size: 1.05em;
}
.roadmap-section .status-completed { color: #28a745; font-weight: bold; }
.roadmap-section .status-upcoming { color: #ffc107; font-weight: bold; }
.roadmap-section .status-planned { color: #6c757d; font-weight: bold; }
.roadmap-section p { text-align: center;}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: center;
    margin-top: 20px;
}
.ecosystem-section .cta-button { 
    background-color: #e9ecef;
    color: #2c3e50;
    border: 1px solid #ced4da;
    width: 100%; 
    box-sizing: border-box;
}
.ecosystem-section .cta-button:hover {
    background-color: #d3d9df;
    color: #2c3e50;
}


.tokenomics-teaser-section {
    text-align: center;
    background-color: #eaf6ff;
    padding: 30px;
    border-radius: 6px;
}
.tokenomics-teaser-section p {
    text-align: center;
    font-size: 1.05em;
}

/* Notice box styling */
.notice {
    margin-top: 20px; 
    margin-bottom: 30px; 
    padding: 20px; 
    background-color: #eaf6ff; 
    border-left: 6px solid #3498db; 
    border-radius: 4px; 
    font-size: 0.95em;
    color: #2c3e50; 
}
.notice p { margin: 0; }
.notice p:not(:last-child) { margin-bottom: 10px; }

/* Styling for individual exchange listings */
.exchange-item {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.exchange-item h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
}
.exchange-item h3 a {
    color: inherit; 
    text-decoration: none; 
    transition: color 0.2s ease, text-decoration 0.2s ease;
}
.exchange-item h3 a:hover {
    color: #3498db; 
    text-decoration: underline; 
}
.exchange-item p {
    margin-bottom: 10px; 
    font-size: 0.95em;
}

/* Community Links Styling & Developer Resource Links Styling */
.community-links-section, .developer-resources-section { margin-top: 30px; }
.community-links a, .developer-resource-link {
    display: flex; 
    align-items: center; 
    background-color: #f8f9fa; 
    color: #2c3e50; 
    padding: 15px 20px; 
    margin-bottom: 12px; 
    text-decoration: none;
    font-size: 1.05em; 
    font-weight: 500;
    border-radius: 6px; 
    border: 1px solid #dee2e6; 
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.community-links a:hover, .developer-resource-link:hover {
    background-color: #e9ecef; 
    border-color: #adb5bd; 
    color: #0056b3; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.07); 
}
.community-links a svg, .developer-resource-link svg {
    width: 16px; 
    height: 16px; 
    margin-right: 10px; 
    fill: currentColor; 
    flex-shrink: 0; 
}

/* Footer styling */
footer {
    background: #333; 
    color: #fff;    
    padding: 20px;   
    text-align: center;
    font-size: 0.9em;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1); 
    margin-top: auto; 
}

footer a {
    color: #fff;    
    text-decoration: underline; 
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ddd;    
    text-decoration: underline; 
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header { flex-direction: column; padding: 20px; text-align: center; }
    header img { margin-right: 0; margin-bottom: 15px; width: 70px; height: 70px; }
    header h1 { font-size: 1.8em; }
    nav { flex-direction: column; align-items: center; }
    nav a { padding: 10px 15px; width: 90%; box-sizing: border-box; text-align: center; margin: 4px 0; font-size: 0.95em; }
    nav a.nav-icon-link svg { width: 18px; height: 18px;}

    main { padding: 20px; margin: 15px auto; }
    main h2 { font-size: 1.6em; margin-bottom: 20px; }
    main h3 { font-size: 1.2em; }
    .hero-section { padding: 30px 15px; }
    .hero-section h1 { font-size: 1.8em; }
    .hero-section p { font-size: 1em; }
    .cta-button { font-size: 0.95em; padding: 10px 20px;}
    .features-grid { grid-template-columns: 1fr; gap: 20px; } 
    .feature-item { padding: 20px; }
    .feature-icon svg { width: 36px; height: 36px; }
    .roadmap-section li { font-size: 1em; padding: 12px;}
    .cta-grid { grid-template-columns: 1fr; gap: 10px; }
    .tokenomics-teaser-section { padding: 20px; }
    .community-links a, .developer-resource-link { font-size: 1em; padding: 12px 15px; }
    .community-links a svg, .developer-resource-link svg { width: 14px; height: 14px; margin-right: 8px; }
    footer { padding: 20px 15px; } 
}


