/* ===== Base Styles ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 12px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 12px 20px rgba(0, 0, 0, 0.1);
    --radius: 10px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px; color: var(--primary); }
.logo-img { height: 80px; width: auto; max-width: 300px; object-fit: contain; }

/* Search Bar */
.search-bar {
    position: relative;
    flex: 1;
    max-width: 400px;
}
.search-bar input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--bg-light);
    transition: var(--transition);
}
.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 6px;
}
.search-btn svg { width: 18px; height: 18px; }
.search-results {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}
.search-results.active { display: block; }
.search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.search-result-item:hover { background: var(--bg-light); }
.search-result-item:last-child { border-bottom: none; }
.search-result-item h4 { font-size: 0.9rem; color: var(--secondary); margin-bottom: 4px; }
.search-result-item p { font-size: 0.8rem; color: var(--text-light); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); }

.auth-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.btn-auth {
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border);
    background: white;
    color: var(--text);
}
.btn-auth:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-auth.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.btn-auth.btn-primary:hover {
    background: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 67vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
    animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }

/* Grid pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    z-index: 0;
}

/* Floating particles */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-20px) translateX(10px); }
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 14px;
    line-height: 1.2;
}
.highlight {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255, 255, 255, 0.3); }
.btn-outline:hover { border-color: white; background: rgba(255, 255, 255, 0.1); }
.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* ===== Video Section ===== */
.video-section { padding: 70px 20px; background: var(--bg-light); }
.video-container { max-width: 850px; margin: 0 auto; }
.video-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--secondary);
    aspect-ratio: 16/9;
}
.video-player { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: rgba(15, 23, 42, 0.4);
    cursor: pointer; transition: var(--transition);
}
.video-overlay:hover { background: rgba(15, 23, 42, 0.3); }
.video-overlay.hidden { opacity: 0; pointer-events: none; }
.video-play-btn {
    width: 70px; height: 70px;
    background: none; border: none;
    color: white; cursor: pointer;
    transition: var(--transition);
}
.video-play-btn:hover { transform: scale(1.1); }
.video-play-btn svg { width: 100%; height: 100%; }

/* ===== Video Subtitles ===== */
.video-player::cue {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .video-player::cue {
        font-size: 14px;
    }
}

/* ===== Benefits Section ===== */
.benefits { padding: 70px 20px; background: var(--bg-light); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.benefit-card {
    background: white;
    border-radius: 8px;
    padding: 22px 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.benefit-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.benefit-card h3::before { color: var(--primary); margin-right: 6px; }
.benefit-card ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}
.benefit-card li {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 4px;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.3rem); font-weight: 700; color: var(--secondary); }
.view-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    align-self: flex-end;
}
.view-all:hover { text-decoration: underline; }

