/* ════════════════════════════════════════════════════════════════
   IDATA Chile — Google Workspace Page CSS
   Colors: --gws-blue #4285F4 · Red #EA4335 · Yellow #FBBC05 · Green #34A853
   ════════════════════════════════════════════════════════════════ */

:root {
  --gws-blue:   #4285F4;
  --gws-red:    #EA4335;
  --gws-yellow: #FBBC05;
  --gws-green:  #34A853;
  --gws-blue-dark: #2a6dd9;
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.gws-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--idata-muted);
  flex-wrap: wrap;
}
.gws-breadcrumb a {
  color: var(--idata-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.gws-breadcrumb a:hover { color: var(--gws-blue); }
.gws-breadcrumb .sep { opacity: 0.4; }
.gws-breadcrumb .current { color: var(--gws-blue); font-weight: 500; }

/* ── Hero ────────────────────────────────────────────────────── */
.gws-hero {
  position: relative;
  padding: calc(var(--navbar-height) + 4rem) 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 60% 0%, rgba(66,133,244,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 5% 90%, rgba(52,168,83,0.1) 0%, transparent 60%),
    var(--idata-bg-dark);
  overflow: hidden;
}
.gws-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(66,133,244,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66,133,244,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.gws-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(66,133,244,0.12);
  border: 1px solid rgba(66,133,244,0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gws-blue);
  letter-spacing: 0.05em;
}

/* Google "G" multicolor */
.gws-g-letter { font-weight: 900; font-size: 1.1em; }
.gws-g-b { color: #4285F4; }
.gws-g-r { color: #EA4335; }
.gws-g-y { color: #FBBC05; }
.gws-g-g { color: #34A853; }

/* Stats row */
.gws-stats {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--idata-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.gws-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--idata-muted);
}
.gws-stat i { color: var(--gws-blue); font-size: 1.1rem; }

/* Hero visual — animated ring */
.gws-hero-visual {
  justify-content: center;
  align-items: center;
}
.gws-ring {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(66,133,244,0.2), transparent 60%),
              rgba(66,133,244,0.06);
  border: 1px solid rgba(66,133,244,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gws-pulse 4s ease-in-out infinite;
}
.gws-ring::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(66,133,244,0.25);
  animation: gws-rotate 20s linear infinite;
}
.gws-ring::after {
  content: '';
  position: absolute;
  inset: -36px;
  border-radius: 50%;
  border: 1px dashed rgba(52,168,83,0.15);
  animation: gws-rotate 30s linear infinite reverse;
}
.gws-ring-icon {
  font-size: 4.5rem;
  color: var(--gws-blue);
  filter: drop-shadow(0 0 18px rgba(66,133,244,0.5));
}

@keyframes gws-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(66,133,244,0.15); }
  50%       { box-shadow: 0 0 32px 8px rgba(66,133,244,0.2); }
}
@keyframes gws-rotate { to { transform: rotate(360deg); } }

/* ── Sticky nav ─────────────────────────────────────────────── */
.gws-nav {
  position: sticky;
  top: var(--navbar-height);
  z-index: 200;
  background: rgba(8,17,32,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--idata-border);
  padding: 0;
}
.gws-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gws-nav-inner::-webkit-scrollbar { display: none; }
.gws-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--idata-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.gws-nav-link:hover { color: var(--idata-white); }
.gws-nav-link.active {
  color: var(--gws-blue);
  border-bottom-color: var(--gws-blue);
}

/* ── Sections ────────────────────────────────────────────────── */
.gws-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--idata-border);
}
.gws-section:nth-child(odd) { background: var(--idata-bg-dark); }
.gws-section:nth-child(even) { background: var(--idata-bg-section); }

