/* Variáveis de Cores Baseadas na Logo */
:root {
    --bg-dark: #1E2024;
    --bg-darker: #151619;
    --color-yellow: #FFD500;
    --color-green: #4CAF50;
    --color-blue: #03A9F4;
    --text-light: #F5F5F5;
    --text-muted: #A0AAB2;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilidades de Texto */
.color-yellow { color: var(--color-yellow); }
.color-green { color: var(--color-green); }
.color-blue { color: var(--color-blue); }

/* Botões */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-yellow);
    color: #000;
}

.btn-primary:hover {
    background-color: #e6c000;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--color-yellow);
    color: var(--color-yellow);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-yellow);
    color: #000;
}

/* Cabeçalho */
header {
    background-color: var(--bg-darker);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
    line-height: 1.1;
    color: var(--text-light);
}

.logo-slogan {
    font-size: 0.65rem;
    color: var(--color-green);
    letter-spacing: 1.5px;
    font-weight: 600;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.desktop-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--color-yellow);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, #2a2d34, var(--bg-dark));
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.slogan-hero {
    display: inline-block;
    color: var(--color-yellow);
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.botoes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.nota-plataforma {
    font-size: 0.85rem !important;
    color: var(--color-green) !important;
    margin: 0 !important;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Celular Mockup e Carrossel */
.phone-mockup {
    width: 280px;
    height: 580px;
    background-color: #000;
    border: 12px solid #222;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background-color: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #333; /* Cor de fundo enquanto a imagem não carrega */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50%;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.carousel-btn:hover {
    background: var(--color-yellow);
    color: #000;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--bg-darker);
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-green);
}

.card h3 {
    margin-bottom: 15px;
}

/* Destaque Exclusivo RTK */
.highlight-card {
    border: 2px solid var(--color-blue);
    background: linear-gradient(145deg, var(--bg-dark), #101c26);
    position: relative;
    transform: scale(1.02); /* Deixa ele um pouquinho maior que os outros */
}

.highlight-card:hover {
    transform: scale(1.05);
    border-color: var(--color-yellow);
}

.badge-feature {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--color-blue);
    color: #fff;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}

/* RuralCAD Section */
.ruralcad-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark), #1a251c);
}

.ruralcad-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-green);
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.ruralcad-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.ruralcad-box p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    background-color: var(--color-green);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 15px;
}

/* Support / Monetização */
.support {
    padding: 80px 0;
    background-color: var(--bg-darker);
    text-align: center;
}

.support h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.support > p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
}

.grid-support {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.support-card {
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #333;
}

.support-card h3 {
    color: var(--color-yellow);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.support-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.support-card.premium {
    border-color: var(--color-yellow);
}

/* Privacidade */
.privacy {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.privacy h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.privacy-content {
    background-color: var(--bg-darker);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #333;
}

.privacy-content p {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.privacy-content ul {
    list-style-type: none;
}

.privacy-content li {
    margin-bottom: 20px;
    color: var(--text-muted);
    padding-left: 20px;
    border-left: 3px solid var(--color-blue);
}

.privacy-content li strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.privacy-content li strong.color-green {
    color: var(--color-green);
}

/* Rodapé */
footer {
    background-color: #000;
    padding: 30px 0;
    text-align: center;
    color: #777;
}

footer p:last-child {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
    letter-spacing: 1px;
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    /* Header e Navegação */
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .desktop-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero {
        padding: 180px 0 60px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .botoes {
        align-items: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Ajuste do celular no mobile */
    .phone-mockup {
        width: 260px;
        height: 540px;
        margin: 0 auto;
    }

    /* Ajustes Gerais de Textos e Caixas */
    .features h2, .ruralcad-box h2, .support h2, .privacy h2 {
        font-size: 1.8rem;
    }

    .ruralcad-box, .privacy-content {
        padding: 30px 20px;
    }

    .grid-features, .grid-support {
        grid-template-columns: 1fr;
    }
}
/* --- Estilização RuralCAD --- */
.ruralcad-header {
    text-align: center;
    margin-bottom: 50px;
}

.ruralcad-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.ruralcad-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.rc-item {
    padding-left: 20px;
    border-left: 2px solid var(--color-green);
}

.rc-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.rc-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Mockup de Monitor */
.desktop-mockup {
    position: relative;
    padding: 10px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.7);
}

.pc-screen {
    width: 100%;
    display: block;
    border-radius: 5px;
    background-color: #111; /* Cor de fundo enquanto não tem a imagem */
    min-height: 300px;
}

.pc-base {
    width: 120px;
    height: 10px;
    background: #333;
    margin: 0 auto;
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.pc-base::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 8px;
    background: #222;
    border-radius: 5px;
}

/* Responsividade RuralCAD */
@media (max-width: 992px) {
    .ruralcad-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .rc-item {
        border-left: none;
        border-bottom: 1px solid #333;
        padding: 0 0 20px 0;
    }
    .ruralcad-preview {
        order: -1; /* Coloca a imagem em cima no mobile */
        margin-bottom: 40px;
    }
}
/* --- Adição ao style.css para o RuralCAD --- */
.rc-tools-list {
    margin-top: 30px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px dashed #444;
}

.rc-tools-list span {
    display: inline-block;
    margin-right: 10px;
    padding: 2px 8px;
    background: #2a2d34;
    border-radius: 4px;
    margin-bottom: 5px;
}
/* Lista Técnica RuralCAD */
.rc-tools-list {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px dashed #444;
}

.rc-tools-list span {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 8px;
    background: #2a2d34;
    border-radius: 4px;
    margin-bottom: 5px;
    color: var(--color-green);
}

/* Formulário Lista de Espera */
.ruralcad-waitlist {
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-darker);
    border-radius: 16px;
    text-align: center;
    border: 1px solid #333;
}

.ruralcad-waitlist h3 {
    margin-bottom: 10px;
}

.ruralcad-waitlist p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.waitlist-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #111;
    color: #fff;
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--color-green);
}

@media (max-width: 600px) {
    .waitlist-form {
        flex-direction: column;
    }
}