/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Guide Container */
.tesla-coil-guide {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.tesla-coil-header {
    background: linear-gradient(135deg, #4a8eff, #2a6bda);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
}

.tesla-coil-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

.tesla-coil-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Sections */
.tesla-coil-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Headings */
.tesla-coil-guide h2 {
    color: #4a8eff;
    border-bottom: 2px solid #6da1ff;
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.tesla-coil-guide h3 {
    color: #6da1ff;
    margin-top: 1.5rem;
}

/* Feature Cards */
.tesla-coil-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tesla-coil-feature-card {
    background: #ebf2ff;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #6da1ff;
}

.tesla-coil-feature-card h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
}

.tesla-coil-icon {
    margin-right: 0.5rem;
    font-size: 1.2em;
}

/* Tables */
.tesla-coil-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.tesla-coil-specs {
    width: 100%;
    border-collapse: collapse;
}

.tesla-coil-specs th, 
.tesla-coil-specs td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.tesla-coil-specs th {
    background: #ebf2ff;
    color: #4a8eff;
}

/* Images */
.tesla-coil-image {
    text-align: center;
    margin: 1.5rem 0;
}

.tesla-coil-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Steps */
.tesla-coil-steps {
    padding-left: 1.5rem;
}

.tesla-coil-steps li {
    margin-bottom: 0.5rem;
}

/* Notes */
.tesla-coil-note {
    background: #ebf2ff;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #4a8eff;
    margin: 1rem 0;
}

.tesla-coil-note.warning {
    background: #ffebee;
    border-left: 4px solid #f44336;
}

/* Feature Grid */
.tesla-coil-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tesla-coil-feature-box {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 6px;
}

/* Troubleshooting */
.tesla-coil-troubleshooting {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.tesla-coil-issue {
    background: #ffebee;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #f44336;
}

/* Projects */
.tesla-coil-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tesla-coil-project-card {
    background: #ebf2ff;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tesla-coil-header h1 {
        font-size: 1.5rem;
    }
    
    .tesla-coil-features,
    .tesla-coil-feature-grid,
    .tesla-coil-troubleshooting,
    .tesla-coil-projects {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tesla-coil-header {
        padding: 1.5rem 1rem;
    }
    
    .tesla-coil-section {
        padding: 1rem;
    }
}