:root{
  /* Dark theme base */
  --bg:#0b1020;
  --text:#eef3ff;
  --muted:#a8b3cc;
  --border:rgba(255,255,255,.10);
  --card:rgba(255,255,255,.06);

  /* Accent (keep Waterlogic-ish blue) */
  --accent:#0a67ff;
  --accent2:#02b3ff;
  --accentDark:#6aa7ff;

  --radius:18px;
  --shadow:0 14px 40px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(1000px 520px at 15% 0%, rgba(2,179,255,.18), transparent 60%),
    radial-gradient(900px 520px at 85% 0%, rgba(10,103,255,.16), transparent 60%),
    var(--bg);
}

/* Links */
a{color:inherit;text-decoration:none}
a:hover{color:var(--accentDark)}

/* Layout */
.container{width:min(1120px, calc(100% - 40px)); margin:0 auto}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,16,32,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; gap:16px;
}

.brand{display:flex; align-items:center; gap:10px}
.brand-mark{
  width:34px;height:34px;border-radius:12px;
  background: radial-gradient(circle at 30% 30%, var(--accent2), var(--accent));
  box-shadow:0 12px 26px rgba(10,103,255,.22);
}
.brand-name{font-weight:800; letter-spacing:.2px}

.nav{display:flex; gap:16px}
.nav a{
  color: rgba(238,243,255,.78);
  font-weight:650;
}
.nav a:hover{color:var(--text)}
@media(max-width:900px){ .nav{display:none} }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:999px;
  border:1px solid var(--border);
  font-weight:800;
  background: rgba(255,255,255,.04);
  color: var(--text);
}
.btn:hover{background: rgba(255,255,255,.06)}

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#081021;
  border:none;
  box-shadow:0 18px 40px rgba(10,103,255,.22);
}
.btn-primary:hover{
  /* brighten background and ensure white text for better contrast */
  filter:brightness(1.12);
  color:#fff !important;
  text-shadow:none;
}
/* Hero */
.hero{
  padding:56px 0 18px;
  background:
    radial-gradient(900px 380px at 10% 0%, rgba(2,179,255,.16), transparent 60%),
    radial-gradient(900px 380px at 90% 0%, rgba(10,103,255,.14), transparent 60%);
}

/* Type */
.kicker{
  color: rgba(106,167,255,.95);
  font-weight:900;
  letter-spacing:.6px;
  text-transform:uppercase;
  font-size:12px
}
.h1{font-size:clamp(30px, 4.6vw, 48px); line-height:1.05; margin:10px 0}
.lead{color:var(--muted); font-size:18px; line-height:1.5; margin:0}
.section{padding:26px 0 60px}
.section-title{font-size:22px; margin:0 0 14px}
.muted{color:var(--muted)}

/* Grid */
.grid{display:grid; gap:18px}
.grid-3{grid-template-columns:repeat(3, minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2, minmax(0,1fr))}
@media(max-width:900px){ .grid-2,.grid-3{grid-template-columns:1fr} }

/* Cards */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
  transition: all 0.3s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(10,103,255,.28);
}

/* Product card with background image */
.card-product{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-color: rgba(255,255,255,.04);
  padding: 0;
}

.card-overlay{
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(11,16,32,.12) 0%, rgba(11,16,32,.5) 40%, rgba(11,16,32,.85) 100%);
  z-index: 1;
}

.card-content{
  position: relative;
  z-index: 2;
  padding: 18px;
}

/* Inputs */
.input, textarea, select{
  width:100%;
  padding:12px;
  border:1px solid var(--border);
  border-radius:12px;
  font: inherit;
  background: rgba(255,255,255,.04);
  color: var(--text);
  -webkit-appearance: none; /* remove native arrow on some platforms */
  appearance: none;
}

