@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&display=swap');

/* Insights Page Styles */
.insights-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 25%, #000000 75%, #111111 100%);
    min-height: 100vh;
    padding: 80px 0;
    color: #ffffff;
}

/* Alternative light background option */
.insights-section.light-theme {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #e9ecef 75%, #ffffff 100%);
    color: #000000;
}

/* Hero Section */
.insights-hero {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 50px;
}

.insights-title {
    font-family: 'Goldman', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.insights-title-accent {
    color: rgb(255, 187, 0);
}

.insights-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    color: #cccccc;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Sections */
.insights-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.insight-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 187, 0, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.insight-card:hover {
    border-color: rgb(255, 187, 0);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 187, 0, 0.1);
}

.insight-card-title {
    font-family: 'Goldman', sans-serif;
    font-size: 1.8rem;
    color: rgb(255, 187, 0);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.insight-card-content {
    font-family: 'Roboto', sans-serif;
    color: #dddddd;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Light theme variations */
.insights-section.light-theme .insights-title {
    color: #000000;
}

.insights-section.light-theme .insights-subtitle {
    color: #666666;
}

.insights-section.light-theme .insight-card {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 187, 0, 0.3);
}

.insights-section.light-theme .insight-card-content {
    color: #555555;
}

/* Insights Hero Section */
.insights-hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.insights-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.insights-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.insights-hero-tagline {
    font-family: 'Goldman', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgb(255, 187, 0);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.insights-hero-title {
    font-family: 'Goldman', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.insights-hero-title .highlight {
    color: rgb(255, 187, 0);
}

.insights-hero-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: #cccccc;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* PCB Guide Section */
.pcb-guide-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 70px 0;
}

.guide-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

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

.overview-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.overview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgb(255, 187, 0) 0%, #ffc947 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #000;
}

.overview-card h3 {
    font-family: 'Goldman', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.overview-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.guide-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 550;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: 'Goldman', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.guide-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transition: all 0.5s ease;
    z-index: -1;
}

.guide-btn:hover::before {
    left: 0;
}

.guide-btn:hover {
    color: #ffffff;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.detailed-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.guide-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

.guide-details h3 {
    font-family: 'Goldman', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.guide-details p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.guide-steps {
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.step-number {
    background: rgb(255, 187, 0);
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Goldman', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: 'Goldman', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.step-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.guide-cta-btn {
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 550;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: 'Goldman', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    color: #1a1a1a;
    border: 3px solid #1a1a1a;
}

.guide-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transition: all 0.5s ease;
    z-index: -1;
}

.guide-cta-btn:hover::before {
    left: 0;
}

.guide-cta-btn:hover {
    color: #ffffff;
    border-color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Switch Reviews Section */
.switch-reviews-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 70px 0;
}

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

.review-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.featured-review {
    border: 2px solid rgb(255, 187, 0);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 0;
}

.switch-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.switch-image.linear {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.switch-image.tactile {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.switch-image.clicky {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.switch-image::before {
    content: '⌨';
    font-size: 1.5rem;
}

.switch-info h3 {
    font-family: 'Goldman', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.switch-type {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.review-content {
    padding: 16px 24px 24px;
}

.performance-metrics {
    margin-bottom: 20px;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.metric:last-child {
    border-bottom: none;
}

.metric-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.metric-value {
    font-family: 'Goldman', sans-serif;
    font-size: 0.9rem;
    color: #1a1a1a;
    font-weight: 600;
}

.sound-bars {
    display: flex;
    gap: 3px;
    align-items: center;
}

.bar {
    width: 8px;
    height: 16px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.bar.active {
    background: rgb(255, 187, 0);
}

.review-summary {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.review-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 550;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: 'Goldman', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    width: 100%;
}

.review-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transition: all 0.5s ease;
    z-index: -1;
}

.review-btn:hover::before {
    left: 0;
}

.review-btn:hover {
    color: #ffffff;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Tutorials Section */
.tutorials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 70px 0;
}

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

.tutorial-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.tutorial-video {
    position: relative;
    height: 200px;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.tutorial-card:hover .play-button {
    background: rgb(255, 187, 0);
    color: #000;
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
}

.tutorial-info {
    padding: 24px;
}

.tutorial-category {
    background: rgba(255, 187, 0, 0.1);
    color: #b8860b;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tutorial-info h3 {
    font-family: 'Goldman', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 12px 0 8px;
}

.tutorial-info p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
}

.tutorial-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.stat {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: #999;
}

.tutorial-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 550;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: 'Goldman', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
    width: 100%;
}

.tutorial-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transition: all 0.5s ease;
    z-index: -1;
}

.tutorial-btn:hover::before {
    left: 0;
}

.tutorial-btn:hover {
    color: #ffffff;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Handwiring Guide Section */
.guide-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.guide-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.guide-intro p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.guide-steps {
    display: grid;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid rgb(255, 187, 0);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 187, 0, 0.15);
}

.step-number {
    font-family: 'Goldman', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 187, 0, 0.2);
    margin-bottom: 15px;
}

.step-card h3 {
    font-family: 'Goldman', sans-serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.step-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.step-card ul {
    list-style: none;
    padding: 0;
}

.step-card ul li {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #555;
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.6;
}

.step-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgb(255, 187, 0);
    font-weight: bold;
}

.info-box, .warning-box {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-box {
    background: rgba(255, 187, 0, 0.1);
    border-left: 3px solid rgb(255, 187, 0);
    color: #333;
}

.warning-box {
    background: rgba(220, 53, 69, 0.1);
    border-left: 3px solid #dc3545;
    color: #333;
}

.tips-section {
    max-width: 1000px;
    margin: 60px auto 0;
}

.tips-section h3 {
    font-family: 'Goldman', sans-serif;
    font-size: 2rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tip-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 187, 0, 0.15);
}

.tip-card h4 {
    font-family: 'Goldman', sans-serif;
    font-size: 1.1rem;
    color: rgb(255, 187, 0);
    margin-bottom: 10px;
}

.tip-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Active menu indicator */
.menu-btn-wrapper.active .menu-btn {
    color: rgb(255, 187, 0);
    border-bottom: 2px solid rgb(255, 187, 0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .insights-hero-section {
        padding: 100px 0 60px;
    }
    
    .insights-hero-content {
        padding: 0 20px;
    }
    
    .insights-hero-title {
        font-size: 2.5rem;
    }
    
    .guide-overview {
        grid-template-columns: 1fr;
    }
    
    .detailed-guide {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guide-image {
        height: 200px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorials-grid {
        grid-template-columns: 1fr;
    }
}
