:root {
    --pink: #ff5fa2;
    --purple: #8b5cf6;
    --violet: #6d28d9;
    --cyan: #22d3ee;
    --blue: #4f7cff;
    --yellow: #ffd93d;
    --mint: #43e97b;
    --ink: #2b1055;
    --ink-soft: #6b5b95;
    --cream: #fff7fb;
    --white: #ffffff;
    --radius: 28px;
    --radius-lg: 40px;
    /* chunky 3D toy shadow */
    --toy-shadow: 0 10px 0 rgba(43, 16, 85, 0.18), 0 18px 40px rgba(109, 40, 217, 0.28);
    --toy-shadow-sm: 0 6px 0 rgba(43, 16, 85, 0.16), 0 12px 24px rgba(109, 40, 217, 0.22);
    --border-toy: 3px solid var(--ink);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    line-height: 1.65;
    font-weight: 400;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 95, 162, 0.35), transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(34, 211, 238, 0.32), transparent 40%),
        radial-gradient(circle at 75% 85%, rgba(139, 92, 246, 0.38), transparent 45%),
        radial-gradient(circle at 20% 90%, rgba(255, 217, 61, 0.28), transparent 40%),
        linear-gradient(160deg, #f6e9ff 0%, #e8f6ff 50%, #fff0f8 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: 'Baloo 2', cursive; line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }

a { text-decoration: none; color: inherit; }

.eyebrow {
    display: inline-block;
    background: var(--white);
    color: var(--purple);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border-radius: 50px;
    border: var(--border-toy);
    box-shadow: var(--toy-shadow-sm);
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--pink), var(--purple) 45%, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Buttons - chunky 3D toy ===== */
.btn {
    display: inline-block;
    padding: 15px 32px;
    border-radius: 50px;
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: var(--border-toy);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    box-shadow: var(--toy-shadow-sm);
}
.btn-primary {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff;
    text-shadow: 0 2px 0 rgba(43, 16, 85, 0.25);
}
.btn-secondary {
    background: var(--yellow);
    color: var(--ink);
}
.btn:hover { transform: translateY(-4px); box-shadow: 0 12px 0 rgba(43,16,85,0.18), 0 20px 36px rgba(109,40,217,0.3); }
.btn:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(43,16,85,0.18); }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 16px; left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 1180px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: var(--border-toy);
    border-radius: 50px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.navbar.scrolled { box-shadow: var(--toy-shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 0 14px 0 22px; }
.logo { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.logo-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #fff;
    border-radius: 12px;
    border: var(--border-toy);
    font-size: 0.9rem;
    transform: rotate(-8deg);
    box-shadow: 0 4px 0 rgba(43,16,85,0.2);
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); transition: color 0.2s, transform 0.2s; }
.nav-links a:hover { color: var(--purple); transform: translateY(-2px); }
.nav-cta {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 50px;
    border: var(--border-toy);
    box-shadow: 0 4px 0 rgba(43,16,85,0.2);
}
.nav-cta:hover { transform: translateY(-3px) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 4px; transition: 0.3s; }

/* ===== Hero ===== */
.hero { padding: 170px 0 110px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.badge {
    display: inline-block;
    background: var(--white);
    border: var(--border-toy);
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--toy-shadow-sm);
}
.hero h1 { font-size: 3.7rem; font-weight: 800; margin-bottom: 22px; }
.hero h1 .gradient-text { display: inline-block; }
.hero-sub { font-size: 1.18rem; color: var(--ink-soft); margin-bottom: 34px; max-width: 540px; font-weight: 500; }
.hero-buttons { display: flex; gap: 18px; margin-bottom: 46px; flex-wrap: wrap; }
.hero-trust span { font-size: 0.8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.trust-logos { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.trust-logos span {
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    padding: 5px 14px;
    border-radius: 50px;
    border: 2px solid var(--ink);
    box-shadow: 0 3px 0 rgba(43,16,85,0.2);
}

/* Hero visual - 3D toy scene */
.hero-visual { position: relative; height: 460px; perspective: 1000px; }
.hero-orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    background:
        radial-gradient(circle at 32% 30%, #fff 0%, rgba(255,255,255,0) 35%),
        linear-gradient(135deg, var(--pink), var(--purple) 50%, var(--cyan));
    border-radius: 50%;
    border: var(--border-toy);
    box-shadow: inset -18px -22px 40px rgba(43,16,85,0.35), 0 24px 50px rgba(109,40,217,0.45);
    animation: bob 5s ease-in-out infinite;
}
.hero-orb::after {
    content: "✦";
    position: absolute;
    top: 22%; left: 60%;
    font-size: 2rem;
    color: rgba(255,255,255,0.85);
    animation: twinkle 2.5s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -62%); } }
@keyframes twinkle { 0%,100% { opacity: 0.4; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.2); } }

.float-card {
    position: absolute;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    padding: 13px 20px;
    border-radius: 20px;
    border: var(--border-toy);
    box-shadow: var(--toy-shadow-sm);
    font-weight: 700;
    font-family: 'Baloo 2', cursive;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    animation: floaty 4.5s ease-in-out infinite;
}
.card-1 { top: 6%; left: -6%; transform: rotate(-6deg); }
.card-2 { top: 46%; right: -10%; animation-delay: 1.5s; transform: rotate(5deg); }
.card-3 { bottom: 4%; left: 4%; animation-delay: 3s; transform: rotate(-3deg); }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -16px; } }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.dot.green { background: var(--mint); }
.dot.blue { background: var(--cyan); }
.dot.purple { background: var(--pink); }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 660px; margin: 0 auto 64px; }
.section-head h2 { font-size: 2.7rem; margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; font-weight: 500; }

