* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #009639;
    --secondary-color: #0067c0;
    --ai-color: #6366f1;
    --ai-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
}

.logo .tagline {
    font-size: 12px;
    color: var(--text-light);
    margin-top: -5px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.ai-highlight {
    color: var(--ai-color);
}

.nav-link.ai-highlight::after {
    background: var(--ai-color);
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    opacity: 0.9;
    font-size: 14px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-weight: 700;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.content-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.content-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-card ul {
    list-style: none;
}

.content-card ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.content-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.content-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* Commands Section */
.commands-intro {
    text-align: center;
    margin-bottom: 50px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
}

.subsection-title {
    font-size: 28px;
    text-align: center;
    margin: 60px 0 40px;
    color: var(--primary-color);
    font-weight: 600;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.command-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.command-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.command-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.command-code {
    background: #f5f5f5;
    padding: 12px 15px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e83e8c;
    margin-bottom: 15px;
    overflow-x: auto;
}

.command-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.command-example {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

.command-example strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
}

.command-example pre {
    margin: 0;
    padding: 10px;
    background: #2d2d2d;
    color: #f8f8f2;
    border-radius: 6px;
    font-size: 13px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
}

/* Variables Grid */
.variables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.variable-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.variable-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.variable-item code {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
}

.variable-item span {
    font-size: 13px;
    opacity: 0.9;
}

/* Config Example Card */
.config-example-card {
    margin-top: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid var(--ai-color);
}

.config-example-card h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--ai-color);
}

.config-example-card pre {
    margin: 0;
    padding: 15px;
    background: #2d2d2d;
    color: #f8f8f2;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
}

.config-example-card code {
    color: #f8f8f2;
}

/* Best Practices */
.best-practices {
    margin-top: 80px;
}

.practice-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border-left: 5px solid var(--ai-color);
    transition: var(--transition);
}

.practice-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.practice-item h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--ai-color);
}

.practice-item pre {
    margin: 0;
    padding: 25px;
    background: #2d2d2d;
    color: #f8f8f2;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
}

.practice-item code {
    color: #f8f8f2;
}

/* Case Study */
.case-study {
    margin-top: 60px;
}

.case-study h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.case-item p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.8;
}

.case-item pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-top: 15px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.4;
}

.case-item code {
    color: var(--white);
    font-family: 'Courier New', monospace;
}

/* AI Tools Detail */
.ai-tools-detail {
    margin-top: 60px;
}

.ai-tools-detail h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.tools-combination {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tool-combo {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--ai-color);
}

.tool-combo h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--ai-color);
}

.tool-combo pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.resource-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.resource-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.resource-item p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

.resource-link {
    color: var(--ai-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.resource-link:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    opacity: 0.8;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 28px;
    }

    .content-grid,
    .hero-features,
    .case-grid,
    .resources-grid,
    .commands-grid,
    .variables-grid,
    .tools-combination {
        grid-template-columns: 1fr;
    }
}

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