/* ==========================================
   CSS Variables - Klein Blue Theme
   ========================================== */
:root {
    --primary-color: #2E5BFF;        /* Klein Blue */
    --primary-dark: #1E3FB5;
    --primary-light: #5B7FFF;
    --secondary-color: #000000;      /* Black */
    --accent-color: #FFFFFF;         /* White */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    /* Improve scrolling on iOS devices */
    -webkit-overflow-scrolling: touch;
    /* Ensure page is scrollable */
    overflow-y: auto;
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    overflow-y: auto;
    /* Prevent horizontal scroll and improve mobile rendering */
    width: 100%;
    position: relative;
    min-height: 100%;
    /* Improve touch scrolling on mobile */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

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

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

ul {
    list-style: none;
}

/* ==========================================
   Utility Classes
   ========================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 20px;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline-white:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
    background: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 20px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.header.scrolled .logo {
    color: var(--primary-color);
    text-shadow: none;
}

.logo-text {
    position: relative;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
    transition: var(--transition);
    /* 默认（header 透明）：白色 logo */
    filter: brightness(0) invert(1);
}

.header.scrolled .logo-img {
    /* header 滚动后变白底：切换为蓝色 logo */
    filter: none;
}

.logo-img-footer {
    height: 28px;
    width: auto;
    display: block;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.header.scrolled .nav-link {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.header.scrolled .nav-link::after {
    background: var(--primary-color);
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    padding: 15px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 30px;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================
   Hero Section - Full Screen Vertical Slider
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hero-slide {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.hero-slide:nth-child(2) {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 35px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-controls {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-prev i {
    transform: rotate(90deg);
}

.hero-next i {
    transform: rotate(90deg);
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.hero-indicators {
    position: absolute;
    right: 40px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent-color);
    height: 35px;
    border-radius: 6px;
}

/* ==========================================
   Page Banner Section (for internal pages)
   ========================================== */
.page-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    background-size: cover;
    background-position: center;
    /* margin-top: 80px; Account for fixed header */
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 91, 255, 0.85), rgba(30, 63, 181, 0.85));
    z-index: 1;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    padding: 0 20px;
}

.page-banner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-banner p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 300;
}

/* Banner with background image */
.page-banner.has-image {
    background-size: cover;
    background-position: center;
}

.page-banner.has-image::before {
    background: rgba(0, 0, 0, 0.5);
}

/* Breadcrumb in banner */
.page-breadcrumb {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.page-breadcrumb a:hover {
    color: var(--text-white);
}

.page-breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }
    
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .page-banner p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 250px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   Scroll Window Effect Section
   ========================================== */
.scroll-window-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('./../images/placeholder.jpg') center / cover no-repeat;
    background-attachment: fixed; /* Fixed background for parallax effect on desktop */
}

.window-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.window-card {
    width: 90%;
    max-width: 900px;
    height: 400px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    /* Critical: SVG mask to create transparent circular window */
    -webkit-mask: url(#coffeeWindow) center / contain no-repeat;
    mask: url(#coffeeWindow) center / contain no-repeat;
}

.window-text {
    text-align: center;
    color: var(--text-white);
    padding: 40px;
    z-index: 1;
}

.window-text i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.window-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white);
}

.window-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Float animation for coffee icon */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Responsive adjustments for mobile devices */
@media (max-width: 968px) {
    .scroll-window-section {
        /* Disable fixed background on tablets and mobile - improves performance and fixes display issues */
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        min-height: 500px;
        /* Ensure touch scrolling works */
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }
    
    .window-card {
        height: 350px;
        width: 92%;
        /* Prevent touch events from being blocked */
        pointer-events: none;
    }
    
    .window-text {
        padding: 30px 20px;
        pointer-events: auto;
    }
    
    .window-text h3 {
        font-size: 2rem;
    }
    
    .window-text p {
        font-size: 1.1rem;
    }
    
    .window-text i {
        font-size: 3rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .scroll-window-section {
        /* Ensure proper display on small mobile screens */
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        min-height: 450px;
        height: 80vh;
        /* Enable smooth touch scrolling */
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }
    
    .window-card {
        height: 280px;
        width: 95%;
        max-width: 400px;
        /* Prevent blocking scroll events */
        pointer-events: none;
    }
    
    .window-overlay {
        pointer-events: none;
    }
    
    .window-text {
        padding: 20px 15px;
        pointer-events: auto;
    }
    
    .window-text h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .window-text p {
        font-size: 0.95rem;
    }
    
    .window-text i {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
}

/* ==========================================
   Products Preview Section
   ========================================== */
.products-preview {
    padding: 100px 0;
}

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

/* 5 columns grid for featured products */
.products-grid-5 {
    /* grid-template-columns: repeat(5, 1fr); */
    gap: 25px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.product-image {
    position: relative;
    width: 100%;
    height: 360px;
    background: var(--bg-light);
    overflow: hidden;
}

.products-grid-5 .product-image {
    height: 374px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.products-grid-5 .product-badge {
    padding: 4px 12px;
    font-size: 0.75rem;
}

.product-info {
    padding: 30px;
}

.products-grid-5 .product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.products-grid-5 .product-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.product-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.products-grid-5 .product-desc {
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-colors {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.color-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-dot:hover {
    transform: scale(1.2);
}

/* Product Features Tags */
.product-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.feature-tag {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ==========================================
   Product Series Section
   ========================================== */
.product-series {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.series-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.series-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.series-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.8rem;
}

.series-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.series-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.series-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.series-link:hover {
    gap: 10px;
}

/* ==========================================
   Vision Section
   ========================================== */
.vision-section {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.vision-item {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.vision-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vision-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vision-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.vision-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.vision-mission {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-color);
}

.vision-mission h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.vision-mission p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 20px;
}

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

.footer-section a {
    opacity: 0.85;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

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

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1200px) {
    .products-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .series-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        color: var(--text-dark);
        text-shadow: none;
    }

    .nav-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero {
        height: 100vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-controls {
        right: 20px;
    }

    .hero-indicators {
        right: 20px;
        bottom: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .products-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .products-grid-5 .product-image {
        height: 180px;
    }
    
    .series-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vision-mission {
        margin: 0 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 100vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .products-grid-5 {
        grid-template-columns: 1fr;
    }
    
    .products-grid-5 .product-image {
        height: 250px;
    }
    
    .product-series {
        padding: 60px 0;
    }
    
    .series-card {
        padding: 30px 20px;
    }
}