/* ── Module headers ──────────────────────────────────────────── */
.gws-module-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.gws-module-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.gws-icon-blue   { background: rgba(66,133,244,0.12); color: var(--gws-blue); border: 1px solid rgba(66,133,244,0.25); }
.gws-icon-red    { background: rgba(234,67,53,0.12);  color: var(--gws-red);  border: 1px solid rgba(234,67,53,0.25); }
.gws-icon-yellow { background: rgba(251,188,5,0.12);  color: var(--gws-yellow); border: 1px solid rgba(251,188,5,0.25); }
.gws-icon-green  { background: rgba(52,168,83,0.12);  color: var(--gws-green); border: 1px solid rgba(52,168,83,0.25); }

.gws-module-header h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--idata-white);
  margin: 0 0 0.4rem;
}
.gws-module-header p {
  color: var(--idata-muted);
  font-size: 0.93rem;
  margin: 0;
}
.gws-module-meta { flex: 1; }

/* ── Checklist ───────────────────────────────────────────────── */
.gws-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gws-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--idata-border);
  border-radius: 10px;
  transition: border-color 0.2s, transform 0.2s;
}
.gws-checklist li:hover {
  border-color: rgba(66,133,244,0.35);
  transform: translateX(4px);
}
.gws-check-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(66,133,244,0.12);
  border: 1px solid rgba(66,133,244,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gws-blue);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.gws-checklist li div strong {
  display: block;
  color: var(--idata-white);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}
.gws-checklist li div span {
  color: var(--idata-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ── Side panel ─────────────────────────────────────────────── */
.gws-side-panel {
  background: rgba(66,133,244,0.06);
  border: 1px solid rgba(66,133,244,0.2);
  border-radius: 14px;
  padding: 1.5rem;
}
.gws-side-panel-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gws-blue);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.gws-deliverable {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.87rem;
  color: var(--idata-muted);
}
.gws-deliverable:last-child { border-bottom: none; }
.gws-deliverable i { color: var(--gws-blue); font-size: 1rem; flex-shrink: 0; }

/* ── Apps grid ───────────────────────────────────────────────── */
.gws-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}
.gws-app-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--idata-border);
  border-radius: 12px;
  padding: 1.2rem 0.75rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.gws-app-card:hover {
  border-color: rgba(66,133,244,0.35);
  transform: translateY(-3px);
}
.gws-app-card i {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
}
.gws-app-card span {
  font-size: 0.78rem;
  color: var(--idata-muted);
  font-weight: 500;
}

/* ── Plans cards ─────────────────────────────────────────────── */
.gws-plan-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--idata-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.gws-plan-card:hover {
  border-color: rgba(66,133,244,0.5);
  transform: translateY(-4px);
}
.gws-plan-card.featured {
  border-color: var(--gws-blue);
  background: rgba(66,133,244,0.07);
}
.gws-plan-featured-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gws-blue);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-bottom-left-radius: 10px;
}
.gws-plan-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gws-blue);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.gws-plan-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--idata-white);
  margin-bottom: 0.25rem;
}
.gws-plan-target {
  font-size: 0.83rem;
  color: var(--idata-muted);
  margin-bottom: 1.5rem;
}
.gws-plan-storage {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(66,133,244,0.1);
  border: 1px solid rgba(66,133,244,0.2);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gws-blue);
  margin-bottom: 1.25rem;
}
.gws-plan-price {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--idata-white);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.gws-plan-price span {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--idata-muted);
  display: block;
  margin-top: 0.15rem;
}
/* ── Plan comparison table ── */
.gws-ft {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  margin-top: 2.5rem;
}
.gws-ft thead th {
  text-align: center;
  padding: 0.8rem 1rem;
  background: rgba(66,133,244,0.1);
  color: var(--idata-white);
  font-weight: 700;
  border-bottom: 2px solid rgba(66,133,244,0.3);
  white-space: nowrap;
}
.gws-ft thead th:first-child { text-align: left; min-width: 220px; }
.gws-ft td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--idata-border);
  color: var(--idata-muted);
  text-align: center;
  vertical-align: middle;
}
.gws-ft td:first-child { text-align: left; color: var(--idata-white); font-weight: 500; }
.gws-ft tr:hover td { background: rgba(255,255,255,0.02); }
.gws-ft .yes { color: var(--gws-green); font-size: 1.1rem; }
.gws-ft .no  { color: rgba(255,255,255,0.18); font-size: 1.1rem; }
.gws-ft .partial { color: var(--gws-yellow); font-size: 0.82rem; font-weight: 600; }
.gws-ft-section td {
  background: rgba(255,255,255,0.03);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--idata-muted);
  font-weight: 700;
  padding: 0.5rem 1rem;
}
.gws-ft .price-row td {
  font-size: 1rem;
  font-weight: 800;
  color: var(--idata-white);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.gws-ft .price-row td:first-child { font-size: 0.84rem; font-weight: 500; color: var(--idata-muted); }
.gws-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.gws-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.84rem;
  color: var(--idata-muted);
}
.gws-plan-features li:last-child { border-bottom: none; }
.gws-plan-features i { color: var(--gws-green); flex-shrink: 0; margin-top: 2px; }

