/* ====================================
   ATLON TECH — ÁREA DE MEMBROS
   Design System & Styling
   ==================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Green Palette (from Atlon Tech brand) */
    --green-primary: #00E86C;
    --green-dark: #00B854;
    --green-light: #39FF8B;
    --green-glow: rgba(0, 232, 108, 0.3);
    --green-subtle: rgba(0, 232, 108, 0.08);
    --green-border: rgba(0, 232, 108, 0.15);
    --green-gradient: linear-gradient(135deg, #00E86C, #00B854);

    /* Background Palette */
    --bg-primary: #050508;
    --bg-secondary: #0A0A10;
    --bg-card: rgba(14, 14, 24, 0.65);
    --bg-card-hover: rgba(20, 20, 36, 0.8);
    --bg-input: rgba(14, 14, 24, 0.9);

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.08);

    /* Misc */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Particle Canvas --- */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Glowing Orbs --- */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 232, 108, 0.12), transparent 70%);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 184, 84, 0.08), transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -4s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(57, 255, 139, 0.06), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -8s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }

    75% {
        transform: translate(20px, 20px) scale(1.02);
    }
}

.orb-3 {
    animation-name: orbFloat3;
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    25% {
        transform: translate(calc(-50% + 30px), calc(-50% - 20px)) scale(1.05);
    }

    50% {
        transform: translate(calc(-50% - 20px), calc(-50% + 30px)) scale(0.95);
    }

    75% {
        transform: translate(calc(-50% + 20px), calc(-50% + 20px)) scale(1.02);
    }
}

/* --- Container --- */
.container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Navbar --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* --- Hero Section --- */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0 40px;
    gap: 32px;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--green-subtle);
    border: 1px solid var(--green-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green-primary);
    animation: badgeFadeIn 0.8s ease-out;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-primary);
    position: relative;
}

.pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--green-primary);
    opacity: 0.4;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Title */
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: titleIn 1s ease-out 0.2s both;
}

.line-1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: -0.5px;
}

.line-2 {
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--green-light), var(--green-primary), var(--green-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.05;
}

@keyframes titleIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Subtitle */
.hero-subtitle {
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-subtitle strong {
    color: var(--green-primary);
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Progress Section --- */
.progress-section {
    width: 100%;
    max-width: 480px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-label {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.progress-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green-primary);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--green-gradient);
    border-radius: 100px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green-primary);
    box-shadow: 0 0 16px var(--green-glow), 0 0 32px rgba(0, 232, 108, 0.15);
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--green-glow), transparent);
    animation: progressShine 3s ease-in-out infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    animation: fadeIn 1s ease-out 0.8s both;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: var(--transition);
    animation: cardIn 0.6s ease-out calc(var(--delay) + 0.8s) both;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--green-border);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 232, 108, 0.08);
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--green-subtle);
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--green-primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(0, 232, 108, 0.15);
    box-shadow: 0 0 20px var(--green-glow);
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-tertiary);
}

/* --- CTA Section --- */
.cta-section {
    width: 100%;
    max-width: 480px;
    animation: fadeIn 1s ease-out 1.2s both;
}

.cta-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.notify-form {
    position: relative;
}

.input-group {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-input);
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--green-border);
    box-shadow: 0 0 0 3px rgba(0, 232, 108, 0.08);
}

.input-group input {
    flex: 1;
    padding: 14px 18px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.input-group input::placeholder {
    color: var(--text-tertiary);
}

.input-group button {
    padding: 14px 24px;
    background: var(--green-gradient);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: var(--transition);
}

.input-group button:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px var(--green-glow);
}

.input-group button:active {
    transform: scale(0.98);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.input-group button:hover .btn-icon {
    transform: translate(3px, -3px);
}

.form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--green-primary);
    font-weight: 500;
    animation: fadeIn 0.4s ease-out;
}

.form-success.show {
    display: flex;
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer p {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 18px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 22px 18px;
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    .feature-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .hero {
        padding: 40px 0 30px;
        gap: 24px;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group button {
        justify-content: center;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .nav-back span {
        display: none;
    }

    .logo-text {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }
}