:root{
    --bg:#0f1724; /* deep slate */
    --card:#0b1220;
    --accent:#6ee7b7;
    --muted:#9aa7b2;
    --glass: rgba(255,255,255,0.04);
    --max-width:1200px;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;}
body{
    margin:0;
    background:linear-gradient(180deg,#071029 0%, #071b2a 100%);
    color:#e6f0f2;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.45;
}
a{color:var(--accent); text-decoration:none}
.container{
    max-width:var(--max-width);
    margin:0 auto;
}

/* Header */
header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:18px 20px;
    background:transparent;
    position:sticky;
    top:0;
    z-index:40;
    backdrop-filter: blur(6px);
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: url('/img/Logo_44x44.png') center/cover no-repeat;
    box-shadow: 0 6px 18px rgba(7,21,32,0.6);
}

nav{
    display:flex;
    gap:16px;
    align-items:center;
}

.btn-ghost{
    background:transparent;
    border:1px solid rgba(255,255,255,0.06);
    padding:8px 12px;
    border-radius:8px;
    color:var(--muted);
}

.btn-primary{
    background:linear-gradient(90deg,var(--accent),#4dd3ff);
    color:#042b25;
    border:none;
    padding:10px 16px;
    border-radius:10px;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 8px 30px rgba(42,122,107,0.12);
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Hamburger base */
.menu-icon {
  position: relative;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 50;
  display: none; /* mobile only */
}

/* Bars */
.menu-icon::before,
.menu-icon::after,
.menu-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-icon::before {
  top: 0;
}
.menu-icon span {
  top: 9px;
}
.menu-icon::after {
  bottom: 0;
}

/* Animate into X */
#menu-toggle:checked + .menu-icon::before {
  transform: rotate(45deg);
  top: 9px;
}

#menu-toggle:checked + .menu-icon::after {
  transform: rotate(-45deg);
  bottom: 9px;
}

#menu-toggle:checked + .menu-icon span {
  opacity: 0;
}

/* Mobile layout */
@media (max-width: 980px) {
  .menu-icon {
    display: block;
  }

  nav {
    position: absolute;
    top: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    background-color: var(--card);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  /* Show menu when checked */
  #menu-toggle:checked + .menu-icon + nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav a, nav button {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
  }
}

/* Hero */
.hero{
    display:grid;
    grid-template-columns:1fr 520px;
    gap:36px;
    align-items:center;
    padding:48px 0;
}
.hero-left h1{
    margin:0 0 12px 0;
    font-size:clamp(28px,5vw,44px);
    line-height:1.02;
}
.hero-left p{color:var(--muted);margin:0 0 20px 0;font-size:1.05rem}
.features-inline{display:flex;gap:12px;flex-wrap:wrap}
.chip{background:var(--glass);padding:8px 12px;border-radius:999px;font-weight:600;color:var(--muted);font-size:0.95rem;border:1px solid rgba(255,255,255,0.03)}

.video-wrap{
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius:16px; padding:6px; box-shadow:0 8px 30px rgba(2,6,23,0.6);
}
.video-wrap iframe, .video-wrap video{
    width:100%; height:320px; border-radius:12px; display:block;
}

.image-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sections */
section{padding:40px 0;border-top:1px solid rgba(255,255,255,0.02)}
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  grid-template-rows: repeat(2, auto);   /* 2 rows */
  gap: 20px;
}
/* Stack on screens smaller than 600px */
@media (max-width: 600px) {
  .grid-2x2 {
    grid-template-columns: 1fr; /* single column */
  }
  .card.disabled {
    display: none;
  }
}
.card{
    background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
    padding:20px;border-radius:12px;border:1px solid rgba(255,255,255,0.03);
}
.card h3{margin:0 0 8px 0}
.muted{color:var(--muted)}

/* Pricing */
.pricing{display:flex;gap:18px;flex-wrap:wrap}
.price-card{flex:1;min-width:240px;padding:22px;border-radius:12px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));border:1px solid rgba(255,255,255,0.03)}
.price-card .price{font-size:28px;font-weight:800;color:var(--accent);margin:8px 0}
.badge{display:inline-block;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,0.03);font-weight:700;color:var(--muted);font-size:0.82rem}

