:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --text: #334155;
    --muted: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --success: #16a34a;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 18px;
}

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

.logoHeader {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.logoHeader img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

img,
video {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost {
    background: #eff6ff;
    color: var(--accent);
    border: 1px solid #bfdbfe;
}

.btn-ghost:hover {
    background: #dbeafe;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 16px;
}

.logo {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    z-index: 1003;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

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

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1003;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 99px;
    transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.breadcrumb {
    font-size: 0.92rem;
    color: var(--muted);
    padding: 14px 0 0;
}

.breadcrumb a {
    color: var(--muted);
}

.hero {
    padding: 56px 0 48px;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 800;
}

.hero p {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 24px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--secondary);
    font-size: 0.95rem;
}

.hero-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.hero-card h2 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-card li {
    padding-left: 26px;
    position: relative;
    color: var(--text);
}

.hero-card li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

section {
    padding: 72px 0;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 42px;
}

.section-title h2 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--muted);
    font-size: 1rem;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

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

.card h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.1rem;
}

.card p {
    color: var(--muted);
    font-size: 0.97rem;
}

.icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #dbeafe;
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-weight: bold;
}

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

.step-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

/* Premium demo slider */
.demo-slider-wrap {
    position: relative;
    overflow: hidden;
}

.demo-slider {
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    cursor: grab;
    padding: 16px 0 8px;
}

.demo-slider.dragging {
    cursor: grabbing;
}

.demo-track {
    display: flex;
    align-items: stretch;
    will-change: transform;
}

.demo-slide {
    flex: 0 0 100%;
    padding: 0 10px;
    transition:
        transform 0.45s ease,
        opacity 0.45s ease;
    opacity: 0.55;
    transform: scale(0.92);
}

.demo-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.demo-slide.is-side {
    opacity: 0.82;
    transform: scale(0.96);
}

.demo-card {
    height: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.demo-media {
    position: relative;
    background: #0b1220;
}

.demo-media img,
.demo-media video {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    background: #0f172a;
}

.demo-play {
    position: absolute;
    inset: auto auto 14px 14px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    font-weight: 700;
}

.media-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.demo-content {
    padding: 22px;
}

.demo-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    background: #eff6ff;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.demo-socials {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    display: grid;
    place-items: center;
    transition: 0.25s ease;
}

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

.demo-cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.slider-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 28px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

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

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.slider-dot.active {
    width: 28px;
    border-radius: 999px;
    background: var(--accent);
}

.slider-progress {
    width: min(340px, 90%);
    height: 6px;
    background: #dbeafe;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 999px;
    transition: width 0.1s linear;
}

.portfolio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 16px;
}

.testimonial-card {
    position: relative;
}

.testimonial-card strong {
    display: block;
    color: var(--primary);
    margin-top: 14px;
}

.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    border-radius: 24px;
    padding: 42px 28px;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    margin-bottom: 12px;
}

.cta-section p {
    color: #dbeafe;
    max-width: 720px;
    margin: 0 auto 22px;
}

footer {
    padding: 28px 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #25d366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    z-index: 1001;
}

@media (min-width: 901px) {
    .demo-slider {
        padding-left: 10%;
        padding-right: 10%;
    }

    .demo-slide {
        flex: 0 0 60%;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .grid-3,
    .grid-2,
    .steps {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 18px 4%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        transform: translateY(-140%);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;
        z-index: 1002;
    }

    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        width: 100%;
    }

    .nav-links .btn {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding-top: 36px;
    }

    .demo-media img,
    .demo-media video,
    .portfolio-card img {
        height: 210px;
    }

    .demo-slide {
        flex: 0 0 100%;
        padding: 0 6px;
        transform: scale(0.96);
    }

    .demo-slide.is-active {
        transform: scale(1);
    }

    .demo-slide.is-side {
        transform: scale(0.98);
    }
}
