:root {
    /* ── App Style Reference: Purple & Lavender ── */
    --color-primary: #7c5cbf;
    --color-primary-light: #a78bda;
    --color-primary-pale: #f0ecf8;
    --color-accent: #f5923e;
    --color-accent-light: #f8b078;
    --color-success: #3cbf7c;
    --color-danger: #ef5050;

    /* ── Original App Gradients ── */
    --bg-gradient: linear-gradient(145deg, #eef1fb 0%, #ece8f8 35%, #e6ecf8 65%, #eae7f5 100%);
    --bg-hero: radial-gradient(circle at top right, var(--color-primary-pale), transparent),
        radial-gradient(circle at bottom left, #fef4ec, transparent),
        #f8f9ff;

    /* ── Glass Surfaces (Matching App) ── */
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-strong: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: 20px;

    /* ── Shadows (Matching App) ── */
    --shadow-soft: 0 4px 16px rgba(100, 80, 160, 0.06);
    --shadow-medium: 0 8px 32px rgba(100, 80, 160, 0.08);
    --shadow-elevated: 0 16px 48px rgba(100, 80, 160, 0.12);
    --shadow-btn: 0 8px 16px rgba(124, 92, 191, 0.25);

    /* ── Typography ── */
    --font-primary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --font-heading: var(--font-primary);

    --radius-lg: 20px;
    --radius-md: 16px;
    --radius-full: 9999px;
    --navbar-height: 80px;
    --transition-base: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: #1d1932;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ── Common Utilities ── */
.glass-morph {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    text-align: center;
    margin-bottom: 16px;
    color: #1d1932;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #5c567a;
    margin-bottom: 60px;
}

/* ── Background Decorations ── */
.background-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.15;
}

.decor {
    position: absolute;
    font-size: 40px;
    animation: floatDecor 12s infinite ease-in-out;
}

.pet-float-1, .pet-float-2, .pet-float-3 {
    width: 60px;
    height: 60px;
    opacity: 0.12;
}

.pet-float-1 img, .pet-float-2 img, .pet-float-3 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pet-float-1 { top: 10%; right: 25%; animation-delay: 1s; }
.pet-float-2 { bottom: 20%; left: 5%; animation-delay: 5s; }
.pet-float-3 { top: 50%; right: 5%; animation-delay: 3s; }

@keyframes floatDecor {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, -40px) rotate(20deg);
    }
}

.paw-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    color: var(--color-primary-light);
}

.paw-2 {
    top: 70%;
    right: 12%;
    animation-delay: 2s;
    color: var(--color-accent);
}

.leaf-1 {
    top: 40%;
    left: 18%;
    animation-delay: 4s;
    color: var(--color-primary);
}

.leaf-2 {
    top: 25%;
    right: 5%;
    animation-delay: 1s;
    color: var(--color-primary-pale);
}

.bone-1 {
    bottom: 15%;
    left: 15%;
    animation-delay: 3s;
    color: var(--color-accent-light);
    font-size: 30px;
}

/* ── Navbar ── */
.navbar {
    height: var(--navbar-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo-img {
    height: 48px;
    width: auto;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a:not(.btn-primary) {
    text-decoration: none;
    color: #5c567a;
    font-weight: 700;
    transition: var(--transition-base);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 800;
    box-shadow: var(--shadow-btn);
    transition: var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(124, 92, 191, 0.35);
}

/* ── Hero Section ── */
.hero {
    padding: 160px 0 100px;
    background: var(--bg-hero);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 60px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-primary-pale);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 13px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.hero-slogan {
    font-size: 20px;
    color: #5c567a;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition-base);
}

.btn-web {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-radius: var(--radius-full);
    font-size: 18px;
    box-shadow: var(--shadow-btn);
}

.btn-web:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(124, 92, 191, 0.3);
}

.download-group {
    display: flex;
    gap: 12px;
}

.btn-download {
    background: white;
    color: #5c567a;
    border: 1px solid rgba(124, 92, 191, 0.2);
    border-radius: var(--radius-md);
    flex: 1;
    font-size: 14px;
}

.btn-download:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-pale);
}

.hero-image {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 2000px;
}

/* 🎨 Background Aura / Glows */
.hero-aura {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    z-index: -1;
    animation: auraPulse 8s infinite alternate ease-in-out;
}

.aura-1 { background: var(--color-primary); top: 10%; right: 10%; }
.aura-2 { background: var(--color-accent); bottom: 10%; left: 0%; animation-delay: -4s; }

@keyframes auraPulse {
    from { transform: scale(1) translate(0, 0); opacity: 0.2; }
    to { transform: scale(1.3) translate(20px, -20px); opacity: 0.35; }
}

