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

:root {
    --bg-dark: #002b36;
    --surface-dark: #073642;
    --accent-emerald: #10b981;
    --accent-indigo: #6366f1;
    --text-main: #f1f5f9;
    --text-dim: #94a3b8;
    --glass: rgba(7, 54, 66, 0.7);
    --glass-border: rgba(16, 185, 129, 0.2);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* Background Gradients */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: move 20s infinite alternate;
}

.blob-1 { top: -100px; right: -100px; }
.blob-2 { bottom: -200px; left: -200px; background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%); }

@keyframes move {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: 0.3s;
}

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

.btn-login {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-login:hover {
    background: var(--accent-emerald);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    padding-top: 100px;
}

.badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--accent-emerald);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1.4s ease;
}

.btn-primary {
    background: var(--accent-emerald);
    color: #fff;
    padding: 18px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

/* Features Gallery */
.features {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-cols: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--surface-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    position: relative;
    perspective: 1000px;
}

.feature-card:hover {
    transform: translateY(-15px) rotateX(4deg) rotateY(-2deg);
    border-color: var(--accent-emerald);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.2);
}

/* Mockup Browser Header */
.feature-card::before {
    content: "";
    display: block;
    height: 30px;
    background: #0a4655;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
}

.feature-card::after {
    content: "•••";
    position: absolute;
    top: 5px;
    left: 15px;
    color: var(--accent-emerald);
    font-size: 18px;
    letter-spacing: 2px;
    opacity: 0.6;
}

.img-container {
    position: relative;
    overflow: hidden;
}

.img-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.feature-card:hover .img-container::after {
    left: 150%;
}

.feature-img {
    width: 100%;
    height: auto;
    max-height: 450px; /* Limite de altura para não ficar gigante */
    object-fit: contain; /* Mostra o print inteiro sem cortar */
    background: #00151a; /* Fundo escuro para preencher bordas se necessário */
    transition: 0.8s;
    filter: brightness(0.9) contrast(1.1);
    display: block;
}

.feature-card:hover .feature-img {
    filter: brightness(1.1) contrast(1.1);
}

.feature-info {
    padding: 30px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.2));
}

.feature-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700;
}

.feature-info p {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-primary { text-align: center; }
}
