/* --- Global overrides: nav spacing and logo sizing (centralized) --- */
nav{padding:calc(1rem - 5px) 0}
nav .logo{padding:0;margin:0;gap:0}
nav .logo a{display:inline-flex;align-items:center;padding:0;margin:0}
.logo img{height:60px;width:auto;display:block}
nav .logo img{height:60px}
footer .logo img{height:60px}
/* Global main spacing */
main{padding-top:20px}
/* Remove gap under fixed nav on small screens */
@media (max-width:640px){
  main{padding-top:0}
  main>section:first-child{margin-top:0}
}
/* Rotary Car Polisher Website - Professional Polishing Theme */

/* Reset and Base Styles */
*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.6;color:#1a1a1a;background:#f5f7fa}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}

/* Navigation */
nav{background:linear-gradient(135deg,#2563eb,#1d4ed8);padding:1rem 0;box-shadow:0 4px 20px rgba(37,99,235,.3);position:fixed;width:100%;top:0;z-index:1000;backdrop-filter:blur(10px)}nav .container{max-width:1200px;margin:0 auto;padding:0 2rem;display:flex;justify-content:space-between;align-items:center}nav .logo{display:flex;align-items:center;gap:.5rem;font-size:1.8rem;font-weight:800;color:#fff;text-decoration:none;text-shadow:0 0 10px rgba(255,255,255,.3)}nav ul{display:flex;list-style:none;gap:2rem;margin:0}nav li{margin:0}nav a{text-decoration:none;color:#fff;font-weight:500;transition:all .3s ease;padding:.5rem 1rem;border-radius:8px;position:relative}nav a:hover,nav a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.2);transform:translateY(-1px)}
/* Mobile menu button (hidden by default) */
.mobile-menu-btn{display:none;background:transparent;border:1px solid #fff;color:#fff;border-radius:8px;padding:.4rem .8rem;font-weight:700}

/* Layout */
.container{max-width:1200px;margin:0 auto;padding:0 2rem}main{margin-top:0}

/* Hero Section */
.hero{background:linear-gradient(135deg,#1e293b 0%,#334155 50%,#1e293b 100%);color:#fff;padding:8rem 0 4rem;position:relative;overflow:hidden}.hero::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 30% 50%,rgba(37,99,235,.1) 0%,transparent 50%);z-index:1}.hero::after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="polisher" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="8" fill="none" stroke="rgba(37,99,235,0.1)" stroke-width="1"/><circle cx="10" cy="10" r="3" fill="rgba(37,99,235,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23polisher)"/></svg>');opacity:.2;z-index:1}.hero .container{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;position:relative;z-index:2}.hero h1{font-size:4rem;font-weight:800;margin-bottom:1.5rem;line-height:1.1;background:linear-gradient(45deg,#fff,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-shadow:0 0 30px rgba(37,99,235,.3)}.hero p{font-size:1.3rem;margin-bottom:2rem;opacity:.9;line-height:1.5;color:#fff}.cta-buttons{display:flex;gap:1rem;flex-wrap:wrap}.hero-image{text-align:center;position:relative}.hero-image::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:120%;height:120%;background:radial-gradient(circle,rgba(37,99,235,.1) 0%,transparent 70%);z-index:-1;animation:pulse 3s ease-in-out infinite}.hero-image img{max-width:100%;height:auto;filter:drop-shadow(0 20px 40px rgba(37,99,235,.2));border-radius:20px;transition:transform .3s ease}.hero-image img:hover{transform:scale(1.05)}

/* Video Showcase Section */
.video-showcase{padding:6rem 0;background:linear-gradient(180deg,#f5f7fa 0%,#e2e8f0 100%);position:relative}.video-showcase::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,50 Q25,30 50,50 T100,50 L100,0 L0,0 Z" fill="rgba(37,99,235,0.05)"/></svg>') repeat-x;opacity:.3}.video-content{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;position:relative;z-index:1}.video-text h2{font-size:3rem;margin-bottom:1.5rem;background:linear-gradient(45deg,#1e293b,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.video-text p{font-size:1.2rem;color:#1e293b;margin-bottom:2rem;line-height:1.6;opacity:.9}.video-features{display:flex;flex-direction:column;gap:1rem}.video-feature{display:flex;align-items:center;gap:1rem;padding:1rem;background:rgba(37,99,235,.1);border-radius:10px;border:1px solid rgba(37,99,235,.2)}.video-feature i{color:#2563eb;font-size:1.2rem}.video-feature span{color:#1e293b;font-weight:500}.video-player{position:relative;border-radius:20px;overflow:hidden;box-shadow:0 20px 40px rgba(37,99,235,.2);border:3px solid rgba(37,99,235,.3)}.video-player video{width:100%;height:auto;display:block}
/* Keep video area height constant and prevent layout shift on play */
.video-player{aspect-ratio:16/9;background:#000}
.video-player video{height:100%;object-fit:cover}

/* Desktop: set fixed dimensions for the video area */
@media (min-width: 992px){
 .video-player{width:450px;height:380px;aspect-ratio:auto;align-self:center}
 .video-player video{width:100%;height:100%;object-fit:cover}
}

/* Desktop: vertically center the entire video section */
@media (min-width: 992px){
 .video-showcase{min-height:80vh;display:flex;align-items:center}
}

/* Tech Features Section - Modern Grid Layout */
.tech-features{padding:6rem 0;background:linear-gradient(180deg,#e2e8f0 0%,#f5f7fa 100%);position:relative}.tech-features::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="80" height="80" fill="none" stroke="rgba(37,99,235,0.1)" stroke-width="1" rx="10"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(37,99,235,0.1)" stroke-width="1"/></svg>') repeat;opacity:.3}.features-header{text-align:center;margin-bottom:4rem}.features-header h2{font-size:3rem;margin-bottom:1rem;background:linear-gradient(45deg,#1e293b,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.features-header p{font-size:1.2rem;color:#1e293b;opacity:.8}.features-tech-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3rem;position:relative;z-index:1;max-width:1000px;margin:0 auto}.tech-feature{text-align:center;padding:2.5rem;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(37,99,235,.05));border-radius:25px;border:1px solid rgba(37,99,235,.2);backdrop-filter:blur(10px);transition:all .3s ease;position:relative;overflow:hidden;box-shadow:0 10px 30px rgba(37,99,235,.1)}.tech-feature::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent,rgba(37,99,235,.05),transparent);opacity:0;transition:opacity .3s ease}.tech-feature:hover{transform:translateY(-10px) scale(1.05);border-color:rgba(37,99,235,.4);box-shadow:0 20px 40px rgba(37,99,235,.2)}.tech-feature:hover::before{opacity:1}.tech-icon{width:80px;height:80px;margin:0 auto 1.5rem;background:linear-gradient(45deg,#2563eb,#1d4ed8);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;color:#fff;box-shadow:0 10px 30px rgba(37,99,235,.3);position:relative}.tech-icon::before{content:'';position:absolute;top:-5px;left:-5px;right:-5px;bottom:-5px;background:linear-gradient(45deg,#1d4ed8,#2563eb);border-radius:50%;z-index:-1;opacity:.3}.tech-feature h3{font-size:1.4rem;margin-bottom:1rem;color:#1e293b;font-weight:600}.tech-feature p{color:#1e293b;line-height:1.6;opacity:.9}

/* Performance Showcase Section - Carousel */
.performance-showcase{padding:6rem 0;background:linear-gradient(135deg,#f5f7fa,#e2e8f0);position:relative;overflow:hidden}.performance-showcase::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="performance" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="15" fill="none" stroke="rgba(37,99,235,0.1)" stroke-width="2"/><path d="M10,10 L30,30 M30,10 L10,30" stroke="rgba(37,99,235,0.1)" stroke-width="1"/></pattern></defs><rect width="200" height="200" fill="url(%23performance)"/></svg>');opacity:.3}.showcase-header{text-align:center;margin-bottom:4rem;position:relative;z-index:2}.showcase-header h2{font-size:2.8rem;margin-bottom:1rem;color:#1e293b;background:linear-gradient(45deg,#1e293b,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.showcase-header p{font-size:1.2rem;color:#1e293b;opacity:.8}.performance-carousel{position:relative;max-width:800px;margin:0 auto 3rem;z-index:2}.carousel-container{position:relative;overflow:hidden;border-radius:20px;box-shadow:0 20px 40px rgba(37,99,235,.1)}.carousel-slide{display:none;position:relative;background:#fff}.carousel-slide.active{display:block}.carousel-slide img{width:100%;height:450px;object-fit:contain}.slide-content{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.8));color:#fff;padding:2rem;text-align:center}.slide-content h3{font-size:1.8rem;margin-bottom:.5rem}.slide-content p{font-size:1.1rem;opacity:.9}.carousel-nav{position:absolute;top:50%;transform:translateY(-50%);width:100%;display:flex;justify-content:space-between;padding:0 1rem}.carousel-btn{background:rgba(37,99,235,.8);color:#fff;border:none;width:50px;height:50px;border-radius:50%;font-size:1.2rem;cursor:pointer;transition:all .3s ease;backdrop-filter:blur(10px)}.carousel-btn:hover{background:rgba(37,99,235,1);transform:scale(1.1)}.carousel-dots{display:flex;justify-content:center;gap:1rem;margin-top:2rem}.dot{width:12px;height:12px;border-radius:50%;background:rgba(37,99,235,.3);cursor:pointer;transition:all .3s ease}.dot.active,.dot:hover{background:#2563eb;transform:scale(1.2)}.showcase-cta{text-align:center;position:relative;z-index:2}.showcase-cta .btn{font-size:1.2rem;padding:1.5rem 3rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:1rem 2rem;border:none;border-radius:12px;font-weight:600;text-decoration:none;transition:all .3s ease;cursor:pointer;font-size:1rem;position:relative;overflow:hidden}.btn::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease;z-index:1}.btn:hover::before{left:100%}.btn-primary{background:linear-gradient(45deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 4px 20px rgba(37,99,235,.3);font-weight:700;border:2px solid rgba(37,99,235,.2)}.btn-primary:hover{transform:translateY(-3px);box-shadow:0 8px 30px rgba(37,99,235,.4)}.btn-secondary{background:transparent;color:#1e293b;border:2px solid #1e293b;position:relative}.btn-secondary:hover{background:#1e293b;color:#fff;box-shadow:0 4px 20px rgba(30,41,59,.3)}.btn-large{padding:1.25rem 3rem;font-size:1.1rem}

/* Products Grid */
.products{padding:6rem 0;text-align:center;background:#f5f7fa}.products h2{font-size:3rem;margin-bottom:1rem;background:linear-gradient(45deg,#1e293b,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.products>p{color:#1e293b;margin-bottom:3rem;font-size:1.1rem;opacity:.8}.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin-top:3rem}.product-card{background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(37,99,235,.05));border-radius:20px;padding:2rem;border:1px solid rgba(37,99,235,.2);backdrop-filter:blur(10px);transition:all .3s ease;text-align:center;position:relative;overflow:hidden;box-shadow:0 10px 30px rgba(37,99,235,.1)}.product-card::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent,rgba(37,99,235,.05),transparent);opacity:0;transition:opacity .3s ease}.product-card:hover{transform:translateY(-10px);border-color:rgba(37,99,235,.4);box-shadow:0 20px 40px rgba(37,99,235,.1)}.product-card:hover::before{opacity:1}.product-card.featured{border:2px solid #2563eb;position:relative;box-shadow:0 0 30px rgba(37,99,235,.3)}.product-card.featured::after{content:'FEATURED';position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:linear-gradient(45deg,#2563eb,#1d4ed8);color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.8rem;font-weight:700}.product-card img{width:100%;height:200px;object-fit:cover;border-radius:15px;margin-bottom:1rem;border:1px solid rgba(37,99,235,.1)}.product-card h3{margin-bottom:.5rem;color:#1e293b;font-weight:600}.product-card .price{font-size:1.5rem;font-weight:700;color:#2563eb;margin-bottom:.5rem;text-shadow:0 0 10px rgba(37,99,235,.3)}.product-card .original-price{font-size:1rem;color:#999;text-decoration:line-through;margin-bottom:.5rem}.product-card .rating{color:#2563eb;margin-bottom:1rem}.product-card .description{color:#1e293b;font-size:.9rem;opacity:.8}
/* Make entire product card clickable via wrapping link */
.product-card-link{display:block;text-decoration:none;color:inherit}
.product-card{cursor:pointer}
 /* Center rating stars in product cards on all screens */
 .product-card .rating{display:flex;justify-content:center;align-items:center;gap:.25rem}

/* Shop Page Styles */
.product-hero{padding:6rem 0 4rem;background:linear-gradient(135deg,#1e293b,#334155);color:#fff}.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}.product-gallery{position:sticky;top:100px}.main-image{margin-bottom:1rem}.main-image img{width:100%;border-radius:20px;box-shadow:0 20px 40px rgba(37,99,235,.1);border:1px solid rgba(37,99,235,.2)}.thumbnail-gallery{display:flex;gap:1rem;flex-wrap:wrap}.thumbnail{width:80px;height:80px;object-fit:cover;border-radius:10px;cursor:pointer;opacity:.7;transition:all .3s ease;border:2px solid rgba(37,99,235,.2)}.thumbnail:hover,.thumbnail.active{opacity:1;border-color:#2563eb;box-shadow:0 0 15px rgba(37,99,235,.3)}.video-thumbnail{position:relative}.video-thumbnail::after{content:'▶';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:1.5rem;background:rgba(0,0,0,.7);border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.product-info h1{font-size:2.8rem;margin-bottom:1rem;color:#fff;background:linear-gradient(45deg,#fff,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.rating{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.stars{color:#2563eb}.rating-text{color:#fff}.price{margin-bottom:2rem}.current-price{font-size:2.2rem;font-weight:700;color:#fff;text-shadow:0 0 10px rgba(255,255,255,.3)}.original-price{font-size:1.2rem;color:#2563eb;text-decoration:line-through;margin-left:1rem}.discount{background:linear-gradient(45deg,#fff,#2563eb);color:#1e293b;padding:.3rem .8rem;border-radius:20px;font-size:.9rem;margin-left:1rem;font-weight:600}.product-description{font-size:1.1rem;color:#fff;margin-bottom:2rem;line-height:1.7;opacity:.9}.specifications{margin-bottom:3rem;background:rgba(255,255,255,.1);padding:2rem;border-radius:15px;border:1px solid rgba(255,255,255,.2)}.specifications h3{margin-bottom:1rem;color:#fff;font-size:1.3rem}.specifications ul{list-style:none}.specifications li{padding:.8rem 0;border-bottom:1px solid rgba(255,255,255,.1);color:#fff;display:flex;justify-content:space-between}.specifications li:last-child{border-bottom:none}.specifications strong{color:#fff;font-weight:600}.purchase-section{border-top:2px solid rgba(255,255,255,.2);padding-top:2rem;background:rgba(255,255,255,.1);border-radius:15px;padding:2rem;margin-top:2rem}.trust-badges{display:flex;gap:2rem;margin-top:1.5rem;flex-wrap:wrap;justify-content:left}.trust-badges span{color:#fff;font-weight:600;font-size:.9rem;padding:.5rem 1rem;background:rgba(255,255,255,.1);border-radius:20px;border:1px solid rgba(255,255,255,.2)}

/* Shop Video Modal */
.video-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.9);z-index:2000;align-items:center;justify-content:center}.video-modal.active{display:flex}.video-modal-content{position:relative;max-width:90%;max-height:90%}.video-modal video{width:100%;height:auto;border-radius:10px}.video-modal-close{position:absolute;top:-40px;right:0;background:none;border:none;color:#fff;font-size:2rem;cursor:pointer;padding:.5rem}

/* Professional Showcase Section */
.professional-showcase{padding:6rem 0;background:linear-gradient(135deg,#e2e8f0,#f5f7fa);position:relative;overflow:hidden}.professional-showcase::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="professional" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="15" fill="none" stroke="rgba(37,99,235,0.1)" stroke-width="2"/><path d="M10,10 L30,30 M30,10 L10,30" stroke="rgba(37,99,235,0.1)" stroke-width="1"/></pattern></defs><rect width="200" height="200" fill="url(%23professional)"/></svg>');opacity:.3}.professional-grid{display:grid;grid-template-columns:2fr 1fr;gap:4rem;align-items:center;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(37,99,235,.05));border-radius:30px;padding:4rem;border:1px solid rgba(37,99,235,.2);backdrop-filter:blur(10px);box-shadow:0 30px 60px rgba(37,99,235,.1);position:relative;z-index:2}.professional-content{text-align:left}.professional-icon{width:80px;height:80px;margin-bottom:2rem;background:linear-gradient(45deg,#2563eb,#1d4ed8);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;color:#fff;box-shadow:0 10px 30px rgba(37,99,235,.3)}.professional-content h2{font-size:2.5rem;margin-bottom:1.5rem;background:linear-gradient(45deg,#1e293b,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.professional-content p{font-size:1.2rem;margin-bottom:2rem;color:#1e293b;opacity:.8;line-height:1.6}.professional-features{display:flex;gap:1rem;margin-bottom:2.5rem;flex-wrap:wrap}.feature-highlight{display:flex;align-items:center;gap:.5rem;padding:.8rem 1.2rem;background:rgba(37,99,235,.1);border-radius:25px;border:1px solid rgba(37,99,235,.2)}.feature-highlight i{color:#2563eb;font-size:1rem}.feature-highlight span{color:#1e293b;font-weight:500;font-size:.9rem}.professional-cta-buttons{display:flex;gap:1.5rem;flex-wrap:wrap}.professional-cta-buttons .btn{font-size:1.1rem;padding:1.2rem 2.5rem;border-radius:50px}.professional-visual{text-align:center}.image-stack{position:relative;display:inline-block}.stack-image{border-radius:20px;box-shadow:0 20px 40px rgba(37,99,235,.2);border:1px solid rgba(37,99,235,.2)}.stack-image.primary{width:100%;z-index:2;position:relative}.stack-image.secondary{width:80%;position:absolute;top:20px;right:-20px;z-index:1;opacity:.8}

/* Reviews Section */
.reviews{padding:6rem 0;background:linear-gradient(180deg,#f5f7fa 0%,#e2e8f0 100%)}.reviews h2{text-align:center;font-size:3rem;margin-bottom:3rem;background:linear-gradient(45deg,#1e293b,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.review{background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(37,99,235,.05));padding:2rem;border-radius:15px;border:1px solid rgba(37,99,235,.2);backdrop-filter:blur(10px);transition:all .3s ease;box-shadow:0 10px 30px rgba(37,99,235,.1)}.review:hover{transform:translateY(-5px);border-color:rgba(37,99,235,.4);box-shadow:0 20px 40px rgba(37,99,235,.1)}.review-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.stars{color:#2563eb}.reviewer{font-weight:600;color:#2563eb}.review p{color:#1e293b;line-height:1.6;opacity:.9}

/* Page Hero */
.page-hero{padding:6rem 0 4rem;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;text-align:center;position:relative}.page-hero::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.1) 0%,transparent 70%);z-index:1}.page-hero .container{position:relative;z-index:2}.page-hero h1{font-size:3.5rem;margin-bottom:1rem;background:linear-gradient(45deg,#fff,#1e293b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.page-hero p{font-size:1.2rem;opacity:.9;color:#fff}

/* About Page */
.about-content{padding:6rem 0;background:#f5f7fa}.content-grid{display:grid;grid-template-columns:2fr 1fr;gap:4rem;align-items:start}.text-content h2{font-size:2.2rem;margin:2rem 0 1rem;color:#2563eb;font-weight:600}.text-content p{color:#1e293b;margin-bottom:1.5rem;line-height:1.7;opacity:.9}.image-content img{border-radius:20px;box-shadow:0 20px 40px rgba(37,99,235,.1);border:1px solid rgba(37,99,235,.2)}

/* Contact Page */
.contact-content{padding:6rem 0;background:#f5f7fa}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem}.contact-info h2{font-size:2.2rem;margin-bottom:1rem;color:#2563eb}.contact-info>p{color:#1e293b;margin-bottom:2rem;line-height:1.7;opacity:.9}.contact-methods{display:flex;flex-direction:column;gap:2rem}.contact-method{padding:1.5rem;background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(37,99,235,.05));border-radius:15px;border:1px solid rgba(37,99,235,.2);backdrop-filter:blur(10px);transition:all .3s ease;box-shadow:0 10px 30px rgba(37,99,235,.1)}.contact-method:hover{border-color:rgba(37,99,235,.4);transform:translateY(-2px)}.contact-method h3{margin-bottom:.5rem;color:#2563eb;font-weight:600}.contact-method p{margin-bottom:.5rem;color:#1e293b}.contact-method a{color:#2563eb;font-weight:600}.contact-method small{color:#999;opacity:.8}.contact-form-section{background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(37,99,235,.05));padding:3rem;border-radius:20px;border:1px solid rgba(37,99,235,.2);backdrop-filter:blur(10px);box-shadow:0 10px 30px rgba(37,99,235,.1)}.contact-form h2{margin-bottom:2rem;color:#2563eb}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#2563eb}.form-group input,.form-group select,.form-group textarea{width:100%;padding:1rem;border:2px solid rgba(37,99,235,.3);border-radius:10px;font-size:1rem;background:rgba(255,255,255,.9);color:#1e293b;transition:all .3s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 15px rgba(37,99,235,.3)}

/* Blog Styles */
.blog-content{padding:6rem 0;background:#f5f7fa}.blog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:3rem}.blog-card{background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(37,99,235,.05));border-radius:20px;overflow:hidden;border:1px solid rgba(37,99,235,.2);backdrop-filter:blur(10px);transition:all .3s ease;position:relative;box-shadow:0 10px 30px rgba(37,99,235,.1)}.blog-card::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent,rgba(37,99,235,.05),transparent);opacity:0;transition:opacity .3s ease;pointer-events:none}.blog-card:hover{transform:translateY(-10px);border-color:rgba(37,99,235,.4);box-shadow:0 20px 40px rgba(37,99,235,.1)}.blog-card:hover::before{opacity:1}.blog-card img{width:100%;height:250px;object-fit:cover;border-bottom:1px solid rgba(37,99,235,.2)}.blog-card-content{padding:2rem;position:relative;z-index:1}.blog-date{color:#2563eb;font-weight:600;font-size:.9rem}.blog-card h2{margin:1rem 0;font-size:1.5rem}.blog-card h2 a{color:#1e293b;text-decoration:none;transition:color .3s;cursor:pointer}.blog-card h2 a:hover{color:#2563eb}.blog-card p{color:#1e293b;margin-bottom:1rem;line-height:1.6;opacity:.9}.read-more{color:#2563eb;font-weight:600;text-decoration:none;transition:all .3s;cursor:pointer}.read-more:hover{color:#1e293b;transform:translateX(3px)}

/* Blog Article */
.blog-article{padding:6rem 0;background:#f5f7fa}.article-header{text-align:center;margin-bottom:3rem}.article-date{color:#2563eb;font-weight:600}.article-header h1{font-size:3.2rem;margin:1rem 0;color:#1e293b;background:linear-gradient(45deg,#1e293b,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.article-excerpt{font-size:1.2rem;color:#1e293b;line-height:1.6;opacity:.9}.article-image{width:100%;border-radius:20px;margin:3rem 0;box-shadow:0 20px 40px rgba(37,99,235,.1);border:1px solid rgba(37,99,235,.2)}.article-content{margin:3rem 0}.article-content p{margin-bottom:2rem;color:#1e293b;line-height:1.8;font-size:1.1rem;opacity:.9}.article-cta{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;padding:3rem;border-radius:20px;text-align:center;margin-top:3rem;border:1px solid rgba(37,99,235,.2);position:relative;overflow:hidden}.article-cta::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.1) 0%,transparent 70%);z-index:1;pointer-events:none}.article-cta .container{position:relative;z-index:2}.article-cta p{margin-bottom:1.5rem;font-size:1.2rem;color:#fff}.article-cta .btn{background:#fff;color:#2563eb}

/* Legal Pages */
.legal-content{padding:6rem 0;background:#f5f7fa}.legal-content h1{font-size:3.2rem;margin-bottom:1rem;background:linear-gradient(45deg,#1e293b,#2563eb);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.last-updated{color:#999;margin-bottom:3rem;font-style:italic}.legal-text{line-height:1.8;background:rgba(37,99,235,.1);padding:3rem;border-radius:20px;border:1px solid rgba(37,99,235,.2)}.legal-text h2{font-size:1.8rem;margin:3rem 0 1rem;color:#2563eb;font-weight:600}.legal-text h3{font-size:1.3rem;margin:2rem 0 1rem;color:#2563eb;font-weight:600}.legal-text p{margin-bottom:1.5rem;color:#1e293b;opacity:.9}.legal-text a{color:#2563eb;font-weight:600;transition:color .3s}.legal-text a:hover{color:#1e293b}.cookie-preferences{background:rgba(37,99,235,.6);padding:2rem;border-radius:15px;margin:2rem 0;text-align:center;border:1px solid rgba(37,99,235,.2)}

/* CTA Section */
.cta-section{padding:6rem 0;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;text-align:center;position:relative}.cta-section::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.1) 0%,transparent 70%);z-index:1}.cta-section .container{position:relative;z-index:2}.cta-section h2{font-size:2.8rem;margin-bottom:1rem;background:linear-gradient(45deg,#fff,#1e293b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.cta-section p{font-size:1.2rem;margin-bottom:2rem;opacity:.9;color:#fff}.cta-section .btn{background:#fff;color:#2563eb}

/* Footer */
footer{background:linear-gradient(180deg,#1e293b 0%,#334155 100%);color:#fff;padding:4rem 0 2rem;border-top:1px solid rgba(37,99,235,.2)}.footer-content{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem;margin-bottom:3rem}.footer-section h4{margin-bottom:1rem;color:#2563eb;font-weight:600}.footer-section ul{list-style:none}.footer-section li{margin-bottom:.5rem}.footer-section a{color:#fff;text-decoration:none;transition:color .3s;opacity:.8}.footer-section a:hover{color:#2563eb;opacity:1}.footer-section .logo{display:flex;align-items:center;gap:.5rem;font-size:1.8rem;font-weight:800;color:#2563eb;margin-bottom:1rem;text-shadow:0 0 10px rgba(37,99,235,.3)}.footer-section p{color:#fff;line-height:1.6;opacity:.8}.footer-bottom{border-top:1px solid rgba(37,99,235,.2);padding-top:2rem;text-align:center}.footer-bottom p{color:#999}

/* Animations */
@keyframes pulse{0%,100%{opacity:.5;transform:translate(-50%,-50%) scale(1)}50%{opacity:.8;transform:translate(-50%,-50%) scale(1.1)}}@keyframes glow{0%,100%{box-shadow:0 0 5px rgba(37,99,235,.3)}50%{box-shadow:0 0 20px rgba(37,99,235,.6)}}

/* Responsive Design */
@media (max-width:768px){.hero .container{grid-template-columns:1fr;text-align:center;gap:2rem}.hero h1{font-size:2.8rem}.video-content,.product-layout,.content-grid,.contact-grid,.professional-grid{grid-template-columns:1fr}.features-tech-grid{grid-template-columns:repeat(2,1fr)}.tech-feature{border-radius:20px}.products-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.footer-content{grid-template-columns:1fr;text-align:center}.footer-bottom{text-align:center}nav ul{gap:1rem}nav a{font-size:.9rem;padding:.3rem .8rem}.performance-carousel{max-width:100%}.carousel-slide img{height:340px}
/* Mobile Navbar: wrap items and keep visible without overlay issues */
nav{position:sticky;top:0}
nav .container{flex-wrap:wrap}
/* Hide menu by default on mobile and show via .show */
nav ul{width:100%;justify-content:center;flex-wrap:wrap;padding-top:.5rem;display:none;flex-direction:column;align-items:center}
nav ul.show{display:flex}
.mobile-menu-btn{display:inline-block;margin-left:auto}
/* Home hero CTA buttons centered */
.cta-buttons{justify-content:center;align-items:center}
.btn{justify-content:center;text-align:center}
/* Shop page tweaks */
.product-hero{padding:4.5rem 0 3rem}
.product-gallery{position:static;top:auto}
.specifications li{flex-direction:column;align-items:flex-start;gap:.5rem;word-break:break-word}
.purchase-section .btn,.purchase-section .btn-primary{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.purchase-section .btn.btn-primary{font-size:.95rem;padding:.9rem 1rem}
.product-info h1{font-size:1.8rem;line-height:1.2}
/* About page (mobile): center text and hide image column */
.about-content .content-grid{grid-template-columns:1fr;justify-items:center}
.about-content .text-content{text-align:center;margin:0 auto}
.about-content .image-content{display:none}
/* Shop reviews: 90% width cards */
.reviews-grid{display:flex;flex-direction:column;align-items:center;gap:1.25rem}
.review{width:90%}
.review-header{flex-direction:column;align-items:flex-start;gap:.25rem}
/* Blog listing tweaks */
.blog-grid{grid-template-columns:1fr}
.blog-card img{height:200px}
/* Blog details tweaks */
.article-header h1{font-size:2rem;line-height:1.2}
.article-cta .btn{width:100%}
/* Footer logo centered */
.footer-section .logo{justify-content:center}
/* Contact heading single line */
.contact-info h2{font-size:1.6rem;white-space:nowrap}
/* Prevent horizontal scroll on About & Blog pages */
html,body{overflow-x:hidden}
.container{padding:0 1rem}
.about-content,.blog-content{overflow-x:hidden}
.blog-card{width:100%}
/* Video showcase mobile */
.video-showcase{padding:4rem 0}
.video-text h2{font-size:2rem}
/* Match other section titles to video title size on mobile */
.features-header h2{font-size:2rem}
.showcase-header h2{font-size:2rem}
.products h2{font-size:2rem}
.video-features{gap:.5rem}
.video-feature{padding:.75rem}
/* Features mobile */
.tech-feature{padding:1.5rem}
.tech-icon{width:60px;height:60px;font-size:1.5rem}
/* Thumbnails mobile */
.thumbnail-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.thumbnail{width:100%;height:auto;aspect-ratio:1/1}
/* Professional showcase mobile */
.professional-grid{padding:2rem}
.professional-content h2{font-size:1.8rem}
.professional-features{flex-direction:column}
.professional-cta-buttons{flex-direction:column}
.professional-cta-buttons .btn{width:100%}
.image-stack .stack-image.secondary{position:static;width:100%;margin-top:1rem;opacity:1}

}

@media (max-width:480px){.hero h1{font-size:2.2rem}.hero p{font-size:1rem}.btn{padding:.8rem 1.5rem;font-size:.9rem}.cta-buttons{flex-direction:column}.product-card{padding:1.5rem}.features-tech-grid{grid-template-columns:1fr}.tech-feature{padding:1rem}.tech-icon{width:50px;height:50px;font-size:1.2rem}.trust-badges{justify-content:center;gap:1rem}.trust-badges span{font-size:.8rem;padding:.4rem .8rem}.performance-carousel{max-width:100%}.carousel-slide img{height:280px}.video-text h2{font-size:1.5rem}.video-text p{font-size:1rem}}

@media (max-width:480px){
 /* Match other section titles to video title size on small mobile */
 .features-header h2{font-size:1.5rem}
 .showcase-header h2{font-size:1.5rem}
 .products h2{font-size:1.5rem}
}

/* Alignment tweaks: Home "Professional Buffer Polisher Collection" */
.products-grid{justify-content:center;justify-items:center}

/* Shop page: style the secondary CTA specifically in this section */
.professional-showcase .btn.btn-secondary{background:#1e293b;color:#fff;border:none}
.professional-showcase .btn.btn-secondary:hover{filter:brightness(.95)}

/* Shop page (mobile): thumbnails grid to max 2 per row, and stack price lines */
@media (max-width:768px){
 .product-info .price{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}
 .product-info .price .original-price,.product-info .price .discount{margin-left:0}
}

/* Professional showcase (mobile): reduce font sizes, padding, and button padding */
@media (max-width:768px){
 .professional-grid{padding:1.25rem 1rem}
 .professional-content h2{font-size:1.6rem;line-height:1.2}
 .professional-content p{font-size:1rem}
 .professional-cta-buttons .btn{padding:.7rem 1rem;font-size:.95rem;line-height:1.2;white-space:normal}
}

/* About & Blog titles (mobile): ensure full title fits */
@media (max-width:768px){
 .page-hero h1{font-size:2rem;line-height:1.2;max-width:90%;margin:0 auto}
}

/* Mobile-only adjustments */
@media (max-width:480px){
 .products .btn,.products .btn-primary{padding:.6rem 1rem;line-height:1.2;white-space:normal}
 .btn-large{padding:.8rem 1rem;line-height:1.2;white-space:normal}
}
@media (max-width:768px){
 .blog-article{padding:4rem 0 3rem}
 .article-cta{padding:2rem}
}