:root {
    --primary: #F5C000;
    --dark: #1A1A1A;
    --bg-color: #F0EBE0;
    --white: #FFFFFF;
    --heading-font: 'Anton', sans-serif;
    --body-font: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--dark);
    font-family: var(--body-font);
    overflow-x: hidden;
}

/* Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.yellow-text { color: var(--primary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--heading-font);
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
    box-shadow: 4px 4px 0px var(--dark);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--dark);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--dark);
}

.btn-large {
    font-size: 1.5rem;
    padding: 15px 40px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(240, 235, 224, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 3px solid var(--dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.nav-logo {
    height: 60px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--dark);
    color: var(--primary) !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--heading-font);
    font-size: 1.2rem !important;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 150px 0 50px;
    position: relative;
    overflow: hidden;
}

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

.company-sub {
    font-size: 1rem;
    font-weight: 600;
    background: var(--dark);
    color: var(--white);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.hero-title .highlight {
    color: var(--primary);
    display: block;
    -webkit-text-stroke: 1px var(--dark);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.placeholder-image {
    background: rgba(0,0,0,0.05);
    border: 3px dashed var(--dark);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-weight: bold;
    color: var(--dark);
}

.mascot-placeholder { height: 500px; }

/* Sections Common */
section { padding: 100px 0; }

.section-header h2 {
    font-size: 3rem;
    display: inline-block;
    position: relative;
}

.divider {
    height: 5px;
    width: 100px;
    background: var(--primary);
    margin: 10px auto 40px;
    border-radius: 5px;
}

/* What is JUMPE */
.flow-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.flow-step {
    flex: 1;
    text-align: center;
    background: var(--white);
    padding: 40px 20px;
    border-radius: 20px;
    border: 3px solid var(--dark);
    box-shadow: 8px 8px 0px var(--primary);
    position: relative;
    transition: transform 0.3s;
}

.flow-step:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 150px;
    height: 150px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    border: 3px solid var(--dark);
}

.flow-step p {
    font-weight: 600;
    font-size: 1.1rem;
}

.flow-arrow {
    font-size: 3rem;
    color: var(--dark);
    padding: 0 20px;
}

.tech-slider-wrapper {
    margin: 40px auto;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.03); /* Subtle background shading */
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
}

.tech-slider-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tech-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tech-slider {
    display: flex;
    width: max-content;
    animation: slide-infinite 40s linear infinite;
}

.tech-slider:hover {
    animation-play-state: paused;
}

.tech-track {
    display: flex;
    gap: 50px;
    padding-right: 50px;
    align-items: center;
}

.tech-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
    transition: all 0.3s ease;
}

@keyframes slide-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.mobile-arrow { display: none; }

/* Services */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.yellow-card {
    background: var(--primary);
    border: 3px solid var(--dark);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.1);
}

.yellow-card:hover {
    transform: scale(1.05);
}

.card-image-placeholder {
    height: 200px;
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Why Jumpe */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mascot-jumping-placeholder { height: 600px; }

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    border: 2px solid var(--dark);
    box-shadow: 4px 4px 0px var(--primary);
}

.pill-badge {
    background: var(--primary);
    color: var(--dark);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border: 2px solid var(--dark);
    flex-shrink: 0;
}

/* Mission Vision */
.dark-section {
    background: var(--dark);
    color: var(--white);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.styled-list {
    list-style-type: square;
    padding-left: 20px;
    font-size: 1.2rem;
    line-height: 1.8;
}

.vision-statement {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    border-left: 5px solid var(--primary);
    padding-left: 20px;
}

.champion-placeholder {
    height: 500px;
    border-color: var(--primary);
    color: var(--primary);
}

/* section title slides */
.section-title-slide {
    width: 100%;
    background: var(--primary);
    border-top: 5px solid var(--dark);
    border-bottom: 5px solid var(--dark);
    padding: 40px 0;
    text-align: center;
}

.section-title-slide span {
    font-family: var(--heading-font);
    font-size: 4rem;
    letter-spacing: 2px;
}

.section-title-slide span.text-black {
    color: var(--dark);
}

.section-title-slide span.text-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--bg-color); /* Milk/cream color stroke */
}