/* 📺 Main Visual Container */
.hero-visual-container {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 380px;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Dashboard Mockup */
.visual-main-frame {
    position: absolute;
    width: 520px;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%) translateZ(0);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 40px 100px rgba(100, 80, 160, 0.15);
    z-index: 5;
    transition: transform 0.4s ease;
}

.visual-main-frame img {
    width: 100%;
    border-radius: 24px;
    display: block;
}

/* Overlapping Window */
.visual-side-card {
    position: absolute;
    width: 320px;
    top: -20px;
    right: -60px;
    z-index: 10;
    transform: translateZ(60px);
    background: white;
    padding: 8px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(124, 92, 191, 0.1);
    transition: transform 0.4s ease;
}

.visual-side-card img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

/* 🎓 Pet Graduation Parade (Multiple 8-Level Pets) */
.hero-pet-parade {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
}

.parade-pet {
    position: absolute;
    width: 110px;
    height: 110px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    animation: floatPet 5s infinite ease-in-out;
    transform-style: preserve-3d;
}

.parade-pet img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes floatPet {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(-20px) scale(1.1) rotate(5deg); }
}

/* Individual Positions & Timing (Balanced 'Flying Out' Effect) */
/* Pulling back slightly to ensure zero overlap with CTA buttons/text */
.pet-1 { bottom: -40px; left: -60px; width: 170px; height: 170px; transform: translateZ(190px); animation-delay: 0s; z-index: 30; } /* Shiba (Main) */
.pet-2 { top: -90px; left: 10px; width: 100px; height: 100px; transform: translateZ(110px); animation-delay: 1s; z-index: 15; } /* Panda */
.pet-3 { top: -50px; right: -80px; width: 120px; height: 120px; transform: translateZ(140px); animation-delay: 2s; z-index: 25; } /* Tiger */
.pet-4 { bottom: -20px; right: -60px; width: 130px; height: 130px; transform: translateZ(150px); animation-delay: 1.5s; z-index: 20; } /* Unicorn */
.pet-5 { top: 15%; left: -90px; width: 95px; height: 95px; transform: translateZ(90px); animation-delay: 2.5s; z-index: 10; } /* Red Panda */

/* Add individual halos for each parade pet on hover */
.hero-visual-container:hover .parade-pet {
    filter: drop-shadow(0 0 30px var(--color-primary-pale));
    transform: scale(1.05) translateZ(220px); /* Extra pop on hover */
}

/* 🏆 Badge Accents (Highlights) - Reduced negative offsets */
.hero-badge {
    position: absolute;
    z-index: 21;
    padding: 10px 18px;
    background: white;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateZ(100px);
    transition: 0.3s ease;
    animation: badgeFloat 4s infinite ease-in-out;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateZ(100px) translateY(0); }
    50% { transform: translateZ(110px) translateY(-10px); }
}

.badge-main-honour { bottom: -10px; right: -20px; }
.badge-top-left { top: -30px; left: -20px; animation-delay: 1.5s; }
.badge-mid-left { top: 100px; left: -60px; animation-delay: 2.5s; }

