:root,
[data-theme="light"] {
    --primary: #0087ff;
    --primary-dark: #005fcc;
    --accent: #fdb926;
    --dark: #050c18;
    --dark2: #0a1628;
    --dark3: #0f1f3d;

    --bg: #f4f7fb;
    --bg2: #eaf0fa;
    --surface: #ffffff;
    --surface2: #f0f5ff;
    --text: #1a2340;
    --text-dim: #4d6080;
    --border: rgba(0, 135, 255, 0.18);
    --card-bg: #ffffff;
    --card-shadow: 0 4px 24px rgba(0, 100, 200, 0.10);
    --navbar-bg: rgba(255, 255, 255, 0.92);
    --footer-bg: #0a1628;
    --radius: 18px;
    --radius-sm: 10px;
    --glow: 0 0 40px rgba(0, 135, 255, 0.15);
    --transition: 0.3s ease;
}

[data-theme="dark"] {
    --bg: #050c18;
    --bg2: #0a1628;
    --surface: #0f1f3d;
    --surface2: #0a1628;
    --text: #c8d8f0;
    --text-dim: #6a85aa;
    --border: rgba(0, 135, 255, 0.18);
    --card-bg: rgba(15, 31, 61, 0.7);
    --card-shadow: 0 0 40px rgba(0, 135, 255, 0.10);
    --navbar-bg: rgba(5, 12, 24, 0.95);
    --glow: 0 0 40px rgba(0, 135, 255, 0.25);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background var(--transition), color var(--transition);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    color: var(--text);
}

a {
    text-decoration: none;
}

.text-accent {
    color: var(--accent) !important;
}

.text-dim {
    color: var(--text-dim);
}

.text-primary-color {
    color: var(--primary) !important;
}

.section-padded {
    padding: 96px 0;
}

.section-alt {
    background: var(--bg2);
}

#mainNav {
    background: var(--navbar-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
    padding: 12px 0;
}

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

.brand-icon {
    padding: 3px;
    background: var(--primary);
    color: var(--primary);
    line-height: 1;
    border-radius: 25%;
}

.brand-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text);
    letter-spacing: -0.5px;
}

.brand-accent {
    color: var(--accent);
}

.nav-link {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: var(--text) !important;
    padding: 6px 14px !important;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.nav-link:hover {
    background: var(--surface2);
    color: var(--primary) !important;
}

.dropdown-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--card-shadow);
    padding: 8px;
}

.dropdown-item {
    color: var(--text);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: .92rem;
    transition: background var(--transition);
}

.dropdown-item:hover {
    background: var(--surface2);
    color: var(--primary);
}

/* Theme toggle */
.theme-toggle {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all var(--transition);
    padding: 0;
}

.theme-toggle:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 135, 255, 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 1px solid var(--border);
    background: var(--surface2);
    color: var(--text);
    border-radius: 8px;
    font-size: 1.2rem;
    padding: 4px 10px;
}

.hero-section {
    background: var(--bg);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, var(--dark3) 100%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: var(--primary);
    filter: blur(60px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    background: var(--accent);
}

.shape-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 30%;
}

[data-theme="dark"] .shape {
    opacity: 0.15;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-dim);
    box-shadow: var(--card-shadow);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

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

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

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 520px;
    line-height: 1.7;
}

.hero-stats {
    flex-wrap: wrap;
}

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

.stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary);
}

.stat-label {
    font-size: .8rem;
    color: var(--text-dim);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}

.hero-visual {
    position: relative;
    display: inline-block;
}

.hero-badge-float {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: .85rem;
    box-shadow: var(--card-shadow);
    white-space: nowrap;
    z-index: 5;
    animation: float-badge 3s ease-in-out infinite;
}

.badge-top-right {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.badge-bottom-left {
    bottom: -16px;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes float-badge {

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

    50% {
        transform: translateY(-8px);
    }
}

.mockup-screens {
    position: relative;
    width: 380px;
    height: 280px;
    margin: 30px auto;
}

.screen {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.screen-main {
    width: 300px;
    height: 220px;
    top: 0;
    left: 0;
    z-index: 2;
}

.screen-side {
    width: 200px;
    height: 160px;
    bottom: 0;
    right: 0;
    z-index: 3;
}

.screen-bar {
    background: var(--surface2);
    padding: 8px 10px;
    display: flex;
    gap: 5px;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.screen-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
}

.screen-bar.small {
    padding: 6px 8px;
}

.screen-bar.small span {
    width: 6px;
    height: 6px;
}

.screen-content {
    padding: 12px;
}

.screen-row {
    height: 10px;
    background: var(--bg2);
    border-radius: 6px;
    margin-bottom: 8px;
    opacity: 0.7;
}

.screen-row.short {
    width: 60%;
}

.screen-row.header-row {
    background: var(--primary);
    opacity: 0.4;
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 10px;
}

.grid-cell {
    height: 28px;
    background: var(--bg2);
    border-radius: 6px;
    opacity: 0.7;
}

.grid-cell.accent {
    background: var(--accent);
    opacity: 0.5;
}

.grid-cell.primary {
    background: var(--primary);
    opacity: 0.5;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
    padding-top: 8px;
}

.bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.ticker-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.ticker-label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    padding: 0 24px;
    white-space: nowrap;
    border-right: 1px solid var(--border);
    margin-right: 24px;
    flex-shrink: 0;
}

.ticker-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.ticker-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-dim);
    transition: color var(--transition);
    padding: 4px 10px;
    border-radius: 8px;
}

