:root {
    --bg: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --accent: #3b82f6;
    --accent2: #10b981;
    --accent3: #ef4444;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --nav-h: 70px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease
}

.nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent));
    transform: translateX(-50%);
    border-radius: 2px;
    opacity: 0;
    box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent2);
    transition: none
}

.nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08)
}

.nav.scrolled::after {
    animation: navFlashBar 0.6s ease-out forwards
}

@keyframes navFlashBar {
    0% {
        width: 0;
        opacity: 1
    }

    50% {
        width: 100%;
        opacity: 1
    }

    100% {
        width: 100%;
        opacity: 0
    }
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color .3s;
    display: flex;
    align-items: center;
    gap: 0.5rem
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain
}

.nav.scrolled .nav-logo {
    color: var(--accent)
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: .5rem 0;
    transition: color .3s
}

.nav.scrolled .nav-links a {
    color: var(--text)
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent)
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .3s
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: .3s
}

.nav.scrolled .hamburger span {
    background: var(--text)
}

@media(max-width:768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--glass);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-150%);
        transition: .4s
    }

    .nav-links.open {
        transform: translateY(0)
    }

    .nav-links a {
        color: var(--text)
    }

    .hamburger {
        display: flex
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px)
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px)
    }
}

/* HERO */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h)+2rem) 5% 4rem;
    overflow: hidden;
    background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 50%, #3b82f6 100%)
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(59, 130, 246, 0.5)
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem
}

.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite
}

.scroll-cue svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    stroke-width: 2;
    fill: none
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(10px)
    }
}

/* ROCKET CONTAINER */
.rocket {
    position: absolute;
    bottom: 12%;
    right: 8%;
    z-index: 5;
    animation: rocketFloat 4s ease-in-out infinite
}

.rocket-svg {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.7))
}

/* SPEED LINES / AIR FLOW */
.speed-lines {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 250%;
    pointer-events: none;
    overflow: visible
}

.speed-line {
    position: absolute;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    border-radius: 10px;
    animation: speedLineFlow 1.5s linear infinite
}

.speed-line-1 {
    width: 2px;
    height: 60px;
    left: 20%;
    top: -20%;
    animation-delay: 0s
}

.speed-line-2 {
    width: 3px;
    height: 80px;
    left: 35%;
    top: -30%;
    animation-delay: 0.3s
}

.speed-line-3 {
    width: 2px;
    height: 50px;
    right: 35%;
    top: -15%;
    animation-delay: 0.6s
}

.speed-line-4 {
    width: 2px;
    height: 70px;
    right: 20%;
    top: -25%;
    animation-delay: 0.9s
}

.speed-line-5 {
    width: 1px;
    height: 40px;
    left: 50%;
    top: -10%;
    animation-delay: 0.15s
}

@keyframes speedLineFlow {
    0% {
        transform: translateY(-100%);
        opacity: 0
    }

    10% {
        opacity: 1
    }

    90% {
        opacity: 1
    }

    100% {
        transform: translateY(400%);
        opacity: 0
    }
}

/* FLAME ANIMATIONS */
.flame {
    transform-origin: center top
}

.flame-outer {
    animation: flameFlicker1 0.15s ease-in-out infinite alternate
}

.flame-middle {
    animation: flameFlicker2 0.12s ease-in-out infinite alternate
}

.flame-inner {
    animation: flameFlicker3 0.1s ease-in-out infinite alternate
}

.flame-core {
    animation: flamePulse 0.2s ease-in-out infinite alternate
}

@keyframes flameFlicker1 {
    0% {
        transform: scaleY(0.95) scaleX(0.97);
        opacity: 0.9
    }

    100% {
        transform: scaleY(1.08) scaleX(1.03);
        opacity: 1
    }
}

@keyframes flameFlicker2 {
    0% {
        transform: scaleY(0.92) scaleX(0.95);
        opacity: 0.85
    }

    100% {
        transform: scaleY(1.1) scaleX(1.05);
        opacity: 1
    }
}

@keyframes flameFlicker3 {
    0% {
        transform: scaleY(0.88) scaleX(0.9);
        opacity: 0.9
    }

    100% {
        transform: scaleY(1.15) scaleX(1.08);
        opacity: 1
    }
}