.badge-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.icon-purple { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); }
.icon-green { background: linear-gradient(135deg, var(--color-success), #5edda3); }

.badge-text span { font-weight: 800; display: block; line-height: 1.2; font-size: 14px; color: #1d1932; }
.badge-text small { color: #5c567a; font-size: 11px; white-space: nowrap; }

.hero-badge:hover {
    transform: translateZ(130px) scale(1.05);
    background: var(--color-primary-pale);
}

/* ── Class Types (Specialized Solutions) ── */
.class-types {
    padding: 100px 0;
    background: white;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.type-card {
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.1;
    transition: 0.5s;
}

.type-card.primary-school::before { background: var(--color-primary); }
.type-card.kindergarten::before { background: var(--color-accent); }

.type-card:hover {
    transform: translateY(-10px);
    background: var(--glass-bg-strong);
}

.type-card:hover::before {
    transform: scale(1.5);
    opacity: 0.2;
}

.type-icon {
    font-size: 40px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kindergarten .type-icon {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.type-card h3 {
    font-size: 30px;
    color: #1d1932;
    margin-bottom: 12px;
}

.type-desc {
    color: #5c567a;
    font-size: 16px;
    margin-bottom: 30px;
}

.type-list {
    list-style: none;
    margin-bottom: 30px;
}

.type-list li {
    margin-bottom: 15px;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.type-list li i {
    font-size: 14px;
    color: var(--color-success);
}

.type-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(100, 80, 160, 0.08);
    color: var(--color-primary);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
}

.kindergarten .type-tag {
    background: rgba(248, 176, 120, 0.1);
    color: var(--color-accent);
}

/* 🧬 Update Mobile Overrides for Class Types */
@media (max-width: 1024px) {
    .type-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Showcase Gallery ── */
.showcase {
    padding: 80px 0;
}

.showcase-gallery {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollGallery 50s linear infinite;
}

.showcase-gallery:hover .gallery-track {
    animation-play-state: paused;
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 9 - 20px * 9));
    }
}

.gallery-item {
    width: 320px;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-base);
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(124, 92, 191, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.item-overlay span {
    color: white;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

/* ── Lightbox / Modal ── */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(29, 25, 50, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-img {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #1d1932;
    transition: 0.2s;
}

.modal-close:hover {
    transform: rotate(90deg);
}

/* ── Feature Cards ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--glass-bg-strong);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.feature-icon.primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.feature-icon.accent {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}

.feature-icon.success {
    background: linear-gradient(135deg, var(--color-success), #5edda3);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

/* ── How It Works ── */
.features {
    padding: 50px 0 100px;
    background: white;
}

.how-it-works {
    padding: 100px 0;
    background: var(--color-primary-pale);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    flex: 1;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

/* ── How It Works Steps with Pet Avatars ── */
.step-visual {
    width: 120px;
    height: 120px;
    background: #f8f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    position: relative;
    box-shadow: inset 0 4px 10px rgba(100, 80, 160, 0.05);
}

.step-pet-img {
    width: 65px;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

/* 🧬 Animations */
.egg-wobble {
    animation: eggWobble 3s infinite ease-in-out;
}

@keyframes eggWobble {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-8deg) scale(1.05); }
    50% { transform: rotate(8deg) scale(1); }
    75% { transform: rotate(-5deg) scale(1.02); }
}

.pet-float {
    animation: petFloat 4s infinite ease-in-out;
}

@keyframes petFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px) rotate(5deg); }
}

.pet-glow {
    animation: petGlow 4s infinite ease-in-out;
    position: relative;
}

.pet-glow::after {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, var(--color-primary-pale), transparent);
    z-index: -1;
    animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
    from { opacity: 0.3; transform: scale(0.9); }
    to { opacity: 0.7; transform: scale(1.1); }
}

.step-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 12px;
}

.step-divider {
    font-size: 24px;
    color: var(--color-primary-light);
    opacity: 0.4;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid rgba(124, 92, 191, 0.1);
    padding: 80px 0 40px;
    background: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand .brand-name {
    margin: 0;
    font-size: 28px;
    line-height: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 40px;
}

.footer-desc {
    color: #5c567a;
    margin-bottom: 16px;
}

.footer-links h3,
.footer-contact h3 {
    color: #1d1932;
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 20px;
}

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

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

.footer-links ul li a {
    text-decoration: none;
    color: #5c567a;
    transition: 0.2s;
}

.footer-links ul li a:hover {
    color: var(--color-primary);
}

.qr-box {
    margin-top: 16px;
    width: 120px;
    height: 120px;
    background: #f8f9ff;
    padding: 10px;
    border-radius: 12px;
}

.qr-code {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: #9490aa;
    font-size: 13px;
}

.footer-copyright a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: var(--color-primary, #6c5ce7);
    text-decoration: underline;
}

/* ── Mobile Navbar Toggle ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    transition: var(--transition-base);
}

.nav-toggle:active {
    transform: scale(0.9);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .cta-buttons {
        align-items: center;
    }

    /* Mobile Nav Styles */
    .nav-toggle {
        display: block;
    }

    .navbar .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .navbar .nav-links.active {
        right: 0;
    }

    .navbar .nav-links a {
        font-size: 20px;
    }

    .navbar .nav-links a.btn-primary {
        padding: 14px 40px;
        width: 80%;
        text-align: center;
    }

    /* Hero Mobile Optimization */
    .hero-image {
        height: auto;
        padding-top: 40px;
        perspective: none;
    }

    .hero-visual-container {
        max-width: 100%;
        height: auto;
        transform: none !important;
    }

    .visual-main-frame {
        position: relative;
        width: 90%;
        left: auto;
        top: auto;
        transform: none !important;
        margin: 0 auto;
    }

    .visual-side-card, 
    .hero-pet-parade, 
    .hero-aura,
    .floating-accent {
        display: none !important;
    }

    .hero-badge {
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        top: auto;
        margin: 15px auto;
        width: fit-content;
        transform: none !important;
        animation: none !important;
    }

    .badge-top-left, .badge-mid-left, .badge-main-honour {
        display: none; /* Hide supplementary badges on mobile for focus */
    }
    
    .badge-main-honour {
        display: flex; /* Only keep the main honor one */
    }

    .steps-container {
        flex-direction: column;
    }

    .step-divider {
        transform: rotate(90deg);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-logo,
    .qr-box {
        margin-left: auto;
        margin-right: auto;
    }
}