/* ===== Services ===== */
.services { padding: 90px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
    background: var(--white);
    border: var(--border-toy);
    border-radius: var(--radius);
    padding: 34px 28px;
    box-shadow: var(--toy-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:nth-child(3n+1) { background: linear-gradient(180deg, #fff, #fff0f8); }
.service-card:nth-child(3n+2) { background: linear-gradient(180deg, #fff, #eef6ff); }
.service-card:nth-child(3n) { background: linear-gradient(180deg, #fff, #f4eeff); }
.service-card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--toy-shadow); }
.service-icon {
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    border-radius: 20px;
    border: var(--border-toy);
    box-shadow: 0 6px 0 rgba(43,16,85,0.18);
    margin-bottom: 22px;
    transform: rotate(-5deg);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.97rem; font-weight: 500; }

/* ===== About ===== */
.about { padding: 90px 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.about-img {
    width: 100%; height: 430px;
    border-radius: var(--radius-lg);
    border: var(--border-toy);
    background:
        radial-gradient(circle at 28% 25%, #fff 0%, rgba(255,255,255,0) 30%),
        linear-gradient(135deg, var(--pink) 0%, var(--purple) 55%, var(--blue) 100%);
    box-shadow: var(--toy-shadow);
    position: relative;
    overflow: hidden;
}
.about-img::after {
    content: "🧩";
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 7rem;
    animation: bob 6s ease-in-out infinite;
}
.about-badge {
    position: absolute;
    bottom: -22px; right: -18px;
    background: var(--yellow);
    padding: 22px 30px;
    border-radius: var(--radius);
    border: var(--border-toy);
    box-shadow: var(--toy-shadow-sm);
    text-align: center;
    transform: rotate(-5deg);
}
.about-badge strong { display: block; font-family: 'Baloo 2', cursive; font-size: 2.3rem; color: var(--ink); }
.about-badge span { font-size: 0.85rem; color: var(--ink); font-weight: 600; }
.about-content h2 { font-size: 2.7rem; margin-bottom: 20px; }
.about-content > p { color: var(--ink-soft); margin-bottom: 24px; font-weight: 500; }
.about-list { list-style: none; margin-bottom: 32px; }
.about-list li { padding: 9px 0; font-weight: 600; color: var(--ink); }

/* ===== Stats ===== */
.stats { padding: 70px 0; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center;
    background: linear-gradient(135deg, var(--violet), var(--blue));
    border: var(--border-toy);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    box-shadow: var(--toy-shadow);
}
.stat h3 { font-family: 'Baloo 2', cursive; font-size: 3.2rem; font-weight: 800; color: var(--yellow); text-shadow: 0 4px 0 rgba(43,16,85,0.3); }
.stat p { color: rgba(255,255,255,0.9); font-weight: 600; margin-top: 6px; }

/* ===== Team ===== */
.team { padding: 90px 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    border: var(--border-toy);
    background: var(--white);
    box-shadow: var(--toy-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-10px) rotate(1.5deg); box-shadow: var(--toy-shadow); }
.avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    border: var(--border-toy);
    box-shadow: 0 6px 0 rgba(43,16,85,0.18);
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.6rem;
    text-shadow: 0 2px 0 rgba(43,16,85,0.25);
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-card span { color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; }

/* ===== Contact ===== */
.contact { padding: 90px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 2.7rem; margin-bottom: 16px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 32px; font-weight: 500; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-details div {
    font-size: 0.97rem; color: var(--ink-soft); font-weight: 500;
    background: var(--white);
    border: var(--border-toy);
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: var(--toy-shadow-sm);
}
.contact-details strong { color: var(--ink); font-family: 'Baloo 2', cursive; }
.contact-details a { color: var(--purple); font-weight: 600; }
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: var(--border-toy);
    box-shadow: var(--toy-shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: var(--border-toy);
    border-radius: 16px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.97rem;
    font-weight: 500;
    background: var(--cream);
    color: var(--ink);
    transition: box-shadow 0.2s, transform 0.2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #b3a6cc; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; box-shadow: 0 0 0 4px rgba(139,92,246,0.25); transform: translateY(-1px); }
.form-note { font-family: 'Baloo 2', cursive; font-size: 0.95rem; color: var(--mint); font-weight: 700; text-align: center; }

/* ===== Footer ===== */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,0.8);
    padding: 70px 0 30px;
    border-top: var(--border-toy);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    margin-top: 40px;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; font-weight: 400; }
.footer-col h4 { font-family: 'Baloo 2', cursive; color: var(--yellow); margin-bottom: 16px; font-size: 1.05rem; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.92rem; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: var(--cyan); transform: translateX(4px); }
.footer-bottom {
    border-top: 2px solid rgba(255,255,255,0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}
.social { display: flex; gap: 12px; }
.social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border: 2px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700;
    transition: transform 0.2s;
}
.social a:hover { transform: translateY(-4px) rotate(-8deg); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(40px) scale(0.96); transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 88px; right: 16px;
        flex-direction: column;
        align-items: flex-start;
        background: var(--white);
        width: 220px;
        padding: 24px;
        gap: 16px;
        border: var(--border-toy);
        border-radius: 28px;
        box-shadow: var(--toy-shadow);
        transform: translateX(130%);
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-toggle { display: flex; }
    .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.6rem; }
    .hero-visual { height: 340px; margin-top: 30px; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; }
    .about-badge { right: 10px; }
}
@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
}