@keyframes flamePulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8
    }

    100% {
        transform: scale(1.1);
        opacity: 1
    }
}

/* EXHAUST PARTICLES */
.particle {
    animation: particleFloat 2s ease-out infinite
}

.particle-1 {
    animation-delay: 0s
}

.particle-2 {
    animation-delay: 0.25s
}

.particle-3 {
    animation-delay: 0.5s
}

.particle-4 {
    animation-delay: 0.75s
}

.particle-5 {
    animation-delay: 0.15s
}

.particle-6 {
    animation-delay: 0.4s
}

.particle-7 {
    animation-delay: 0.65s
}

.particle-8 {
    animation-delay: 0.9s
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 1
    }

    50% {
        opacity: 0.7
    }

    100% {
        transform: translateY(40px) translateX(var(--particle-drift, 5px)) scale(0.3);
        opacity: 0
    }
}

.particle-1 {
    --particle-drift: -8px
}

.particle-2 {
    --particle-drift: 10px
}

.particle-3 {
    --particle-drift: 3px
}

.particle-4 {
    --particle-drift: -15px
}

.particle-5 {
    --particle-drift: 12px
}

.particle-6 {
    --particle-drift: -5px
}

.particle-7 {
    --particle-drift: 8px
}

.particle-8 {
    --particle-drift: -10px
}

/* ENGINE GLOW */
.engine-glow {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.6) 0%, rgba(249, 115, 22, 0.3) 40%, rgba(239, 68, 68, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    animation: engineGlow 0.3s ease-in-out infinite alternate;
    pointer-events: none
}

@keyframes engineGlow {
    0% {
        transform: translateX(-50%) scale(0.9);
        opacity: 0.7
    }

    100% {
        transform: translateX(-50%) scale(1.15);
        opacity: 1
    }
}

/* WINDOW SHINE */
.window-shine {
    animation: windowShine 3s ease-in-out infinite
}

@keyframes windowShine {

    0%,
    100% {
        opacity: 0.4
    }

    50% {
        opacity: 0.8
    }
}

/* ROCKET FLOAT */
@keyframes rocketFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-8deg)
    }

    50% {
        transform: translateY(-25px) rotate(3deg)
    }
}

/* RESPONSIVE */
@media(max-width:768px) {
    .rocket {
        display: none
    }
}

/* SECTIONS */
section {
    padding: 6rem 5%
}

.section-title {
    text-align: center;
    margin-bottom: 4rem
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto
}

/* TRUST / SERVICES */
.trust {
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
    color: #fff;
    padding: 4rem 5%;
    position: relative
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto
}

@media(max-width:1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {
    .trust-grid {
        grid-template-columns: 1fr
    }
}

.trust-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease
}

.trust-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2)
}

.trust-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem
}

.trust-card-icon svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    stroke-width: 2;
    fill: none
}

.trust-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem
}

.trust-card p {
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5
}

.counter {
    display: inline-block
}

/* WHY */
.why {
    background: #fff
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem
}

.cards-grid>.card {
    flex: 0 1 300px;
    max-width: 400px
}

.card {
    background: var(--glass);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
    text-align: center
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15)
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: .6s;
    opacity: 0
}

.card:hover::before {
    left: 150%;
    opacity: 1
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem
}

.card-icon svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    stroke-width: 2;
    fill: none
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: .75rem
}

.card p {
    color: var(--text-light);
    font-size: .95rem
}

/* TOWHO - À QUI ÇA S'ADRESSE */
.towho {
    background: linear-gradient(to bottom, #f1f5f9, #fff);
    padding: 6rem 5%
}

.towho-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto
}

@media(max-width:1024px) {
    .towho-grid {
        grid-template-columns: 1fr
    }
}

.towho-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.4s ease, box-shadow 0.4s ease
}

.towho-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-bg) center/cover no-repeat;
    z-index: 0;
    transition: transform 0.5s ease
}

.towho-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 40%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 1
}

.towho-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.25)
}

.towho-card:hover::before {
    transform: scale(1.1)
}

.towho-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: #fff
}

.towho-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3)
}

.towho-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 2;
    fill: none
}

.towho-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff
}

.towho-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem
}