/* ── Comparison table ────────────────────────────────────────── */
.gws-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--idata-border);
  border-radius: 14px;
  overflow: hidden;
}
.gws-compare-table thead tr th {
  padding: 1.1rem 1.25rem;
  font-size: 0.83rem;
  font-weight: 700;
  background: rgba(255,255,255,0.04);
  color: var(--idata-white);
  border-bottom: 1px solid var(--idata-border);
}
.gws-compare-table thead tr th:nth-child(3) {
  background: rgba(66,133,244,0.12);
  color: var(--gws-blue);
}
.gws-compare-table tbody tr td {
  padding: 0.85rem 1.25rem;
  font-size: 0.86rem;
  color: var(--idata-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
}
.gws-compare-table tbody tr:last-child td { border-bottom: none; }
.gws-compare-table tbody tr td:nth-child(3) { background: rgba(66,133,244,0.05); }
.gws-compare-table .yes { color: var(--gws-green); font-size: 1.1rem; }
.gws-compare-table .no  { color: var(--gws-red);   font-size: 1.1rem; }

/* ── Steps ───────────────────────────────────────────────────── */
.gws-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gws-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.2rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--idata-border);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.gws-step:hover { border-color: rgba(66,133,244,0.3); }
.gws-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(66,133,244,0.15);
  border: 1px solid rgba(66,133,244,0.35);
  color: var(--gws-blue);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gws-step-body strong {
  display: block;
  color: var(--idata-white);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}
.gws-step-body span {
  color: var(--idata-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ── FAQ accordion ───────────────────────────────────────────── */
.gws-accordion .accordion-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--idata-border) !important;
  border-radius: 10px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.gws-accordion .accordion-button {
  background: transparent;
  color: var(--idata-white);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: none !important;
  padding: 1.1rem 1.25rem;
}
.gws-accordion .accordion-button::after {
  filter: invert(1);
}
.gws-accordion .accordion-button:not(.collapsed) {
  color: var(--gws-blue);
  background: rgba(66,133,244,0.06);
}
.gws-accordion .accordion-body {
  color: var(--idata-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  padding: 0 1.25rem 1.1rem;
}

/* ── CTA ─────────────────────────────────────────────────────── */
.gws-cta-section {
  padding: 6rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(66,133,244,0.15) 0%, transparent 70%),
    var(--idata-bg-dark);
}

/* ── Intro card ──────────────────────────────────────────────── */
.gws-intro-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--idata-border);
  border-radius: 14px;
  padding: 2rem;
  height: 100%;
}
.gws-intro-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--idata-white);
  margin-bottom: 1rem;
}

/* ── Migration sources ───────────────────────────────────────── */
.gws-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.gws-source-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(66,133,244,0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--gws-blue);
  background: rgba(66,133,244,0.07);
}
