/*
Theme Name: AET Media — Infrastrutture Digitali Enterprise Theme
Theme URI: https://themelab.app
Author: Themelab
Author URI: https://themelab.app
Description: Tema generato automaticamente con Themelab + Claude AI
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aet-media-infrastrutture-digitali-enterprise-theme
Tags: elementor, custom, ai-generated
*/

/* Tutto il CSS "di base" del tema è dentro @layer base: senza layer
   batterebbe SEMPRE le utility Tailwind (es. .p-8, .mt-3) indipendentemente
   dalla specificità — un `* { margin: 0; padding: 0; }` non a layer, ad
   esempio, azzera ogni utility di spaziatura su ogni elemento del tema,
   a prescindere da quante classi p-*/m-* vengano aggiunte. Vedi anche
   wrap_in_base_layer. */
@layer base {

:root {
  --color-primary: #2563EB;
  --color-secondary: #4F46E5;
  --font-main: 'Inter', sans-serif;
}

/* Esclude #wpadminbar (la admin bar nativa di WordPress, visibile a
   qualunque utente loggato con permessi di editing anche sul front-end)
   — senza questa esclusione il reset globale rompe il suo layout
   interno (dropdown, icone, spaziature), che si basa su un proprio
   box model non azzerato. :where() mantiene specificità 0 come * da
   solo, quindi non altera nient'altro nella cascata. */
:where(*:not(#wpadminbar, #wpadminbar *)) { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Safety net: caps any unclassed/oversized image (e.g. an embedded
   base64 logo with no sizing utility) so it can never blow out the
   layout width — mirrors Tailwind's own preflight reset, but applies
   even if the Tailwind CDN script fails to load. */
img, svg { max-width: 100%; height: auto; }

.elementor-section { width: 100%; }

/* ── WP Bakery fallback layout ───────────────────────────────── */
.elz-row {
  display: flex; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem;
  gap: 1.5rem;
}
.elz-row--full { max-width: none; }
.elz-row-inner { padding: 0; }
.elz-col { flex: 1 1 0%; min-width: 0; }
.elz-col--1-2 { flex: 0 0 calc(50% - .75rem); }
.elz-col--1-3 { flex: 0 0 calc(33.333% - 1rem); }
.elz-col--2-3 { flex: 0 0 calc(66.667% - .75rem); }
.elz-col--1-4 { flex: 0 0 calc(25% - 1.125rem); }
.elz-col--3-4 { flex: 0 0 calc(75% - .375rem); }
.elz-text { line-height: 1.7; }
.elz-text p { margin-bottom: .85rem; }
.elz-btn {
  display: inline-block; padding: .75rem 1.75rem;
  border-radius: 8px; text-decoration: none; font-weight: 700;
  background: var(--color-primary); color: #fff; transition: opacity .2s;
}
.elz-btn:hover { opacity: .85; color: #fff; }
.elz-btn--outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.elz-btn--sm { padding: .45rem 1rem; font-size: .85rem; }
.elz-btn--lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.elz-separator { border: none; border-top: 1px solid #e5e7eb; margin: 1rem 0; }
@media (max-width: 768px) {
  .elz-row { flex-direction: column; padding: 2rem 1rem; }
  .elz-col--1-2, .elz-col--1-3, .elz-col--2-3,
  .elz-col--1-4, .elz-col--3-4 { flex: 0 0 100%; }
}

/* ── CSS estratto dal layout HTML originale ─────────────────── */

  :root {
    --primary: #2563EB;
    --secondary: #4F46E5;
    --accent: #0D47A1;
    --text: #0F172A;
    --muted: #64748B;
    --background: #F8FAFC;
    --dark: #081B33;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', sans-serif;
    color: #0F172A;
    background: #F8FAFC;
    overflow-x: hidden;
  }
  h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

  /* ── NAV ── */
  .nav-glass {
    background: rgba(8, 27, 51, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
  }

  /* ── HERO ── */
  .hero-bg {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 30%, #dbeafe 60%, #ede9fe 100%);
    position: relative;
    overflow: hidden;
  }

  .hero-grid {
    background-image:
      linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }

  /* ── HERO GRADIENT TEXT ── */
  @keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  .hero-gradient-text {
    background: linear-gradient(90deg, #1d4ed8, #4f46e5, #2563eb, #7c3aed, #1d4ed8);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
  }

  /* ── GLASS CARD ── */
  .glass-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  /* ── DIAGRAM ── */
  .diagram-node {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.4);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .diagram-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
  }
  .diagram-node.platform {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(79, 70, 229, 0.3));
    border: 1px solid rgba(79, 70, 229, 0.6);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25);
  }
  .diagram-connector {
    width: 2px;
    background: linear-gradient(to bottom, rgba(37,99,235,0.8), rgba(79,70,229,0.4));
    margin: 0 auto;
    position: relative;
  }
  .diagram-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(79, 70, 229, 0.8);
  }

  /* ── COUNTER ── */
  .counter-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .counter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  /* ── SERVICE CARD ── */
  .service-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12);
    border-color: #2563EB;
  }
  .service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(79,70,229,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  /* ── SMS DIAGRAM ── */
  .sms-bg {
    background: linear-gradient(180deg, #081B33 0%, #0a1628 60%, #081B33 100%);
  }
  .flow-node {
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.02em;
    transition: transform 0.3s ease;
    min-width: 200px;
  }
  .flow-node:hover { transform: scale(1.03); }
  .flow-node.client { background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.5); color: #93C5FD; }
  .flow-node.gateway { background: rgba(79,70,229,0.2); border: 1px solid rgba(79,70,229,0.5); color: #A5B4FC; }
  .flow-node.platform-main { background: linear-gradient(135deg, rgba(37,99,235,0.35), rgba(79,70,229,0.35)); border: 2px solid rgba(79,70,229,0.7); color: #fff; box-shadow: 0 0 40px rgba(37,99,235,0.3); }
  .flow-node.queue { background: rgba(13,71,161,0.2); border: 1px solid rgba(13,71,161,0.5); color: #93C5FD; }
  .flow-node.processing { background: rgba(79,70,229,0.25); border: 1px solid rgba(79,70,229,0.6); color: #C4B5FD; }
  .flow-node.smpp { background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.5); color: #60A5FA; }
  .flow-node.telco { background: rgba(13,71,161,0.3); border: 1px solid rgba(13,71,161,0.6); color: #93C5FD; }
  .flow-node.recipients { background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.4); color: #BFDBFE; }

  .flow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    height: 32px;
    justify-content: center;
  }
  .flow-arrow svg { color: rgba(99, 155, 235, 0.7); }

  /* ── CLOUD GRID ── */
  .cloud-node {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .cloud-node:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.4);
  }

  /* ── TIMELINE ── */
  .timeline-item { transition: transform 0.3s ease; }
  .timeline-item:hover { transform: translateX(6px); }

  /* ── CASE STU

/* ── CSS personalizzato generato da Claude ───────────────────── */


/* ── Nav menu WordPress ──────────────────────────────────────── */
.nav-menu { list-style: none; display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; }
.nav-menu li { margin: 0; }
.nav-menu a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  color: inherit; transition: opacity .2s; white-space: nowrap;
}
.nav-menu a:hover { opacity: .7; }
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .main-navigation.open .nav-menu { display: flex; flex-direction: column; gap: .75rem; }
}

} /* /@layer base */