.towho-features {
    list-style: none;
    padding: 0;
    margin: 0
}

.towho-features li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem
}

.towho-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent2);
    font-weight: 700
}

/* TABS */
.tabs {
    background: #fff
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap
}

.tab-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--accent);
    color: #fff
}

.tab-content {
    display: none;
    animation: fadeIn .5s
}

.tab-content.active {
    display: block
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.tab-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem
}

.tab-grid>.tab-card {
    flex: 0 1 280px;
    max-width: 350px
}

.tab-card {
    background: var(--glass);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: 0.6s;
    opacity: 0
}

.tab-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: var(--accent)
}

.tab-card:hover::before {
    left: 150%;
    opacity: 1
}

.tab-card h4 {
    color: var(--accent);
    margin-bottom: .5rem
}

/* DASHBOARD */
.dashboard {
    background: linear-gradient(to bottom, #f1f5f9, #fff);
    color: var(--text);
    overflow: hidden
}

.dashboard .section-title h2 {
    color: var(--text)
}

.dashboard .section-title p {
    color: var(--text-light)
}

.dash-container {
    background: var(--glass);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05)
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem
}

.dash-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.08));
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.1)
}

.dash-card h4 {
    font-size: .9rem;
    color: var(--text-light);
    margin-bottom: .75rem
}

.dash-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent)
}

.progress-ring {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem
}

.progress-ring circle {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round
}

.progress-ring .bg {
    stroke: rgba(59, 130, 246, 0.15)
}

.progress-ring .fg {
    stroke: var(--accent);
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 2s ease
}

/* TESTIMONIALS */
.testimonials {
    background: #fff
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden
}

.carousel-track {
    display: flex;
    transition: transform .5s ease
}

.testimonial {
    min-width: 100%;
    padding: 2rem;
    text-align: center;
    flex-shrink: 0
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text)
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent)
}

.testimonial-role {
    color: var(--text-light);
    font-size: .9rem
}

.carousel-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-size: 1.2rem;
    cursor: pointer;
    transition: .3s
}

.carousel-btn:hover {
    background: var(--accent);
    color: #fff
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 1rem
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    border: none;
    cursor: pointer;
    transition: .3s
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.3)
}

/* COMMITMENTS */
.commitments {
    background: linear-gradient(to right, #f1f5f9, #fff)
}

.commit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

@media(max-width:768px) {
    .commit-grid {
        grid-template-columns: 1fr
    }
}

.commit-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem
}

.commit-text p {
    color: var(--text-light);
    margin-bottom: 1rem
}

.checklist {
    list-style: none
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    position: relative;
    cursor: pointer
}

.checklist li::before {
    content: '✓';
    width: 30px;
    height: 30px;
    background: var(--accent2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    padding: .75rem 1rem;
    border-radius: 8px;
    font-size: .85rem;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    white-space: nowrap;
    z-index: 10
}

.checklist li:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px)
}

/* FAQ */
.faq {
    background: #fff
}

.accordion {
    max-width: 800px;
    margin: 0 auto
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden
}

.accordion-btn {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .3s
}

.accordion-btn:hover {
    background: rgba(59, 130, 246, 0.05)
}

.accordion-btn::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform .3s
}

.accordion-item.open .accordion-btn::after {
    transform: rotate(45deg)
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s
}

.accordion-item.open .accordion-content {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem
}

.accordion-content p {
    color: var(--text-light)
}

/* FOOTER */
.footer {
    background: linear-gradient(to bottom, #fff, #f1f5f9);
    color: var(--text);
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05)
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--accent)
}

.footer-col p,
.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: .75rem;
    transition: color .3s
}

.footer-col a:hover {
    color: var(--accent)
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-light);
    font-size: .9rem
}

.newsletter {
    display: flex;
    gap: .5rem;
    margin-top: 1rem
}

.newsletter input {
    flex: 1;
    padding: .75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    color: var(--text)
}

.newsletter input::placeholder {
    color: var(--text-light)
}

.newsletter button {
    padding: .75rem 1.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: .3s
}

.newsletter button:hover {
    background: var(--accent2)
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s, transform .8s
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

/* SCROLL TO TOP */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    pointer-events: none;
    text-decoration: none;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top-btn:hover {
    background: var(--accent2);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}