@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root{
  --bg:#0f1114;
  --panel:#131419;
  --muted:#9aa0a6;
  --text:#e6eef6;
  --accent:#7b3fe4;
  --accent-2:#ff7aa2;
  --radius:14px;
  --shadow: 0 6px 30px rgba(0,0,0,0.6);
  --glass: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  --input-bg:#0f1216;
  --input-border:#21252b;
  --focus: rgba(123,63,228,0.14);
  --max-width: 1000px;
}

/* Reset & basics */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  padding:24px;
}

/* Page container */
.container{
  max-width:var(--max-width);
  margin:24px auto;
  padding:28px;
  background:var(--panel);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,0.02);
}

/* Header / Nav */
.header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}
.brand {
  display:flex;
  gap:14px;
  align-items:center;
}
.logo {
  width:44px;
  height:44px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  display:inline-block;
  box-shadow: 0 6px 18px rgba(123,63,228,0.12), inset 0 -6px 16px rgba(255,122,162,0.04);
}
.title {
  display:flex;
  flex-direction:column;
}
.title h1{
  margin:0;
  font-size:1.25rem;
  font-weight:700;
  color:var(--text);
  letter-spacing:-0.2px;
}
.title p{
  margin:0;
  font-size:0.9rem;
  color:var(--muted);
}

/* Nav links */
nav#nav {
  display:flex;
  gap:18px;
  align-items:center;
}
nav#nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  padding:6px 8px;
  border-radius:8px;
  transition:all .15s ease;
}
nav#nav a:hover{
  color:var(--text);
  background:rgba(255,255,255,0.02);
  box-shadow:0 2px 8px rgba(0,0,0,0.4);
}

/* Hero */
.hero {
  display:flex;
  gap:28px;
  align-items:flex-start;
  margin-bottom:22px;
  flex-wrap:wrap;
}
.hero .copy{flex:1;min-width:260px}
.hero h2{
  margin:0 0 8px 0;
  color:var(--accent);
  font-size:1.15rem;
}
.hero p{color:var(--muted);margin:0}

/* Sections */
section{margin-bottom:22px}
h3{
  margin:0 0 10px 0;
  color:var(--accent-2);
  font-size:1rem;
}
h4{
  margin:12px 0 6px 0;color:var(--accent);
}

/* Features grid & cards */
.features{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}
.card{
  background:var(--glass);
  border-radius:12px;
  padding:14px;
  border:1px solid rgba(255,255,255,0.02);
  min-height:120px;
}
.card .icon{
  width:44px;height:44px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.02);margin-bottom:8px;
}
.card strong{display:block;margin-bottom:6px;color:var(--text)}
.card p{margin:0;color:var(--muted);font-size:0.95rem}

/* Lists */
ul{padding-left:18px;margin:8px 0}
li{margin:6px 0;color:var(--muted)}

/* Forms / newsletter */
.newsletter{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  padding:14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.02);
}
.newsletter .info{flex:1}
.newsletter label{display:block;color:var(--muted);font-weight:600;margin-bottom:8px}
.newsletter input[type="email"]{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--input-border);
  background:var(--input-bg);
  color:var(--text);
  outline:none;
  box-shadow:none;
}
.newsletter input[type="email"]:focus{box-shadow:0 0 0 6px var(--focus)}
.newsletter button{
  background:linear-gradient(180deg,var(--accent),var(--accent-2));
  color:#fff;border:0;padding:10px 14px;border-radius:10px;font-weight:700;cursor:pointer;
}
.newsletter button:hover{opacity:0.95;transform:translateY(-1px)}

/* Footer */
.footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  color:var(--muted);
  font-size:0.95rem;
  margin-top:6px;
  border-top:1px solid rgba(255,255,255,0.02);
  padding-top:14px;
}

/* Cookie Consent Banner & Modal */
.cookie-consent{
  position:fixed;
  left:20px;
  right:20px;
  bottom:20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.03);
  padding:16px;
  border-radius:12px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  z-index:1200;
  box-shadow:0 10px 40px rgba(0,0,0,0.6);
}
.cookie-consent .cc-text{flex:1;color:var(--muted);font-size:0.95rem}
.cookie-consent .cc-actions{display:flex;gap:8px;align-items:center}
.cookie-btn{
  padding:8px 12px;border-radius:10px;border:0;cursor:pointer;font-weight:700;
}
.cookie-btn.primary{background:linear-gradient(180deg,var(--accent),var(--accent-2));color:#fff}
.cookie-btn.ghost{background:transparent;border:1px solid rgba(255,255,255,0.04);color:var(--text)}
.cookie-link{color:var(--accent-2);text-decoration:underline}

/* Modal / Preferences */
.cookie-modal{
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(820px,calc(100% - 40px));
  background:var(--panel);
  border-radius:12px;
  padding:20px;
  box-shadow:0 20px 60px rgba(0,0,0,0.6);
  z-index:1300;
  border:1px solid rgba(255,255,255,0.02);
}
.cookie-modal h4{margin:0 0 10px 0;color:var(--accent)}
.cookie-modal .prefs{display:grid;gap:12px;margin-top:12px}
.cookie-modal .pref-row{display:flex;justify-content:space-between;align-items:center;padding:12px;border-radius:8px;background:rgba(255,255,255,0.01)}
.cookie-modal .pref-row p{margin:0;color:var(--muted)}
.cookie-modal .modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}

/* overlay */
.cookie-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:1250;
}

/* utilities */
.hidden{display:none !important}

/* responsive */
@media (max-width:540px){
  .cookie-consent{flex-direction:column;left:12px;right:12px;bottom:12px}
  .cookie-consent .cc-actions{width:100%;justify-content:space-between}
  .cookie-consent .cc-actions .cookie-btn{flex:1}
  .cookie-modal{padding:16px}
}

@media (max-width:820px){
  .hero{flex-direction:column}
  nav#nav{flex-wrap:wrap}
  .newsletter{flex-direction:column}
}