:root {
    --primary: #063a78;
    --primary-dark: #021f46;
    --secondary: #0096e8;
    --accent: #00aeef;
    --light: #f5f9fd;
    --white: #ffffff;
    --text: #16304f;
    --muted: #687b91;
    --line: rgba(6, 58, 120, 0.1);
    --glow: rgba(0, 174, 239, 0.28);
    --radius: 20px;
    --radius-sm: 14px;
    --radius-lg: 28px;
    --shadow: 0 18px 40px rgba(2, 31, 70, 0.08);
    --shadow-hover: 0 24px 50px rgba(2, 31, 70, 0.14);
    --header-h: 96px;
    --container: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 2000;
    padding: 8px 14px;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: 8px;
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, .display {
    font-family: Outfit, sans-serif;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--primary-dark);
}

.container {
    max-width: var(--container);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--secondary);
}

.eyebrow.light {
    color: #9ad8ff;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.section {
    position: relative;
    padding: 110px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 16px;
}

.section-head p,
.lead-copy {
    color: var(--muted);
    font-size: 1.05rem;
}

.btn {
    border: 0;
    border-radius: 999px;
    font-weight: 600;
    padding: 13px 24px;
    transition: 0.28s ease;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    box-shadow: 0 10px 24px rgba(0, 150, 232, 0.28);
}

.btn-cta:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 150, 232, 0.36);
}

.btn-cta-lg {
    padding: 16px 28px;
    font-size: 1.05rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(6, 58, 120, 0.16);
}

.btn-ghost:hover {
    color: var(--primary);
    background: var(--light);
    transform: translateY(-3px);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    transition: 0.28s ease;
}

.site-header.is-scrolled {
    height: 72px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(2, 31, 70, 0.08);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo {
    width: 236px;
    height: auto;
    display: block;
    transition: width 0.28s ease;
}

.site-header.is-scrolled .brand-logo {
    width: 176px;
}

@media (min-width: 768px) {
    .page-home .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.38);
        backdrop-filter: blur(8px);
        box-shadow: none;
    }

    .page-home .site-header.is-scrolled {
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 10px 30px rgba(2, 31, 70, 0.08);
    }

    .page-home .hero-slider-wrap {
        margin-top: 0;
        background: var(--primary-dark);
    }

    .page-home .hero-slider {
        max-width: 1920px;
        margin: 0 auto;
    }
}

.main-nav {
    align-items: center;
    gap: 26px;
}

.main-nav a {
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--light);
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 99px;
}

.mobile-menu {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Banner */
.hero-slider {
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slider .swiper-slide {
    line-height: 0;
}

.hero-slider picture,
.hero-slider img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-slider img {
    aspect-ratio: 1920 / 640;
    object-fit: contain;
}

.hero-slider a {
    display: block;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 16px;
    font-weight: 800;
}

.hero-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 22px;
    border-radius: 99px;
}

/* Intro */
.intro-section {
    padding: 100px 0 70px;
}

.intro-title {
    font-size: clamp(2.4rem, 6vw, 5rem);
    margin-bottom: 22px;
}

.intro-title span {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.intro-copy {
    max-width: 540px;
    color: var(--muted);
    font-size: 1.12rem;
    margin-bottom: 28px;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.diff-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: 0.28s ease;
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.diff-card i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 150, 232, 0.1);
    color: var(--secondary);
    font-size: 1.15rem;
}

.diff-card strong {
    display: block;
    font-size: 0.95rem;
}

/* Cards */
.solution-card,
.tech-card,
.project-card,
.process-step,
.moodle-item,
.flutter-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.solution-card {
    padding: 32px 28px;
    height: 100%;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.solution-card::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow), transparent 70%);
    opacity: 0;
    transition: 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.solution-card:hover::after {
    opacity: 1;
}

.icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #eaf6ff, #d7efff);
    color: var(--primary);
    font-size: 1.4rem;
    transition: 0.3s ease;
}

.solution-card:hover .icon-wrap,
.moodle-item:hover i,
.flutter-item:hover i {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    box-shadow: 0 0 24px var(--glow);
}

.solution-card h3,
.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.solution-card p,
.project-card p,
.moodle-item p,
.process-step p {
    color: var(--muted);
    margin-bottom: 18px;
}

.more-link {
    font-weight: 700;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.more-link:hover {
    color: var(--primary);
}

/* Moodle */
.moodle-section {
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 174, 239, 0.08), transparent 24%),
        linear-gradient(180deg, #f7fbff 0%, #eef6fc 100%);
}

.moodle-panel {
    background: linear-gradient(160deg, var(--primary-dark), #0a4a8c 58%, #0277bd);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(2, 31, 70, 0.22);
}

.moodle-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.35;
}

