/* Variáveis de Cor e Estilo */
:root {
    --primary-color: #0f172a;    /* Azul Marinho Escuro */
    --secondary-color: #0f3460;  /* Azul Cyan Moderno */
    --accent-color: #10b981;     /* Verde Sucesso/Saúde */
    --text-main: #334155;        /* Cinza Escuro */
    --text-light: #f8fafc;       /* Off-white */
    --bg-light: #f1f5f9;         /* Cinza Fundo */
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: radial-gradient(circle at bottom left, #1a1a2e, #16213e, #0f3460);
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--primary-color);
}

/* Header & Navegação */
header {
    background-color: var(--white);
    padding: 1rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

header h1 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    letter-spacing: -1px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary-color);
}

nav a[href="/register"] {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
            ellipse at center,
            rgba(20, 40, 120, 0.75),
            rgba(10, 20, 60, 0.9)
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    padding: 20px;
}

.hero h2 {
    font-size: 4.5rem;
    margin-bottom: 16px;
    color: white !important;
}

.hero p {
    font-size: 2.2rem;
    margin-bottom: 24px;
    opacity: 0.95;
}

.hero button {
    padding: 14px 32px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #00f2ff, #0066ff);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero button:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Seções Comuns */
section {
    padding: 80px 10%;
}

h2 {
    text-align: center;
    font-size: 2rem;
}

/* Funcionalidades & Cards */
.features, .how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #00c6ff;
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Planos */
.pricing {
    display: flex;
    justify-content: center;
}

.price-card {
    background-color: var(--white);
    border: 2px solid var(--secondary-color);
    padding: 3rem;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    margin: 20px;
}

.price {
    font-size: 2.0rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: var(--primary-color);
}

.price-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.price-card li {
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.price-card a {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #00f2ff, #0066ff);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.price-card a:hover {
    width: 100%;
    padding: 1rem;
    background-color: #164a80;
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--bg-light);
    padding: 60px 10% 20px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

footer h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

footer a {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-decoration: none;
}

footer p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav a {
        margin: 0 0.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 5%;
    }
}

/* Seção de Funcionalidades */
.features-section {
    padding: 100px 10%;
    background-color: var(--white);
    text-align: center;
}

.badge {
    background: rgba(14, 165, 233, 0.1);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-section h2 {
    margin-top: 15px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    color: #64748b;
    max-width: 600px;
    margin: 10px auto 60px;
    font-size: 1.1rem;
}

/* Grid de Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(14, 165, 233, 0.2);
}

/* Estilo do Ícone */
.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #0369a1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    box-shadow: 0 8px 15px rgba(14, 165, 233, 0.3);
}

.icon-box i {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-section h2 {
        font-size: 2rem;
    }
}

.security-section {
    padding: 80px 0;
    background: #f9fafb;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.security-card {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transition: transform .2s ease;
}

.security-card:hover {
    transform: translateY(-6px);
}
