/* Tailwind CSS */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@3.4.0/base.min.css');

/* Space Grotesk Font */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #f5f5f5;
}

/* Navigation Styles */
nav {
    background-color: #c0c0c0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

nav .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

nav .brand img {
    width: 40px;
    height: 40px;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav ul::before,
nav ul::after {
    display: none !important;
}

nav ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav ul li::before,
nav ul li::after,
nav ul li::marker {
    display: none !important;
    content: none !important;
}

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

nav ul li a:hover {
    color: #fa8072;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        right: 2rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
    }

    nav ul.active {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background-color: #c0c0c0 !important;
    padding: 4rem 2rem !important;
    text-align: center !important;
}

.hero h1 {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

.hero p {
    font-size: 1.25rem !important;
    color: #2a2a2a !important;
    max-width: 800px !important;
    margin: 0 auto 2rem !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem !important;
    }

    .hero p {
        font-size: 1.1rem !important;
    }
}

/* Table of Contents */
.toc {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

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

.toc-btn {
    background-color: white;
    border: 2px solid #c0c0c0;
    color: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.toc-btn:hover {
    background-color: #fa8072;
    border-color: #fa8072;
    color: white;
}

/* Conversion Button */
.cta-button {
    background-color: #fa8072 !important;
    color: white !important;
    padding: 1rem 2.5rem !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.cta-button:hover {
    background-color: #e06555 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(250, 128, 114, 0.4) !important;
}

/* Sections */
section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

section h2 {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
}

section h3 {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 1.5rem;
}

section p strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Lists */
ul, ol {
    margin-left: 0 !important;
    padding-left: 2rem !important;
    margin-bottom: 1.5rem;
    list-style: none !important;
}

ul li, ol li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2a2a2a;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

ul li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.65rem !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 6px solid #fa8072 !important;
    border-top: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
}

ul li::marker {
    display: none !important;
}

ol li::before {
    content: counter(list-item) !important;
    position: absolute !important;
    left: 0 !important;
    color: #fa8072 !important;
    font-weight: 600 !important;
}

ol li::marker {
    display: none !important;
}

/* Images */
picture {
    display: block;
    margin: 2rem auto;
}

picture img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Tables */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    min-width: 600px;
}

thead {
    background-color: #c0c0c0;
}

thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a1a;
    border-bottom: 2px solid #fa8072;
}

tbody tr {
    border-bottom: 1px solid #e5e5e5;
}

tbody tr:hover {
    background-color: #f9f9f9;
}

tbody td {
    padding: 1rem;
    font-size: 1rem;
    color: #2a2a2a;
}

/* Footer */
footer {
    background-color: #2a2a2a;
    color: white;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

footer h3 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    color: #fa8072 !important;
}

footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

footer ul::before,
footer ul::after {
    display: none !important;
}

footer ul li {
    list-style: none !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
}

footer ul li::before,
footer ul li::after,
footer ul li::marker {
    display: none !important;
    content: none !important;
}

footer ul li a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #fa8072;
}

footer .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    section {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }

    section h2 {
        font-size: 1.75rem !important;
    }

    section h3 {
        font-size: 1.4rem !important;
    }

    .toc {
        padding: 0 1rem;
    }

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

/* Cards for content variety */
.card {
    background-color: #f9f9f9;
    border-left: 4px solid #fa8072;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.card h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 0.75rem !important;
}

/* Material Icons */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    vertical-align: middle;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}
