/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #ffffff;
    --bg-soft: #f6f7f8;
    --text: #0b0c0d;
    --muted: #5b6066;
    --border: #e6e8eb;
    --brand: #673DE6;
    --brand-dark: #5429c4;
    --shadow: 0 8px 30px rgba(103, 61, 230, 0.08);
    --shadow-hover: 0 12px 40px rgba(103, 61, 230, 0.15);
    --radius: 14px;
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    color: var(--text); 
    background: var(--bg); 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { 
    position: sticky; 
    top: 0; 
    background: rgba(255,255,255,0.8); 
    backdrop-filter: saturate(180%) blur(14px); 
    border-bottom: 1px solid var(--border); 
    z-index: 30;
    transition: all 0.3s ease;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    color: var(--text); 
    text-decoration: none; 
    font-weight: 700; 
    letter-spacing: -0.02em;
    transition: transform 0.2s ease;
}
.brand:hover { transform: translateY(-1px); }
.brand-mark { 
    color: var(--brand); 
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}
.brand-text { font-size: 18px; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.nav-menu { display: flex; gap: 28px; list-style: none; }
.nav-menu a { 
    color: var(--muted); 
    text-decoration: none; 
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}
.nav-menu a:hover { 
    color: var(--brand);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width 0.3s ease;
}
.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle { display: none; width: 36px; height: 36px; border: 1px solid var(--border); background: #fff; border-radius: 10px; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); display: block; }

/* Hero */
.hero { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 56px; 
    align-items: center; 
    padding: 72px 0;
    animation: fadeIn 0.8s ease-out;
}
.hero h1 { 
    font-size: clamp(32px, 5vw, 56px); 
    letter-spacing: -0.02em; 
    line-height: 1.1; 
    margin-bottom: 16px;
    animation: slideUp 0.8s ease-out;
}
.lead { 
    color: var(--muted); 
    font-size: clamp(16px, 2.2vw, 18px); 
    margin-bottom: 28px;
    animation: slideUp 0.8s ease-out 0.1s both;
}
.cta { 
    display: flex; 
    gap: 12px; 
    align-items: center; 
    margin-bottom: 18px;
    animation: slideUp 0.8s ease-out 0.2s both;
}
.pill { 
    background: var(--bg-soft); 
    border: 1px solid var(--border); 
    color: var(--muted); 
    padding: 6px 10px; 
    border-radius: 999px; 
    font-size: 12px;
    transition: all 0.3s ease;
}
.pill:hover {
    background: #fff;
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}
.trust { 
    display: flex; 
    gap: 8px; 
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    height: 44px; 
    padding: 0 20px; 
    border-radius: 12px; 
    border: 1px solid var(--border); 
    text-decoration: none; 
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
    width: 300px;
    height: 300px;
}
.btn-primary { 
    background: var(--brand); 
    color: #fff; 
    border-color: var(--brand);
    box-shadow: 0 4px 14px rgba(103, 61, 230, 0.25);
}
.btn-primary:hover { 
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 61, 230, 0.35);
}
.btn-ghost { 
    background: #fff; 
    color: var(--text);
}
.btn-ghost:hover { 
    background: var(--bg-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero-media .device { 
    border: 1px solid var(--border); 
    border-radius: var(--radius); 
    box-shadow: var(--shadow); 
    overflow: hidden; 
    background: #fff;
    animation: slideUp 0.8s ease-out 0.4s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-media .device:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.device-header { 
    height: 44px; 
    display: flex; 
    align-items: center; 
    padding: 0 14px; 
    border-bottom: 1px solid var(--border); 
    gap: 10px; 
    color: var(--muted); 
    font-size: 13px; 
}
.device-header .lights { 
    width: 34px; 
    height: 10px; 
    background: radial-gradient(circle at 6px 6px, #ff5f56 6px, transparent 7px), 
                radial-gradient(circle at 17px 6px, #ffbd2e 6px, transparent 7px), 
                radial-gradient(circle at 28px 6px, #27c93f 6px, transparent 7px); 
}
.device-screen { 
    padding: 18px; 
    font-family: 'Inter', monospace; 
    background: linear-gradient(135deg, #0b0c0d 0%, #1a1b1e 100%); 
    color: #e8f0ef; 
    min-height: 210px; 
}
.prompt { 
    color: #a78bfa; 
    margin-bottom: 12px;
    font-weight: 600;
}
.terminal-line { 
    background: rgba(255,255,255,0.04); 
    border: 1px solid rgba(103, 61, 230, 0.2); 
    border-radius: 8px; 
    padding: 10px 12px; 
    margin-bottom: 8px;
    min-height: 20px;
    opacity: 1;
}
.terminal-line.dim { opacity: .5; }

/* Cursor piscante do terminal */
.typing-line.typing-active::after {
    content: '▋';
    color: #a78bfa;
    animation: blink 0.8s infinite;
    margin-left: 2px;
}

.typing-line.typed::after {
    display: none;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes fadeInLine {
    from { 
        opacity: 0; 
        transform: translateX(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* Sections */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 36px); letter-spacing: -0.02em; margin-bottom: 8px; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { 
    background: #fff; 
    border: 1px solid var(--border); 
    border-radius: var(--radius); 
    padding: 24px; 
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), #a78bfa);
    border-radius: var(--radius) var(--radius) 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand);
}
.card:hover::before {
    opacity: 1;
}
.card-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}
.card:hover .card-icon {
    animation: bounceHover 0.6s ease;
}
.card h3 { 
    margin-bottom: 10px;
    font-weight: 700;
}
.card p { 
    color: var(--muted); 
    margin-bottom: 14px; 
    line-height: 1.6;
}
.list { 
    padding-left: 20px; 
    color: var(--muted); 
}
.list li { 
    margin: 6px 0;
    transition: color 0.2s ease;
}
.card:hover .list li {
    color: var(--text);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes bounceHover {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Benefit Cards */
.benefits-section {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    padding: 80px 0;
}

.benefit-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), #a78bfa, var(--brand));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.benefit-card:hover .benefit-icon {
    animation: bounceHover 0.6s ease;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 700;
}

.benefit-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

.benefit-card strong {
    color: var(--brand);
    font-weight: 700;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.metric { 
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%); 
    border: 1px solid var(--border); 
    border-radius: 16px; 
    padding: 28px; 
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.metric::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(103, 61, 230, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}
.metric:hover::before {
    left: 100%;
}
.metric:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand);
}
.metric-num { 
    font-size: 48px; 
    font-weight: 800; 
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--brand), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}
.metric-label { 
    color: var(--muted);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.banner { 
    background: linear-gradient(135deg, var(--brand) 0%, #8b5cf6 100%); 
    color: #fff; 
    border-radius: 20px; 
    padding: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    box-shadow: 0 12px 40px rgba(103, 61, 230, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotateBanner 20s linear infinite;
}
.banner:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 50px rgba(103, 61, 230, 0.4);
}
.banner-copy {
    position: relative;
    z-index: 1;
}
.banner h3 {
    font-weight: 700;
}
.banner p { 
    opacity: .9;
}
.banner-cta {
    position: relative;
    z-index: 1;
}
.banner .btn-primary { 
    background: #fff; 
    color: var(--brand); 
    border-color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.banner .btn-primary:hover { 
    background: #f8f9ff;
    color: var(--brand-dark);
}

@keyframes rotateBanner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contato */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { 
    display: block; 
    background: #fff; 
    border: 2px solid var(--border); 
    border-radius: 16px; 
    padding: 24px; 
    text-decoration: none; 
    color: var(--text); 
    box-shadow: var(--shadow); 
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(103, 61, 230, 0.05), transparent);
    transition: left 0.5s ease;
}
.contact-card:hover::before {
    left: 100%;
}
.contact-card:hover { 
    transform: translateY(-4px); 
    box-shadow: var(--shadow-hover);
    border-color: var(--brand);
}
.contact-title { 
    color: var(--muted); 
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 6px;
}
.contact-value { 
    font-weight: 700;
    color: var(--brand);
    font-size: 16px;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; gap: 10px; align-items: center; }
.footer-right { display: flex; gap: 16px; }
.footer-right a { color: var(--muted); text-decoration: none; }
.footer-right a:hover { color: var(--text); }

/* Reveal */
[data-reveal] { 
    opacity: 0; 
    transform: translateY(30px) scale(0.95); 
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
}
[data-reveal].visible { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
}

/* Responsive */
@media (max-width: 960px) {
    .container { padding: 0 20px; }
    .site-header { border-bottom-color: rgba(0,0,0,0.06); }
    .nav { height: 56px; }
    .hero { grid-template-columns: 1fr; padding: 48px 0; gap: 32px; }
    .hero h1 { font-size: clamp(28px, 7vw, 40px); }
    .lead { font-size: 16px; }
    .cta { flex-direction: column; align-items: stretch; gap: 10px; }
    .btn { height: 48px; border-radius: 14px; }
    .btn-primary, .btn-ghost { width: 100%; }
    .hero-media .device { max-width: 560px; margin: 0 auto; }
    .device-header { height: 40px; font-size: 12px; }
    .device-screen { min-height: 170px; font-size: 13px; }
    .nav-toggle { display: inline-flex; }
    .nav-menu { position: fixed; inset: 56px 16px auto 16px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; flex-direction: column; gap: 14px; display: none; box-shadow: var(--shadow); }
    .nav-menu a { padding: 10px 8px; }
    .nav-menu.open { display: flex; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .hero { padding: 36px 0; }
    .hero h1 { font-size: clamp(22px, 7.5vw, 30px); text-align: center; }
    .hero-copy { text-align: center; margin: 0 auto; }
    .lead { font-size: 13px; }
    .pill { font-size: 11px; }
    .trust { width: 100%; justify-content: center; }
    .device-screen { min-height: 140px; }
    .terminal-line { padding: 6px 8px; font-size: 12px; }
    .card { padding: 14px; border-radius: 12px; }
    .card h3 { font-size: 16px; }
    .card p, .list { font-size: 13px; }
    .metric { padding: 18px; }
    .metric-num { font-size: 32px; }
    .banner { padding: 18px; gap: 14px; flex-direction: column; align-items: center; border-radius: 16px; max-width: 560px; margin: 24px auto 0; text-align: center; }
    /* Botões menores e não ocupando a tela toda */
    .cta { align-items: center; }
    .btn { height: 42px; padding: 0 14px; font-size: 15px; }
    .btn-primary, .btn-ghost { width: 100%; max-width: 320px; }
    /* Evitar device de ponta a ponta */
    .hero-media { padding-inline: 8px; }
    .hero-media .device { width: 100%; max-width: 340px; margin: 0 auto; }
    .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; }
    .benefits-section { padding: 60px 0; }
    .footer-inner { flex-direction: column; gap: 10px; }
}

@media (max-width: 360px) {
    .btn { height: 38px; font-size: 14px; padding: 0 12px; }
    .device-screen { font-size: 11px; }
    .terminal-line { padding: 5px 7px; }
    .hero-media .device { max-width: 320px; }
}


