/* Estilos gerais */
:root {
    --primary-color: #00813c;
    --secondary-color: #e67e00;
    --accent-color: #004b8d;
    --light-blue: #0099cc;
    --red: #cc0000;
    --yellow: #ffcc00;
    --dark: #121212;
    --light: #f5f5f5;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--yellow);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header */
header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo-container h1 {
    font-size: 1.5rem;
    margin: 0;
}

.logo-container span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url('circuit-border.png');
    background-repeat: repeat-x;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Product Showcase */
.product-showcase {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 4rem 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.product-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 5px solid var(--light);
}

.product-features {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.product-features h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-features p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.product-features ul {
    list-style: none;
}

.product-features li {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.product-features li i {
    color: var(--yellow);
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Board Images Section */
.board-images {
    padding: 4rem 5%;
    background-color: var(--dark);
}

.board-images h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.gallery-item p {
    padding: 1rem;
    text-align: center;
    font-weight: bold;
}

/* Connections Section */
.connections {
    padding: 4rem 5%;
    background-color: var(--accent-color);
}

.connections h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.connection-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

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

.table-container h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background-color: var(--primary-color);
    color: var(--yellow);
    font-weight: bold;
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.connection-steps {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.connection-steps h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.connection-steps ol {
    padding-left: 2rem;
}

.connection-steps li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Configuration Section */
.configuration {
    padding: 4rem 5%;
    background-color: var(--dark);
}

.configuration h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.config-section {
    margin-bottom: 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.config-section h3 {
    background-color: var(--primary-color);
    color: var(--yellow);
    padding: 1.5rem;
    margin: 0;
    font-size: 1.5rem;
}

.config-content {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.config-text {
    flex: 3;
    min-width: 300px;
}

.config-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.config-text h4 {
    margin: 1.5rem 0 1rem;
    color: var(--light);
    font-size: 1.2rem;
}

.config-text ul, .config-text ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.config-text li {
    margin-bottom: 0.5rem;
}

.config-icon {
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.config-icon i {
    font-size: 5rem;
    color: var(--primary-color);
}

/* Advanced Section */
.advanced {
    padding: 4rem 5%;
    background-color: var(--accent-color);
}

.advanced h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.advanced-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.advanced-content > p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

.advanced-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.advanced-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.advanced-item h3 {
    color: var(--yellow);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.advanced-warning {
    background-color: rgba(204, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    border-left: 5px solid var(--red);
}

.advanced-warning i {
    font-size: 2.5rem;
    color: var(--red);
    margin-right: 1.5rem;
}

/* Tutorials Section */
.tutorials {
    padding: 4rem 5%;
    background-color: var(--dark);
}

.tutorials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tutorial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-10px);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder i:hover {
    color: var(--yellow);
    transform: scale(1.1);
}

.tutorial-card h3 {
    padding: 1rem;
    font-size: 1.2rem;
}

.tutorial-card p {
    padding: 0 1rem 1rem;
    color: #ccc;
}

.watch-button {
    display: block;
    background-color: var(--primary-color);
    color: var(--light);
    text-align: center;
    padding: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.watch-button:hover {
    background-color: var(--yellow);
    color: var(--dark);
}

/* FAQ Section */
.faq {
    padding: 4rem 5%;
    background-color: var(--primary-color);
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--yellow);
}

/* Support Section */
.support {
    padding: 4rem 5%;
    background-color: var(--dark);
}

.support h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.support-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.whatsapp-support, .support-info {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-support i {
    font-size: 4rem;
    color: #25D366;
    margin-bottom: 1rem;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.support-info h3 {
    margin-bottom: 1.5rem;
}

.support-info p {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    padding: 3rem 5% 1rem;
    border-top: 5px solid var(--primary-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo, .footer-links, .footer-contact {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .product-showcase {
        flex-direction: column;
    }
    
    .product-image, .product-features {
        width: 100%;
    }
    
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .config-icon {
        display: none;
    }
}
