﻿/* THEME */
:root{
  --bg: #0b0e14;
  --fg: #e8edf2;
  --muted: #a7b1bd;
  --card: rgba(255,255,255,0.06);
  --outline: rgba(255,255,255,0.14);
  --glass: rgba(255,255,255,0.08);
  --accent: #4f8cff;
  --accent-2: #0ea5e9;
  --ok: #22c55e;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 18px;
}

@media (prefers-color-scheme: light){
  :root{
    --bg:#f6f8fb; --fg:#0c1222; --muted:#4a5568;
    --card:rgba(0,0,0,0.04); --outline:rgba(0,0,0,0.08);
    --glass:rgba(255,255,255,0.7); --shadow:0 10px 30px rgba(0,0,0,0.06);
  }
}

*{ box-sizing:border-box }
html,body{ height:100% }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color:var(--fg);
  background: radial-gradient(1200px 800px at 10% 10%, #0b1630 0%, var(--bg) 35%) no-repeat,
              radial-gradient(1200px 900px at 90% 90%, #101b38 0%, var(--bg) 35%) no-repeat,
              var(--bg);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}

/* subtle animated hue shift */
@keyframes hue {
  0%{ filter:hue-rotate(0deg) }
  50%{ filter:hue-rotate(12deg) }
  100%{ filter:hue-rotate(0deg) }
}
body:not(.reduce-motion) .bg{ animation:hue 40s linear infinite }

/* BACKGROUND BLOBS */
.bg{ position:fixed; inset:0; overflow:hidden; pointer-events:none; z-index:-1 }
.blob{
  position:absolute; width:40vmax; height:40vmax; filter:blur(60px);
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 60%);
  opacity:.25; border-radius:50%;
  animation: float 28s ease-in-out infinite;
}
.blob.b1{ top:-10vmax; left:-10vmax }
.blob.b2{ bottom:-12vmax; right:-8vmax; animation-duration:34s; background: radial-gradient(circle at 70% 60%, var(--accent-2), transparent 60%) }
.blob.b3{ top:40%; left:55%; animation-duration:40s; opacity:.18 }
@keyframes float{
  0%{ transform:translate(0,0) scale(1) }
  50%{ transform:translate(-6%,4%) scale(1.08) }
  100%{ transform:translate(0,0) scale(1) }
}
.reduce-motion .blob{ animation:none }

/* LAYOUT */
.container{ max-width:1100px; margin:0 auto; padding:56px 20px 28px }
.card{
  background: linear-gradient(180deg, var(--glass), rgba(255,255,255,0.02));
  border:1px solid var(--outline);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  backdrop-filter: blur(10px);
}

/* HEADER */
.header{ padding:28px 28px 22px; text-align:center }
.brand{ display:grid; gap:6px; place-items:center }
.wordmark{
  font-weight:800; font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  letter-spacing:.2px;
}
.domain{
  margin:0; font-size: clamp(1.9rem, 3vw + 1rem, 3rem);
  font-weight:800; color:var(--fg);
}
.tagline{ margin:10px 0 0; color:var(--muted) }
.logo-img{ height:100px; width:auto; display:block; margin: 0 auto 12px } /* if you use the SVG */

/* LINKS GRID */
.links-grid{
  display:grid; grid-template-columns:1fr; gap:18px; margin:22px 0;
}
@media (min-width:720px){ .links-grid{ grid-template-columns:1fr 1fr } }

.tile{
  position:relative; padding:22px; text-decoration:none; color:inherit;
  border:1px solid var(--outline); overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tile:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 22px 44px rgba(0,0,0,0.35);
}
.tile::before{
  content:""; position:absolute; inset:-1px;
  background: radial-gradient(600px 200px at 0% 0%, rgba(79,140,255,0.12), transparent 70%);
  opacity:0; transition:opacity .25s ease;
  pointer-events: none;
}
.tile:hover::before{ opacity:1 }

.tile-top{ text-align:left }
.tile-icon{ font-size:28px; line-height:1; margin-bottom:6px }
.tile h2{ margin:6px 0 6px; font-size:1.25rem }
.tile p{ margin:0 0 18px; color:var(--muted) }

/* BIG CENTER BUTTON */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:12px 18px; border-radius:14px;
  font-weight:700; color:#fff; letter-spacing:.2px; user-select:none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.tile .btn{ margin-top:6px }
.glow{
  box-shadow: 0 0 0 rgba(79,140,255,0), inset 0 0 0 rgba(255,255,255,0.1);
}
.tile:hover .glow{
  filter:brightness(1.05);
  box-shadow: 0 12px 28px rgba(79,140,255,0.35),
              0 6px 16px rgba(14,165,233,0.25);
  transform: translateY(-1px);
}
.tile:focus-visible, .btn:focus-visible{
  outline:2px solid var(--accent-2); outline-offset:3px;
}

/* BADGES */
.badges{ padding:18px; margin-top:6px }
.badges{
  display:grid; gap:14px;
  grid-template-columns: 1fr;
}
@media (min-width:900px){
  .badges{ grid-template-columns: repeat(3, 1fr) }
}
.badge{
  display:flex; gap:12px; align-items:center;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border:1px solid var(--outline); border-radius:14px; padding:14px 16px;
}
.badge-icon{ font-size:20px }
.badge h3{ margin:0 0 4px; font-size:1rem }
.badge p{ margin:0; color:var(--muted) }
.ok    { color: #22c55e; font-weight:700; }   /* green */
.warn  { color: #eab308; font-weight:700; }   /* amber */
.bad   { color: #ef4444; font-weight:700; }   /* red */


/* FOOTER */
.footer{ text-align:center; color:var(--muted); margin:24px 0 8px; font-size:.95rem }
a{ color:var(--fg) } a:hover{ color:#fff }

/* Contact form inside tile */
.contact-tile {
  grid-column: 1 / -1;  /* makes it stretch full width under the 2 tiles */
}

.contact-form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--outline);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--fg);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

