:root {
    /* Delta IA: base institucional neutra com acento próprio de produto */
    --bg-dark: #111416;
    --bg-light: #1D2226;
    --accent-cyan: #38BDF8;
    --accent-cyan-hover: #7DD3FC;
    --accent-violet: #A0AAB2;
    --text-main: #F0F2F5;
    --text-muted: #A7B0B8;
    
    /* Superfícies sólidas e linhas discretas */
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-border: rgba(226, 232, 240, 0.12);
    --glass-blur: blur(8px);
    
    /* Typography */
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Transitions */
    --transition: all 0.25s ease;
    --section-padding: 6rem 0;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-cyan-hover);
}

p {
    color: var(--text-muted);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(18, 18, 18, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    background: var(--accent-cyan-hover);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(110, 231, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-btn {
    padding: 0.6rem 1.2rem;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

/* Orb HUD / Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation: rotate 60s linear infinite;
    border-top-color: var(--accent-cyan);
    border-bottom-color: var(--accent-violet);
}

.ring-2 {
    width: 70%;
    height: 70%;
    animation: rotate-reverse 45s linear infinite;
    border-right-color: var(--accent-cyan);
    border-left-color: var(--accent-violet);
}

.orb-core {
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, rgba(12,12,13,0) 70%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
    animation: pulse 8s ease-in-out infinite alternate;
}

.orb-icon {
    color: var(--accent-cyan);
}

/* Trust Bar */
.trust-bar {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(36, 37, 38, 0.6);
    backdrop-filter: blur(4px);
    text-align: center;
}

.trust-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.25rem;
    opacity: 0.8;
}

.trust-dot {
    color: var(--accent-cyan);
    font-size: 1.5rem;
}

/* Glass Cards Generic */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px -10px rgba(56, 189, 248, 0.15);
    transform: translateY(-5px);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Icons */
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.error-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #F87171;
}

.primary-icon {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-cyan);
}

.glass-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.glass-card p {
    font-size: 0.95rem;
}

/* Banner Transition */
.transition-banner {
    margin-top: 4rem;
    padding: 3rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(160, 170, 178, 0.1) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    text-align: center;
}

.transition-banner h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-cyan);
}

/* How It Works (Steps) */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.step {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Security Section */
.security-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-list {
    list-style: none;
    margin-top: 2rem;
}

.security-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.security-list svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.shield-graphic {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Testimonial */
.testimonial-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    margin-bottom: 1rem;
}

.testimonial-card > p:first-of-type {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.author {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* FAQ */
.faq-container {
    max-width: 800px;
}

.accordion-item {
    border-bottom: 1px solid var(--glass-border);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.chevron {
    transition: transform 0.3s ease;
    color: var(--accent-cyan);
}

.accordion-header[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: rgba(18, 18, 18, 0.98);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.6);
}

/* Product copy, video demo and contact form */
.hero-content .hero-subtitle {
    margin-bottom: 0.9rem;
}

.hero-capabilities {
    max-width: 650px;
    margin-bottom: 1rem;
    color: #CBD5E1;
    font-size: 1.05rem;
    line-height: 1.65;
}

.brand-slogan {
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
}

.video-demo-container,
.contact-container {
    max-width: 980px;
}

.video-frame {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 20px;
    background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.08), transparent 58%), linear-gradient(135deg, rgba(28, 28, 28, 0.96), rgba(18, 18, 18, 0.98));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), inset 0 0 60px rgba(56, 189, 248, 0.04);
}

.video-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.video-placeholder-content strong {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.video-play-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    padding-left: 4px;
    border: 1px solid rgba(56, 189, 248, 0.55);
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.08);
    color: var(--accent-cyan);
    font-size: 1.5rem;
    box-shadow: 0 0 32px rgba(56, 189, 248, 0.18);
}

