/* Javaheran — Apple FINAL (Light, minimal, premium, spacious) */

:root{
  --bg:#ffffff;
  --surface:#f5f5f7;          /* Apple-like gray */
  --card:#ffffff;
  --text:#1d1d1f;
  --muted:#6e6e73;
  --line:#e5e5ea;

  --appleBlue:#0071e3;        /* Apple blue */
  --turq:#00b3a4;             /* Brand accent */

  --radius: 30px;
  --radius2: 22px;
  --shadow: 0 26px 70px rgba(0,0,0,.10);
  --shadow2: 0 14px 34px rgba(0,0,0,.07);
  --shadow3: 0 10px 26px rgba(0,0,0,.06);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               system-ui, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a{ color:inherit; text-decoration:none; }
img, video{ max-width:100%; display:block; }
.container{ width:min(1240px, 92vw); margin:0 auto; }

/* Topbar */
.topbar{
  background: var(--surface);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:12px;
}
.pills{ display:flex; gap:8px; flex-wrap:wrap; }
.pill{
  font-size:12px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color: var(--muted);
  font-weight:700;
}
.pill--ok{
  border:1px solid rgba(0,113,227,.25);
  background: rgba(0,113,227,.08);
  color: var(--appleBlue);
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.86);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:14px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand__mark{
  width:36px; height:36px;
  border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(0,179,164,.14), rgba(0,113,227,.12));
  border:1px solid var(--line);
  font-weight:900;
}
.brand__name{ font-weight:900; letter-spacing:.2px; }

.nav{ display:flex; gap:18px; align-items:center; }
.nav__link{
  font-size:14px;
  color: var(--muted);
  font-weight:700;
}
.nav__link:hover{ color: var(--text); }

/* Right side */
.header__right{ display:flex; align-items:center; gap:10px; }
.officePill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  color: var(--text);
  font-size:13px;
  font-weight:900;
}
.officeDot{
  width:8px; height:8px;
  border-radius:99px;
  background: var(--turq);
  box-shadow: 0 0 0 4px rgba(0,179,164,.14);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color: var(--text);
  font-weight:900;
  font-size:14px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
  white-space:nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.14);
}
.btn--primary{
  border:none;
  background: var(--appleBlue);
  color:#fff;
}
.btn--primary:hover{ box-shadow: 0 18px 34px rgba(0,113,227,.24); }
.btn--muted{ background: var(--surface); }
.btn--ghost{ background: transparent; }
.btn--lg{ padding:14px 18px; font-size:15px; }
.btn--full{ width:100%; }

/* Sections */
.section{ padding:84px 0; }
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom: 22px;
}
.section__head h1, .section__head h2{
  font-size: 30px;
  margin:0;
  letter-spacing:-.4px;
}
.section__head p{
  margin:0;
  color: var(--muted);
  max-width: 900px;
  font-size:15px;
}

/* Hero (Apple-like) */
.hero{ padding:92px 0 36px; }
.heroGrid{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap:22px;
  align-items:center;
}
.kicker{
  color: var(--muted);
  font-weight:900;
  letter-spacing:.25px;
  margin:0 0 12px;
}
.hero h1{
  font-size: clamp(34px, 4.8vw, 62px);
  line-height:1.02;
  margin:0 0 14px;
  letter-spacing:-1px;
}
.lead{
  color: var(--muted);
  font-size:17px;
  margin:0 0 22px;
  max-width: 58ch;
}
.heroActions{ display:flex; gap:12px; flex-wrap:wrap; }

.mediaCard{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--card);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.mediaCard img{
  width:100%;
  height: 470px;
  object-fit: cover;
  background: var(--surface);
}
.mediaCard__overlay{
  position:absolute;
  left:18px; right:18px; bottom:18px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.chip{
  font-size:12px;
  padding:9px 11px;
  border-radius:999px;
  background: rgba(255,255,255,.88);
  border:1px solid rgba(0,0,0,.08);
  color: var(--text);
  font-weight:800;
}
.chip--soft{ color: var(--muted); background: rgba(255,255,255,.78); }

/* Apple tiles */
.tileGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.tile{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--card);
  box-shadow: var(--shadow3);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow2);
}
.tileMedia img{
  width:100%;
  height: 260px;
  object-fit: cover;
  background: var(--surface);
}
.tileBody{ padding:16px 16px 18px; }
.tileTitle{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.tileTitle h3{ margin:0; font-size:16px; letter-spacing:-.2px; }
.tileTitle span{ color: var(--muted); font-size:12px; font-weight:900; }
.priceRow{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.price{ font-weight:900; }
.sub{
  color: var(--appleBlue);
  font-size:13px;
  font-weight:900;
}

/* Product page layout */
.productGrid{
  display:grid;
  grid-template-columns: 1.12fr .88fr;
  gap:16px;
  align-items:start;
}
.gallery{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--card);
  box-shadow: var(--shadow3);
}
.galleryMain img, .galleryMain video{
  width:100%;
  height: 540px;
  object-fit: cover;
  background: var(--surface);
}
.galleryThumbs{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  padding:12px;
  border-top:1px solid var(--line);
  background: var(--surface);
}
.thumb{
  border:1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
  background:#fff;
}
.thumb img{ width:100%; height:84px; object-fit: cover; }

.panel{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  background: var(--card);
  box-shadow: var(--shadow3);
}
.panel h1{
  margin:0 0 10px;
  font-size:26px;
  line-height:1.15;
  letter-spacing:-.35px;
}
.panel .muted{
  color: var(--muted);
  margin:0 0 12px;
  font-size:15px;
}

.specs{
  width:100%;
  border-collapse: collapse;
  margin:12px 0 14px;
  overflow:hidden;
  border-radius: 18px;
  border:1px solid var(--line);
  background:#fff;
}
.specs td{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  color: var(--muted);
  font-size:14px;
}
.specs td:first-child{
  color: var(--text);
  font-weight:900;
  width:38%;
}
.specs tr:last-child td{ border-bottom:none; }

.actions2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

.ctaBox{
  margin-top:14px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  background: linear-gradient(135deg, rgba(0,179,164,.10), rgba(0,113,227,.10));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.ctaBox h2{ margin:0 0 6px; font-size:20px; letter-spacing:-.2px; }
.ctaBox p{ margin:0; color: var(--muted); }
.ctaBox__actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
  min-width: 280px;
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:26px 0 44px;
  color: var(--muted);
  background: var(--bg);
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.footer__brand{ font-weight:900; color: var(--text); }
.footer__meta{ font-size:13px; margin-top:6px; color: var(--muted); }
.footer__links{ display:flex; gap:14px; flex-wrap:wrap; }
.footer__links a:hover{ color: var(--text); }

/* Mobile */
@media (max-width: 920px){
  .nav{ display:none; }
  .heroGrid{ grid-template-columns: 1fr; }
  .mediaCard img{ height: 320px; }
  .tileGrid{ grid-template-columns: 1fr; }
  .productGrid{ grid-template-columns: 1fr; }
  .galleryMain img, .galleryMain video{ height: 360px; }
  .galleryThumbs{ grid-template-columns: repeat(2, 1fr); }
  .actions2{ grid-template-columns: 1fr; }
  .ctaBox{ flex-direction:column; align-items:flex-start; }
  .ctaBox__actions{ align-items:flex-start; width:100%; min-width: unset; }
  .btn--lg{ width:100%; }
  .header__right{ flex-direction:column; align-items:flex-end; gap:8px; }
}
