* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #F5F3EE;
    color: #111111;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #111111;
}

/* keep section titles visible below the sticky header when jumping to anchors */
#home, #about, #services, #solutions, #contact, #how-it-works, #faq {
    scroll-margin-top: 90px;
}

/* back to top */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #111111;
    color: #C6F432;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(198, 244, 50, 0.3);
    z-index: 1000;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background: #2A2A2A;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 244, 50, 0.5);
}

/* header (sticky) */
.header-main {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.header-main.scrolled header {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo span {
    font-weight: 700;
    font-size: 1.2rem;
    color: #111111;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #111111;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
    order: 2;
}

.hamburger:hover {
    color: #5C7A00;
}

.hamburger:focus-visible {
    outline: 2px solid #5C7A00;
    outline-offset: 2px;
    border-radius: 4px;
}

.register {
    margin-left: auto;
    order: 3;
}

.register-btn {
    background: #C6F432;
    color: #111111;
    padding: 8px 18px;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(198, 244, 50, 0.3);
    font-size: 0.85rem;
}

.register-btn:hover {
    background: #B3E01F;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 244, 50, 0.5);
}

.register-btn:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    padding: 15px 0 5px;
    flex: none;
    order: 4;
    border-top: 1px solid #f0f2f5;
    margin-top: 10px;
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    padding: 10px 0;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
    white-space: normal;
    color: #111111;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-links a:last-child {
    border-bottom: none;
}

.nav-links a:hover {
    color: #5C7A00;
}

.nav-links a.active {
    color: #5C7A00;
    border-bottom: 2px solid #5C7A00;
}

.nav-links a:focus-visible {
    outline: 2px solid #5C7A00;
    outline-offset: 2px;
    border-radius: 4px;
}

/* hero section */
.hero {
    margin: 20px 15px;
    text-align: center;
    padding: 20px 15px;
    border-radius: 20px;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(198, 244, 50, 0.35);
    border: 2px solid #111111;
    border-radius: 40px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #111111;
    line-height: 1.25;
}

.hero h1 .highlight {
    font-family: inherit;
    background: linear-gradient(transparent 60%, #C6F432 60%);
    padding: 0 4px;
}

.hero p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 5px;
    line-height: 1.6;
    color: #57534E;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin-top: 28px;
    color: #57534E;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-features i {
    color: #5C7A00;
    margin-right: 6px;
}

.start-btn {
    background: #C6F432;
    color: #111111;
    padding: 12px 20px;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(198, 244, 50, 0.35);
    width: 100%;
    max-width: 220px;
    text-align: center;
    font-size: 0.95rem;
}

.start-btn:hover {
    background: #B3E01F;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(198, 244, 50, 0.5);
}

.start-btn:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.work-btn {
    background: transparent;
    color: #111111;
    padding: 12px 20px;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    border: 2.5px solid #111111;
    width: 100%;
    max-width: 220px;
    text-align: center;
    font-size: 0.95rem;
}

.work-btn:hover {
    background: #111111;
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.4);
}

.work-btn:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

/* detail / projects section */
.detail {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    animation: fadeInUp 0.8s ease-out;
}

.detail > h3 {
    border: 2.5px solid #111111;
    color: #111111;
    border-radius: 20px;
    padding: 8px 16px;
    margin: 10px 0;
    font-weight: 700;
    background: rgba(198, 244, 50, 0.35);
    font-size: 0.9rem;
}

.detail > h1 {
    font-size: 1.3rem;
    padding: 10px 0;
    margin-bottom: 10px;
    color: #111111;
    text-align: center;
}