.contact-form {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 10px;
    outline: none;
    background: rgba(18, 18, 18, 0.95);
    color: var(--text-main);
    font: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.form-field select option {
    background: var(--bg-dark);
    color: var(--text-main);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #718096;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-submit:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.form-note {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Visual language inspired by the PC civil police standard, not its insignia */
body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(ellipse at 82% 10%, rgba(56, 189, 248, 0.055), transparent 34%),
        linear-gradient(180deg, #111416 0%, #171B1F 52%, #111416 100%);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 3px;
}

.header,
.header.scrolled {
    background: rgba(17, 20, 22, 0.96);
    border-bottom-color: rgba(226, 232, 240, 0.13);
}

.header.scrolled {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.btn-primary {
    box-shadow: 0 5px 18px rgba(56, 189, 248, 0.16);
}

.btn-primary:hover {
    box-shadow: 0 7px 22px rgba(56, 189, 248, 0.24);
}

.badge {
    border-radius: 7px;
    background: rgba(56, 189, 248, 0.075);
    border-color: rgba(56, 189, 248, 0.2);
    letter-spacing: 0.035em;
}

.hero-title {
    background: linear-gradient(115deg, #F7F8FA 15%, #B9C2C9 92%);
    -webkit-background-clip: text;
    background-clip: text;
}

.orb-ring {
    border-color: rgba(160, 170, 178, 0.18);
}

.glass-card,
.step {
    background: linear-gradient(145deg, rgba(35, 40, 44, 0.82), rgba(23, 27, 30, 0.92));
    border-color: rgba(226, 232, 240, 0.12);
    border-radius: 11px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.glass-card:hover {
    background: linear-gradient(145deg, rgba(40, 47, 52, 0.94), rgba(25, 30, 33, 0.98));
    border-color: rgba(56, 189, 248, 0.34);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
    transform: translateY(-3px);
}

.transition-banner {
    background: linear-gradient(120deg, rgba(32, 38, 42, 0.96), rgba(24, 29, 32, 0.96));
    border-color: rgba(160, 170, 178, 0.2);
    border-radius: 12px;
}

.video-frame {
    border-color: rgba(160, 170, 178, 0.24);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(31, 36, 40, 0.98), rgba(17, 20, 22, 0.99));
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.3), inset 0 0 44px rgba(56, 189, 248, 0.035);
}

.video-play-icon {
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.12);
}

.contact-form {
    background: linear-gradient(145deg, rgba(32, 37, 41, 0.92), rgba(22, 26, 29, 0.98));
    border-color: rgba(226, 232, 240, 0.15);
    border-radius: 12px;
    backdrop-filter: none;
}

.form-field input,
.form-field select,
.form-field textarea {
    border-color: rgba(160, 170, 178, 0.25);
    border-radius: 7px;
    background: rgba(15, 18, 20, 0.9);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.footer {
    background: #101315;
    border-top-color: rgba(226, 232, 240, 0.12);
}

@media (max-width: 768px) {
    .nav {
        background: rgba(17, 20, 22, 0.99);
    }
}

/* Animations */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulse {
    0% { transform: scale(0.96); box-shadow: 0 0 12px rgba(56, 189, 248, 0.08); }
    100% { transform: scale(1.04); box-shadow: 0 0 22px rgba(56, 189, 248, 0.16); }
}

/* Progressive enhancement: content remains readable if animation JS does not run */
.fade-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-container, .security-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .shield-graphic {
        margin: 0 auto;
    }
    
    .security-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(17, 20, 22, 0.99);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav.active {
        background-color: rgba(17, 20, 22, 0.99) !important;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-wide {
        grid-column: auto;
    }

    .video-placeholder-content {
        gap: 0.5rem;
        padding: 1rem;
    }

    .video-placeholder-content strong {
        font-size: 1rem;
    }

    .video-placeholder-content > span:last-child {
        font-size: 0.82rem;
    }

    .video-play-icon {
        width: 52px;
        height: 52px;
        font-size: 1.15rem;
    }

    .testimonial-card > p:first-of-type {
        font-size: 1.25rem;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .trust-logos {
        gap: 0.5rem;
    }
    
    .trust-item {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
