:root{--bg:#03101b;--bg2:#071b2a;--panel:#0b2435;--line:#1b4c67;--text:#f4fbff;--muted:#9fc0d2;--cyan:#42d9ff;--blue:#238fe5;--green:#50d99a;--amber:#f3c75d;--red:#ff7181;--radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 70% 0,#0b3850 0,transparent 35%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}.container{width:min(1180px,calc(100% - 32px));margin:auto}.narrow{max-width:720px}.site-header{position:sticky;top:0;z-index:20;background:rgba(3,16,27,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(65,217,255,.12)}.nav-wrap{display:flex;align-items:center;justify-content:space-between;min-height:76px}.brand{display:flex;gap:11px;align-items:center}.brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,var(--cyan),var(--blue));color:#001421;font-weight:900;box-shadow:0 0 28px rgba(66,217,255,.25)}.brand span:last-child{display:flex;flex-direction:column;line-height:1}.brand small{letter-spacing:.22em;color:var(--cyan);font-size:.62rem;margin-top:5px}.main-nav{display:flex;align-items:center;gap:22px;font-size:.94rem}.main-nav a:hover{color:var(--cyan)}.menu-toggle{display:none;background:none;color:white;border:0;font-size:1.5rem}.button,button,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;padding:12px 18px;background:linear-gradient(145deg,var(--cyan),var(--blue));color:#001421;font-weight:850;cursor:pointer}.button.ghost{background:transparent;border:1px solid var(--line);color:var(--text)}.button.danger{background:var(--red);color:#230009}.button.small{padding:9px 13px}.hero{padding:92px 0 72px}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:center}.eyebrow{color:var(--cyan);text-transform:uppercase;letter-spacing:.18em;font-weight:800;font-size:.78rem}.hero h1{font-size:clamp(2.7rem,6vw,5.4rem);line-height:.95;margin:.22em 0}.gradient-text{background:linear-gradient(90deg,#fff,var(--cyan));-webkit-background-clip:text;color:transparent}.lead{color:var(--muted);font-size:1.17rem;max-width:680px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.device-card,.panel,.card{background:linear-gradient(145deg,rgba(15,48,68,.92),rgba(6,27,42,.96));border:1px solid rgba(83,207,255,.18);border-radius:var(--radius);box-shadow:0 24px 70px rgba(0,0,0,.28)}.device-card{padding:26px}.screen{border-radius:16px;background:#020b12;border:7px solid #0e151b;padding:18px}.reading-grid,.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.reading{padding:16px;border-radius:14px;background:linear-gradient(145deg,#0a2637,#071a27);border:1px solid #154b66}.reading strong{font-size:1.7rem}.section{padding:72px 0}.section h2{font-size:clamp(2rem,4vw,3.4rem);margin:.2em 0}.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.cards-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card,.panel{padding:24px}.card h3{margin-top:0}.muted{color:var(--muted)}.icon{font-size:1.8rem}.site-footer{border-top:1px solid rgba(83,207,255,.13);margin-top:70px;padding:48px 0 22px;background:#020b12}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:40px}.footer-grid>div{display:flex;flex-direction:column;gap:9px}.footer-bottom{border-top:1px solid #112d3e;margin-top:35px;padding-top:18px;color:var(--muted)}.page-head{padding:54px 0 24px}.dashboard-layout{display:grid;grid-template-columns:230px 1fr;gap:24px}.sidebar{position:sticky;top:95px;height:max-content}.sidebar a{display:block;padding:11px 13px;border-radius:10px;color:var(--muted)}.sidebar a:hover{background:#0e3044;color:white}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat strong{display:block;font-size:2rem}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:13px 10px;text-align:left;border-bottom:1px solid #194359}.table th{color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}.badge{display:inline-block;padding:4px 9px;border-radius:999px;background:#17384a;font-size:.77rem}.badge-online,.badge-open,.badge-published,.badge-active{background:rgba(80,217,154,.15);color:var(--green)}.badge-offline,.badge-closed,.badge-unpublished{background:rgba(255,113,129,.13);color:var(--red)}.badge-pending,.badge-warning{background:rgba(243,199,93,.13);color:var(--amber)}form{display:grid;gap:15px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}label{font-weight:700;font-size:.9rem}input,select,textarea{width:100%;margin-top:6px;background:#061927;color:white;border:1px solid #24526a;border-radius:11px;padding:12px;font:inherit}textarea{min-height:130px;resize:vertical}.alert{margin-top:16px;padding:14px 17px;border-radius:12px;background:#123248}.alert.success{border:1px solid var(--green)}.alert.error{border:1px solid var(--red)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.empty{text-align:center;padding:44px;color:var(--muted)}.prose{max-width:820px}.prose h2{margin-top:2em}.ticket-message{padding:18px;margin:12px 0;border-radius:14px;background:#071d2c}.ticket-message.staff{border-left:3px solid var(--cyan)}hr{border:0;border-top:1px solid var(--line);margin:24px 0}
@media(max-width:900px){.main-nav{display:none;position:absolute;left:16px;right:16px;top:68px;padding:18px;background:#071b2a;border:1px solid var(--line);border-radius:16px;flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.menu-toggle{display:block}.hero-grid,.dashboard-layout{grid-template-columns:1fr}.sidebar{position:static}.cards-3,.cards-4,.stat-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.hero{padding-top:55px}.cards-3,.cards-4,.stat-grid,.form-grid,.reading-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.toolbar{align-items:flex-start;flex-direction:column}}

/* TerraAqua V4.3 official branding */
.brand-logo{width:52px;height:52px;object-fit:cover;border-radius:50%;display:block;box-shadow:0 0 28px rgba(66,217,255,.28);border:1px solid rgba(255,255,255,.24)}
.footer-logo{width:64px;height:64px}.footer-brand{width:max-content}
@media(max-width:600px){.brand-logo{width:44px;height:44px}.brand span:last-child strong{font-size:.95rem}}


/* TerraAqua V4.5 ReefCore product page */
.reefcore-page{background:#03101b}
.reefcore-hero{padding:28px 0 26px;background:
linear-gradient(90deg,rgba(1,14,25,.42),rgba(1,10,20,.9)),
radial-gradient(circle at 18% 25%,rgba(14,173,226,.35),transparent 38%),
radial-gradient(circle at 70% 30%,rgba(18,110,169,.22),transparent 40%),
#03101b;overflow:hidden}
.reefcore-breadcrumb{font-size:.84rem;color:#8ecfe8;margin:8px 0 22px}
.reefcore-breadcrumb span{margin:0 8px;color:#42d9ff}
.reefcore-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:44px;align-items:center}
.reefcore-product-visual{position:relative;min-height:430px;display:flex;align-items:center}
.reefcore-product-visual:before{content:"";position:absolute;inset:8% 6%;background:radial-gradient(ellipse,rgba(49,211,255,.24),transparent 65%);filter:blur(24px)}
.reefcore-product-visual img{position:relative;width:100%;display:block;border-radius:24px;box-shadow:0 32px 80px rgba(0,0,0,.5);object-fit:cover}
.reefcore-buy-panel{padding:24px 4px}
.reefcore-stock-row{display:flex;gap:18px;align-items:center;margin-bottom:16px}
.reefcore-pill{border:1px solid #2c6f91;border-radius:999px;padding:7px 20px;font-size:.76rem;font-weight:850;letter-spacing:.06em}
.reefcore-stock{font-size:.78rem;color:#50d99a}
.reefcore-buy-panel h1{font-size:clamp(3.1rem,5vw,5.2rem);line-height:.92;margin:0}
.reefcore-buy-panel h1 span,.reefcore-buy-panel h1 strong{display:block}
.reefcore-buy-panel h1 strong{color:#42d9ff;font-weight:750}
.reefcore-accent{width:52px;height:3px;background:#42d9ff;margin:22px 0 12px}
.reefcore-price{font-size:clamp(2.5rem,4vw,4.25rem);font-weight:900;color:#55dcff;line-height:1}
.reefcore-installed{font-size:1.04rem;color:#d8ecf7;margin:10px 0 20px}
.reefcore-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.reefcore-buy-button,.reefcore-secondary-button{border-radius:999px;padding:14px 24px;font-weight:850;display:inline-flex;align-items:center;justify-content:center}
.reefcore-buy-button{background:linear-gradient(145deg,#42d9ff,#238fe5);color:#001421}
.reefcore-secondary-button{border:1px solid #2a7598;color:#eefaff;background:rgba(4,31,48,.6)}
.reefcore-hardware-warning{display:flex;gap:14px;align-items:center;border:1px solid #f0a127;background:rgba(95,53,4,.19);border-radius:15px;padding:14px 16px;margin-top:15px}
.warning-icon{width:38px;height:38px;border:3px solid #f0a127;color:#f0a127;border-radius:10px;display:grid;place-items:center;font-size:1.45rem;font-weight:900}
.reefcore-hardware-warning strong,.reefcore-hardware-warning span{display:block}
.reefcore-hardware-warning strong{color:#ffb43e}
.reefcore-hardware-warning span{color:#f7e6ce;font-size:.9rem;margin-top:2px}
.reefcore-feature-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #1e5a78;border-radius:18px;background:rgba(4,29,44,.82);overflow:hidden;margin-top:6px}
.reefcore-feature-strip article{display:flex;gap:13px;padding:20px;min-height:110px;align-items:center;border-right:1px solid #1a4f69}
.reefcore-feature-strip article:last-child{border-right:0}
.feature-symbol{font-size:2rem;color:#42d9ff;min-width:36px;text-align:center}
.reefcore-feature-strip strong,.reefcore-feature-strip span{display:block}
.reefcore-feature-strip strong{color:#61dfff;font-size:.91rem}
.reefcore-feature-strip span{color:#bad2df;font-size:.82rem;margin-top:4px}
.reefcore-details{padding:18px 0 68px}
.reefcore-control-card{display:grid;grid-template-columns:1.2fr .9fr .8fr;gap:30px;background:linear-gradient(145deg,rgba(8,39,58,.96),rgba(4,24,38,.98));border:1px solid #1b4c67;border-radius:20px;padding:28px;margin-top:18px}
.reefcore-control-card h2{font-size:1.65rem;margin:0 0 10px}
.reefcore-control-card p{color:#b6d1de}
.reefcore-checklist{list-style:none;padding:0;margin:7px 0}
.reefcore-checklist li{padding:7px 0 7px 26px;position:relative;color:#d7e9f2}
.reefcore-checklist li:before{content:"✓";position:absolute;left:0;color:#42d9ff;font-weight:900}
.reefcore-mini-features{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px}
.reefcore-mini-features span{font-size:.78rem;color:#9fc0d2}
.reefcore-mini-features strong{display:block;color:#54ddff;font-size:.9rem}
.reefcore-box{border-left:1px solid #1b4c67;padding-left:26px}
.reefcore-box h3{margin-top:0}
.reefcore-box ul{padding-left:20px;color:#cee1eb}
.reefcore-box li{margin:6px 0}
.reefcore-sold-separately{font-size:.84rem!important;color:#f0c37b!important}
.reefcore-bottom-strip{display:grid;grid-template-columns:repeat(4,1fr);margin-top:16px;border:1px solid #174a64;border-radius:17px;background:#061c2b}
.reefcore-bottom-strip article{padding:18px 20px;border-right:1px solid #174a64}
.reefcore-bottom-strip article:last-child{border-right:0}
.reefcore-bottom-strip strong,.reefcore-bottom-strip span{display:block}
.reefcore-bottom-strip strong{text-transform:uppercase;letter-spacing:.08em;font-size:.76rem;color:#53d9ff}
.reefcore-bottom-strip span{font-size:.8rem;color:#a9c4d2;margin-top:5px}
.reefcore-disclaimer{margin-top:16px;padding:16px 18px;border-radius:14px;background:rgba(244,167,57,.11);border:1px solid rgba(244,167,57,.45);color:#f6e2c0}
@media(max-width:1000px){
 .reefcore-hero-grid{grid-template-columns:1fr}
 .reefcore-product-visual{min-height:auto}
 .reefcore-buy-panel{padding-top:0}
 .reefcore-control-card{grid-template-columns:1fr 1fr}
 .reefcore-box{grid-column:1/-1;border-left:0;border-top:1px solid #1b4c67;padding:22px 0 0}
}
@media(max-width:760px){
 .reefcore-feature-strip,.reefcore-bottom-strip{grid-template-columns:1fr 1fr}
 .reefcore-feature-strip article:nth-child(2){border-right:0}
 .reefcore-feature-strip article{border-bottom:1px solid #1a4f69}
 .reefcore-feature-strip article:nth-child(3),.reefcore-feature-strip article:nth-child(4){border-bottom:0}
 .reefcore-bottom-strip article:nth-child(2){border-right:0}
 .reefcore-bottom-strip article{border-bottom:1px solid #174a64}
 .reefcore-bottom-strip article:nth-child(3),.reefcore-bottom-strip article:nth-child(4){border-bottom:0}
 .reefcore-control-card{grid-template-columns:1fr}
}
@media(max-width:520px){
 .reefcore-feature-strip,.reefcore-bottom-strip{grid-template-columns:1fr}
 .reefcore-feature-strip article,.reefcore-bottom-strip article{border-right:0;border-bottom:1px solid #1a4f69!important}
 .reefcore-feature-strip article:last-child,.reefcore-bottom-strip article:last-child{border-bottom:0!important}
 .reefcore-buy-panel h1{font-size:3rem}
}


/* TerraAqua V4.6 ReefCore visual corrections */
.reefcore-hero-grid{
  grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr);
  gap:38px;
}
.reefcore-product-visual{
  min-height:470px;
  overflow:hidden;
  border-radius:26px;
  border:1px solid rgba(60,190,235,.2);
  background:
    radial-gradient(circle at 25% 35%,rgba(24,204,255,.18),transparent 45%),
    linear-gradient(145deg,#042036,#03111d);
}
.reefcore-product-visual:before{
  inset:10% 4%;
  background:radial-gradient(ellipse,rgba(45,218,255,.2),transparent 68%);
}
.reefcore-product-visual img{
  width:100%;
  height:100%;
  min-height:470px;
  object-fit:cover;
  object-position:center;
  border-radius:26px;
  box-shadow:none;
}
.reefcore-buy-panel{
  padding:16px 0;
}
.reefcore-buy-panel h1{
  font-size:clamp(3rem,4.4vw,4.8rem);
}
.reefcore-feature-strip{
  margin-top:22px;
}
.feature-symbol{
  width:42px;
  height:42px;
  min-width:42px;
  border:2px solid #42d9ff;
  border-radius:12px;
  position:relative;
  display:block;
}
.feature-symbol:before,
.feature-symbol:after{
  content:"";
  position:absolute;
}
.icon-control:before{
  left:9px; right:9px; bottom:9px; height:14px;
  border-left:3px solid #42d9ff;
  border-bottom:3px solid #42d9ff;
  transform:skew(-16deg);
}
.icon-control:after{
  width:6px; height:6px; border-radius:50%;
  background:#42d9ff; top:9px; right:8px;
}
.icon-software:before{
  left:8px; right:8px; bottom:9px; height:3px;
  background:#42d9ff;
  box-shadow:0 -8px 0 #42d9ff, 0 -16px 0 #42d9ff;
}
.icon-software:after{
  width:7px; height:7px; border-radius:50%;
  background:#03101b; border:2px solid #42d9ff;
  top:7px; right:7px;
}
.icon-cloud:before{
  width:23px; height:13px;
  border:3px solid #42d9ff;
  border-radius:12px;
  left:8px; bottom:9px;
}
.icon-cloud:after{
  width:12px; height:12px;
  border:3px solid #42d9ff;
  border-bottom:0;
  border-radius:50% 50% 0 0;
  left:14px; top:7px;
  background:#061827;
}
.icon-hardware:before{
  inset:8px;
  border:3px solid #42d9ff;
  transform:rotate(45deg);
  border-radius:4px;
}
.icon-hardware:after{
  width:6px; height:6px;
  border-radius:50%;
  background:#42d9ff;
  left:16px; top:16px;
}
@media(max-width:1000px){
  .reefcore-product-visual,
  .reefcore-product-visual img{
    min-height:360px;
  }
}
@media(max-width:640px){
  .reefcore-product-visual,
  .reefcore-product-visual img{
    min-height:270px;
  }
}


/* TerraAqua V4.7 – full ReefCore controller image */
.reefcore-product-visual{
  background:#03111d;
}
.reefcore-product-visual img{
  object-fit:contain;
  object-position:center;
  padding:10px;
  background:linear-gradient(145deg,#05223a,#03111d);
}


/* TerraAqua V4.8 – Products page */
.products-page{background:#03101b;min-height:70vh}
.products-hero{
  padding:30px 0 80px;
  background:
    radial-gradient(circle at 20% 18%,rgba(28,177,232,.23),transparent 36%),
    radial-gradient(circle at 82% 24%,rgba(24,103,170,.18),transparent 34%),
    linear-gradient(180deg,#041727,#03101b);
}
.products-breadcrumb{font-size:.84rem;color:#8ecfe8;margin:8px 0 28px}
.products-breadcrumb span{margin:0 8px;color:#42d9ff}
.products-heading{text-align:center;max-width:760px;margin:0 auto 34px}
.products-heading .eyebrow{
  margin:0 0 8px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:#4ddcff;
  font-size:.78rem;
  font-weight:800;
}
.products-heading h1{
  margin:0;
  font-size:clamp(2.8rem,5vw,4.8rem);
  line-height:1;
}
.products-heading h1 span{color:#42d9ff}
.products-heading>p:last-child{
  color:#b8d1df;
  font-size:1.05rem;
  margin:16px auto 0;
}
.products-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:24px;
  max-width:1120px;
  margin:0 auto;
}
.product-card{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  overflow:hidden;
  border:1px solid #1e6688;
  border-radius:24px;
  background:linear-gradient(145deg,rgba(7,38,58,.98),rgba(3,20,33,.98));
  box-shadow:0 24px 70px rgba(0,0,0,.35);
}
.product-card-image{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 35% 35%,rgba(42,209,255,.2),transparent 48%),
    #041827;
  overflow:hidden;
}
.product-card-image:after{
  content:"";
  position:absolute;
  inset:0;
  border-right:1px solid rgba(50,167,210,.22);
  pointer-events:none;
}
.product-card-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}
.product-card-content{
  padding:46px 42px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.product-card-topline{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.product-category{
  display:inline-flex;
  border:1px solid #2d7898;
  border-radius:999px;
  padding:7px 14px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.72rem;
  font-weight:850;
  color:#bfefff;
}
.product-stock{font-size:.78rem;color:#4de09b}
.product-card h2{
  margin:0;
  font-size:clamp(2.25rem,4vw,3.8rem);
  line-height:1.02;
}
.product-price{
  color:#4edcff;
  font-size:clamp(2.1rem,3.5vw,3.35rem);
  line-height:1;
  font-weight:900;
  margin:20px 0 8px;
}
.product-software{
  color:#e2f0f7;
  font-size:1rem;
  margin:0 0 18px;
}
.product-description{
  color:#b5ceda;
  font-size:1rem;
  line-height:1.65;
  margin:0 0 20px;
}
.product-warning{
  border:1px solid #e7a130;
  border-radius:15px;
  background:rgba(104,59,5,.18);
  padding:14px 16px;
  margin-bottom:22px;
}
.product-warning strong,.product-warning span{display:block}
.product-warning strong{color:#ffb740;margin-bottom:4px}
.product-warning span{color:#f4e5cd;font-size:.88rem;line-height:1.45}
.product-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.product-primary,.product-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  border-radius:999px;
  padding:0 23px;
  font-weight:850;
}
.product-primary{
  color:#00131f;
  background:linear-gradient(145deg,#4ddcff,#258edc);
}
.product-secondary{
  color:#eefaff;
  border:1px solid #2e7899;
  background:rgba(5,31,48,.65);
}
@media(max-width:900px){
  .product-card{grid-template-columns:1fr}
  .product-card-image{min-height:380px}
  .product-card-image:after{
    border-right:0;
    border-bottom:1px solid rgba(50,167,210,.22);
  }
}
@media(max-width:560px){
  .products-hero{padding-bottom:52px}
  .product-card-image{min-height:280px}
  .product-card-content{padding:28px 22px}
  .product-actions a{width:100%}
}


/* TerraAqua V4.11 – multi-product catalogue */
.products-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
  max-width:1220px;
  margin:0 auto;
}
.catalogue-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #1e6688;
  border-radius:22px;
  background:linear-gradient(145deg,rgba(7,38,58,.98),rgba(3,20,33,.98));
  box-shadow:0 20px 55px rgba(0,0,0,.3);
}
.catalogue-image{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#041827;
  border-bottom:1px solid rgba(50,167,210,.22);
}
.catalogue-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.catalogue-content{
  padding:24px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.catalogue-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:12px;
}
.catalogue-meta span{
  border:1px solid #2d7898;
  border-radius:999px;
  padding:6px 11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.68rem;
  font-weight:850;
  color:#bfefff;
}
.catalogue-meta strong{
  color:#4de09b;
  font-size:.74rem;
}
.catalogue-card h2{
  margin:0;
  font-size:1.65rem;
}
.catalogue-price{
  color:#4edcff;
  font-size:2rem;
  font-weight:900;
  margin:12px 0 8px;
}
.catalogue-content p{
  color:#b5ceda;
  line-height:1.55;
  margin:0 0 14px;
}
.catalogue-note{
  border:1px solid rgba(74,181,224,.28);
  background:rgba(4,31,48,.68);
  border-radius:12px;
  padding:12px 13px;
  color:#d6ebf5;
  font-size:.87rem;
  line-height:1.45;
  margin-bottom:18px;
}
.catalogue-button{
  margin-top:auto;
  align-self:flex-start;
  border-radius:999px;
  padding:12px 20px;
  font-weight:850;
  color:#00131f;
  background:linear-gradient(145deg,#4ddcff,#258edc);
}
.product-detail-page{
  min-height:70vh;
  padding:34px 0 78px;
  background:
    radial-gradient(circle at 18% 18%,rgba(28,177,232,.2),transparent 35%),
    linear-gradient(180deg,#041727,#03101b);
}
.product-detail-card{
  max-width:1180px;
  margin:0 auto;
  border:1px solid #1e6688;
  border-radius:24px;
  overflow:hidden;
  background:#061c2b;
}
.product-detail-card img{
  width:100%;
  display:block;
}
.product-detail-copy{
  padding:26px 30px 32px;
}
.product-detail-copy h1{
  margin:0 0 8px;
  font-size:clamp(2.2rem,4vw,3.7rem);
}
.product-detail-price{
  color:#4edcff;
  font-size:2.25rem;
  font-weight:900;
  margin-bottom:15px;
}
.product-detail-copy p{
  color:#bed5e1;
  line-height:1.65;
}
@media(max-width:900px){
  .products-card-grid{grid-template-columns:1fr}
}


/* TerraAqua V4.12 – clean catalogue product images */
.catalogue-image{
  aspect-ratio:16/10;
  padding:10px;
  background:
    radial-gradient(circle at 50% 25%,rgba(39,190,242,.16),transparent 52%),
    #031522;
}
.catalogue-image img{
  object-fit:contain;
  object-position:center;
  border-radius:14px;
}
.product-detail-card img{
  max-height:760px;
  object-fit:contain;
  object-position:center;
  background:#031522;
}


/* TerraAqua V4.16 – Contact page */
.contact-page{min-height:70vh;background:#03101b}
.contact-hero{
  padding:30px 0 80px;
  background:
    radial-gradient(circle at 18% 18%,rgba(28,177,232,.22),transparent 34%),
    radial-gradient(circle at 85% 20%,rgba(20,105,175,.14),transparent 32%),
    linear-gradient(180deg,#041727,#03101b);
}
.contact-breadcrumb{font-size:.84rem;color:#8ecfe8;margin:8px 0 28px}
.contact-breadcrumb span{margin:0 8px;color:#42d9ff}
.contact-heading{text-align:center;max-width:760px;margin:0 auto 36px}
.contact-heading .eyebrow{
  margin:0 0 8px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:#4ddcff;
  font-size:.78rem;
  font-weight:800;
}
.contact-heading h1{
  margin:0;
  font-size:clamp(2.7rem,5vw,4.6rem);
  line-height:1;
}
.contact-heading h1 span{color:#42d9ff}
.contact-heading>p:last-child{color:#b8d1df;font-size:1.04rem;margin:16px 0 0}
.contact-layout{
  display:grid;
  grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);
  gap:26px;
  max-width:1180px;
  margin:0 auto;
  align-items:start;
}
.contact-info-card,.contact-form-card,.contact-option-grid article{
  border:1px solid #1e6688;
  background:linear-gradient(145deg,rgba(7,38,58,.98),rgba(3,20,33,.98));
  box-shadow:0 20px 55px rgba(0,0,0,.28);
}
.contact-info-card,.contact-form-card{border-radius:22px;padding:28px}
.contact-info-card h2,.contact-form-card h2{margin:0 0 10px;font-size:1.75rem}
.contact-form-card>p{color:#b5ceda;margin:0 0 22px}
.contact-detail-row{padding:15px 0;border-bottom:1px solid rgba(70,155,190,.22)}
.contact-detail-row:last-child{border-bottom:0;padding-bottom:0}
.contact-detail-row strong{display:block;color:#55dfff;margin-bottom:5px}
.contact-detail-row span,.contact-detail-row address,.contact-detail-row a{
  color:#d8e9f2;
  line-height:1.55;
  font-style:normal;
}
.contact-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.contact-option-grid article{border-radius:16px;padding:18px}
.contact-option-grid h3{margin:0 0 7px;color:#55dfff;font-size:1rem}
.contact-option-grid p{margin:0;color:#b7cfdb;line-height:1.48;font-size:.88rem}
.contact-form{display:flex;flex-direction:column;gap:16px}
.contact-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-form label>span{display:block;color:#dcebf2;font-weight:750;font-size:.89rem;margin-bottom:7px}
.contact-form input,.contact-form select,.contact-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #2a6079;
  border-radius:12px;
  background:#041827;
  color:#eefaff;
  padding:13px 14px;
  font:inherit;
  outline:none;
}
.contact-form textarea{resize:vertical;min-height:150px}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{
  border-color:#49d9ff;
  box-shadow:0 0 0 3px rgba(73,217,255,.12);
}
.contact-consent{display:flex;align-items:flex-start;gap:10px}
.contact-consent input{width:18px;height:18px;margin-top:2px;flex:0 0 auto}
.contact-consent span{font-weight:400!important;color:#bcd3de!important;line-height:1.45}
.contact-consent a{color:#55dfff}
.contact-submit{
  align-self:flex-start;
  border:0;
  border-radius:999px;
  padding:14px 26px;
  font:inherit;
  font-weight:900;
  color:#00131f;
  background:linear-gradient(145deg,#4ddcff,#258edc);
  cursor:pointer;
}
.contact-alert{border-radius:13px;padding:14px 16px;margin-bottom:18px;line-height:1.5}
.contact-success{border:1px solid #39d596;background:rgba(26,119,82,.18);color:#aef2d2}
.contact-error{border:1px solid #e06d72;background:rgba(126,39,44,.2);color:#ffd3d5}
.contact-error ul{margin:8px 0 0;padding-left:20px}
.contact-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:900px){
  .contact-layout{grid-template-columns:1fr}
}
@media(max-width:620px){
  .contact-form-grid,.contact-option-grid{grid-template-columns:1fr}
  .contact-info-card,.contact-form-card{padding:22px}
  .contact-submit{width:100%}
}


/* TerraAqua V4.17 – Power Unit */
.power-unit-detail > img{
  width:100%;
  max-height:650px;
  object-fit:contain;
  object-position:center;
  padding:20px;
  box-sizing:border-box;
  background:
    radial-gradient(circle at 50% 40%,rgba(36,176,224,.18),transparent 58%),
    #031522;
}
.power-unit-features{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:22px 0;
}
.power-unit-features article{
  border:1px solid rgba(74,181,224,.28);
  background:rgba(4,31,48,.68);
  border-radius:14px;
  padding:16px;
}
.power-unit-features strong{
  display:block;
  color:#55dfff;
  margin-bottom:6px;
}
.power-unit-features span{
  color:#c1d7e2;
  line-height:1.5;
}
.power-unit-note{
  margin-bottom:20px;
}
@media(max-width:700px){
  .power-unit-features{grid-template-columns:1fr}
}


/* TerraAqua V4.18 – corrected Power Unit images */
.catalogue-card .catalogue-image img[src="/assets/power-strip-v436.png"]{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.power-unit-detail > img{
  width:100%;
  max-height:none;
  padding:0;
  object-fit:contain;
  object-position:center;
  display:block;
  background:#031522;
}


/* TerraAqua V4.19 – consolidated website review patch */

/* ReefCore enquiry, subscription and FAQ */
.reefcore-subscription{
  margin-top:18px;
  padding:28px;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:28px;
  border:1px solid #1b5d7a;
  border-radius:20px;
  background:linear-gradient(145deg,rgba(7,39,58,.98),rgba(3,21,34,.98));
}
.reefcore-subscription h2,.reefcore-faq h2{margin:.2em 0 .45em}
.reefcore-subscription p,.reefcore-subscription li,.reefcore-faq p{color:#bdd4df}
.reefcore-subscription ul{padding-left:20px}
.reefcore-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:start}
.reefcore-plan-grid article{
  border:1px solid #276b89;border-radius:15px;padding:18px;background:#061c2b
}
.reefcore-plan-grid article.recommended{border-color:#45d9ff;box-shadow:0 0 24px rgba(69,217,255,.12)}
.reefcore-plan-grid span,.reefcore-plan-grid strong,.reefcore-plan-grid small{display:block}
.reefcore-plan-grid span{color:#9fd9ee;font-weight:750}
.reefcore-plan-grid strong{font-size:2rem;color:#52dcff}
.reefcore-plan-grid small{color:#b8cdd8}
.reefcore-plan-grid>p{grid-column:1/-1;margin:4px 0 0;font-size:.86rem}
.reefcore-faq{
  margin-top:18px;padding:26px 28px;border:1px solid #174a64;border-radius:20px;background:#061c2b
}
.reefcore-faq details{border-top:1px solid #174a64;padding:15px 0}
.reefcore-faq details:last-child{padding-bottom:0}
.reefcore-faq summary{cursor:pointer;font-weight:800;color:#eaf8ff}
.reefcore-faq details p{margin:9px 0 0}

/* Downloads subscriptions */
.download-subscription{
  display:grid;grid-template-columns:1.25fr .75fr;gap:24px;margin:0 0 24px;padding:26px;
  border:1px solid #1e6688;border-radius:20px;background:linear-gradient(145deg,#08283b,#041923)
}
.download-subscription h2{margin:.15em 0 .35em}
.download-subscription p{color:#bad2df}
.download-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.download-plan-grid article{padding:18px;border:1px solid #2a7598;border-radius:15px;background:#041827}
.download-plan-grid span,.download-plan-grid strong,.download-plan-grid small{display:block}
.download-plan-grid strong{font-size:2rem;color:#52dcff}

/* Logged-in support */
.support-page{padding:0 0 70px}
.support-head{padding:52px 0 24px}
.support-head h1{font-size:clamp(2.3rem,5vw,4.4rem);margin:.15em 0}
.support-head p{max-width:800px;color:#b8d1df}
.support-layout{display:grid;gap:20px}
.support-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.support-choice{padding:22px;border:1px solid #1d6281;border-radius:18px;background:#061f30}
.support-choice strong,.support-choice span{display:block}
.support-choice strong{font-size:1.2rem;color:#54ddff}
.support-choice span{margin-top:7px;color:#bad2df}
.support-form-panel{padding:26px}
.support-history{padding:20px}

/* Features architecture built from exact website product assets */
.features-page{padding-bottom:72px}
.features-head{padding:54px 0 28px;text-align:center}
.features-head h1{font-size:clamp(2.8rem,6vw,5rem);line-height:1;margin:.15em 0}
.features-head h1 span{color:#47d9ff}
.features-head p{max-width:900px;margin:18px auto;color:#b8d1df;font-size:1.05rem}
.architecture-card{
  padding:30px;border:1px solid #1d6687;border-radius:24px;
  background:
    radial-gradient(circle at 50% 8%,rgba(42,181,234,.18),transparent 28%),
    linear-gradient(180deg,#061d2d,#03121d);
  overflow:hidden
}
.architecture-cloud{text-align:center;margin:auto;max-width:420px}
.cloud-shape{
  display:inline-flex;align-items:center;justify-content:center;min-width:280px;padding:24px 34px;
  border:2px solid #47d9ff;border-radius:70px 70px 35px 35px;color:#fff;font-size:1.45rem;font-weight:900;
  box-shadow:0 0 28px rgba(71,217,255,.2);background:#07283c
}
.architecture-cloud p{margin:12px 0 0;color:#d6eaf3}
.architecture-cloud small{color:#67dfff}
.architecture-link{position:relative;text-align:center;color:#54ddff;font-size:.82rem;font-weight:800}
.vertical-link{height:70px;display:flex;align-items:center;justify-content:center}
.vertical-link:before{content:"";position:absolute;top:0;bottom:0;width:2px;background:#3bd2ff}
.vertical-link span{position:relative;background:#051a28;padding:4px 10px;border-radius:999px}
.architecture-controller{max-width:780px;margin:auto;text-align:center}
.architecture-controller img{
  width:100%;max-height:420px;object-fit:cover;border-radius:20px;border:1px solid #1d6583
}
.architecture-controller strong,.architecture-controller span{display:block}
.architecture-controller strong{font-size:1.35rem;color:#51dcff;margin-top:12px}
.architecture-controller span{color:#b9d1dc}
.switch-chain{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;position:relative}
.switch-chain:before{
  content:"";position:absolute;left:16%;right:16%;top:19%;height:2px;background:#3bd2ff;z-index:0
}
.switch-node{
  position:relative;z-index:1;padding:16px;border:1px solid #1d5d79;border-radius:18px;background:#051a29;text-align:center
}
.switch-image{height:155px;display:flex;align-items:center;justify-content:center;background:#041421;border-radius:13px;overflow:hidden}
.switch-image img{width:100%;height:100%;object-fit:contain}
.switch-node>strong,.switch-node>span{display:block}
.switch-node>strong{color:#54ddff;margin-top:10px}
.switch-node>span{font-size:.78rem;color:#9dbdcd}
.device-row{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:15px}
.architecture-device{min-width:0}
.architecture-device img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:9px;border:1px solid #174a64}
.architecture-device span{display:block;font-size:.62rem;color:#c7dce7;line-height:1.2;margin-top:4px}
.tank-card{margin-top:16px;padding:12px;border:1px solid #1e6688;border-radius:13px;background:#03131f}
.tank-water{height:58px;border-radius:8px;background:
  linear-gradient(180deg,rgba(64,208,255,.35),rgba(6,58,88,.55)),
  repeating-linear-gradient(90deg,transparent 0 24px,rgba(255,255,255,.04) 24px 25px)}
.tank-card strong,.tank-card span{display:block}
.tank-card strong{color:#52dcff;margin-top:8px}
.tank-card span{font-size:.74rem;color:#a9c4d2}
.architecture-capacity{
  margin:24px auto 0;max-width:850px;text-align:center;padding:20px;border:1px solid #2c7393;border-radius:17px;background:#062235
}
.architecture-capacity strong,.architecture-capacity span{display:block}
.architecture-capacity strong{font-size:clamp(1.7rem,4vw,3rem);color:#49dbff}
.architecture-capacity span{margin-top:7px;color:#c0d5df}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}
.features-grid article{padding:21px;border:1px solid #1c5c77;border-radius:17px;background:#061c2b}
.features-grid strong,.features-grid span{display:block}
.features-grid strong{color:#53dcff}
.features-grid span{margin-top:6px;color:#b4cdd9}

/* Mobile corrections */
@media(max-width:900px){
  .reefcore-subscription,.download-subscription{grid-template-columns:1fr}
  .support-intro-grid{grid-template-columns:1fr}
  .switch-chain{grid-template-columns:1fr}
  .switch-chain:before{display:none}
  .features-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .reefcore-actions{margin-bottom:10px}
  .reefcore-buy-button{width:100%;text-align:center}
  .reefcore-hardware-warning{
    width:100%;max-width:100%;gap:10px;padding:12px;margin-top:12px;align-items:flex-start;overflow:visible
  }
  .warning-icon{width:30px;height:30px;min-width:30px;border-width:2px;border-radius:8px;font-size:1.1rem;margin-top:2px}
  .reefcore-hardware-warning>div:last-child{min-width:0;max-width:100%}
  .reefcore-hardware-warning strong{font-size:.92rem;line-height:1.25}
  .reefcore-hardware-warning span{font-size:.82rem;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
  .reefcore-buy-panel{min-width:0;overflow:visible}
  .reefcore-subscription,.reefcore-faq{padding:20px}
  .reefcore-plan-grid,.download-plan-grid{grid-template-columns:1fr}
  .features-grid{grid-template-columns:1fr}
  .architecture-card{padding:18px}
  .cloud-shape{min-width:0;width:100%;padding:20px 14px}
  .device-row{grid-template-columns:repeat(3,1fr)}
}


/* TerraAqua V4.20 – production Privacy Policy */
.legal-page{
  padding:0 0 76px;
  background:
    radial-gradient(circle at 20% 8%,rgba(35,177,225,.17),transparent 28%),
    linear-gradient(180deg,#041725,#03101a);
}
.legal-hero{
  padding:54px 0 30px;
  max-width:1080px;
}
.legal-hero h1{
  margin:.16em 0;
  font-size:clamp(2.5rem,5.8vw,4.8rem);
  line-height:1;
}
.legal-hero>p{
  max-width:850px;
  color:#b9d1de;
  font-size:1.04rem;
  line-height:1.65;
}
.legal-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:18px 0;
}
.legal-meta span{
  padding:8px 12px;
  border:1px solid #286986;
  border-radius:999px;
  color:#cce6f2;
  background:#061f30;
  font-size:.84rem;
}
.legal-layout{
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  gap:24px;
  align-items:start;
}
.legal-toc{
  position:sticky;
  top:94px;
  max-height:calc(100vh - 120px);
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:20px;
  border:1px solid #1c5e7b;
  border-radius:18px;
  background:#061d2c;
}
.legal-toc strong{
  color:#52ddff;
  margin-bottom:7px;
}
.legal-toc a{
  color:#bdd4df;
  padding:6px 8px;
  border-radius:8px;
  font-size:.83rem;
  line-height:1.3;
}
.legal-toc a:hover{
  color:#fff;
  background:#0a3148;
}
.legal-document{
  padding:30px;
  border:1px solid #1c5e7b;
  border-radius:22px;
  background:linear-gradient(145deg,rgba(7,38,58,.99),rgba(3,19,31,.99));
  box-shadow:0 24px 60px rgba(0,0,0,.25);
}
.legal-document section{
  scroll-margin-top:105px;
  padding:0 0 28px;
  margin:0 0 28px;
  border-bottom:1px solid rgba(54,139,174,.22);
}
.legal-document section:last-of-type{
  border-bottom:0;
  margin-bottom:0;
}
.legal-document h2{
  margin:0 0 13px;
  color:#f4fbff;
  font-size:1.55rem;
}
.legal-document h3{
  margin:20px 0 8px;
  color:#52ddff;
  font-size:1.04rem;
}
.legal-document p,
.legal-document li,
.legal-document address{
  color:#c0d5df;
  line-height:1.7;
}
.legal-document ul{
  padding-left:22px;
}
.legal-document li{
  margin:5px 0;
}
.legal-document address{
  padding:14px 16px;
  border-left:3px solid #45d9ff;
  background:#041827;
  font-style:normal;
  border-radius:0 12px 12px 0;
}
.legal-document a{
  color:#58ddff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.legal-review-note{
  margin-top:28px;
  padding:16px 18px;
  border:1px solid #2c7493;
  border-radius:14px;
  background:#062437;
  color:#bdd7e3;
  font-size:.86rem;
  line-height:1.55;
}
@media(max-width:900px){
  .legal-layout{
    grid-template-columns:1fr;
  }
  .legal-toc{
    position:static;
    max-height:none;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .legal-toc strong{
    grid-column:1/-1;
  }
}
@media(max-width:600px){
  .legal-hero{
    padding-top:34px;
  }
  .legal-layout{
    gap:16px;
  }
  .legal-toc{
    grid-template-columns:1fr;
    padding:16px;
  }
  .legal-document{
    padding:20px;
    border-radius:18px;
  }
  .legal-document h2{
    font-size:1.3rem;
  }
}


/* TerraAqua V4.28 — website-wide legal integration */
.main-nav a[href="/legal/"]{
  color:#7ce7d3;
}
.footer-grid-legal{
  grid-template-columns:1.35fr repeat(4,minmax(135px,1fr));
  gap:28px;
}
.footer-grid-legal>div{
  min-width:0;
}
.footer-grid-legal>div>strong{
  display:block;
  margin-bottom:11px;
  color:#f2fbff;
}
.footer-grid-legal>div>a{
  display:block;
  margin:7px 0;
  color:#b8d1dc;
  line-height:1.35;
}
.footer-grid-legal>div>a:hover,
.footer-grid-legal>div>a:focus{
  color:#5cddff;
}
.footer-email{
  color:#66dff1!important;
  overflow-wrap:anywhere;
}
.footer-bottom-legal{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer-bottom-legal a{
  color:#9fddea;
}
.legal-context-links{
  margin:18px 0 0;
  padding:15px 17px;
  border:1px solid rgba(83,220,255,.28);
  border-radius:13px;
  background:rgba(4,24,39,.72);
  color:#bcd4df;
  font-size:.88rem;
  line-height:1.55;
}
.legal-context-links strong{
  color:#ecfbff;
}
.legal-context-links a{
  color:#61dcf5;
  text-decoration:none;
}
.legal-context-links a:hover,
.legal-context-links a:focus{
  text-decoration:underline;
}
.product-detail-copy .legal-context-links{
  margin-top:16px;
}
.download-legal-links{
  margin:22px 0 0;
}
@media(max-width:1050px){
  .footer-grid-legal{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .footer-about{
    grid-column:1/-1;
  }
}
@media(max-width:700px){
  .footer-grid-legal{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px 18px;
  }
}
@media(max-width:460px){
  .footer-grid-legal{
    grid-template-columns:1fr;
  }
  .footer-bottom-legal{
    display:block;
  }
  .footer-bottom-legal span+span{
    display:block;
    margin-top:8px;
  }
}
