@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800&display=swap');

/* Cyberpunk/Tech/Legal inspired styles - v3 with original colors and smaller images */
:root {
    --background: #000000;
    --accent: #DDFF00;
    --text: #FFFFFF;
    --card-bg: #000000;
    --border: #000000;
    --standard-image-height: 250px; /* Keep smaller images */
}

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

body {
    font-family: 'Rajdhani', 'Exo 2', monospace, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.5px;
}

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

/* Typography - Cyberpunk/Tech/Legal Style with original colors */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', 'Rajdhani', monospace, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
}

h2 {
    font-size: 2.0rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text);
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 0.8px;
}

p {
    margin-bottom: 1.8rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.3px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.0rem;
    color: var(--text);
}

a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

a:hover {
    color: var(--accent);
}

/* Content links - original style */
.content-link {
    color: white;
    text-decoration: none;
    border-bottom: 1px dotted #60a5fa;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
}

.content-link:hover {
    color: #60a5fa;
    border-bottom: 1px dotted rgba(96, 165, 250, 0.8);
}

/* Header */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.accent {
    color: var(--accent);
}

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

nav ul li {
    margin-left: 0.5rem;
}

nav ul li a {
    font-size: 1.0rem;
    font-weight: 500;
    padding: 0.3rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-btn a {
    background-color: var(--accent);
    color: var(--background);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dashboard-btn a:hover {
    background-color: #c8e600;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background-image: url('../images/blockchain_network_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for better text readability */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* Place content above the overlay */
}

.subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6); /* Added text shadow for better readability */
}

.taglines {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8); /* Added text shadow for better readability */
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cta-button {
    background-color: var(--accent);
    color: var(--background);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #c8e600;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--accent);
}

.cta-button.secondary:hover {
    background-color: rgba(221, 255, 0, 0.1);
    color: var(--accent);
}

/* Stats Section */
.stats {
    padding: 2rem 0 4rem;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    border: 0; /* Removed border */
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.0rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Sections */
section {
    padding: 1.5rem 0;
}

/* Special padding for first section */
section#basics {
    padding-top: 2.5rem;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 0; /* Removed border */
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(221, 255, 0, 0.1);
}

.card p:last-child {
    margin-bottom: 0;
}

/* DIRECT IMAGE STANDARDIZATION - Smaller images with original styling */
img {
    height: var(--standard-image-height) !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Image containers */
.card-image, .investment-image {
    height: var(--standard-image-height);
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(221, 255, 0, 0.15);
    border: 0;
    background-color: var(--card-bg);
}

.card-image img, .investment-image img {
    width: 100%;
    display: block;
}

/* Additional styles for investment image */
.investment-image {
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(221, 255, 0, 0.2);
    border: 0;
    background-color: var(--card-bg);
    max-width: 500px; /* Keep smaller size */
}

/* About Section */
.about-content, .resources-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.about-column, .resources-column {
    flex: 1;
    min-width: 300px;
    padding-left: 20px;
}

.experience-item {
    margin-bottom: 1.5rem;
}

.experience-item h4 {
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.about ul, .resources ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

.about li, .resources li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 4rem 0 2rem;
    border-top: 0; /* Removed border */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 0; /* Removed border */
    font-size: 0.9rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    /* Adjust image height for smaller screens */
    :root {
        --standard-image-height: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px; /* Reduced padding for wider content */
    }
    .card {
        padding: 1.5rem; /* Reduced card padding */
    }
    .about-column, .resources-column {
        padding-left: 10px; /* Reduced column padding */
    }
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    nav ul {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Further adjust image height for mobile - smaller */
    :root {
        --standard-image-height: 200px; /* Reduced from 300px */
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%; /* Use full width */
        padding: 0 10px; /* Keep small padding */
    }
    .card {
        padding: 1rem; /* Reduce card padding further */
    }
    .about-column, .resources-column {
        padding-left: 5px; /* Reduce column padding further */
    }
    h1 {
        font-size: 1.8rem;
    }
    
    .taglines {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    /* Smallest screens image height - very compact */
    :root {
        --standard-image-height: 180px; /* Reduced from 250px */
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: baseline;
    margin-left: 1rem;
}

.lang-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    color: var(--accent);
    background-color: rgba(221, 255, 0, 0.1);
}

.lang-link.active {
    color: var(--accent);
    background-color: rgba(221, 255, 0, 0.2);
}

.lang-separator {
    color: var(--text);
    margin: 0 0.5rem;
    opacity: 0.6;
}

/* Mobile language switcher */
.mobile-nav .language-switcher {
    justify-content: center;
    margin-left: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}


/* Resources section link styling */
.resources a {
    color: white;
    text-decoration: none;
    border-bottom: 1px dotted #60a5fa;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.resources a:hover {
    color: #60a5fa;
    border-bottom: 1px dotted rgba(96, 165, 250, 0.8);
}

