/* ============================================
   Atlas Cloud — Estilos do Site Institucional
   ============================================ */

/* --- Reset & Base --- */
html {
    scroll-behavior: smooth;
}

/* --- Animações --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.terminal-entrance {
    animation: terminalIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    animation-delay: 0.2s;
}

@keyframes terminalIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 16px;
    max-width: 1280px;
    margin: 0 auto;
    background: rgba(18, 20, 20, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
    .navbar {
        padding: 0 64px;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-brand img {
    height: 32px;
    width: auto;
}

.navbar-brand span {
    font-family: 'Geist', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #e2e2e2;
}

.navbar-nav {
    display: none;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .navbar-nav {
        display: flex;
    }
}

.navbar-nav a {
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #c8c5cb;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.navbar-nav a:hover {
    color: #e2e2e2;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- Botões --- */
.btn-primary {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    background: #c8c5ca;
    color: #121414;
    padding: 10px 24px;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary-lg {
    font-size: 16px;
    padding: 20px 40px;
    font-weight: 700;
}

.btn-primary-lg:hover {
    transform: scale(1.02);
}

.btn-primary-lg:active {
    transform: scale(0.98);
}

.btn-secondary {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    background: transparent;
    color: #c8c5ca;
    padding: 10px 24px;
    border: 1px solid rgba(71, 70, 75, 0.5);
    border-radius: 9999px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #c8c5ca;
    color: #e2e2e2;
}

/* --- Container --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

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

/* --- Hero Section --- */
.hero {
    padding: 160px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
}

@media (min-width: 768px) {
    .hero {
        padding: 240px 0;
        flex-direction: row;
    }
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-title {
    font-family: 'Geist', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.05em;
    background: linear-gradient(to bottom right, #fff, #fff, rgba(200, 197, 203, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 112px;
    }
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: #c8c5cb;
    max-width: 700px;
    margin: 0;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 28px;
    }
}

.hero-description code {
    font-family: 'Geist', monospace;
    font-size: 18px;
    background: #1e2020;
    padding: 4px 8px;
    border-radius: 4px;
    color: #c8c5ca;
}

.hero-cta {
    padding-top: 32px;
}

/* --- Terminal Component --- */
.terminal {
    width: 100%;
    max-width: 500px;
    flex-shrink: 0;
    background: #0c0f0f;
    border-radius: 12px;
    border: 1px solid rgba(71, 70, 75, 0.3);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(71, 70, 75, 0.1);
    background: #1a1c1c;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(200, 197, 203, 0.2);
    transition: background 0.2s;
}

.terminal-dot:hover {
    background: rgba(200, 197, 203, 0.4);
}

.terminal-body {
    padding: 24px;
    font-family: 'Geist', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #c8c5cb;
}

.terminal-line {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.terminal-line:last-child {
    margin-bottom: 0;
}

.terminal-prompt {
    opacity: 0.4;
}

.terminal-command {
    font-weight: 700;
    color: #e2e2e2;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #e2e2e2;
    margin-left: 6px;
    vertical-align: middle;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal-output {
    margin-top: 16px;
    color: #c8c5cb;
    opacity: 0.7;
}

/* --- Trust / Social Proof --- */
.trust {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .trust {
        flex-direction: row;
        gap: 96px;
    }
}

.trust-label {
    font-family: 'Geist', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #c8c5cb;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    white-space: nowrap;
    margin: 0;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.trust-logos:hover {
    filter: grayscale(0%);
}

.trust-logos span {
    font-family: 'Geist', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #e2e2e2;
}

/* --- Features Section --- */
.features {
    padding: 120px 0;
}

@media (min-width: 768px) {
    .features {
        padding: 200px 0;
    }
}

.features-header {
    margin-bottom: 96px;
    max-width: 800px;
}

.features-title {
    font-family: 'Geist', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #c8c5cb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .features-title {
        font-size: 64px;
    }
}

.features-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    color: #c8c5cb;
    margin: 0;
}

@media (min-width: 768px) {
    .features-subtitle {
        font-size: 24px;
    }
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(71, 70, 75, 0.3);
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 64px 0;
    border-bottom: 1px solid rgba(71, 70, 75, 0.3);
    transition: all 0.2s;
}

@media (min-width: 768px) {
    .feature-item {
        flex-direction: row;
        gap: 96px;
    }
}

.feature-number {
    font-family: 'Geist', monospace;
    font-size: 16px;
    color: #c8c5cb;
    margin-bottom: 16px;
    display: block;
    transition: color 0.2s;
}

.feature-item:hover .feature-number {
    color: #c8c5ca;
}

.feature-name {
    font-family: 'Geist', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #e2e2e2;
    margin: 0;
    transition: all 0.2s;
}

@media (min-width: 768px) {
    .feature-name {
        font-size: 40px;
    }
}

.feature-item:hover .feature-name {
    background: linear-gradient(to right, #fff, #c8c5ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-desc {
    flex: 1;
    display: flex;
    align-items: center;
}

.feature-desc p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    color: #c8c5cb;
    margin: 0;
}

@media (min-width: 768px) {
    .feature-desc p {
        font-size: 24px;
    }
}

/* --- CTA Section --- */
.cta {
    padding: 160px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
}

@media (min-width: 768px) {
    .cta {
        padding: 240px 0;
    }
}

.cta-title {
    font-family: 'Geist', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    background: linear-gradient(to right, #fff, #c8c5cb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 96px;
    }
}

.cta-description {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: #c8c5cb;
    margin-bottom: 48px;
    max-width: 700px;
}

@media (min-width: 768px) {
    .cta-description {
        font-size: 28px;
    }
}

/* --- Footer --- */
.footer {
    width: 100%;
    padding: 64px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand-name {
    font-family: 'Geist', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #e2e2e2;
}

.footer-copyright {
    font-size: 14px;
    color: #c8c5cb;
    font-weight: 300;
    margin: 0;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    font-size: 14px;
    color: #c8c5cb;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #e2e2e2;
}

/* --- Utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
