/* styles.css — Responsive styles and 3D hero / interaction styles
   - Adds a polished layout for the existing index.html markup
   - Provides a 3D parallax/tilt effect for the hero product
   - Includes basic responsive rules and accessible reduced-motion support
*/
:root{
  --bg:#0f0e0c;
  --muted:#94a3b8;
  --accent:#7ce0d7;
  --surface:#0b0b0b;
  --glass: rgba(255,255,255,0.04);
  --max-width:1200px;
  --gap:24px;
  --radius:12px;
}
*{box-sizing:border-box}
html,body{height:100%;}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#e6eef6;
  background:linear-gradient(180deg,var(--bg) 0%, #070708 60%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.4;
}
.grid-bg{
  position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0.06;background-image:radial-gradient(circle at 10% 10%, rgba(124,158,255,0.08), transparent 8%),linear-gradient(90deg, rgba(14,165,164,0.02), rgba(255,255,255,0.0));
}
.header{position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:24px;max-width:var(--max-width);margin:0 auto}
.logo{font-family:'Cormorant Garamond',serif;color:#fff;font-weight:600;text-decoration:none;font-size:1.4rem;letter-spacing:1px}
.header nav{display:flex;gap:12px}
.nav-cta{color:var(--accent);text-decoration:none;padding:8px 12px;border-radius:8px;background:transparent;font-weight:500}
.nav-cta:hover{opacity:0.9}

/* Hero */
.hero{padding:48px 16px 88px;display:flex;align-items:center;justify-content:center;position:relative;z-index:10}
.hero-inner{max-width:var(--max-width);width:100%;margin:0 auto;display:grid;grid-template-columns:1fr 520px;gap:48px;align-items:center}
.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:2px;font-size:0.85rem}
.hero-title{font-family:'Cormorant Garamond',serif;font-size:3.1rem;margin:8px 0 6px;line-height:1}
.hero-title span{display:block}
.scroll-hint{color:var(--muted);font-size:0.95rem}

/* Product 3D wrapper */
.product-wrap{width:100%;display:flex;justify-content:center;align-items:center;perspective:1400px}
.product-img{width:100%;max-width:520px;border-radius:14px;box-shadow:0 40px 80px rgba(2,6,23,0.6);transform-style:preserve-3d;transition:transform 400ms cubic-bezier(.2,.9,.2,1),filter 300ms;display:block}
.product-img.is-tilting{will-change:transform}

/* Basic sections styling */
section{padding:48px 16px}
.intro,.stats,.experience,.showcase,.details,.cta{max-width:var(--max-width);margin:0 auto}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:20px}
.stat{background:var(--glass);padding:18px;border-radius:10px;color:var(--muted)}
.stat-number{font-size:1.25rem;margin:0;color:#fff}
.body-parts{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;color:var(--muted)}

/* Experience */
.experience-layout{display:grid;grid-template-columns:260px 1fr;gap:24px}
.experience-tabs{display:flex;flex-direction:column;gap:12px}
.tab{background:transparent;border:1px solid rgba(255,255,255,0.04);color:var(--muted);padding:14px;border-radius:10px;text-align:left}
.tab.active{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));color:#fff}
.experience-content{background:transparent;padding:12px}
.tab-desc{opacity:0;transform:translateY(8px);transition:all 320ms ease}
.tab-desc.active{opacity:1;transform:none}

/* Showcase */
.showcase-card{display:flex;justify-content:center;align-items:center;padding:12px}
.features-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.feature{background:rgba(255,255,255,0.02);padding:16px;border-radius:10px}

/* CTA */
.cta{background:linear-gradient(180deg, rgba(124,224,215,0.04), transparent);border-top:1px solid rgba(255,255,255,0.02);padding-bottom:64px}
.contact-form{display:grid;gap:12px;max-width:640px}
.contact-row{display:flex;gap:12px}
.contact-form input,.contact-form textarea{padding:12px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:rgba(255,255,255,0.02);color:#fff}
.cta-button{background:var(--accent);color:#042022;padding:12px 16px;border-radius:10px;border:0;font-weight:600}

/* Footer */
.footer{padding:24px;text-align:center;color:var(--muted)}

/* Reveal animations */
.reveal{opacity:0;transform:translateY(14px);transition:opacity 520ms ease,transform 520ms ease}
.reveal.reveal--visible{opacity:1;transform:none}

/* Responsive */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;grid-template-rows:auto auto;gap:28px}
  .product-img{max-width:720px}
  .experience-layout{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .features-row{grid-template-columns:1fr}
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  .product-img, .reveal{transition:none!important}
}