.ticker-item:hover {
    color: var(--primary);
}

.ticker-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-sub {
    color: var(--text-dim);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.valor-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    box-shadow: var(--card-shadow);
}

.valor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow);
}

.valor-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: #fff;
}

.valor-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.valor-card p {
    color: var(--text-dim);
    font-size: .9rem;
    margin: 0;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    box-shadow: var(--card-shadow);
}

.big-stat {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.big-stat-label {
    color: var(--text-dim);
    font-size: .9rem;
    margin-top: 8px;
}

.segment-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: var(--card-shadow);
    height: 100%;
}

.segment-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow);
    border-color: var(--primary);
}

.segment-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 16px;
}

.segment-card h6 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.segment-card p {
    color: var(--text-dim);
    font-size: .85rem;
    margin: 0;
}

.integ-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--card-shadow);
    height: 100%;
}

.integ-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow);
}

.integ-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 auto 14px;
}

.integ-card h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.integ-card p {
    color: var(--text-dim);
    font-size: .85rem;
    margin: 0;
}

.equip-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.equip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.equip-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.equip-card h6 {
    font-weight: 700;
    margin-bottom: 4px;
}

.equip-card p {
    color: var(--text-dim);
    font-size: .9rem;
    margin: 0 0 4px;
}

.equip-brands {
    font-size: .78rem;
    color: var(--text-dim);
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.custom-input {
    background: var(--bg2) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    color: var(--text) !important;
    padding: 12px 16px !important;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.custom-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 135, 255, 0.15) !important;
    outline: none;
}

.custom-input::placeholder {
    color: var(--text-dim) !important;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition);
}

.info-card:hover {
    transform: translateX(4px);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 135, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-card strong {
    font-weight: 700;
    font-size: .95rem;
    display: block;
    margin-bottom: 2px;
}

.info-card p {
    font-size: .9rem;
    margin: 0;
}

.site-footer {
    background: var(--footer-bg);
    color: #8da8c8;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-text {
    font-size: .9rem;
    line-height: 1.7;
}

.footer-contacts {
    font-size: .88rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-heading {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #8da8c8;
    font-size: .9rem;
    transition: color var(--transition);
}

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8da8c8;
    font-size: 1.1rem;
    transition: all var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .82rem;
    color: #5a7a9a;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #5a7a9a;
    transition: color var(--transition);
}

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


.produto-tab {
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    padding: 10px 22px;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
}

.produto-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.produto-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 135, 255, 0.3);
}

.produto-panel {
    display: none;
    animation: panel-in .4s ease;
}

.produto-panel.active {
    display: block;
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.produto-img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.produto-img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow), 0 24px 60px rgba(0, 135, 255, 0.12);
    display: block;
    transition: transform var(--transition), box-shadow var(--transition);
    object-fit: cover;
    aspect-ratio: 16/10;
}

.produto-img-wrap:hover .produto-img {
    transform: scale(1.02);
    box-shadow: var(--glow), 0 32px 80px rgba(0, 135, 255, 0.2);
}

.produto-img-badge {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--card-shadow);
    white-space: nowrap;
    z-index: 4;
    animation: float-badge 3s ease-in-out infinite;
}

.badge-tl {
    top: -14px;
    left: 14px;
}

.badge-br {
    bottom: -14px;
    right: 14px;
    animation-delay: 1.5s;
}

.produto-tag {
    display: inline-block;
    background: rgba(0, 135, 255, 0.12);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.produto-nome {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.produto-desc {
    color: var(--text-dim);
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 20px;
}

.produto-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.produto-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: var(--text);
}

.produto-features li i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

@media (max-width: 991px) {
    .nav-buttons {
        margin-top: 12px;
    }

    .mockup-screens {
        width: 280px;
        height: 210px;
    }

    .screen-main {
        width: 220px;
        height: 160px;
    }

    .screen-side {
        width: 150px;
        height: 120px;
    }

    .contact-card {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        gap: 16px;
    }

    .stat-num {
        font-size: 1.4rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .mockup-screens {
        width: 240px;
        height: 180px;
    }

    .hero-badge-float {
        display: none;
    }
}