/* Product Page Styles */

/* Reset and Base */
.product-page {
    display: block;
    align-items: flex-start;
    min-height: 100vh;
}

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

/* Navigation */
.main-nav {
    background-color: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #4CAF50;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #4CAF50;
}

.nav-cta {
    padding: 0.5rem 1rem;
    background-color: #4CAF50;
    color: #121212;
    border-radius: 4px;
    font-weight: 600;
}

.nav-cta:hover {
    background-color: #45a049;
    color: #121212;
}

/* Hero Section */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
}

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

.product-name {
    font-size: 5rem;
    font-weight: 900;
    color: #4CAF50;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.highlight-text {
    color: #4CAF50;
    font-weight: 800;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #4CAF50;
    color: #121212;
}

.btn-primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.btn-secondary:hover {
    background-color: rgba(76, 175, 80, 0.1);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Oscilloscope Comparison */
.oscilloscope-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-item h4 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.waveform-placeholder {
    background-color: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    font-family: monospace;
    font-size: 1.1rem;
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waveform-placeholder.arduino {
    border-color: #ff6b6b;
}

.waveform-placeholder.precise {
    border-color: #4CAF50;
    font-weight: 600;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4CAF50;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
}

/* Problem/Solution Section */
.problem-solution {
    background-color: #0d0d0d;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background-color: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
}

.solution-card.highlight {
    border-color: #4CAF50;
    background-color: #1a2a1c;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.problem-list,
.solution-list,
.alt-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li,
.solution-list li,
.alt-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.problem-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

.solution-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.alt-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #888;
}

/* Markets Section */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.market-card {
    background-color: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.market-card:hover {
    transform: translateY(-4px);
    border-color: #4CAF50;
}

.market-card.featured {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #1a2a1c 0%, #1a1a1a 100%);
}

.market-card h3 {
    color: #4CAF50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.market-size {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.market-description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.market-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-badge {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Specifications Table */
.specifications {
    background-color: #0d0d0d;
}

.specs-table-container {
    margin-top: 3rem;
    overflow-x: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

.specs-table thead {
    background-color: #252525;
}

.specs-table th,
.specs-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid #2a2a2a;
}

.specs-table th {
    color: #4CAF50;
    font-weight: 600;
    font-size: 1.1rem;
}

.specs-table td {
    color: #b0b0b0;
}

.specs-table .spec-label {
    color: #ffffff;
    font-weight: 600;
}

.specs-table .our-device-col {
    background-color: rgba(76, 175, 80, 0.05);
}

.specs-table td.highlight {
    background-color: rgba(76, 175, 80, 0.1);
    color: #ffffff;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.table-note {
    margin-top: 1rem;
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

/* Integration Section */
.integration-grid {
    margin-top: 3rem;
}

.feature-card {
    background-color: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.3s ease;
}

.feature-card:hover {
    border-color: #4CAF50;
}

.feature-card.full-width {
    margin-bottom: 2rem;
}

.feature-card h3 {
    color: #4CAF50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-description {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-top: 1rem;
    font-style: italic;
}

.code-block {
    background-color: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
}

.code-block code {
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.integration-note {
    text-align: center;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
}

.integration-note p {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 0;
}

.integration-note strong {
    color: #4CAF50;
}

/* Use Case Section */
.use-case {
    background-color: #0d0d0d;
}

.use-case-content {
    max-width: 900px;
    margin: 2rem auto;
}

.use-case-content h3 {
    color: #4CAF50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.scenario {
    background-color: #1a1a1a;
    border-left: 4px solid #4CAF50;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    border-radius: 4px;
}

.requirements {
    margin-bottom: 2rem;
}

.requirements h4 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

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

.requirements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.requirements li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.solution-highlight {
    background-color: #1a2a1c;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 2rem;
}

.solution-highlight p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.solution-highlight p:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
}

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

.cta-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Footer */
.main-footer {
    position: static;
    background-color: #0d0d0d;
    border-top: 1px solid #2a2a2a;
    padding: 3rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solution-grid,
    .markets-grid {
        grid-template-columns: 1fr;
    }

    .feature-cards-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .product-name {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

    .specs-table {
        font-size: 0.85rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
