/* Maxibot Website Style - Inspired by Makeblock Premium Web Layout */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #6568FE;          /* Cornflower Blue */
    --primary-hover: #5053df;
    --primary-light: #eff0ff;
    --secondary: #029BA5;        /* Bondi Blue / Teal */
    --secondary-hover: #01858e;
    --secondary-light: #ebf7f8;
    --accent: #ff7b00;           /* Vibrant Orange for badges/alerts */
    --dark: #111827;             /* Dark Slate */
    --dark-surface: #1f2937;     /* Lighter Dark Slate */
    --light: #f9fafb;            /* Off-White */
    --border-color: #e5e7eb;     /* Light Gray Border */
    --text-main: #374151;        /* Body Text */
    --text-muted: #6b7280;       /* Muted Text */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Layout Variables */
    --header-height: 72px;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

ul {
    list-style: none;
}

/* Common Layout Containers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(101, 104, 254, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 155, 165, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--dark);
}

.btn-outline:hover {
    background-color: var(--gray-light);
    border-color: var(--dark);
}

.btn-white {
    background-color: #fff;
    color: var(--primary);
}

.btn-white:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 8px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background-color: var(--accent);
    color: #fff;
}

.badge-tag {
    background-color: var(--primary-light);
    color: var(--primary);
}

.badge-secondary {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

/* Top Promo Bar */
.promo-bar {
    background-color: var(--dark);
    color: #fff;
    font-size: 13px;
    text-align: center;
    padding: 8px 24px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.promo-bar a {
    color: var(--secondary);
    text-decoration: underline;
    margin-left: 6px;
}

/* Header & Sticky Nav */
.header-wrapper {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* SVG Logo Style */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
}

.logo svg {
    height: 40px;
    width: auto;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
    width: 100%;
}

.nav-link svg {
    transition: var(--transition);
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown Menu (Mega Menu style) */
.dropdown-menu {
    position: absolute;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 650px;
    background-color: #fff;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-col-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}

.dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dropdown-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px;
    border-radius: 8px;
}

.dropdown-link:hover {
    background-color: var(--gray-light);
}

.dropdown-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-link:nth-child(even) .dropdown-icon {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.dropdown-info {
    display: flex;
    flex-direction: column;
}

.dropdown-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.dropdown-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* Actions Header (Search, Cart, Buttons) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 20px;
    cursor: pointer;
    position: relative;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.action-btn:hover {
    background-color: var(--gray-light);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #fff;
}

/* Search Dropdown Overlay */
.search-overlay {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    display: none;
    z-index: 999;
}

.search-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

/* Mobile Side Menu */
.mobile-menu-wrapper {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: #fff;
    z-index: 1001;
    box-shadow: var(--shadow-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: right 0.4s ease;
}

.mobile-menu-wrapper.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.mobile-nav-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-submenu {
    padding-left: 12px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-submenu-link {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

/* Hero Section (Carousel/Banner) */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #f0f2ff 0%, #e6f6f7 100%);
    overflow: hidden;
    min-height: calc(100vh - var(--header-height) - 35px);
    display: flex;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(101, 104, 254, 0.15);
    top: -100px;
    right: 10%;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(2, 155, 165, 0.15);
    bottom: -50px;
    left: 10%;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatImage 6s ease-in-out infinite;
}

.hero-image-wrapper img {
    max-height: 500px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

/* Category Grid Section */
.section-title-wrap {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-card-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 28px;
    transition: var(--transition);
}

.category-card:hover .category-card-icon {
    background-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.category-card:nth-child(even) .category-card-icon {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.category-card:nth-child(even):hover .category-card-icon {
    background-color: var(--secondary);
    color: #fff;
}

.category-card-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.category-card-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* Feature Spotlight Sections */
.spotlight-section {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
}

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

.spotlight-grid.reverse {
    direction: rtl;
}

.spotlight-grid.reverse .spotlight-content {
    direction: ltr;
}

.spotlight-pre {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.spotlight-title {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.spotlight-text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.spotlight-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.spotlight-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--dark);
}

.spotlight-feat-icon {
    color: var(--secondary);
    font-size: 18px;
}

.spotlight-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* MaxiCode Software Mockup Section */
.software-section {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fff;
}

.software-section h2, .software-section h3 {
    color: #fff;
}

.software-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.software-mockup {
    background-color: #0f172a;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    overflow: hidden;
}

.mockup-header {
    background-color: #1e293b;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.mockup-title {
    font-size: 12px;
    color: #94a3b8;
    font-family: monospace;
}

.mockup-content {
    display: grid;
    grid-template-columns: 140px 1fr;
    height: 320px;
}

.mockup-sidebar {
    background-color: #1e293b;
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-block-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.cat-motion { background-color: rgba(101, 104, 254, 0.15); color: var(--primary); }
.cat-looks { background-color: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.cat-control { background-color: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.cat-operators { background-color: rgba(16, 185, 129, 0.15); color: #10b981; }

.mockup-canvas {
    padding: 24px;
    position: relative;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 16px 16px;
}

/* CSS-based Scratch Code Blocks */
.scratch-block {
    padding: 10px 16px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    width: fit-content;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.scratch-block-hat {
    background-color: #f59e0b;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.scratch-block-stack {
    background-color: #6568FE;
    margin-left: 8px;
    padding-left: 20px;
}

.scratch-block-stack::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
}

.scratch-block-nested {
    background-color: #8b5cf6;
    margin-left: 16px;
}

.scratch-block-end {
    background-color: #10b981;
    margin-left: 8px;
}

/* Product Cards & Grid (Catalog / Homepage) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-card-img-wrap {
    position: relative;
    background-color: #f9fafb;
    padding: 30px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-img-wrap img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-card-img-wrap img {
    transform: scale(1.05);
}

.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
}

.product-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-cat {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-card-title a:hover {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #f59e0b;
    margin-bottom: 16px;
}

.product-rating-count {
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 4px;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

/* Solutions Page & Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.solution-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.solution-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.solution-item-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.solution-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.solution-item:hover .solution-item-img img {
    transform: scale(1.05);
}

.solution-item-content {
    padding: 30px;
}

.solution-item-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.solution-item-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Testimonials / Reviews */
.testimonials-section {
    background-color: var(--primary-light);
}

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

.testimonial-card {
    background-color: #fff;
    padding: 36px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 80px;
    font-family: serif;
    color: rgba(101,104,254,0.1);
    line-height: 1;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 24px;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.testimonial-info-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
}

.testimonial-info-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* Footer Section */
.footer-wrap {
    background-color: var(--dark);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--border-radius);
    padding: 40px;
    margin-top: -60px;
    margin-bottom: 60px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-xl);
}

.newsletter-text {
    max-width: 500px;
}

.newsletter-text h3 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 8px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 450px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--border-radius);
    border: none;
    font-size: 14px;
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-input:focus {
    background-color: #fff;
    color: var(--dark);
}

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

.footer-logo {
    color: #fff;
    margin-bottom: 20px;
}

.footer-logo span {
    background: linear-gradient(135deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about-text {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-col-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* Product Catalog Page Filters */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.catalog-sidebar {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-size: 16px;
    margin-bottom: 14px;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.filter-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.range-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.range-input {
    width: 100%;
    accent-color: var(--primary);
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.catalog-count {
    font-size: 15px;
    font-weight: 500;
}

.sort-select {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #fff;
    cursor: pointer;
}

/* Product Detail Page Styles */
.detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    margin-top: 40px;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-wrap {
    background-color: #fff;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 40px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-wrap img {
    max-height: 100%;
    object-fit: contain;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.thumb-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.thumb-item.active, .thumb-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-cat-age {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.detail-title {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.detail-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
}

.detail-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.purchase-wrap {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 30px;
}

.qty-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: #fff;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--gray-light);
    border-color: var(--dark);
}

.qty-number {
    font-size: 18px;
    font-weight: 700;
    width: 30px;
    text-align: center;
}

.purchase-actions {
    display: flex;
    gap: 16px;
}

.purchase-actions .btn {
    flex: 1;
}

.spec-table-title {
    font-size: 20px;
    margin: 40px 0 16px 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.spec-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 30%;
}

/* Shopping Cart Page Styles */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin-top: 40px;
}

.cart-items-wrap {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-icon {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cart-empty-text {
    font-size: 18px;
    margin-bottom: 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px 100px 40px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-img {
    background-color: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-img img {
    max-height: 100%;
    object-fit: contain;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 700;
}

.cart-item-cat {
    font-size: 12px;
    color: var(--text-muted);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    color: #ef4444;
}

.cart-summary {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.summary-title {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
}

.summary-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.contact-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-intro {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-detail-item:nth-child(2) .contact-detail-icon {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.contact-detail-label {
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-detail-text {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-form-wrap {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.form-title {
    font-size: 24px;
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .spotlight-grid.reverse {
        direction: ltr;
    }
    
    .software-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .newsletter-box {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        margin-top: -30px;
    }
    
    .detail-layout, .cart-layout, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .catalog-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu, .header-actions .btn {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
}