.detail > p {
    padding: 10px 15px;
    margin-bottom: 30px;
    color: #57534E;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

/* projects grid: 1 col mobile, 2 tablet, 3 desktop */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centers the last row when it has fewer cards */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.projects-grid .box {
    flex: 1 1 100%;
}

.box-tag {
    display: inline-block;
    background: rgba(198, 244, 50, 0.35);
    border: 1.5px solid #111111;
    color: #111111;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 40px;
    margin-bottom: 14px;
}

.box-tag--ai {
    background: #111111;
    color: #C6F432;
}

/* project card */
.box {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F3EE 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 22px;
    border-radius: 15px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(17, 17, 17, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.box-title {
    font-size: 1.2rem;
    color: #111111;
}

.box p {
    font-size: 0.95rem;
    color: #57534E;
    line-height: 1.6;
    padding: 10px 0;
    flex-grow: 1; /* keeps buttons aligned across a row */
}

.box-btn {
    background: transparent;
    color: #111111;
    padding: 10px 32px;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    border: 2.5px solid #111111;
    margin-top: 15px;
}

.box-btn:hover {
    background: #111111;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(17, 17, 17, 0.4);
}

.box-btn:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

/* AI automation project cards: dark theme */
.box--ai {
    background: linear-gradient(135deg, #111111 0%, #2A2A2A 100%);
    border: 1px solid rgba(198, 244, 50, 0.25);
    box-shadow: 0 6px 25px rgba(17, 17, 17, 0.25);
}

.box--ai:hover {
    border-color: rgba(198, 244, 50, 0.6);
    box-shadow: 0 14px 35px rgba(17, 17, 17, 0.35), 0 0 25px rgba(198, 244, 50, 0.18);
}

.box--ai .box-title {
    color: #FFFFFF;
}

.box--ai p {
    color: #D6D3CE;
}

.box--ai .box-tag--ai {
    background: #C6F432;
    color: #111111;
    border-color: #C6F432;
}

.box--ai .box-btn {
    color: #C6F432;
    border-color: #C6F432;
}

.box--ai .box-btn:hover {
    background: #C6F432;
    color: #111111;
    box-shadow: 0 8px 25px rgba(198, 244, 50, 0.35);
}

.box--ai .box-btn:focus-visible {
    outline-color: #C6F432;
}

/* about us section */
.about-section {
    background: #FFFFFF;
    padding: 50px 20px;
    margin: 25px 15px;
    border-radius: 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 2rem;
    color: #111111;
    margin-bottom: 8px;
}

.about-sub {
    color: #57534E;
    font-size: 1rem;
    margin-bottom: 30px;
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* team card: animated spotlight, 3D tilt, rotating photo ring */
@property --ring-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.about-grid {
    perspective: 1200px;
}

.about-card {
    --rx: 0deg;
    --ry: 0deg;
    --lift: 0px;
    --mx: 50%;
    --my: 50%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: #F5F3EE;
    padding: 25px 20px;
    border-radius: 15px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    cursor: pointer;
    outline: none;
    transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
    transform-style: preserve-3d;
    transition: transform 0.35s ease, box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

/* lime bar that grows across the top on hover */
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: #C6F432;
    transition: width 0.45s ease;
    z-index: 2;
}

/* soft lime spotlight that follows the cursor */
.about-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(260px circle at var(--mx) var(--my), rgba(198, 244, 50, 0.28), transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

/* photo: gradient ring that spins around the picture */
.about-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid transparent;
    background:
        linear-gradient(#F5F3EE, #F5F3EE) padding-box,
        conic-gradient(from var(--ring-angle), #C6F432, #111111, #5C7A00, #C6F432) border-box;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
    animation: ringSpin 4s linear infinite;
}

@keyframes ringSpin {
    to { --ring-angle: 360deg; }
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* keeps faces in frame for portrait photos */
    display: block;
    border-radius: 50%;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.about-card h3 {
    font-size: 1.2rem;
    color: #111111;
    margin-top: 15px;
    transition: transform 0.45s ease;
}

.about-role {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #5C7A00;
    padding: 4px 12px;
    border-radius: 40px;
    background: rgba(198, 244, 50, 0.2);
    transition: background 0.4s ease, color 0.4s ease, transform 0.45s ease;
}

.about-desc {
    color: #57534E;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 12px;
}

/* Photo, name and description are always visible.
   Hover (mouse/trackpad only) adds the lift, tilt, spotlight and photo zoom. */
@media (hover: hover) {
    .about-photo {
        transition: transform 0.5s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease;
    }

    .about-card:hover,
    .about-card:focus-visible {
        --lift: -8px;
        background: #FFFFFF;
        border-color: rgba(198, 244, 50, 0.9);
        box-shadow: 0 18px 45px rgba(17, 17, 17, 0.16), 0 0 0 1px rgba(198, 244, 50, 0.6);
    }

    .about-card:hover::before,
    .about-card:focus-visible::before {
        width: 100%;
    }

    .about-card:hover::after,
    .about-card:focus-visible::after {
        opacity: 1;
    }

    .about-card:hover .about-photo,
    .about-card:focus-visible .about-photo {
        transform: scale(1.08);
        box-shadow: 0 12px 30px rgba(17, 17, 17, 0.25), 0 0 25px rgba(198, 244, 50, 0.45);
        background:
            linear-gradient(#FFFFFF, #FFFFFF) padding-box,
            conic-gradient(from var(--ring-angle), #C6F432, #111111, #5C7A00, #C6F432) border-box;
    }

    .about-card:hover .about-photo img,
    .about-card:focus-visible .about-photo img {
        transform: scale(1.1);
    }

    .about-card:hover .about-role,
    .about-card:focus-visible .about-role {
        background: #111111;
        color: #C6F432;
    }

    .about-card:hover h3,
    .about-card:focus-visible h3 {
        transform: translateY(-2px);
    }
}

/* scroll-in reveal (cards slide up one after another) */
.reveal {
    opacity: 0;
    translate: 0 40px;
    transition: opacity 0.7s ease, translate 0.7s cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--delay, 0s);
}

.reveal.in-view {
    opacity: 1;
    translate: 0 0;
}

/* the card's own transitions must keep running alongside the reveal */
.about-card.reveal {
    transition: opacity 0.7s ease var(--delay, 0s), translate 0.7s cubic-bezier(.2,.8,.2,1) var(--delay, 0s),
                transform 0.35s ease, box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

/* services section */
.services-section {
    background: #F5F3EE;
    padding: 50px 20px;
    margin: 25px 15px;
    border-radius: 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-title {
    font-size: 2rem;
    color: #111111;
    margin-bottom: 8px;
}

.services-sub {
    color: #57534E;
    font-size: 1rem;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: #FFFFFF;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2.2rem;
    color: #5C7A00;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1.2rem;
    color: #111111;
    margin-bottom: 10px;
}

.service-card p {
    color: #57534E;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* contact us section */
.contact-section {
    background: #FFFFFF;
    padding: 50px 20px;
    margin: 25px 15px;
    border-radius: 20px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2rem;
    color: #111111;
    margin-bottom: 8px;
}

.contact-sub {
    color: #57534E;
    font-size: 1rem;
    margin-bottom: 30px;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: #F5F3EE;
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(17, 17, 17, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #57534E;
    font-size: 0.95rem;
}

.contact-item a {
    color: #57534E;
    text-decoration: none;
}

.contact-item a:hover {
    color: #5C7A00;
}

.contact-item i {
    color: #5C7A00;
    width: 22px;
    font-size: 1.1rem;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border-radius: 50%;
    color: #111111;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(17, 17, 17, 0.15);
}

.contact-social a:hover {
    background: #C6F432;
    color: #111111;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(198, 244, 50, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 2px solid #E7E5E0;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #FFFFFF;
    transition: border-color 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #5C7A00;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-btn {
    background: #C6F432;
    color: #111111;
    padding: 14px 30px;
    font-weight: 700;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(198, 244, 50, 0.3);
}

.contact-btn:hover {
    background: #B3E01F;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 244, 50, 0.5);
}

.contact-btn:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

/* Reviews */
:root {
    --maroon: #111111;
    --yellow: #C6F432;
    --text: #F5F3EE;
    --page-bg: #F5F3EE;
}

.reviews {
    max-width: 1380px;
    margin: 0 auto;
    background: var(--maroon);
    color: var(--text);
    padding: 60px 24px 90px;
    text-align: center;
}

.reviews__label {
    font-size: 15px;
    margin-bottom: 55px;
}

.reviews__label span {
    color: var(--yellow);
    margin-right: 4px;
}

.slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1130px;
    margin: 0 auto;
}

.slider__btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--yellow);
    background: transparent;
    color: var(--yellow);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .25s, color .25s, transform .2s;
}

.slider__btn svg { width: 16px; height: 16px; }

.slider__btn--next {
    background: var(--yellow);
    color: var(--maroon);
}

.slider__btn--next:hover { transform: scale(1.06); }

.slider__btn--prev:hover {
    background: var(--yellow);
    color: var(--maroon);
}

.slider__viewport {
    overflow: hidden;
    flex: 1;
    max-width: 900px;
    touch-action: pan-y;
}

.slider__track {
    display: flex;
    transition: transform .6s ease;
}

.slide {
    min-width: 100%;
    padding: 0 10px;
}

.slide__name {
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.slide__stars {
    color: var(--yellow);
    font-size: 30px;
    letter-spacing: 6px;
    margin-bottom: 30px;
}

.slide__tag {
    display: inline-block;
    background: var(--yellow);
    color: var(--maroon);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 40px;
    margin-bottom: 30px;
}

.slide__text {
    font-size: 26px;
    line-height: 1.45;
    font-weight: 400;
    margin-bottom: 10px;
}

.slide__link {
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.slide__link svg { width: 10px; height: 10px; color: var(--yellow); }
.slide__link:hover { color: var(--yellow); }

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(245, 243, 238, .3);
    cursor: pointer;
    transition: background .25s, width .25s;
}

.dot.active {
    background: var(--yellow);
    width: 24px;
    border-radius: 4px;
}

/* reviews on small screens (was nested inside the desktop query, so it never applied) */
@media (max-width: 767px) {
    .slider { gap: 10px; }
    .slide__text { font-size: 18px; }
    .slider__btn { width: 38px; height: 38px; }
}

/* footer */
footer {
    background: #111111;
    color: #FFFFFF;
    padding: 30px 15px 15px;
    margin-top: 30px;
    border-top: 3px solid #C6F432;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    padding: 0 5px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.footer-logo p {
    color: #C6F432;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #C6F432;
    margin: 8px auto 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #D6D3CE;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #C6F432;
    padding-left: 5px;
}

.footer-links ul li a:focus-visible {
    outline: 2px solid #C6F432;
    outline-offset: 2px;
    border-radius: 4px;
}

.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-contact p {
    color: #D6D3CE;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact p a {
    color: #D6D3CE;
    text-decoration: none;
}

.footer-contact p a:hover {
    color: #C6F432;
}

.footer-contact p i {
    color: #C6F432;
    width: 20px;
}

.footer-social {
    flex: 1;
    min-width: 150px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.social-icons a:hover {
    background: #C6F432;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(198, 244, 50, 0.4);
    color: #111111;
}

.social-icons a:focus-visible {
    outline: 2px solid #C6F432;
    outline-offset: 2px;
    border-radius: 50%;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    margin-top: 45px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-bottom p {
    color: #A8A29E;
    font-size: 0.75rem;
}

/* shared section pill (How It Works, FAQ) */
.section-pill {
    display: inline-block;
    background: rgba(198, 244, 50, 0.35);
    border: 2px solid #111111;
    color: #111111;
    border-radius: 40px;
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* tools bar (infinite scrolling logos) */
.tools-bar {
    background: #FFFFFF;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    padding: 26px 0 22px;
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
}

.tools-bar__label {
    color: #57534E;
    font-size: 0.9rem;
    margin-bottom: 18px;
    padding: 0 15px;
}

.tools-bar__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.tools-bar__track {
    list-style: none;
    display: flex;
    width: max-content;
    animation: toolsScroll 35s linear infinite;
}

.tools-bar__track li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #A8A29E;
    padding: 0 30px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.tools-bar__track li:hover {
    color: #111111;
}

.tools-bar:hover .tools-bar__track {
    animation-play-state: paused;
}

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

/* how it works */
.steps-section {
    padding: 50px 20px;
    margin: 25px 15px;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.steps-title {
    font-size: 1.8rem;
    color: #111111;
    margin-bottom: 35px;
    line-height: 1.2;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
}

.step-card {
    background: #FFFFFF;
    padding: 30px 28px;
    border-radius: 20px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.7s ease var(--delay, 0s),
                translate 0.7s cubic-bezier(.2,.8,.2,1) var(--delay, 0s);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-num {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #111111;
    color: #C6F432;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 0 7px rgba(198, 244, 50, 0.35);
    margin: 7px 0 24px 7px;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step-card p {
    color: #57534E;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* FAQ */
.faq-section {
    background: #FFFFFF;
    padding: 50px 20px;
    margin: 25px 15px;
    border-radius: 20px;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-intro {
    text-align: center;
}

.faq-title {
    font-size: 2rem;
    color: #111111;
    margin-bottom: 12px;
    line-height: 1.1;
}

.faq-sub {
    color: #57534E;
    font-size: 1rem;
}

.faq-sub a {
    color: #5C7A00;
    font-weight: 700;
    text-underline-offset: 3px;
}

.faq-sub a:hover {
    color: #111111;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #F5F3EE;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(17, 17, 17, 0.2);
}

.faq-item.open {
    background: #FFFFFF;
    border-color: #C6F432;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 22px 22px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #111111;
    cursor: pointer;
}

.faq-q:focus-visible {
    outline: 2px solid #5C7A00;
    outline-offset: 2px;
    border-radius: 16px;
}

.faq-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(198, 244, 50, 0.35);
    color: #111111;
    font-size: 0.85rem;
    transition: transform 0.35s ease, background 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: #C6F432;
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-a > div {
    overflow: hidden;
}

.faq-item.open .faq-a {
    grid-template-rows: 1fr;
}

.faq-a p {
    color: #57534E;
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 22px 22px;
}

/* contact form extras */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-form {
    position: relative;
}

.contact-btn:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.form-status {
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 1.2em;
}

.form-status.success { color: #5C7A00; }
.form-status.error   { color: #B42318; }

/* tablet 768px and up */
@media (min-width: 768px) {
    /* header */
    header {
        padding: 15px 30px;
    }

    .logo span {
        font-size: 1.4rem;
    }

    .hamburger {
        display: none;
    }

    .register-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row;
        width: auto;
        gap: 20px;
        padding: 0;
        flex: 1;
        order: 0;
        border-top: none;
        margin-top: 0;
        justify-content: center;
    }

    .nav-links a {
        padding: 8px 5px;
        font-size: 0.95rem;
        text-align: center;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
    }

    .nav-links a.active {
        border-bottom: 2px solid #5C7A00;
    }

    .register {
        margin-left: 0;
        order: 0;
    }

    /* hero section */
    .hero {
        margin: 40px 30px;
        padding: 40px 30px;
        border-radius: 30px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .hero p {
        font-size: 1.05rem;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .start-btn,
    .work-btn {
        width: auto;
        max-width: none;
        padding: 14px 35px;
        font-size: 1rem;
    }

    /* detail / projects */
    .detail {
        padding: 50px 30px;
        margin: 25px 20px;
        border-radius: 20px;
    }

    .detail > h1 {
        font-size: 1.8rem;
    }

    .detail > p {
        font-size: 1rem;
        max-width: 700px;
    }

    .detail > h3 {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .projects-grid {
        gap: 25px;
    }

    .projects-grid .box {
        flex: 0 1 calc((100% - 25px) / 2);
    }

    /* about us section */
    .about-section {
        padding: 50px 40px;
        margin: 25px 20px;
    }

    .about-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-card {
        flex: 1 1 250px;
        max-width: 320px;
        padding: 30px 25px;
    }

    /* tools bar */
    .tools-bar__track li {
        font-size: 1.6rem;
        padding: 0 38px;
    }

    /* how it works */
    .steps-section {
        padding: 60px 30px;
        margin: 30px 20px;
    }

    .steps-title {
        font-size: 2.4rem;
    }

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

    /* faq */
    .faq-section {
        padding: 60px 40px;
        margin: 25px 20px;
    }

    .faq-q {
        font-size: 1.1rem;
        padding: 26px 30px;
    }

    .faq-a p {
        padding: 0 30px 26px;
    }

    /* services section */
    .services-section {
        padding: 60px 30px;
        margin: 30px 20px;
    }

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

    .service-card {
        padding: 30px 25px;
    }

    /* contact us section */
    .contact-section {
        padding: 50px 40px;
        margin: 25px 20px;
    }

    .contact-wrapper {
        flex-direction: row;
        padding: 40px 35px;
        text-align: left;
        align-items: stretch;
    }

    .contact-info {
        flex: 1;
        align-items: flex-start;
        justify-content: center;
        gap: 18px;
    }

    .contact-social {
        margin-top: 5px;
    }

    .contact-form {
        flex: 1.5;
    }

    /* footer */
    footer {
        padding: 50px 30px 20px;
        margin-top: 40px;
        border-top-width: 4px;
    }

    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
        gap: 30px;
        padding: 0 10px;
    }

    .footer-links h3::after,
    .footer-contact h3::after,
    .footer-social h3::after {
        margin: 8px 0 0 0;
    }

    .footer-contact p {
        justify-content: flex-start;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* desktop 1024px and up */
@media (min-width: 1024px) {
    /* header */
    header {
        padding: 15px 50px;
    }

    .logo span {
        font-size: 1.6rem;
    }

    .nav-links {
        gap: 30px;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 8px 10px;
    }

    .register-btn {
        padding: 12px 35px;
        font-size: 1rem;
    }

    /* hero section */
    .hero {
        max-width: 950px;
        margin: 60px auto;
        padding: 50px 40px;
        border-radius: 35px;
    }

    .hero h1 {
        font-size: 2.9rem;
        margin-bottom: 30px;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 760px;
        padding: 0 30px;
    }

    .start-btn,
    .work-btn {
        padding: 14px 40px;
        font-size: 1.05rem;
    }

    /* detail / projects: 3 cards per row */
    .detail {
        padding: 70px 50px;
        margin: 35px 40px;
        border-radius: 25px;
    }

    .detail > h1 {
        font-size: 2.2rem;
    }

    .detail > p {
        font-size: 1.05rem;
        max-width: 800px;
    }

    .detail > h3 {
        font-size: 1.1rem;
        padding: 12px 28px;
    }

    .projects-grid {
        gap: 30px;
    }

    .projects-grid .box {
        flex: 0 1 calc((100% - 60px) / 3);
    }

    .box {
        padding: 35px 28px;
    }

    .box-title {
        font-size: 1.3rem;
    }

    /* about us section */
    .about-section {
        padding: 80px 40px;
    }

    .about-title {
        font-size: 2.4rem;
    }

    .about-card {
        flex: 1 1 280px;
        max-width: 350px;
        padding: 35px 30px;
    }

    /* services section */
    .services-section {
        padding: 80px 40px;
    }

    .services-title {
        font-size: 2.4rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .service-card {
        padding: 35px 25px;
    }

    /* how it works */
    .steps-section {
        padding: 80px 40px;
    }

    .steps-title {
        font-size: 3rem;
    }

    .step-card {
        padding: 38px 36px;
    }

    /* faq: two columns like the reference */
    .faq-section {
        padding: 90px 60px;
    }

    .faq-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 60px;
    }

    .faq-intro {
        flex: 0 0 38%;
        text-align: left;
        position: sticky;
        top: 120px;
    }

    .faq-title {
        font-size: 3.4rem;
        letter-spacing: -1.5px;
    }

    .faq-list {
        flex: 1;
    }

    /* contact us section */
    .contact-section {
        padding: 80px 40px;
    }

    .contact-title {
        font-size: 2.4rem;
    }

    .contact-wrapper {
        padding: 50px 45px;
        gap: 50px;
    }

    /* footer */
    footer {
        padding: 60px 50px 25px;
        margin-top: 50px;
    }

    .footer-container {
        flex-wrap: nowrap;
        gap: 40px;
        padding: 0 15px;
    }

    .footer-logo h2 {
        font-size: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* large desktop 1440px and up */
@media (min-width: 1440px) {
    .hero {
        max-width: 1100px;
        padding: 70px 60px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .detail {
        padding: 80px 60px;
        margin: 40px 60px;
    }

    .footer-container {
        max-width: 1200px;
    }
}

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

    .reveal {
        opacity: 1;
        translate: 0 0;
    }

    .tools-bar__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
    }

    .tools-bar__track li[aria-hidden="true"] {
        display: none;
    }
}