/* 
   SynapseFlow - Stylesheet 
   Modern, Dark Theme, Premium Aesthetic
*/

:root {
    --bg-dark: #05070E;
    --bg-darker: #020306;
    --bg-card: #0D1525;
    --bg-footer: #020306;

    --primary: #00E5A0;
    /* Teal / Mint Green */
    --primary-hover: #00b47d;
    --text-main: #F0F4FF;
    --text-muted: #8898AA;
    --text-dark: #1a1a1a;

    --border-color: rgba(255, 255, 255, 0.05);

    --font-main: 'Outfit', sans-serif;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

/* Ensure sections don't get covered by fixed navbar */
[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary);
}

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

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-label {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px 0 rgba(0, 229, 160, 0.2), inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 160, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1;
    width: fit-content;
}

.logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 70%;
    background-color: rgba(255, 255, 255, 0.4);
    filter: blur(35px);
    z-index: -1;
    border-radius: 50%;
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--primary);
}

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

/* Hero Section V2 (Matched with verificar.html) */
.hero-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 60px 80px;
    position: relative;
    overflow: hidden;
    background: #05070E;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 160, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 160, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, black 30%, transparent 100%);
    z-index: 0;
}

.hero-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.hero-blob2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.08) 0%, transparent 70%);
    bottom: 50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-30px)
    }
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 229, 160, 0.08);
    border: 1px solid rgba(0, 229, 160, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: #00E5A0;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00E5A0;
    box-shadow: 0 0 10px #00E5A0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        opacity: .5;
        transform: scale(1.3)
    }
}

.hero-v2 .hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: #F0F4FF;
}

.hero-v2 .hl {
    background: linear-gradient(135deg, #00E5A0 0%, #00B8FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px;
    font-weight: 300;
    color: #8898AA;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0;
    /* Reset previous margin */
}

/* HERO RIGHT — TERMINAL CARD */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.terminal {
    background: #0D1525;
    border: 1px solid #1E2D4A;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background: #0C1020;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #1E2D4A;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-body {
    padding: 20px;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.8;
}

.t-line {
    display: flex;
    gap: 8px;
}

.t-prompt {
    color: #00E5A0;
}

.t-cmd {
    color: #B8D4FF;
}

.t-out {
    color: #8898AA;
    padding-left: 16px;
}

.t-success {
    color: #00E5A0;
}

.t-blink {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: #00E5A0;
    animation: blink 1s step-end infinite;
    vertical-align: -2px;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-card {
    background: #0D1525;
    border: 1px solid #1E2D4A;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 160, 0.3);
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #00E5A0;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: #8898AA;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp .7s ease forwards;
}

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

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 {
    animation-delay: .1s
}

.delay-2 {
    animation-delay: .2s
}

.delay-3 {
    animation-delay: .3s
}

.delay-4 {
    animation-delay: .4s
}

@media (max-width: 900px) {
    .hero-v2 {
        padding: 120px 24px 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        display: none;
    }
}

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

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(35, 181, 153, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(35, 181, 153, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Differentials */
.bg-darker {
    background-color: var(--bg-darker);
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

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

.grid-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(35, 181, 153, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    transition: var(--transition);
}

.grid-item:hover .grid-icon {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

.grid-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.grid-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-method h4 {
    margin-bottom: 0.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-method a {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    padding: 2.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.input-group.align-top i {
    top: 1rem;
    transform: none;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1rem 1rem 3rem;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(0, 0, 0, 0.4);
}

.input-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--bg-footer);
    color: var(--text-dark);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo::before {
    display: none;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links-group h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links-group a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-links-group a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #d1d1d1;
    color: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.2rem;
    }

    .navbar {
        position: fixed;
        background: rgba(5, 7, 14, 0.9);
        backdrop-filter: blur(12px);
    }

    .logo-img {
        height: 85px;
    }

    .logo::before {
        filter: blur(15px);
        background-color: rgba(255, 255, 255, 0.5);
    }

    .hero {
        padding-top: 140px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 7, 14, 0.95);
        backdrop-filter: blur(12px);
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center !important;
        width: 100%;
    }

    .hero-badge {
        margin: 0 auto 24px auto !important;
    }

    .hero-v2 .hero-title {
        font-size: 2.2rem;
        margin-top: 1rem;
        text-align: center !important;
        width: 100%;
    }

    .hero-sub {
        font-size: 1.05rem;
        margin-bottom: 2rem;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
        padding-top: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-features {
        gap: 1rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.5rem 1rem;
    }

    .feature-icon {
        margin-bottom: 0.5rem;
    }

    .grid-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }

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

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}