/* Solar Education Page Styles */

/* Hero Section */
.education-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.education-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Breadcrumb Navigation */
.hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #10b981;
    text-decoration: none;
}

.breadcrumb-separator {
    color: #64748b;
}

.breadcrumb-current {
    color: #10b981;
    font-weight: 500;
}

/* Main Hero Content */
.hero-main {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    font-family: 'Century Gothic', sans-serif;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 2.5rem 0;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Action */
.hero-action {
    display: flex;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    text-decoration: none;
    color: white;
}

/* Table of Contents */
.toc-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.toc-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.toc-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
    text-decoration: none;
    color: inherit;
}

.toc-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toc-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
}

.toc-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* Education Sections */
.education-section {
    padding: 5rem 0;
}

.education-section.alt-bg {
    background: #f8fafc;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.section-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.section-content {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-family: 'Century Gothic', sans-serif;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1.5rem 0;
}

.content-text h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem 0;
}

.content-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 1.5rem 0;
}

/* Info Boxes */
.info-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h4 {
    color: #166534;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.info-box p {
    color: #15803d;
    margin: 0;
}

.tip-box {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tip-box i {
    color: #d97706;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.tip-box p {
    margin: 0;
    color: #92400e;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Visual Container */
.visual-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.visual-container h4 {
    margin: 0 0 2rem 0;
    font-size: 1.3rem;
    color: #1e293b;
    text-align: center;
}

/* Capacity Chart */
.capacity-chart {
    display: flex;
    justify-content: space-between;
    align-items: end;
    height: 200px;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem 0;
}

.chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    height: 100%;
    justify-content: flex-end;
}

.bar-fill {
    background: linear-gradient(to top, #10b981, #34d399);
    border-radius: 4px 4px 0 0;
    width: 100%;
    min-height: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
    cursor: pointer;
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
    border-radius: 4px 4px 0 0;
    pointer-events: none;
}

.bar-label {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.visual-explanation {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.9rem;
}

/* System Comparison */
.system-comparison {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.system-type {
    flex: 1;
    text-align: center;
}

.system-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
}

.system-type h5 {
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    color: #1e293b;
}

.system-diagram {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.diagram-element {
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    color: #475569;
    text-align: center;
}

.diagram-arrow {
    color: #64748b;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
}

/* Comparison Table */
.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin: 2rem 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.comparison-cell {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.comparison-cell:last-child {
    border-bottom: none;
}

.comparison-cell.feature {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.comparison-cell.on-grid {
    background: #f0fdf4;
    color: #15803d;
}

.comparison-cell.off-grid {
    background: #fef3c7;
    color: #92400e;
}

/* Panel Types */
.panel-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.panel-type {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.panel-type h5 {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.panel-type ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.panel-type li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.9rem;
}

.panel-type li:last-child {
    border-bottom: none;
}

.panel-type li::before {
    content: '•';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Panel Visualization */
.panel-comparison {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.panel-item {
    flex: 1;
    text-align: center;
}

.panel-visual {
    width: 100px;
    height: 60px;
    margin: 0 auto 1rem auto;
    border-radius: 8px;
    position: relative;
    border: 2px solid #cbd5e1;
}

.panel-visual.mono {
    background: #1e293b;
}

.panel-visual.poly {
    background: #3b82f6;
}

.panel-visual.thin {
    background: #8b5cf6;
}

.panel-cells {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 10px 10px;
}

.panel-item h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #1e293b;
}

.efficiency-bar {
    position: relative;
    background: #f1f5f9;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.efficiency-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    transition: width 0.3s ease;
}

.efficiency-bar span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

/* Inverter Diagram */
.inverter-diagram {
    margin: 2rem 0;
}

.power-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.power-source, .power-converter, .power-destination {
    text-align: center;
    flex: 1;
}

.power-source i, .power-converter i, .power-destination i {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.power-source span, .power-converter span, .power-destination span {
    display: block;
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.power-type {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.power-type.dc {
    background: #fef3c7;
    color: #92400e;
}

.power-type.ac {
    background: #dcfce7;
    color: #166534;
}

.power-arrow {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: bold;
}

/* Inverter Types */
.inverter-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.inverter-type {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.inverter-type h5 {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.inverter-type ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inverter-type li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.9rem;
}

.inverter-type li:last-child {
    border-bottom: none;
}

.inverter-type li::before {
    content: '•';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Mounting Types */
.mounting-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.mounting-type {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.mounting-type h5 {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.mounting-type ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mounting-type li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.9rem;
}

.mounting-type li:last-child {
    border-bottom: none;
}

.mounting-type li::before {
    content: '•';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Mounting Visualization */
.mounting-diagram {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.mounting-option {
    flex: 1;
    text-align: center;
}

.mounting-visual {
    width: 120px;
    height: 80px;
    margin: 0 auto 1rem auto;
    position: relative;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}

.roof {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #64748b;
    clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}

.rails {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #10b981;
    transform: translateY(-50%);
}

.panels {
    position: absolute;
    top: 20%;
    left: 15px;
    right: 15px;
    height: 20px;
    background: #1e293b;
    border-radius: 2px;
}

.ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: #84cc16;
}

.foundation {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #64748b;
}

.structure {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: #10b981;
}

.carport {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    height: 30px;
    background: #64748b;
}

.car {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 15px;
    background: #3b82f6;
    border-radius: 3px;
}

.mounting-option h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #1e293b;
}

/* Battery Comparison */
.battery-comparison {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.battery-type {
    flex: 1;
    text-align: center;
}

.battery-visual {
    width: 80px;
    height: 120px;
    margin: 0 auto 1rem auto;
    border: 3px solid #cbd5e1;
    border-radius: 8px;
    position: relative;
    background: #f8fafc;
}

.battery-visual.lead-acid {
    background: #fef3c7;
}

.battery-visual.lithium {
    background: #dcfce7;
}

.battery-cells {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-image: 
        linear-gradient(90deg, #64748b 1px, transparent 1px),
        linear-gradient(#64748b 1px, transparent 1px);
    background-size: 8px 8px;
}

.battery-type h5 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #1e293b;
}

.battery-specs {
    text-align: left;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #475569;
}

.spec-value {
    color: #64748b;
}

/* Battery Types Text */
.battery-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.battery-type-text {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.battery-type-text h5 {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.battery-type-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.battery-type-text li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.9rem;
}

.battery-type-text li:last-child {
    border-bottom: none;
}

.battery-type-text li::before {
    content: '•';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Phase Comparison */
.phase-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.phase-type {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.phase-type h5 {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.phase-type ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-type li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.9rem;
}

.phase-type li:last-child {
    border-bottom: none;
}

.phase-type li::before {
    content: '•';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Phase Visualization */
.phase-visualization {
    margin: 2rem 0;
}

.phase-option {
    text-align: center;
    margin-bottom: 2rem;
}

.phase-wire {
    width: 150px;
    height: 60px;
    margin: 0 auto 1rem auto;
    position: relative;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.wire {
    width: 20px;
    height: 4px;
    background: #64748b;
    border-radius: 2px;
}

.wire-1 {
    background: #ef4444;
}

.wire-2 {
    background: #10b981;
}

.wire-3 {
    background: #3b82f6;
}

.voltage-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.phase-option h5 {
    margin: 2rem 0 0.5rem 0;
    font-size: 1.1rem;
    color: #1e293b;
}

.phase-option p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    font-family: 'Century Gothic', sans-serif;
}

.cta-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin: 0 0 2rem 0;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: #10b981;
}

.btn-secondary:hover {
    background: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .toc-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .education-hero {
        display: none; /* Hide hero section on mobile */
    }
    
    /* Add top padding to first section after hero on mobile */
    .education-content {
        padding-top: 2rem;
    }
    
    .hero-breadcrumb {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .toc-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .system-comparison {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .panel-comparison {
        flex-direction: column;
        gap: 1rem;
    }
    
    .battery-comparison {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .phase-comparison {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .battery-types {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mounting-diagram {
        flex-direction: column;
        gap: 1rem;
    }
    
    .power-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .power-arrow {
        transform: rotate(90deg);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .toc-grid {
        grid-template-columns: 1fr;
    }
    
    .visual-container {
        padding: 1.5rem;
    }
    
    .capacity-chart {
        height: 150px;
    }
    
    .panel-types {
        grid-template-columns: 1fr;
    }
    
    .inverter-types {
        grid-template-columns: 1fr;
    }
    
    .mounting-types {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}