.moodle-panel > * {
    position: relative;
}

.moodle-panel h2,
.moodle-panel p {
    color: var(--white);
}

.moodle-panel p {
    opacity: 0.88;
}

.moodle-item {
    padding: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.moodle-item:hover {
    transform: translateY(-6px);
}

.moodle-item i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f6ff;
    color: var(--secondary);
    flex-shrink: 0;
    transition: 0.28s ease;
}

.moodle-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.moodle-visual img {
    width: 100%;
    display: block;
}

/* Flutter */
.flutter-section {
    overflow: hidden;
}

.flutter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.flutter-item {
    padding: 18px 18px 16px;
}

.flutter-item i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: inline-block;
    transition: 0.25s ease;
}

.device-frame {
    border-radius: 36px;
    padding: 16px;
    background:
        linear-gradient(180deg, rgba(0,174,239,0.12), transparent),
        #f4f8fd;
    box-shadow: var(--shadow);
}

.device-frame img {
    width: 100%;
    display: block;
    border-radius: 24px;
}

/* Tech */
.tech-section {
    background:
        radial-gradient(circle at 80% 20%, rgba(0,174,239,0.18), transparent 26%),
        linear-gradient(180deg, var(--primary-dark), #03285c);
    color: var(--white);
}

.tech-section h2,
.tech-section p {
    color: var(--white);
}

.tech-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: none;
    text-align: center;
    padding: 22px 10px;
    color: var(--white);
}

.tech-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 24px var(--glow);
}

.tech-card i {
    font-size: 1.7rem;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}

.tech-card span {
    font-weight: 600;
    font-size: 0.92rem;
}

/* Stats */
.stats-section {
    padding: 80px 0;
}

.stat-card {
    text-align: center;
    padding: 18px 10px;
}

.stat-card .num {
    font-family: Outfit, sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-card .num span {
    color: var(--accent);
}

.stat-card p {
    color: var(--muted);
    margin-top: 10px;
}

/* Process */
.process-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    position: relative;
}

.process-track::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 4%;
    right: 4%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--secondary), transparent);
}

.process-step {
    padding: 24px 18px 22px;
    position: relative;
}

.process-step .step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 0 18px var(--glow);
}

.process-step h3 {
    font-size: 1.05rem;
}

/* Projects */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-btn {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.project-card {
    overflow: hidden;
    height: 100%;
}

.project-card .thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dceaf7;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-card .body {
    padding: 22px 22px 24px;
}

.chip {
    display: inline-block;
    background: #e8f6ff;
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    height: 100%;
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--text);
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.testimonial-meta img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-meta strong {
    display: block;
}

.testimonial-meta span {
    color: var(--muted);
    font-size: 0.88rem;
}

/* CTA */
.cta-band {
    position: relative;
    padding: 20px 0 0;
    background: transparent;
}

.cta-band-card {
    background:
        radial-gradient(circle at 90% 10%, rgba(0,174,239,0.28), transparent 28%),
        linear-gradient(135deg, var(--primary-dark), #084a96);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 42px;
    box-shadow: var(--shadow-hover);
    margin-bottom: -70px;
    position: relative;
    z-index: 2;
}

.cta-band-card h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.cta-copy {
    color: rgba(255,255,255,0.82);
    max-width: 560px;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.78);
    padding: 130px 0 24px;
}

.footer-logo {
    width: 220px;
    height: auto;
    margin-bottom: 16px;
}

.footer-lead {
    max-width: 280px;
}

.site-footer h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    z-index: 1050;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
    animation: pulseWa 2.4s infinite;
}

@keyframes pulseWa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Forms */
.contact-wrap {
    background: var(--light);
}

.form-card,
.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 36px;
}

.form-control,
.form-select {
    border-radius: 14px;
    border-color: #d7e3ef;
    padding: 12px 14px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(0, 150, 232, 0.15);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.alert-form {
    display: none;
}

/* Inner hero */
.page-hero {
    padding: 78px 0 56px;
    background:
        radial-gradient(circle at 85% 10%, rgba(0,174,239,0.16), transparent 24%),
        linear-gradient(180deg, #f4f9fd, #ffffff);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.crumbs {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.crumbs a {
    color: var(--muted);
}

.crumbs a:hover {
    color: var(--secondary);
}

/* Decor */
.tech-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(6,58,120,0.035) 1px, transparent 1px),
        linear-gradient(rgba(6,58,120,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, #000, transparent);
}

.glow-orb {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,174,239,0.16), transparent 68%);
    pointer-events: none;
}

.about-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-6px);
}

.timeline-vertical .item {
    padding-left: 28px;
    border-left: 2px solid #d7e8f6;
    margin-bottom: 22px;
}

.hidden {
    display: none !important;
}
