/* General Styles */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #F9FAFB; /* bg-gray-50 */
    color: #374151; /* text-gray-700 */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    background: linear-gradient(to right, #1E3A8A, #312E81);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #fff;
    height: 3px;
    width: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    top: -8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #93C5FD;
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #1E3A8A, #312E81);
    color: #fff;
    padding: 8rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #BFDBFE;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #3B82F6;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2563EB;
}

.btn-secondary {
    background-color: #E0F2FE;
    color: #1D4ED8;
}

.btn-secondary:hover {
    background-color: #BFDBFE;
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Features Section */
.features-section {
    background-color: #F9FAFB;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    transform: translateY(-0.5rem);
}

.feature-icon {
    font-size: 2rem;
    color: #2563EB;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #6B7280;
}

/* About Section */
.about-section {
    background-color: #FFFFFF;
    text-align: center;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Differences Section */
.differences-section {
    background-color: #F9FAFB;
}

.differences-section ul {
    max-width: 800px;
    margin: 0 auto;
    list-style-type: disc;
    padding-left: 1.5rem;
}

.differences-section li {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* Documentation Section */
.documentation-section {
    background-color: #FFFFFF;
}

.commands-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.commands-grid ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.commands-grid li {
    margin-bottom: 1rem;
}

.commands-grid code {
    background-color: #F3F4F6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Installation Section */
.installation-section {
    background-color: #F9FAFB;
}

.installation-section pre {
    background-color: #1F2937;
    color: #FFFFFF;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 2rem;
}

/* Usage Section */
.usage-section {
    background-color: #FFFFFF;
}

.usage-section pre {
    background-color: #1F2937;
    color: #FFFFFF;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 2rem;
}

/* Source Section */
.source-section {
    background-color: #F9FAFB;
}

.source-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.source-section .button-group {
    flex-wrap: wrap;
}

/* Privacy and Terms Sections */
.privacy-section,
.terms-section {
    background-color: #FFFFFF;
}

.privacy-section h2,
.terms-section h2 {
    margin-bottom: 1rem;
}

.privacy-section p,
.terms-section p {
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.privacy-section h3,
.terms-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #1F2937;
    color: #FFFFFF;
    padding: 2rem 0;
}

.footer-link {
    color: #60A5FA;
    text-decoration: none;
    margin: 0 0.25rem;
}

.footer-link:hover {
    color: #93C5FD;
}

/* Buttons */
.btn-link {
    color: #2563EB;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.btn-link:hover {
    color: #1E40AF;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(to right, #1E3A8A, #312E81);
        flex-direction: column;
        display: none;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu li a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-toggle:checked + .nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle:checked + .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked + .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }

    .commands-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