.cta-row{display:flex;gap:12px;align-items:center;margin-top:18px}
.secondary{background:transparent;border:1px solid rgba(255,255,255,0.06);padding:10px 12px;border-radius:10px;color:var(--muted)}

/* Footer */
footer{padding:28px 0;color:var(--muted);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}

/* Modal */
.modal-backdrop{position:fixed;inset:0;background:rgba(2,6,23,0.6);display:none;align-items:center;justify-content:center;z-index:80}
.modal{background:#071b26;padding:20px;border-radius:12px;width:min(520px,95%);border:1px solid rgba(255,255,255,0.04)}
.modal h2{margin:0 0 8px 0}
.form-row{display:flex;flex-direction:column;margin-bottom:12px}
label{font-size:0.88rem;color:var(--muted);margin-bottom:6px}
input,select,textarea{
    margin-bottom:1em;padding:10px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--muted)
}
/* .modal .actions{display:flex;gap:1em;justify-content:flex-start;margin-top:1em} */

/* responsive */
@media (max-width:980px){
    .hero{grid-template-columns:1fr; padding-bottom:10px}
    .video-wrap iframe, .video-wrap video{height:220px}
    .grid-3{grid-template-columns:repeat(1,1fr)}
}

/* LIGHT MODE */

:root{
    --bg:#f5f6f8;           /* light gray background */
    --card:#ffffff;          /* white cards */
    --accent:#1e3a8a;       /* navy blue accent */
    --accent-light:#3b82f6; /* steel blue for gradients / hover */
    --muted:#4b5563;         /* dark gray text */
    --glass: rgba(255,255,255,0.7); /* subtle translucent effect */
    --border:#e5e7eb;        /* light border for cards */
    --max-width:1200px;
    font-family: "Lato", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Body background & text */
body{
    margin:0;
    background:var(--bg);
    color:#111827; /* dark text for readability */
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.45;
}

/* Cards */
.card, .price-card, .modal{
    background:var(--card);
    border:1px solid var(--border);
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

.card.disabled,
.price-card.disabled,
.modal.disabled {
    background: var(--card);
    border: 1px solid var(--border);
    opacity: 0.5;
    filter: grayscale(40%);
    pointer-events: none;
}

/* Buttons */
.btn-primary{
    background:linear-gradient(90deg,var(--accent),var(--accent-light));
    color:#ffffff;
    border:none;
    padding:10px 16px;
    border-radius:10px;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 6px 20px rgba(30,58,138,0.2);
    transition: background 0.4s ease;
}
.btn-primary:hover{
    background:linear-gradient(90deg,var(--accent-light),var(--accent));
}

.btn-primary:disabled,
.btn-primary[disabled] {
    background: linear-gradient(90deg, #b4b4b4, #d4d4d4);
    color: #f2f2f2;
    cursor: default;
    box-shadow: none;
    opacity: 0.8;
}

.btn-primary:disabled:hover,
.btn-primary[disabled]:hover {
    background: linear-gradient(90deg, #b4b4b4, #d4d4d4);
}

/* Muted text */
.muted{color:var(--muted)}

/* Badge */
.badge{
    display:inline-block;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(0,0,0,0.03);
    font-weight:700;
    color:var(--muted);
    font-size:0.82rem;
}

/* Secondary buttons */
.secondary{
    background:transparent;
    border:1px solid rgba(75,85,99,0.3);
    padding:10px 12px;
    border-radius:10px;
    color:var(--muted);
}
.secondary:hover{
    border-color:var(--accent);
    color:var(--accent);
}

/* Price text */
.price-card .price{
    color:var(--accent);
}

/* Hero heading */
.hero-left h1{
    color:#111827; /* dark heading */
}

/* Chips/features */
.chip{
    background: var(--glass);
    color:var(--muted);
    border:1px solid rgba(0,0,0,0.05);
}
