/* ===========================
   Reset e Base
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #e0e0e0;
    --accent-color: #00d4ff;
    --light-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --text-color: #ffffff;
    --text-light: #b0b0b0;
    --white: #ffffff;
    --black: #000000;
    --dark-bg: #0a0a0a;
    --card-bg: #151515;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.7);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--black);
    overflow-x: hidden;
}

/* ===========================
   Tipografia
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===========================
   Container
   =========================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   Navegação
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    background-color: rgba(0, 0, 0, 0.98);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-icon {
    font-size: 1.8rem;
    transform: rotate(-45deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    background-image: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 212, 255, 0.15)),
        url('https://images.unsplash.com/photo-1540962351504-03099e0a754b?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 80px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.6;
}

.hero-cta {
    margin-top: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--black);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
    background-color: transparent;
    color: var(--accent-color);
}

/* ===========================
   Sections
   =========================== */

.content-section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===========================
   Introdução
   =========================== */

.intro-block {
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.intro-image,
.image-showcase,
.tech-image,
.future-image,
.benefit-image,
.conclusion-image {
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.intro-image img,
.image-showcase img,
.tech-image img,
.future-image img,
.benefit-image img,
.conclusion-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image:hover img,
.image-showcase:hover img,
.tech-image:hover img,
.future-image:hover img,
.benefit-image:hover img,
.conclusion-image:hover img {
    transform: scale(1.05);
}

/* ===========================
   Content Grid
   =========================== */

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.content-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.content-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.content-card p {
    margin-bottom: 1.5rem;
}

/* ===========================
   Bullet Lists
   =========================== */

.bullet-list {
    list-style: none;
    padding-left: 0;
}

.bullet-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.bullet-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===========================
   Tecnologia
   =========================== */

.tech-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tech-block {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-block:hover {
    border-color: var(--accent-color);
}

.tech-block h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tech-block p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===========================
   Futuro
   =========================== */

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.future-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.future-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.future-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.future-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.future-card p {
    margin-bottom: 1.5rem;
}

/* ===========================
   Beneficios
   =========================== */

.benefits-content {
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-block {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-block:hover {
    border-color: var(--accent-color);
}

.benefit-block h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.benefit-block p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ===========================
   Curiosidades
   =========================== */

.curiosities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.curiosity-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.curiosity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.curiosity-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 6rem;
    font-weight: 700;
    color: rgba(0, 212, 255, 0.1);
    line-height: 1;
}

.curiosity-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.curiosity-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===========================
   Conclusão
   =========================== */

.conclusion {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--white);
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.conclusion-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.conclusion h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.conclusion .lead-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===========================
   Animações
   =========================== */

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .content-section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .content-grid,
    .future-grid,
    .curiosities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-block,
    .benefit-block {
        padding: 1.5rem;
    }
    
    .curiosity-number {
        font-size: 4rem;
        top: -10px;
        right: 10px;
    }
    
    .conclusion h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 70px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
}

/* ===========================
   Otimizações de Performance
   =========================== */

img {
    max-width: 100%;
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