/* Dropdown arrow hack: add a custom arrow using background-image */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 6 6-6' fill='none' stroke='%23eef3ff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* options inside the dropdown should match the dark theme */
select option {
  background: var(--bg);
  color: var(--text);
}
select option:hover,
select option:focus {
  background: var(--accent);
  color: #081021;
}

textarea{resize:vertical}
label{display:grid; gap:6px}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: rgba(255,255,255,.03);
}
.footer-inner{display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap}
.footer-title{font-weight:900}

/* form status messages */
.form-status.success{color:#5cb85c;}
.form-status.error{color:#d9534f;}

/* Carousel */
.carousel{
  position:relative;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  aspect-ratio:16/9;
}

.carousel-track{
  display:flex;
  height:100%;
  transition:transform 0.6s ease-in-out;
}

.carousel-slide{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:100%;
  height:100%;
  background: rgba(255,255,255,.02);
}

.carousel-slide img{
  max-width:90%;
  max-height:90%;
  object-fit:contain;
}

.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:10;
  background:rgba(255,255,255,.08);
  border:1px solid var(--border);
  color: var(--accent);
  width:44px;
  height:44px;
  border-radius:999px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  font-weight:bold;
  transition: all 0.3s ease;
}

.carousel-btn:hover{
  background:rgba(255,255,255,.12);
  color: var(--accent2);
  transform:translateY(-50%) scale(1.1);
}

.carousel-prev{left:16px}
.carousel-next{right:16px}

.carousel-dots{
  position:absolute;
  bottom:16px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:10;
}

.carousel-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid var(--accent);
  background:transparent;
  cursor:pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active{
  background:var(--accent);
  box-shadow: 0 0 16px rgba(10,103,255,.45);
}

.carousel-dot:hover{
  background:var(--accent);
}

/* Feature strip (three-column product categories with curved accents) */
.feature-strip{
  position:relative;
  padding:56px 0 120px; /* increased bottom padding so cards sit above the bottom curve */
  overflow:hidden; /* keep decorative curves inside the strip */
  background: transparent;
}

.feature-strip .grid{align-items:stretch}

/* ensure content sits above the decorative curves */
.feature-strip > .container{ position:relative; z-index:3 }

.feature-card{
  position:relative;
  display:block;
  min-height:340px; /* reduced so card bottoms align with the curve */
  border-radius:16px;
  overflow:hidden;
  background-size:cover;
  background-position: center top; /* align image toward top to match curve band */
  text-decoration:none;
  color:var(--text);
  padding-top:10px;
}

.feature-overlay{
  position:absolute; inset:0;
  /* subtle darkening to keep text readable without overwhelming the image */
  background: linear-gradient(180deg, rgba(3,24,40,.12) 0%, rgba(3,24,40,.28) 45%, rgba(3,24,40,.48) 100%);
  z-index:2; /* keep above curves but behind inner content */
  pointer-events:none;
}

.feature-inner{
  position:relative; z-index:2;
  padding:36px 24px;
  text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:12px; justify-content:flex-end; height:100%;
}

.feature-icon{ width:64px; height:64px; display:flex; align-items:center; justify-content:center; border-radius:999px; background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); box-shadow:0 10px 30px rgba(0,0,0,.25); }
.feature-title{ font-weight:900; font-size:20px }
.feature-text{ color:var(--muted); font-size:15px; max-width:320px }

.feature-curve-top,
.feature-curve-bottom{
  position:absolute; left:-5%; right:-5%; height:90px; z-index:0; border-radius:50%; transform:scaleX(1.05);
  /* use a very subtle blue wash similar to the header corner gradient */
  background: linear-gradient(120deg, rgba(10,103,255,0.12), rgba(2,179,255,0.07));
  box-shadow: none;
  opacity: 0.85;
  pointer-events:none;
}
.feature-curve-top{ top:-28px }
.feature-curve-bottom{ bottom: 28px; transform: scaleX(1.05) rotate(180deg) }

@media(max-width:900px){
  .feature-inner{padding:20px}
  .feature-card{min-height:240px}
}