/* ===========================================================
   TOKENS
=========================================================== */

:root {
    --bg: #0B0F14;
    --panel: #121823;
    --panel-2: #161E2C;
    --line: rgba(232, 237, 242, 0.08);
    --text: #E8EDF2;
    --text-dim: #8C99AC;
    --accent: #00E5C7;
    --accent-2: #7C5CFC;
    --accent-soft: rgba(0, 229, 199, 0.12);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 14px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}


/* subtle grain so the dark bg doesn't feel flat */

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ===========================================================
   HEADER
=========================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(11, 15, 20, 0.7);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
}
.brand-mark {
    width: 10px;
    height: 10px;
   border-radius:50%;
   background: var(--accent);
   box-shadow: 0 0 0 0 rgba(0,229,199, .5);
   animation: pulse-dot 2.4s var(--ease) infinite;
   flex-shrink: 0;
}

@keyframes pulse-logo {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(0,229,199,.5));
  }

  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(0,229,199,.5));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(0,229,199,.5));
  }
}

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

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 229, 199, .45);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 229, 199, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 229, 199, 0);
    }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.92rem;
    color: var(--text-dim);
}

.main-nav a {
    position: relative;
    transition: color .25s var(--ease);
}

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

.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width .3s var(--ease);
}

.main-nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--bg) !important;
    background: var(--accent);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 500;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(0, 229, 199, .5);
}


/* ===========================================================
   HERO
=========================================================== */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 100px;
    overflow: hidden;
}

.signal-field {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.signal-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 24px 4px rgba(0, 229, 199, .6);
}

.signal-ring {
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: broadcast 4.2s var(--ease) infinite;
}

.signal-ring.r1 {
    animation-delay: 0s;
}

.signal-ring.r2 {
    animation-delay: 1.4s;
}

.signal-ring.r3 {
    animation-delay: 2.8s;
}

@keyframes broadcast {
    0% {
        width: 0;
        height: 0;
        margin: 0;
        opacity: .55;
        border-color: var(--accent);
    }
    70% {
        opacity: .12;
        border-color: var(--accent-2);
    }
    100% {
        width: 900px;
        height: 900px;
        margin: -450px 0 0 -450px;
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: .04em;
    color: var(--text-dim);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 28px;
    opacity: 0;
    animation: rise .7s var(--ease) forwards;
    animation-delay: .05s;
}

.dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2.4s var(--ease) infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    opacity: 0;
    animation: rise .7s var(--ease) forwards;
    animation-delay: .15s;
}

.text-gradient {
    background: linear-gradient(95deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 1.08rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: rise .7s var(--ease) forwards;
    animation-delay: .28s;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: rise .7s var(--ease) forwards;
    animation-delay: .4s;
}

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

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 13px 24px;
    border-radius: 10px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}

.btn svg {
    transition: transform .25s var(--ease);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--accent);
    color: #06110F;
    box-shadow: 0 8px 24px -8px rgba(0, 229, 199, .45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(0, 229, 199, .6);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}


/* ===========================================================
   SECTION HEAD (shared)
=========================================================== */

.section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
    padding: 0 24px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .08em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-head h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    letter-spacing: -0.01em;
}


/* ===========================================================
   SERVICES
=========================================================== */

.services {
    padding: 120px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width:880px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 199, .35);
    background: var(--panel-2);
}

.service-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.12rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-dim);
    font-size: 0.94rem;
    line-height: 1.6;
}


/* ===========================================================
   PARTNERS CAROUSEL
=========================================================== */

.partners {
    padding: 100px 0 130px;
}

.carousel {
    position: relative;
    overflow: hidden;
    max-width: 1180px;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll-left 15s linear infinite;
}