/* Products Detailed */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 6px 6px 0px var(--primary);
}

.product-header {
    background: var(--dark);
    color: var(--primary);
    padding: 20px;
    position: relative;
}

.product-header h3 { margin: 0; font-size: 1.5rem; }

.hrdf-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 10px;
}

.product-body { padding: 25px; }

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.product-features i {
    color: var(--primary);
    margin-top: 4px;
    margin-right: 10px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.tool-tag {
    background: #eee;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--dark);
}

/* Portfolio */
.portfolio-slide { background: var(--white); }
.text-outline { color: transparent; -webkit-text-stroke: 2px var(--primary); }
.text-black { color: var(--dark); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.portfolio-image-placeholder {
    height: 200px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--dark);
}

.qr-placeholder {
    text-align: center;
    background: var(--white);
    padding: 15px;
    border: 2px dashed var(--dark);
    border-radius: 10px;
}

.qr-placeholder i { font-size: 2.5rem; margin-bottom: 10px; color: var(--dark); }

.portfolio-info { padding: 20px; }

.red-badge {
    background: #FF4136;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
    font-family: var(--heading-font);
    letter-spacing: 1px;
}

.ai-games-portfolio {
    background: var(--dark);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid var(--primary);
}

.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.game-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(245, 192, 0, 0.3);
}

.game-item i { color: var(--primary); font-size: 1.5rem; }

/* Contact Section */
.engage-badge { text-align: center; margin-bottom: 40px; }
.engage-badge h2 {
    display: inline-block;
    background: var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    border: 3px solid var(--dark);
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 4px solid var(--dark);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 10px 10px 0px var(--primary);
}

.contact-logo { height: 80px; margin-bottom: 20px; }

.contact-details h3 { font-size: 1.8rem; margin-bottom: 5px; }
.sub-text { color: #666; font-style: italic; margin-bottom: 30px; }

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: left;
}

.info-item i { font-size: 1.5rem; color: var(--primary); }

footer {
    background: var(--dark);
    color: white;
    padding: 30px 0;
    text-align: center;
    border-top: 5px solid var(--primary);
}

/* Animations */
.fade-in, .fade-up, .fade-in-up, .slide-up-stagger, .fade-in-right, .slide-in-right, .fade-in-left, .slide-in-left, .pop-in {
    opacity: 0;
}

.fade-in, .fade-up, .fade-in-up, .slide-up-stagger { transform: translateY(30px); }
.fade-in-right, .slide-in-right { transform: translateX(50px); }
.fade-in-left, .slide-in-left { transform: translateX(-50px); }
.pop-in { transform: scale(0.8); }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes popIn {
    to { opacity: 1; transform: scale(1); }
}

.fade-in.visible, .fade-up.visible, .fade-in-up.visible, .slide-up-stagger.visible {
    animation: fadeInUp 0.8s ease forwards;
}
.fade-in-right.visible, .slide-in-right.visible {
    animation: slideInRight 0.8s ease forwards;
}
.fade-in-left.visible, .slide-in-left.visible {
    animation: slideInLeft 0.8s ease forwards;
}
.pop-in.visible {
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Shake animation for phone */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px) rotate(-3deg); }
    20%, 40%, 60%, 80% { transform: translateX(3px) rotate(3deg); }
}
.shake-animation:hover { animation: shake 0.8s; }

/* Responsive */
@media (max-width: 992px) {
    .flow-layout { flex-direction: column; gap: 30px; }
    .desktop-arrow { display: none; }
    .mobile-arrow { display: block; }
    .hero-container, .why-grid, .mv-grid, .product-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3.5rem; }
    .card-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        border-bottom: 3px solid var(--dark);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
}

.product-image-box {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--dark);
    background: var(--dark);
}
.product-image-box > img.standard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.product-card:hover .product-image-box > img.standard-img {
    transform: scale(1.05);
}

.portrait-box {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portrait-box .blur-overlay {
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(0,0,0,0.5);
    z-index: 0;
}
.portrait-box img.contained-img {
    position: relative;
    height: 90%;
    width: auto;
    object-fit: contain;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}
.product-card:hover .portrait-box img.contained-img {
    transform: scale(1.05);
}