/* ===== Products Section ===== */
.products { padding: 70px 20px; background: white; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.product-card:hover::before { opacity: 1; }
.product-card:hover { 
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15); 
    border-color: var(--primary-light); 
}
.product-card.featured { 
    border: 2px solid var(--primary);
    position: relative;
}
.product-card.featured::after {
    content: '⭐';
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 1.2rem;
    z-index: 2;
}
.product-image {
    position: relative;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    height: 300px;
    overflow: hidden;
    z-index: 1;
}
.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(37, 99, 235, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.product-card:hover .product-image::after { opacity: 1; }
.placeholder-img {
    width: 100%;
    height: 100%;
    max-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: transform 0.4s ease;
}
.placeholder-img img {
    width: 100%;
    height: 100%;
    max-height: 270px;
    object-fit: contain;
    display: block;
}
.product-card:hover .placeholder-img { transform: scale(1.05); }
.placeholder-img svg { width: 100%; height: 100%; }
.product-badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--primary); color: white;
    padding: 4px 10px; border-radius: 16px;
    font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.product-badge.featured { background: linear-gradient(135deg, #f59e0b, #d97706); }
.product-info { padding: 20px; }
.product-info h3 { font-size: 1.05rem; font-weight: 600; color: var(--secondary); margin-bottom: 8px; }
.product-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 14px; }
.btn-product {
    width: 100%; padding: 10px;
    background: var(--bg-light); color: var(--primary);
    border: 2px solid var(--primary); border-radius: 6px;
    font-weight: 600; cursor: pointer; transition: var(--transition);
}
.btn-product:hover { background: var(--primary); color: white; }

/* ===== Gallery Section ===== */
.gallery { padding: 80px 20px; background: var(--bg-light); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.gallery-item:hover::before { opacity: 1; }
.gallery-item:hover { 
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
}
.gallery-item.large { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-img {
    width: 100%; 
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: var(--text-light);
    transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-img svg { width: 60%; height: 60%; }
.gallery-overlay {
    position: absolute; 
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    display: flex; 
    align-items: flex-end; 
    padding: 20px;
    opacity: 0; 
    transition: all 0.4s ease;
    z-index: 2;
}
.gallery-overlay::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 2.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}
.gallery-item:hover .gallery-overlay::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { 
    color: white; 
    font-size: 1rem; 
    font-weight: 600;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-overlay h4 { transform: translateY(0); }

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.lightbox.active { display: flex; }
.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    animation: zoomIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    transition: all 0.3s ease;
    z-index: 3001;
}
.lightbox-close:hover {
    background: white;
    transform: rotate(90deg);
}
.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 8px;
    color: var(--secondary);
    font-weight: 600;
}

/* ===== Features Section ===== */
.features { padding: 70px 20px; background: white; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card {
    text-align: center; padding: 30px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--bg-light);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 60px; height: 80px; margin: 0 auto 16px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    color: var(--primary);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--secondary); margin-bottom: 8px; }
.feature-card p { color: var(--text-light); font-size: 0.9rem; }

/* ===== Blog Section ===== */
.blog { padding: 70px 20px; background: var(--bg-light); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card {
    background: white; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.blog-image {
    position: relative;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    padding: 20px; min-height: 140px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light);
}
.blog-image svg { width: 80px; height: 80px; }
.blog-category {
    position: absolute; top: 12px; left: 12px;
    background: var(--primary); color: white;
    padding: 4px 10px; border-radius: 12px;
    font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase;
}
.blog-content { padding: 20px; }
.blog-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--text-light); margin-bottom: 10px; }
.blog-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--secondary); margin-bottom: 8px; line-height: 1.4; }
.blog-content p { font-size: 0.85rem; color: var(--text); margin-bottom: 12px; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.read-more:hover { text-decoration: underline; }

/* ===== News Section ===== */
.news { padding: 70px 20px; background: white; }
.news-list { max-width: 800px; margin: 0 auto; }
.news-item {
    display: flex; gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.news-item:hover { background: var(--bg-light); }
.news-date {
    flex-shrink: 0;
    width: 60px; text-align: center;
    background: var(--bg-light);
    border-radius: 8px; padding: 10px;
}
.news-item:hover .news-date { background: var(--primary); color: white; }
.news-day { display: block; font-size: 1.5rem; font-weight: 700; }
.news-month { display: block; font-size: 0.8rem; text-transform: uppercase; }
.news-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
.news-content p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 8px; }
.news-link { font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.news-link:hover { text-decoration: underline; }

/* ===== About Section ===== */
.about { 
    padding: 80px 20px; 
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}
.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.about-content { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center;
    position: relative;
    z-index: 1;
}
.about-text h2 { 
    font-size: 2.2rem; 
    font-weight: 700; 
    color: var(--secondary); 
    margin-bottom: 20px;
    line-height: 1.2;
}
.about-text p { 
    color: var(--text); 
    margin-bottom: 16px; 
    line-height: 1.8;
    font-size: 1.05rem;
}
.about-stats { 
    display: flex; 
    gap: 40px; 
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}
.about-stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.about-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}
.about-stat .stat-num { 
    font-size: 2.2rem; 
    font-weight: 700; 
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}
.about-stat .stat-label { 
    font-size: 0.9rem; 
    color: var(--text-light);
    font-weight: 500;
}
.placeholder-about-img {
    width: 100%; 
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius);
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
    transition: transform 0.4s ease;
}
.about-content:hover .placeholder-about-img {
    transform: scale(1.02);
}
.placeholder-about-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}
@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.placeholder-about-img svg { 
    width: 50%; 
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

/* ===== Contact Section ===== */
.contact { 
    padding: 80px 20px; 
    background: white;
    position: relative;
}
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}
.contact-content { 
    display: grid; 
    grid-template-columns: 1fr 1.5fr; 
    gap: 60px;
    align-items: start;
}
.contact-info { 
    display: flex; 
    flex-direction: column; 
    gap: 28px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-item { 
    display: flex; 
    gap: 16px; 
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.15);
}
.contact-icon {
    width: 50px; 
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px; 
    display: flex;
    align-items: center; 
    justify-content: center;
    color: white; 
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}
.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-item h4 { 
    font-size: 1rem; 
    font-weight: 600; 
    color: var(--secondary); 
    margin-bottom: 6px;
}
.contact-item p { 
    color: var(--text-light); 
    font-size: 0.95rem;
    line-height: 1.6;
}
.contact-form {
    background: var(--bg-light); 
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { 
    display: block; 
    font-size: 0.9rem; 
    font-weight: 600; 
    margin-bottom: 8px; 
    color: var(--secondary);
}
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%; 
    padding: 14px 16px;
    border: 2px solid var(--border); 
    border-radius: 8px;
    font-size: 1rem; 
    font-family: inherit;
    transition: all 0.3s ease; 
    background: white;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none; 
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.btn-submit { 
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}
.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

/* ===== Footer ===== */
.footer { background: var(--bg-dark); color: rgba(255, 255, 255, 0.7); padding: 60px 20px 30px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-brand .logo { color: white; margin-bottom: 12px; flex-wrap: nowrap; }
.footer-brand .logo-text { font-size: 0.9rem; white-space: nowrap; }
.footer-brand p { font-size: 0.85rem; }
.footer-links h4, .footer-products h4, .footer-social h4 { color: white; font-size: 0.95rem; margin-bottom: 14px; }
.footer-links ul, .footer-products ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a, .footer-products a { font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover, .footer-products a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px; display: flex;
    align-items: center; justify-content: center;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); }
.social-links svg { width: 18px; height: 18px; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { font-size: 0.85rem; }

/* ===== Modals ===== */
.modal {
    display: none; position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000; align-items: center;
    justify-content: center; padding: 20px;
}
.modal.active { display: flex; }
.modal-content {
    background: white; border-radius: var(--radius);
    max-width: 600px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    position: relative; padding: 30px;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border: none;
    background: var(--bg-light); border-radius: 50%;
    cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: var(--transition);
}
.modal-close:hover { background: var(--border); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body h3 { font-size: 1.4rem; color: var(--secondary); margin-bottom: 14px; }
.modal-body p { color: var(--text); margin-bottom: 10px; line-height: 1.7; }
.modal-body ul { margin: 14px 0; padding-left: 18px; }
.modal-body li { margin-bottom: 6px; }
.modal-body .btn { margin-top: 16px; }

/* Auth Modals */
.auth-modal { max-width: 450px; }
.auth-header { text-align: center; margin-bottom: 24px; }
.auth-header h2 { font-size: 1.6rem; color: var(--secondary); margin-bottom: 8px; }
.auth-header p { color: var(--text-light); }
.auth-form .form-group { margin-bottom: 18px; }
.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.checkbox { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; cursor: pointer; }
.checkbox input { width: auto; }
.forgot-password { font-size: 0.85rem; color: var(--primary); }
.forgot-password:hover { text-decoration: underline; }
.btn-auth { width: 100%; padding: 12px; }
.auth-footer { text-align: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.auth-footer p { font-size: 0.9rem; color: var(--text-light); }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .search-bar { max-width: 250px; }
    .nav-links { gap: 14px; }
    .about-content { gap: 40px; }
    .contact-content { gap: 40px; }
}

@media (max-width: 768px) {
    .search-bar { display: none; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; 
        left: 0; 
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--border);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: flex; }
    .auth-buttons { flex-direction: column; gap: 10px; }
    
    /* Hero */
    .hero { min-height: 80vh; padding: 100px 20px 60px; }
    .hero-title { font-size: 1.8rem; }
    .hero-stats { gap: 20px; }
    
    /* Products */
    .products-grid { grid-template-columns: 1fr; gap: 20px; }
    
    /* Benefits */
    .benefits-grid { grid-template-columns: 1fr; }
    
    /* Gallery */
    .gallery-grid { 
        grid-template-columns: 1fr; 
        grid-auto-rows: 200px; 
    }
    .gallery-item.large, 
    .gallery-item.wide { 
        grid-row: span 1; 
        grid-column: span 1; 
    }
    
    /* Features */
    .features-grid { grid-template-columns: 1fr 1fr; }
    
    /* Blog & News */
    .blog-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    
    /* About */
    .about-content { grid-template-columns: 1fr; gap: 30px; }
    .about-image { order: -1; }
    .about-text h2 { font-size: 1.8rem; }
    .about-stats { 
        flex-direction: column; 
        gap: 15px; 
    }
    .about-stat { width: 100%; }
    
    /* Contact */
    .contact-content { grid-template-columns: 1fr; gap: 30px; }
    .contact-form { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; }
    
    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-brand .logo { justify-content: center; }
    .footer-brand .logo-text { white-space: normal; }
}

@media (max-width: 480px) {
    .hero { min-height: 70vh; padding: 90px 15px 50px; }
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    
    .btn { width: 100%; padding: 12px 20px; }
    .features-grid { grid-template-columns: 1fr; }
    
    .product-card { margin: 0 -10px; }
    .product-image { min-height: 150px; }
    
    .modal-content { 
        padding: 20px;
        margin: 10px;
        max-height: 95vh;
    }
    
    .gallery-grid { grid-auto-rows: 180px; }
    
    .contact-item { 
        flex-direction: column; 
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 360px) {
    .hero-title { font-size: 1.4rem; }
    .section-title { font-size: 1.5rem; }
    .container { padding: 0 15px; }
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}