.carousel:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-group {
    display: flex;
    gap: 20px;
    padding: 5px 10px;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.logo-chip {
    flex: 0 0 auto;
    width: 600px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: .05em;
    color: var(--text-dim);
    transition: border-color .3s var(--ease), color .3s var(--ease);
}

.logo-chip:hover {
    border-color: var(--accent);
    color: var(--text);
}

.carousel-hint {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 24px;
    font-family: var(--font-mono);
}

.carousel-hint code {
    color: var(--accent);
}

.foto-carrossel {
    
    height: 200px;
    object-fit: contain;
}

.logo-chip span {
    text-align: center;
    font-size: 0.75rem;
}


/* ===========================================================
   FINAL CTA
=========================================================== */

.final-cta {
    text-align: center;
    padding: 110px 24px 140px;
    border-top: 1px solid var(--line);
}

.final-cta h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.final-cta p {
    color: var(--text-dim);
    margin-bottom: 36px;
}


/* ===========================================================
   FOOTER
=========================================================== */

.site-footer {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid var(--line);
    color: var(--text-dim);
    font-size: 0.85rem;
}


/* ===========================================================
   SCROLL REVEAL (generic helper, applied via JS-free pure CSS fallback)
=========================================================== */

@media (min-width:1px) {
    .service-card,
    .section-head {
        animation: none;
    }
}


/* ===========================================================
   RESPONSIVENESS
   Mobile-first breakpoints for header, hero, carousel and CTA.
   (services-grid and section-head already had rules above)
=========================================================== */

/* ----- Hamburger menu button (hidden above 540px) ----- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 0 auto;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ----- Mobile sliding menu panel ----- */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    border-top: 1px solid var(--line);
    background: rgba(11, 15, 20, 0.96);
    backdrop-filter: blur(14px);
    transition: max-height .35s var(--ease), padding .35s var(--ease);
}

.mobile-menu.is-open {
    max-height: 320px;
    padding: 12px 18px 20px;
}

.mobile-menu a {
    padding: 13px 6px;
    font-size: 0.95rem;
    color: var(--text-dim);
    border-bottom: 1px solid var(--line);
    transition: color .25s var(--ease);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--text);
}

.mobile-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: var(--bg) !important;
    background: var(--accent);
    border-radius: 999px;
    padding: 10px 16px !important;
    font-weight: 500;
    margin-top: 6px;
    width: fit-content;
}

/* ----- Tablet / small laptop ----- */
@media (max-width: 1024px) {
    .logo-chip {
        width: 420px;
        height: 210px;
    }
   .foto-carrossel {
    
    height: 100px;
    object-fit: contain;
}

}

/* ----- Tablet portrait ----- */
@media (max-width: 768px) {
    .header-inner {
        padding: 14px 18px;
    }

    .main-nav {
        gap: 16px;
        font-size: 0.85rem;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .hero {
        padding: 130px 20px 80px;
        min-height: auto;
    }

    .hero-sub {
        font-size: 1rem;
        padding: 0 8px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

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

    .services {
        padding: 80px 20px;
    }

    .partners {
        padding: 70px 0 90px;
    }

    .logo-chip {
        width: 300px;
        height: 110px;
    }

    .foto-carrossel {
       
        height: 80px;
    }

    .final-cta {
        padding: 80px 20px 100px;
    }
}

/* ----- Switch to hamburger menu at 540px ----- */
@media (max-width: 540px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .brand-text {
        font-size: 0.9rem;
    }
}

/* ----- Mobile phones ----- */
@media (max-width: 480px) {
    .hero {
        padding: 120px 16px 60px;
    }

    .eyebrow {
        font-size: 0.7rem;
        padding: 5px 12px;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .hero-sub {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .service-card {
        padding: 26px 22px;
    }

    .logo-chip {
        width: 220px;
        height: 220px;
        gap: 6px;
    }

    .foto-carrossel {
        width: 112px;
        height: 112px;
    }

    .logo-chip span {
        font-size: 0.65rem;
    }

    .final-cta h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
        padding: 0 8px;
    }
}

/* ----- Very small phones ----- */
@media (max-width: 360px) {
    .logo-chip {
        width: 180px;
        height: 90px;
    }

     .foto-carrossel {
        width: 70px;
        height: 70px;
    }

    .btn {
        font-size: 0.88rem;
        padding: 12px 18px;
    }
}
