/* ====================== RESET & BASE ====================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #060610;
    --bg-2: #0b0b1a;
    --bg-3: #121229;
    --surface: rgba(255,255,255,0.03);
    --surface-hover: rgba(255,255,255,0.06);
    --border: rgba(255,255,255,0.08);
    --border-bright: rgba(255,255,255,0.15);
    --text: #ecedf5;
    --text-dim: #989aaa;
    --text-dimmer: #5e6074;
    --accent-1: #2563eb;   /* blue mạnh */
    --accent-2: #3b82f6;   /* blue  */
    --accent-3: #1d6fe0;   /* blue deep */
    --accent-4: #4f7cc4;   /* blue soft */
    --grad: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6);
    --grad-soft: linear-gradient(135deg, rgba(30,64,175,0.15), rgba(59,130,246,0.15));
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 8px 32px rgba(0,0,0,.4);
    --shadow-glow: 0 0 40px rgba(37,99,235,.25);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Gradient text */
.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ====================== BUTTONS ====================== */
.btn-primary, .btn-ghost, .btn-nav, .btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all .3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad);
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,99,235,.35);
}
.btn-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,99,235,.5);
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-bright);
}
.btn-ghost:hover {
    background: var(--surface-hover);
    border-color: var(--accent-2);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--grad);
    color: #fff;
    padding: 10px 22px;
    font-size: 14px;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,.4); }

.btn-lg { padding: 18px 42px; font-size: 17px; }
.btn-full { width: 100%; }

/* ====================== NAVBAR ====================== */
.nav-wrap {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(6,6,16,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all .3s ease;
}
.nav-wrap.scrolled { background: rgba(6,6,16,0.9); border-bottom-color: var(--border-bright); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
}
.logo-mark {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-sufix {
    color: var(--text);
    margin-left: 2px;
    font-size: 1.2rem;
    align-self: center;
    padding: 2px 8px;
    border: 1px solid var(--border-bright);
    border-radius: 6px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links > li > a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dim);
    transition: color .2s;
    position: relative;
}
.nav-links > li > a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--grad);
    transition: width .3s;
}
.nav-links > li > a:hover { color: var(--text); }
.nav-links > li > a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 26px; height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ====================== HERO ====================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: #2563eb; top: -10%; right: -5%; }
.orb-2 { width: 400px; height: 400px; background: #3b82f6; bottom: -10%; left: -8%; animation-delay: -4s; }
.orb-3 { width: 350px; height: 350px; background: #1e40af; top: 30%; left: 40%; animation-delay: -8s; opacity: .4; }

@keyframes float {
    0%,100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(40px,-40px) scale(1.1); }
    66% { transform: translate(-30px,30px) scale(.9); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border-bright);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 24px;
}
.pulse-dot {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74,222,128,.5);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
    70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-dim);
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-subtitle strong { color: var(--text); font-weight: 600; }

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    font-size: 13px;
    color: var(--text-dimmer);
    margin-top: 4px;
    display: block;
}

