/* ============================================
   Reset and Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px !important;
    line-height: 1.7;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Reset list styles */
ul, ol {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* ============================================
   Navigation
   ============================================ */
.nav-menu {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-name {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none !important;
}

.nav-links::before,
.nav-links::after {
    display: none !important;
}

.nav-links li {
    list-style: none !important;
}

.nav-links li::before,
.nav-links li::after,
.nav-links li::marker {
    display: none !important;
    content: none !important;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px !important;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle .material-icons {
    color: #ffffff;
    font-size: 28px !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%) !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 4rem 2rem !important;
}

.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.85) 0%, rgba(5, 150, 105, 0.9) 100%) !important;
}

.hero-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 900px !important;
    text-align: center !important;
    color: #ffffff !important;
}

.hero-title {
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.hero-text {
    font-size: 20px !important;
    line-height: 1.7 !important;
    margin-bottom: 1.25rem !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
}

.hero-button {
    display: inline-block !important;
    margin-top: 1rem !important;
    padding: 1rem 2.5rem !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #10b981 !important;
    background: #ffffff !important;
    border: 3px solid #ffffff !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.hero-button:hover {
    background: transparent !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ============================================
   Container and Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-content {
    background-color: #ffffff;
}

/* ============================================
   Table of Contents
   ============================================ */
.toc-section {
    padding: 3rem 0;
    background-color: #f9fafb;
}

.toc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.toc-btn {
    padding: 0.875rem 1.75rem !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #10b981 !important;
    background: transparent !important;
    border: 2px solid #10b981 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.toc-btn:hover {
    background: #10b981 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ============================================
   Content Sections
   ============================================ */
.content-section {
    padding: 4rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.content-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #10b981 !important;
    margin-bottom: 2rem !important;
    line-height: 1.3 !important;
}

.section-text {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #374151 !important;
    margin-bottom: 2rem !important;
}

.section-image {
    display: block;
    margin: 2rem auto;
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-image.full-width {
    max-width: 100%;
}

/* ============================================
   Cards Grid
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #10b981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 48px !important;
    color: #f59e0b !important;
    margin-bottom: 1rem;
    display: block;
}

.card-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #10b981 !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
}

.card-text {
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
}

/* ============================================
   Selection List (Numbered Items)
   ============================================ */
.selection-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.list-item {
    display: flex;
    gap: 1.5rem;
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.item-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 24px !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.item-content {
    flex: 1;
}

.item-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #10b981 !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
}

.item-text {
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #4b5563 !important;
}

/* ============================================
   Table Styling
   ============================================ */
.table-container {
    overflow-x: auto;
    margin: 2.5rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.crypto-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.crypto-table thead {
    background: linear-gradient(135deg, #10b981, #059669);
}

.crypto-table th {
    padding: 1.25rem;
    text-align: left;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    white-space: nowrap;
}

.crypto-table td {
    padding: 1.25rem;
    font-size: 17px !important;
    color: #374151 !important;
    border-bottom: 1px solid #e5e7eb;
}

.crypto-table tbody tr:last-child td {
    border-bottom: none;
}

.crypto-table tbody tr:hover {
    background-color: #f0fdf4;
}

/* ============================================
   Steps Container
   ============================================ */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.step-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 2rem;
}

.step-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #059669 !important;
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
}

.step-text {
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #065f46 !important;
    margin-bottom: 1rem !important;
}

.step-list {
    margin-top: 1rem;
    padding-left: 0 !important;
    list-style: none !important;
}

.step-list::before,
.step-list::after {
    display: none !important;
}

.step-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #065f46 !important;
    list-style: none !important;
}

.step-list li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.6rem !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #f59e0b !important;
    border-radius: 50% !important;
}

.step-list li::marker {
    display: none !important;
    content: none !important;
}

/* ============================================
   Conclusion Box
   ============================================ */
.conclusion-box {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
}

.conclusion-text {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #78350f !important;
    margin: 0 !important;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #d1d5db;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
}

.footer-brand-name {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #10b981 !important;
}

.footer-tagline {
    font-size: 16px !important;
    color: #9ca3af !important;
    margin-top: 0.5rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #10b981 !important;
    margin-bottom: 1rem !important;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none !important;
}

.footer-links::before,
.footer-links::after {
    display: none !important;
}

.footer-links li {
    list-style: none !important;
}

.footer-links li::before,
.footer-links li::after,
.footer-links li::marker {
    display: none !important;
    content: none !important;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 16px !important;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #10b981;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid #374151;
    text-align: center;
}

.footer-copyright {
    font-size: 15px !important;
    color: #9ca3af !important;
    margin: 0;
}

/* ============================================
   Responsive Design - Tablet
   ============================================ */
@media (max-width: 768px) {
    body {
        font-size: 17px !important;
    }

    .nav-container {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        background: #059669;
        border-radius: 8px;
        overflow: hidden;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 17px !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 36px !important;
    }

    .hero-text {
        font-size: 18px !important;
    }

    .hero-button {
        font-size: 17px !important;
        padding: 0.875rem 2rem !important;
    }

    .section-title {
        font-size: 30px !important;
    }

    .toc-buttons {
        gap: 0.75rem;
    }

    .toc-btn {
        font-size: 15px !important;
        padding: 0.75rem 1.5rem !important;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .list-item {
        flex-direction: column;
        gap: 1rem;
    }

    .item-number {
        width: 45px;
        height: 45px;
        font-size: 22px !important;
    }
}

/* ============================================
   Responsive Design - Mobile
   ============================================ */
@media (max-width: 480px) {
    body {
        font-size: 16px !important;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .brand-name {
        font-size: 20px !important;
    }

    .nav-logo {
        width: 40px;
        height: 40px;
    }

    .hero-section {
        padding: 3rem 1.5rem !important;
        min-height: 450px;
    }

    .hero-title {
        font-size: 28px !important;
    }

    .hero-text {
        font-size: 16px !important;
    }

    .hero-button {
        font-size: 16px !important;
        padding: 0.75rem 1.75rem !important;
    }

    .toc-section {
        padding: 2rem 0;
    }

    .toc-btn {
        font-size: 14px !important;
        padding: 0.625rem 1.25rem !important;
    }

    .content-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 26px !important;
    }

    .section-text,
    .hero-text,
    .conclusion-text {
        font-size: 16px !important;
    }

    .card {
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 40px !important;
    }

    .card-title,
    .item-title,
    .step-title {
        font-size: 20px !important;
    }

    .card-text,
    .item-text,
    .step-text {
        font-size: 16px !important;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 1.5rem;
    }

    .list-item {
        padding: 1.5rem;
    }

    .table-container {
        margin: 2rem -1rem;
        border-radius: 0;
    }

    .crypto-table th,
    .crypto-table td {
        padding: 0.875rem;
        font-size: 15px !important;
    }

    .crypto-table th {
        font-size: 16px !important;
    }

    .conclusion-box {
        padding: 2rem 1.5rem;
    }

    .footer-brand-name {
        font-size: 22px !important;
    }

    .footer-heading {
        font-size: 17px !important;
    }

    .footer-links a {
        font-size: 15px !important;
    }
}

/* ============================================
   Accessibility and Print
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Ensure proper contrast and readability */
::selection {
    background-color: #10b981;
    color: #ffffff;
}

:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}
