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

:root {
    --primary-color: #5f42ea;
    --primary-hover: #7058ff;
    --bg-dark: #1e1e20;
    --bg-light-dark: #2a2a2e;
    --text-primary: #ffffff;
    --text-secondary: #c5c5d2;
    --border-color: #40414f;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
}

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

/* --- Header --- */
header {
    background-color: rgba(30, 30, 32, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn {
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(95, 66, 234, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(95, 66, 234, 0.4);
}

/* --- Hero Section --- */
.hero {
    padding-top: 220px;
    padding-bottom: 180px;
    text-align: center;
    background: radial-gradient(ellipse at bottom, var(--bg-light-dark) 0%, var(--bg-dark) 70%);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero .subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 30px;
    height: 40px; /* Garante espaço para o texto digitado */
}

.hero .hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
}

.hero .hero-btn {
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* --- General Section --- */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--bg-light-dark);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 70px;
    font-weight: 600;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-light-dark);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.feature-card i {
    color: var(--primary-color);
    margin-bottom: 20px;
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* --- How It Works Section --- */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    text-align: center;
}

.step {
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--text-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 4px solid var(--bg-light-dark);
    box-shadow: 0 0 0 4px var(--primary-color);
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-secondary);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    text-align: center;
    border-radius: 15px;
    padding: 70px 40px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta-section .cta-btn {
    background-color: var(--text-primary);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 15px 40px;
    box-shadow: none;
}

.cta-section .cta-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero .subtitle { font-size: 1.5rem; }
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding-top: 150px; padding-bottom: 100px; }
    .hero h1 { font-size: 2.5rem; }
    .hero .subtitle { font-size: 1.2rem; height: 60px; }
    .steps-container { flex-direction: column; }
    .cta-section { padding: 50px 25px; }
    .cta-section h2 { font-size: 2rem; }
    .cta-section p { font-size: 1rem; }
    .cta-section .cta-btn { padding: 12px 30px; font-size: 1rem; }
}