.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 44px;
    border: 2px solid var(--border-bright);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-hint span {
    width: 4px; height: 8px;
    background: var(--accent-2);
    border-radius: 4px;
    animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
    0% { opacity: 0; transform: translateY(-4px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ====================== SECTIONS ====================== */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-2); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-tag {
    display: inline-block;
    font-family: monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-2);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-desc { color: var(--text-dim); font-size: 1.1rem; }

/* ====================== SERVICE CARDS ====================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.card:hover {
    border-color: var(--border-bright);
    background: var(--surface-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow), var(--shadow-glow);
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--grad-soft);
    border: 1px solid var(--border-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-2);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.card > p { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; }
.card-list { display: flex; flex-direction: column; gap: 8px; }
.card-list li {
    font-size: 14px;
    color: var(--text-dim);
    padding-left: 20px;
    position: relative;
}
.card-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-2);
}

/* ====================== CLOUD SECTION ====================== */
.cloud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.cloud-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .3s;
}
.cloud-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-bright);
    box-shadow: var(--shadow);
}
.cloud-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: .5px;
}
.cloud-badge.onprem { background: rgba(100,116,139,.2); color: #94a3b8; border: 1px solid rgba(100,116,139,.3); }
.cloud-badge.aws    { background: rgba(255,153,0,.15); color: #ff9900; border: 1px solid rgba(255,153,0,.3); }
.cloud-badge.oracle { background: rgba(239,68,68,.15); color: #ff4b4b; border: 1px solid rgba(239,68,68,.3); }
.cloud-badge.azure   { background: rgba(59,130,246,.15); color: #60a5fa; border: 1px solid rgba(59,130,246,.3); }
.cloud-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cloud-card > p { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; }
.cloud-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cloud-tags span {
    font-size: 12px;
    padding: 4px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-dim);
}

/* ====================== DIFERENCIAIS ====================== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.feature {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.feature-num {
    font-size: 2rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    min-width: 50px;
}
.feature-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature-body p { color: var(--text-dim); font-size: 14px; }

/* ====================== SOBRE ====================== */
.sobre-wrap {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: center;
}
.sobre-text .section-tag { margin-bottom: 12px; }
.sobre-text .section-title { text-align: left; margin-bottom: 20px; }
.sobre-text p { color: var(--text-dim); margin-bottom: 16px; }
.sobre-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sobre-tags span {
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--accent-2);
    font-weight: 500;
}
.sobre-glow {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}
.glow-block {
    position: absolute;
    border-radius: 30%;
    filter: blur(40px);
    animation: float 12s ease-in-out infinite;
}
.glow-a { width: 60%; height: 60%; background: #2563eb; top: 10%; left: 10%; }
.glow-b { width: 50%; height: 50%; background: #3b82f6; bottom: 15%; right: 15%; animation-delay: -3s; }
.glow-c { width: 40%; height: 40%; background: #1e40af; center: 50%; opacity: .5; animation-delay: -6s; }
.sobre-xp {
    position: relative;
    z-index: 1;
    text-align: center;
}
.xp-num {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.xp-label {
    font-size: 1rem;
    color: var(--text-dim);
    margin-top: 8px;
    display: block;
    line-height: 1.4;
}

/* ====================== CONTATO ====================== */
.contato-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contato-info .section-tag { margin-bottom: 12px; }
.contato-info .section-title { text-align: left; margin-bottom: 16px; }
.contato-info > p { color: var(--text-dim); margin-bottom: 32px; }
.contato-channels { display: flex; flex-direction: column; gap: 20px; }
.channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.channel:hover { border-color: var(--border-bright); background: var(--surface-hover); }
.channel-icon { font-size: 1.5rem; }
.channel strong { display: block; font-size: 15px; }
.channel div { color: var(--text-dim); font-size: 14px; }

.contato-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font);
    transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.field textarea { resize: vertical; }
.form-ok {
    text-align: center;
    margin-top: 16px;
    color: #4ade80;
    font-weight: 500;
}

/* ====================== CTA BANNER ====================== */
.cta-banner {
    padding: 100px 0;
    text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(37,99,235,.15), transparent 70%),
        var(--bg);
}
.cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.cta-banner p { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 32px; }

/* ====================== FOOTER ====================== */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 12px; max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; font-size: 14px; color: var(--text-dim); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-dimmer);
}

/* ====================== REVEAL ANIMATION ====================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 64px; right: 0;
        width: 280px;
        height: calc(100vh - 64px);
        background: rgba(6,6,16,.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform .3s ease;
        border-left: 1px solid var(--border);
    }
    .nav-links.active { transform: translateX(0); }

    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .sobre-wrap { grid-template-columns: 1fr; gap: 32px; }
    .contato-wrap { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand { text-align: center; }
    .footer-brand p { margin: 12px auto 0; }

    .section { padding: 60px 0; }
    .hero { padding-top: 80px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .scroll-hint { display: none; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .footer-links { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
