:root {
    --primary: #D81B60;
    --primary-hover: #ad1457;
    --accent: #8E24AA;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    background-image: radial-gradient(circle at 50% 0%, #2a1b3d 0%, var(--dark) 50%);
    color: var(--light);
    line-height: 1.6;
}

/* Tipografia */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-primary {
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(135deg, #ff4081, #d500f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
}

.glow-1 {
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.glow-2 {
    background: var(--accent);
    bottom: -100px;
    right: -100px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 15px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(216, 27, 96, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(216, 27, 96, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--light);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 80px 5%;
    gap: 50px;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.badge {
    background: rgba(216, 27, 96, 0.2);
    color: #ff80ab;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(216, 27, 96, 0.3);
}

.cta-group {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

/* Glass Card Animation */
.glass-card {
    background: rgba(20, 20, 40, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.code-preview {
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    color: #a6accd;
}

.line {
    margin-bottom: 8px;
}

.pink {
    color: #ff79c6;
}

.purple {
    color: #bd93f9;
}

.blue {
    color: #8be9fd;
}

.green {
    color: #50fa7b;
}

.status {
    margin-top: 15px;
    padding: 10px;
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Features */
.features {
    padding: 100px 5%;
    text-align: center;
    background: var(--darker);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

/* Responsividade */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .navbar {
        flex-direction: column;
        gap: 20px;
    }
}

/* Auth Pages Specific */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(216, 27, 96, 0.2);
}

.auth-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Password Toggle Styles */
.password-wrapper {
    position: relative;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-80%);
    /* Ajuste para centralizar verticalmente em relacao ao input que tem margin-bottom */
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--primary);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Divisor Riscado */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #94a3b8;
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 10px;
}

/* Botão Google */
.btn-google {
    background: white;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-google:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}