:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --navbar-bg: #1e293b;
    /* Dark slate */
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --container-width: 1000px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Nanum Gothic', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--navbar-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.navbar-nav a {
    text-decoration: none;
    color: #cbd5e1;
    /* Light slate */
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: #ffffff;
}

.nav-separator {
    color: #94a3b8;
    /* Lighter slate for visibility */
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin: 0 -1.1rem;
    user-select: none;
}

/* Main Content */
main.container {
    padding: 1.5rem 20px;
    min-height: calc(100vh - 160px);
}

.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

textarea,
input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, ring 0.2s;
}

textarea:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    ring: 2px solid rgba(79, 70, 229, 0.2);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-hover);
}

/* Features Section */
.features-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.features-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-title i {
    font-size: 1.2rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--accent-primary);
    font-weight: bold;
}

.features-list li:last-child {
    margin-bottom: 0;
}

/* Download Section */
.download-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 2rem;
}

.download-title {
    color: var(--accent-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.download-img {
    flex-shrink: 0;
    transition: transform 0.2s;
    background: white;
    padding: 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-img:hover {
    transform: scale(1.05);
}

.download-info {
    color: #94a3b8;
    line-height: 1.4;
    font-size: 0.95rem;
}

.download-info p {
    margin: 0;
}

/* Footer */
.footer {
    background: white;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Utils */
.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-6 {
    margin-top: 2rem;
}

.text-blue {
    color: var(--primary-color);
}

/* Navbar Toggle (Mobile) */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Ensure it's above other elements */
}

.navbar-toggle span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 60px; /* Adjust based on navbar height */
        left: 0;
        right: 0;
        background: var(--navbar-bg);
        padding: 1rem 20px;
        flex-direction: column;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .navbar-menu.active {
        display: block;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        display: flex; /* Override desktop inline-flex/flex-row */
    }

    .nav-separator {
        display: none;
    }

    /* Hamburger Animation */
    .navbar-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .navbar-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}