@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variables ── */
:root {
  --color-brand:   #1E40AF;
  --color-accent:  #26a3b4;
  --color-text:    #202124;
  --color-bg:      #ffffff;
  --color-muted:   #5f6368;
  --color-border:  #dadce0;
  --color-success: #34a853;
  --color-error:   #ea4335;
  --color-warning: #fbbc04;
  --font-base:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono:     'Cascadia Code', Consolas, monospace;
  --max-width:     1200px;
  --radius:        12px;
  --radius-sm:     6px;
  --shadow:        0 1px 3px rgba(0,0,0,.12);
  --shadow-lg:     0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --transition:    0.2s ease;
  
  --vt-blue-deep: #1A365D;
  --vt-blue: #1E40AF;
  --vt-cyan: #26a3b4;
  --vt-grey-50: #F8FAFC;
  --vt-grey-600: #475569;
  --vt-grey-800: #1E293B;
  --vt-white: #FFFFFF;
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base); color: var(--color-text);
  background: var(--color-bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.text-center { text-align: center; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
h1 { font-size: 3rem; } h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; } h4 { font-size: 1.25rem; }
.text-muted { color: var(--color-muted); }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: .85rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; cursor: pointer; border: none;
  font-size: 1rem; transition: all var(--transition);
}
.btn:hover { transform: translateY(-1px); opacity: 0.9; text-decoration: none; }
.btn-primary { background: var(--color-brand); color: #fff; }
.btn-secondary { background: transparent; color: var(--color-brand); border: 1px solid var(--color-brand); }
.btn-accent { background: var(--color-accent); color: #fff; }

/* ── Navigation ── */
.site-header { background: #fff; border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 100; }
.site-header nav ul { list-style: none; display: flex; gap: 2rem; }
.site-header nav a { color: var(--color-text); font-weight: 500; font-size: 0.95rem; }
.site-header nav a:hover { color: var(--color-brand); text-decoration: none; }

/* ── NEW REDESIGN CLASSES ── */

.vt-hero-new {
  position: relative;
  background: linear-gradient(135deg, var(--vt-blue-deep) 0%, var(--vt-blue) 100%);
  color: var(--vt-white);
  padding: 100px 20px 60px;
  text-align: center;
  overflow: hidden;
}
.vt-hero-new h1 { margin-bottom: 24px; }
.vt-hero-new p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 48px;
  font-weight: 400;
}
.vt-hero-new .btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
}
.vt-hero-new .dashboard-preview {
  display: block !important;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto !important;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.vt-grid-verticali {
  padding: 100px 20px;
  background-color: var(--vt-grey-50);
}
.vt-grid-verticali .grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.vt-vertical-card {
  background: var(--vt-white);
  border: 1px solid var(--vt-grey-200);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: left;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--vt-grey-800);
  display: flex;
  flex-direction: column;
}
.vt-vertical-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--vt-cyan);
}
.vt-vertical-card img {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  margin: 0 0 24px 0 !important;
  display: block !important;
}
.vt-vertical-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--vt-grey-800);
}
.vt-vertical-card p {
  font-size: 1rem;
  color: var(--vt-grey-600);
  margin-bottom: 32px;
  flex-grow: 1;
  line-height: 1.5;
}
.vt-vertical-card .explore-btn {
  color: var(--vt-cyan);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vt-vertical-card .explore-btn::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--vt-cyan);
  transition: width 0.3s;
}
.vt-vertical-card:hover .explore-btn::after {
  width: 60px;
}

.vt-cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--vt-white);
}
.vt-cta-split-content {
  padding: 100px 12%;
}
.vt-cta-split-content h2 {
  font-size: 2.75rem;
  margin-bottom: 32px;
  color: var(--vt-grey-800);
}
.vt-cta-split-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 48px 0;
}
.vt-cta-split-content li {
  font-size: 1.15rem;
  color: var(--vt-grey-600);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.vt-cta-split-content li::before {
  content: '✓';
  color: var(--vt-cyan);
  font-weight: 900;
  font-size: 1.25rem;
}
.vt-cta-split-image {
  height: 100%;
  min-height: 600px;
  background-image: url('/assets/images/grafica_iniziale/slide-03.jpg');
  background-size: cover;
  background-position: center;
}

@media (max-width: 1024px) {
  .vt-grid-verticali .grid-container { grid-template-columns: repeat(2, 1fr); }
  .vt-cta-split { grid-template-columns: 1fr; }
  .vt-cta-split-image { min-height: 400px; }
}
@media (max-width: 640px) {
  .vt-grid-verticali .grid-container { grid-template-columns: 1fr; }
  h1 { font-size: 2.25rem; }
  .vt-hero-new { padding: 60px 20px; }
}
