/*
Theme Name: Tributor AI
Theme URI: https://example.com/tributor-ai
Author: ChatGPT
Author URI: https://example.com
Description: Tema WordPress moderno e accattivante per Tributor AI: landing + pagina bot + chi siamo. Stile glassmorphism, gradienti e micro-animazioni.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tributor-ai
Tags: one-column, custom-background, custom-logo, featured-images, block-styles, wide-blocks
*/

:root{
  --bg0:#050816;
  --bg1:#0a1030;
  --c1:#00d4ff;
  --c2:#7c3aed;
  --c3:#22c55e;
  --tx:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --glass:rgba(255,255,255,.08);
  --stroke:rgba(255,255,255,.14);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius:22px;
  --radius2:28px;
  --max:1180px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; font-family:var(--font); color:var(--tx);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(124,58,237,.35), transparent 55%),
    radial-gradient(900px 600px at 80% 20%, rgba(0,212,255,.28), transparent 52%),
    radial-gradient(800px 600px at 50% 90%, rgba(34,197,94,.18), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height:100vh;
}
a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto}
.container{max-width:var(--max); margin:0 auto; padding:0 22px}
::selection{background:rgba(0,212,255,.25)}

/* Top bar */
.site-header{
  position:sticky; top:0; z-index:40;
  background:rgba(5,8,22,.55);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:800; letter-spacing:.2px;
}
.brand-badge{
  width:40px; height:40px; border-radius:14px;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(0,212,255,.75), rgba(124,58,237,.35)),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.20);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  display:grid; place-items:center;
  overflow:hidden;
}
.brand-badge img{width:100%; height:100%; object-fit:cover; transform:scale(1.08)}
.navlinks{display:flex; gap:18px; align-items:center}
.navlinks a{
  padding:10px 12px; border-radius:14px; color:var(--muted);
  transition: all .22s ease;
}
.navlinks a:hover{color:var(--tx); background:rgba(255,255,255,.06); transform:translateY(-1px)}
.nav-cta{display:flex; gap:10px; align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  color:var(--tx);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor:pointer;
}
.btn:hover{transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.45); border-color: rgba(255,255,255,.24)}
.btn-primary{
  background:
    radial-gradient(90% 160% at 20% 10%, rgba(0,212,255,.45), rgba(124,58,237,.35)),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  border-color: rgba(0,212,255,.25);
}
.btn-primary:hover{border-color: rgba(0,212,255,.42)}
.btn-ghost{
  background:transparent;
  box-shadow:none;
}

/* Hero */
.hero{ padding:64px 0 42px; position:relative; }
.hero-grid{
  display:grid; grid-template-columns: 1.15fr .85fr;
  gap:30px; align-items:center;
}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px; border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted); font-size:14px;
}
.kicker .dot{
  width:10px; height:10px; border-radius:999px;
  background: radial-gradient(circle at 30% 30%, var(--c1), var(--c2));
  box-shadow:0 0 0 6px rgba(0,212,255,.08);
}
.h1{
  margin:18px 0 12px;
  font-size: clamp(36px, 4vw, 54px);
  line-height:1.05;
  letter-spacing:-.7px;
  font-weight:900;
}
.grad{
  background: linear-gradient(90deg, var(--c1), #60a5fa, var(--c2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  margin: 0 0 20px;
  font-size: 18px;
  color:var(--muted);
  line-height:1.65;
  max-width: 58ch;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:10px}
.hero-card{
  border-radius: var(--radius2);
  background:
    radial-gradient(140% 140% at 10% 10%, rgba(0,212,255,.18), transparent 55%),
    radial-gradient(120% 120% at 90% 10%, rgba(124,58,237,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
  padding:22px;
}
.avatar-wrap{ display:grid; place-items:center; padding:16px; }
.avatar{
  width:min(330px, 100%);
  aspect-ratio: 1/1;
  border-radius: 28px;
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  overflow:hidden;
  position:relative;
}
.avatar img{width:100%; height:100%; object-fit:cover; transform: translateZ(0)}
.avatar:after{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(500px 220px at 30% 20%, rgba(0,212,255,.18), transparent 55%);
  pointer-events:none;
}
.pill-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.pill{
  font-size:13px; color:var(--muted);
  padding:8px 10px; border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}

/* Sections */
.section{padding:26px 0 54px}
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px;}
.card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
  padding:18px 18px 16px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.card:hover{transform: translateY(-3px); background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.18)}
.card h3{margin:10px 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted); line-height:1.6}
.icon{
  width:44px; height:44px; border-radius:16px;
  background: radial-gradient(70% 70% at 25% 25%, rgba(0,212,255,.35), rgba(124,58,237,.20));
  border:1px solid rgba(255,255,255,.16);
  display:grid; place-items:center;
  font-weight:900;
}

/* Bot Page */
.bot-shell{
  margin-top: 22px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.bot-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background:rgba(5,8,22,.35);
  backdrop-filter: blur(12px);
}
.bot-title{display:flex; gap:10px; align-items:center; font-weight:800}
.bot-frame{min-height: 72vh; background: rgba(0,0,0,.25);}
.bot-placeholder{display:grid; place-items:center; min-height: 72vh; padding:24px; text-align:center;}
.bot-placeholder p{color:var(--muted); max-width:64ch; line-height:1.7}
.code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  color: rgba(234,240,255,.8);
  background: rgba(0,0,0,.25);
  border:1px dashed rgba(255,255,255,.20);
  padding:10px 12px;
  border-radius:14px;
  text-align:left;
  overflow:auto;
  max-width: 860px;
}

/* Content */
.page-title{
  font-size: clamp(28px, 3vw, 40px);
  margin: 26px 0 10px;
  font-weight:900;
  letter-spacing:-.5px;
}
.content{color: var(--muted); line-height: 1.8; font-size: 16px;}
.content h2,.content h3{color:var(--tx)}
.content a{color: #93c5fd; text-decoration: underline; text-underline-offset: 3px}

/* Footer */
.site-footer{
  margin-top: 46px;
  padding: 26px 0 34px;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(5,8,22,.35);
  backdrop-filter: blur(12px);
}
.footer-grid{display:flex; justify-content:space-between; align-items:flex-start; gap:18px; flex-wrap:wrap; color: var(--muted);}
.footer-grid strong{color:var(--tx)}
.small{font-size:13px}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr;}
  .grid3{grid-template-columns: 1fr;}
  .navlinks{display:none}
}
