:root {
    --primary: #5b5bf0;
    --primary-dark: #4747db;
    --primary-light: #eef0ff;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --secondary-light: #e6fcf3;
    --accent: #818cf8;
    --success: #10b981;
    --background: #f8faff;
    --surface: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 12px 0 rgba(91, 91, 240, 0.06);
    --shadow-md: 0 10px 25px -5px rgba(91, 91, 240, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 18px 36px -6px rgba(91, 91, 240, 0.12), 0 8px 12px -4px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 25px 45px -10px rgba(91, 91, 240, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: left;
}

p,
li,
blockquote,
.feature-card p,
.benefit-item p,
.stem-intro-section p {
    text-align: left;
}

.text-center p {
    text-align: center;
}

.hero p,
.home-about-section p {
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background: white;
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.logo {
    font-size: 1.25rem !important;
    font-weight: 800;
    color: #0f172a !important;
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo span {
    color: #0f172a !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 800;
    white-space: nowrap;
}

/* Modern Pill Navigation for Desktop */
.header-nav-pill {
    display: none;
    align-items: center;
    gap: 0.25rem;
    background: #f1f4fe;
    padding: 0.35rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(91, 91, 240, 0.1);
}

.header-nav-link {
    padding: 0.45rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    border-radius: 9999px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.header-nav-link:hover,
.header-nav-link.active {
    color: #5b5bf0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(91, 91, 240, 0.12);
}

.btn-login-pill {
    background: linear-gradient(135deg, #5b5bf0 0%, #4747db 100%) !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    padding: 0.55rem 1.5rem !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 4px 14px rgba(91, 91, 240, 0.3) !important;
    border: none !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-login-pill:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(91, 91, 240, 0.45) !important;
}

@media (min-width: 900px) {
    .header-nav-pill {
        display: flex;
    }
    .menu-toggle {
        display: none !important;
    }
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.menu-toggle:active {
    background: var(--background);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-btn {
    padding: 0.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.icon-btn:active {
    background: var(--background);
}

/* Mobile Header Responsiveness */
@media (max-width: 767px) {
    .header-content {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.15rem !important;
        gap: 0.5rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .logo img {
        height: 34px !important;
        width: 34px !important;
        flex-shrink: 0 !important;
    }

    .logo span {
        white-space: nowrap !important;
    }

    .header-actions {
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .btn-login-pill {
        padding: 0.45rem 1.1rem !important;
        font-size: 0.85rem !important;
    }

    .menu-toggle,
    .icon-btn {
        padding: 0.4rem;
        flex-shrink: 0;
    }
}

@media (max-width: 380px) {
    .header-content {
        padding: 0.6rem 0.65rem;
        gap: 0.25rem;
    }

    .logo {
        font-size: 1.05rem !important;
        gap: 0.35rem !important;
    }

    .logo img {
        height: 30px !important;
        width: 30px !important;
    }

    .btn-login-pill {
        padding: 0.4rem 0.85rem !important;
        font-size: 0.8rem !important;
    }
}

/* Side Drawer */
.side-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    z-index: 1002;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
}

.side-drawer.open {
    transform: translateX(280px);
}

.side-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.side-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.25rem;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: background 0.2s;
}

.close-btn:active {
    background: var(--background);
}

.side-drawer ul {
    padding: 0.5rem;
    overflow-y: auto;
    flex: 1;
}

.side-drawer li {
    margin-bottom: 0.25rem;
}

.side-drawer a {
    display: block;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text);
    transition: all 0.2s;
}

.side-drawer a:active {
    background: var(--background);
    color: var(--primary);
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 0.75rem 0;
}

/* Floating Cart */
.floating-cart {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    background: var(--primary);
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    z-index: 998;
    transition: transform 0.2s, box-shadow 0.2s;
}

.floating-cart:active {
    transform: scale(0.92);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    min-width: 1.125rem;
    height: 1.125rem;
    border-radius: 0.5625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
    border: 2px solid white;
}

/* Buttons */
.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:active {
    background: var(--primary-dark);
    transform: translateY(1px);
}

.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text);
    background: white;
}

.btn-outline:active {
    background: var(--background);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero - Modern ClassMate Educational Layout */
.hero {
    position: relative;
    background: radial-gradient(circle at 12% 18%, rgba(91, 91, 240, 0.08) 0%, transparent 42%),
                radial-gradient(circle at 88% 82%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 50% 100%, rgba(238, 242, 255, 0.6) 0%, transparent 60%),
                #ffffff;
    padding: 3.5rem 1.5rem 4.5rem;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-container {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3.5rem;
    }
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #eef0ff;
    color: #5b5bf0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(91, 91, 240, 0.15);
}

.hero-tag i {
    color: #5b5bf0;
    font-size: 0.65rem;
}

.hero-main-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.28;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
    text-align: left;
}

@media (min-width: 768px) {
    .hero-main-title {
        font-size: 2.1rem;
        line-height: 1.22;
    }
}

.hero-title-accent {
    color: #5b5bf0;
    background: linear-gradient(135deg, #5b5bf0 0%, #7678f8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.hero-description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #64748b;
    max-width: 480px;
    margin-bottom: 1.5rem;
    text-align: left !important;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.75rem;
}

.hero-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.65rem;
    border-radius: 9999px;
    font-weight: 650;
    font-size: 0.825rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.hero-btn-pill.hero-btn-primary {
    background: linear-gradient(135deg, #5b5bf0 0%, #4747db 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -4px rgba(91, 91, 240, 0.45);
    border: none !important;
}

.hero-btn-pill.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -4px rgba(91, 91, 240, 0.55);
}

.hero-btn-pill.hero-btn-outline {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #5b5bf0 !important;
    border: 1.5px solid rgba(91, 91, 240, 0.28) !important;
    box-shadow: 0 4px 12px rgba(91, 91, 240, 0.05);
}

.hero-btn-pill.hero-btn-outline:hover {
    background: #eef0ff !important;
    border-color: #5b5bf0 !important;
    transform: translateY(-2px);
}

.hero-social-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f4fe;
    color: #5b5bf0;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(91, 91, 240, 0.12);
}

.hero-social-icon:hover {
    background: #5b5bf0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(91, 91, 240, 0.25);
}

/* Right Visual Col - Organic Blob Shape */
.hero-visual-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-blob-wrapper {
    position: relative;
    width: 100%;
    max-width: 490px;
}

.hero-blob-backdrop {
    position: absolute;
    border-radius: 45% 55% 65% 35% / 40% 45% 55% 60%;
    filter: blur(2px);
    z-index: 0;
}

.mint-backdrop {
    top: -15px;
    right: -20px;
    width: 90%;
    height: 95%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(52, 211, 153, 0.12) 100%);
    border-radius: 52% 48% 63% 37% / 38% 52% 48% 62%;
    animation: blobFloat 8s ease-in-out infinite alternate;
}

.purple-backdrop {
    bottom: -20px;
    left: -20px;
    width: 85%;
    height: 85%;
    background: linear-gradient(135deg, rgba(91, 91, 240, 0.15) 0%, rgba(129, 140, 248, 0.08) 100%);
    border-radius: 38% 62% 45% 55% / 55% 40% 60% 45%;
    animation: blobFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes blobFloat {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.04) rotate(4deg); }
}

.hero-image-frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 40% 60% 65% 35% / 42% 46% 54% 58%;
    box-shadow: 0 20px 45px -10px rgba(91, 91, 240, 0.2);
    border: 4px solid #ffffff;
    background: #ffffff;
    aspect-ratio: 4 / 3;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-blob-wrapper:hover .hero-image-frame img {
    transform: scale(1.05);
}

/* Floating Micro Badges */
.floating-badge {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.09);
    border-radius: 1.25rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: floatBadge 4s ease-in-out infinite alternate;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.badge-top-right {
    top: 5%;
    right: -10px;
}

.badge-bottom-left {
    bottom: 5%;
    left: -15px;
    animation-delay: -2s;
}

.badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 0.75rem;
    background: #eef0ff;
    color: #5b5bf0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.badge-icon.green-icon {
    background: #e6fcf3;
    color: #10b981;
}

.badge-text-sm {
    font-size: 0.725rem;
    color: #64748b;
    font-weight: 500;
}

.badge-text-bold {
    font-size: 0.875rem;
    color: #1e293b;
    font-weight: 700;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2-cols {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.product-card {
    background: var(--surface);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.product-card:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-sm);
}

.product-image {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background: #fafafa;
    padding: 0.75rem;
}

.product-info {
    padding: 0.875rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.6875rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.product-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-top: auto;
    margin-bottom: 0.75rem;
}

/* Forms */
.form-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label,
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text);
}

.form-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    transition: all 0.2s;
    font-family: inherit;
    background: white;
}

.form-input:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Cart */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.cart-table th,
.cart-table td {
    padding: 0.875rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.cart-table th {
    background: var(--background);
    font-weight: 600;
    color: var(--text);
}

.cart-summary {
    margin-top: 1.5rem;
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.cart-total {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

/* Footer */
footer {
    background: var(--text);
    color: white;
    padding: 3rem 1rem 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-col a:active {
    color: white;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .header-content {
        padding: 1.125rem 2rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 1.125rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .container {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .header-content {
        padding: 1.25rem 2rem;
    }

    .logo {
        font-size: 1.35rem;
    }

    .header-actions .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .product-image {
        height: 200px;
    }

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .product-card:active {
        transform: translateY(-2px);
    }

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

    .floating-cart:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45);
    }
}

/* SEO & Layout Improvements */
.text-center {
    text-align: center;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-btn-primary {
    background: white !important;
    color: var(--primary) !important;
    font-weight: 700;
    padding: 0.875rem 2rem;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    padding: 0.875rem 2rem;
}

.section-padding {
    padding: 2.5rem 1rem;
}

.bg-light {
    background: #fdfdfd;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.bg-primary {
    background: var(--primary);
    color: white;
}

.feature-box {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid #f5f5f5;
    text-align: center;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.age-group-card {
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: white;
}

.age-group-intermediate {
    border-top: 4px solid var(--secondary);
}

.product-rating-stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.product-review-count {
    color: var(--text-light);
    font-size: 0.8rem;
}

.product-price-incl {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 400;
}

/* Header Improvements */
.cart-badge-styled {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* --- Antigravity SEO & UI Upgrade Styles --- */
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.08);
    border-color: rgba(67, 56, 202, 0.2);
}

/* Sticky Contact Elements */
.sticky-contact-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.sticky-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.sticky-btn:hover {
    transform: scale(1.1);
    color: white;
}

.sticky-btn-wa {
    background-color: #25D366;
}

.sticky-btn-inquire {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* Modal Overlay & Centering Container */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Inquiry Modal Card */
.inquiry-modal {
    position: relative;
    background: #ffffff;
    border-radius: 1.25rem;
    width: 100%;
    max-width: 480px;
    max-height: calc(100dvh - 32px);
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    margin: auto;
    overflow: hidden;
    box-sizing: border-box;
    transform: scale(0.92);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active .inquiry-modal,
.inquiry-modal.active {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

/* Modal Header with Permanent Close Button */
.inquiry-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 14px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.inquiry-modal-title-group {
    flex: 1 1 auto;
}

.inquiry-badge {
    display: inline-block;
    background: var(--primary-light, #e0f2fe);
    color: var(--primary, #0284c7);
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-bottom: 4px;
}

.inquiry-modal-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.modal-close:hover,
.modal-close:active {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: scale(1.05);
}

/* Scrollable Form Body */
.inquiry-modal-body {
    padding: 16px 20px 20px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    box-sizing: border-box;
}

.inquiry-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.btn-cancel-inquiry {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    margin-top: 0.4rem;
    width: 100%;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: color 0.2s ease;
    text-align: center;
}

.btn-cancel-inquiry:hover {
    color: #0f172a;
    background: #f8fafc;
}

@media (max-width: 640px) {
    .modal-overlay {
        padding: 10px;
    }
    .inquiry-modal {
        max-height: calc(100dvh - 20px);
        border-radius: 1rem;
    }
    .inquiry-modal-header {
        padding: 14px 16px 12px 16px;
    }
    .inquiry-modal-title {
        font-size: 1.05rem;
    }
    .inquiry-modal-body {
        padding: 14px 16px 16px 16px;
    }
    .inquiry-grid-2 {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* FAQ Accordion Styling */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    font-size: 1.1rem;
    user-select: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--primary);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span {
    color: #94a3b8;
}

/* WhatsApp Hero CTA Button */
.wa-hero-cta {
    background: #25D366;
    color: white !important;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.wa-hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    background: #20BA5A;
}

/* Badge styling */
.hero-badge-local {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 0.4rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Rich text content formatting for products/services */
.rich-text-content {
    text-align: left;
}

.rich-text-content ul,
.rich-text-content ol {
    padding-left: 2rem;
    margin-bottom: 1.25rem;
}

.rich-text-content ul {
    list-style-type: disc;
}

.rich-text-content ul ul {
    list-style-type: circle;
}

.rich-text-content ul ul ul {
    list-style-type: square;
}

.rich-text-content ol {
    list-style-type: decimal;
}

.rich-text-content li {
    margin-bottom: 0.5rem;
    display: list-item;
}

.rich-text-content p {
    margin-bottom: 1.25rem;
    text-align: left;
}

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3,
.rich-text-content h4,
.rich-text-content h5,
.rich-text-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.rich-text-content table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1.25rem;
}

.rich-text-content th,
.rich-text-content td {
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.rich-text-content th {
    background-color: var(--background);
    font-weight: 600;
}

.rich-text-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-style: italic;
}