/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #333;
}

/* Navbar */
.navbar {
    background: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    color: #cc0000;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #cc0000;
}

/* Footer */
footer {
    text-align: center;
    color: #999;
    padding: 30px;
    border-top: 1px solid #e0e0e0;
    margin-top: 50px;
}

footer a {
    color: #cc0000;
    text-decoration: none;
}

/* Homepage */
.homepage {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #cc0000;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #cc0000;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #990000;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #999;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #cc0000;
}

.feature-card p {
    color: #666;
    margin-bottom: 15px;
}

.feature-link {
    color: #cc0000;
    text-decoration: none;
    font-weight: 500;
}

.coming-soon {
    display: inline-block;
    background: #e0e0e0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #999;
}

/* Resources Page */
.resources-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.resources-page h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #cc0000;
}

.page-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.resources-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.resource-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    gap: 20px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.resource-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.resource-card.featured {
    background: #fff5f5;
    border-left: 4px solid #cc0000;
}

.resource-icon {
    font-size: 2.5rem;
    color: #999;
}

.resource-info {
    flex: 1;
}

.resource-info h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #cc0000;
}

.resource-info p {
    color: #666;
    margin-bottom: 15px;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: #e0e0e0;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #666;
}

.resource-links {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-outline {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn-primary {
    background: #cc0000;
    color: white;
}

.btn-outline {
    border: 1px solid #cc0000;
    color: #cc0000;
    background: transparent;
}

.btn-primary:hover, .btn-outline:hover {
    opacity: 0.8;
}

.resource-note {
    margin-top: 30px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: center;
    color: #666;
}

.resource-note a {
    color: #cc0000;
}

/* Tool Page */
.tool-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.breadcrumbs {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #cc0000;
    text-decoration: none;
}

.tool-page h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #cc0000;
}

.tool-subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.tool-section {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.tool-section h2 {
    color: #cc0000;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.section-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.requirements, .usage {
    margin: 20px 0;
}

.requirements h3, .usage h3 {
    margin-bottom: 10px;
    color: #333;
}

.code-block {
    background: #2d2d2d;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin: 15px 0;
    color: #f5f5f5;
}

.example-output {
    margin: 20px 0;
}

.download-area {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-secondary {
    display: inline-block;
    background: #e0e0e0;
    color: #666;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #ccc;
}

.btn-youtube {
    display: inline-block;
    background: #cc0000;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.2s;
}

.btn-youtube:hover {
    background: #990000;
}

.quick-ref {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid #e0e0e0;
}

.quick-ref h3 {
    margin-bottom: 15px;
    color: #cc0000;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.ref-item {
    padding: 10px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.ref-item strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.ref-item code {
    color: #cc0000;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85rem;
}

ul {
    padding-left: 20px;
    color: #666;
}

li {
    margin: 5px 0;
}