/* =============================================
   DINERO DIGITAL — Rediseño estilo Nudge
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50:  #f8fafc;

  --text:    #1e293b;
  --muted:   #64748b;
  --border:  #e2e8f0;
  --white:   #ffffff;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-md: 0 10px 25px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 40px -4px rgba(0,0,0,.12), 0 8px 16px -4px rgba(0,0,0,.06);

  --font:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-800); }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============ HEADER ============ */
header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo .logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .85rem;
  font-weight: 800;
}
.logo span { color: var(--blue-600); }

nav { flex: 1; }
nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  justify-content: center;
}
nav ul li a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: background .15s, color .15s;
}
nav ul li a:hover,
nav ul li a.active {
  background: var(--gray-100);
  color: var(--gray-900);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-nav-ghost {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: background .15s, color .15s;
}
.btn-nav-ghost:hover { background: var(--gray-100); color: var(--gray-900); }

.btn-nav-primary {
  padding: 8px 18px;
  background: var(--gray-900);
  color: white;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  transition: background .15s, transform .1s;
}
.btn-nav-primary:hover { background: var(--gray-800); color: white; transform: translateY(-1px); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ============ HERO ============ */
.hero {
  background: var(--gray-50);
  padding: 88px 0 0;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { padding-bottom: 88px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px 5px 10px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--blue-500);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  transition: all .15s;
  cursor: pointer;
  border: none;
}
.btn-primary-dark {
  background: var(--gray-900);
  color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.btn-primary-dark:hover { background: var(--gray-800); color: white; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-ghost {
  background: white;
  color: var(--gray-700);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--gray-50); color: var(--gray-900); transform: translateY(-1px); }

.btn-primary { background: var(--blue-600); color: white; }
.btn-primary:hover { background: var(--blue-700); color: white; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 1.5px solid var(--blue-200);
}
.btn-outline:hover { background: var(--blue-50); color: var(--blue-700); }

/* ============ HERO VISUAL ============ */
.hero-visual {
  position: relative;
  height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-mockup { position: relative; width: 100%; height: 100%; }

.hero-main-visual {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 480px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid white;
}
.hero-main-visual img { width: 100%; height: 100%; object-fit: cover; }

.hero-card-float {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  border: 1px solid rgba(226,232,240,0.9);
}
.card-1 { top: 60px; left: 0; animation: float 6s ease-in-out infinite; }
.card-2 {
  top: 28%;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  animation: float 6s ease-in-out infinite;
  animation-delay: -2s;
}
.card-3 { bottom: 100px; left: 10px; animation: float 6s ease-in-out infinite; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hf-icon { font-size: 1.3rem; line-height: 1; }
.hf-title { font-weight: 700; color: var(--gray-900); font-size: .82rem; }
.hf-sub   { color: var(--gray-500); font-size: .72rem; margin-top: 1px; }
.hf-stat  { font-size: 1.4rem; font-weight: 800; color: var(--blue-600); line-height: 1; }

/* ============ STATS STRIP ============ */
.stats-strip {
  background: var(--blue-900);
  color: white;
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-num   { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ============ SECTION SHARED ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.15;
}
.section-header p { color: var(--gray-500); font-size: .95rem; max-width: 520px; margin: 0 auto; line-height: 1.7; }

.section-label {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-label-small {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-500);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--gray-900);
  line-height: 1.15;
}

/* ============ PLATFORM / TABS ============ */
.platform-section { padding: 96px 0; background: white; }
.platform-section .section-header { margin-bottom: 40px; }

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 52px;
}
.tab-btn {
  padding: 9px 22px;
  border: none;
  background: transparent;
  border-radius: 9px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
}
.tab-btn.active { background: white; color: var(--gray-900); box-shadow: var(--shadow-sm); }
.tab-btn:hover:not(.active) { color: var(--gray-700); }

.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.category-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 3px 12px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 16px;
}
.tab-content-text h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.2;
}
.tab-desc { color: var(--gray-500); font-size: .95rem; margin-bottom: 24px; line-height: 1.7; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  width: 18px; height: 18px; min-width: 18px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1.5px solid var(--blue-200);
  display: block;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-4.5' stroke='%232563eb' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.tab-content-visual { position: relative; display: flex; justify-content: center; }
.tab-visual-card {
  background: var(--gray-50);
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.tab-visual-card img { width: 100%; height: 340px; object-fit: cover; display: block; }
.tab-visual-badge {
  position: absolute;
  top: -14px; right: -14px;
  background: var(--blue-600);
  color: white;
  border-radius: 50%;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow);
  border: 3px solid white;
}

/* ============ EASY SECTION ============ */
.easy-section { padding: 96px 0; background: var(--gray-50); }
.easy-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.easy-text .tag {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gray-500); margin-bottom: 12px; display: block;
}
.easy-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--gray-900); line-height: 1.2; margin-bottom: 18px;
}
.easy-text p { color: var(--gray-500); font-size: .93rem; line-height: 1.75; margin-bottom: 12px; }

.easy-visual { background: var(--gray-900); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.code-block { padding: 32px; font-family: 'Courier New', monospace; font-size: .82rem; line-height: 1.9; color: #e2e8f0; }
.code-comment { color: #6c8099; }
.code-keyword { color: #7dd3fc; }
.code-string  { color: #86efac; }
.code-value   { color: #fbbf24; }
.code-func    { color: #c4b5fd; }

/* ============ FEATURES GRID ============ */
.features-section { padding: 80px 0; background: white; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  width: 46px; height: 46px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.feature-card h4 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.feature-card p  { font-size: .875rem; color: var(--gray-500); line-height: 1.65; }

/* ============ TOOLS SECTION ============ */
.tools-section { padding: 80px 0; background: var(--gray-50); text-align: center; }
.tools-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gray-500); margin-bottom: 12px; display: block;
}
.tools-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--gray-900); margin-bottom: 8px;
}
.tools-sub { color: var(--gray-500); font-size: .9rem; margin-bottom: 48px; }
.tools-logos { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.tool-logo {
  width: 56px; height: 56px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  cursor: default;
}
.tool-logo:hover { transform: translateY(-4px) scale(1.05); box-shadow: var(--shadow-md); }

/* ============ USE CASES ============ */
.use-cases-section { padding: 96px 0; background: white; }
.use-cases-section .section-header { margin-bottom: 48px; }
.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.use-case-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.use-case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.use-case-img { height: 196px; overflow: hidden; }
.use-case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.use-case-card:hover .use-case-img img { transform: scale(1.06); }

.use-case-body { padding: 24px; }
.use-case-tag {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--blue-600); margin-bottom: 8px; display: block;
}
.use-case-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; line-height: 1.4; }
.use-case-body p  { font-size: .85rem; color: var(--gray-500); margin-bottom: 16px; line-height: 1.65; }
.use-case-link {
  font-size: .82rem; font-weight: 700; color: var(--blue-600);
  display: inline-flex; align-items: center; gap: 4px; transition: gap .2s;
}
.use-case-link:hover { gap: 8px; color: var(--blue-700); }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 100%);
  padding: 88px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800;
  color: white; letter-spacing: -.03em; margin-bottom: 16px; line-height: 1.15;
}
.cta-banner p {
  color: rgba(255,255,255,.75); font-size: .95rem; margin-bottom: 36px;
  max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
.btn-white {
  background: white; color: var(--blue-800); border-radius: 10px;
  padding: 14px 36px; font-weight: 700; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s; box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-white:hover { background: var(--blue-50); color: var(--blue-900); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ============ FAQ ============ */
.faq-section { padding: 96px 0; background: var(--gray-50); }
.faq-section .container { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; align-items: start; }

.faq-aside { position: sticky; top: 88px; }
.faq-aside h2 {
  font-size: 1.7rem; font-weight: 800; color: var(--gray-900);
  letter-spacing: -.03em; margin-bottom: 14px; line-height: 1.2;
}
.faq-aside p { color: var(--gray-500); font-size: .9rem; line-height: 1.7; margin-bottom: 24px; }
.btn-contact {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; background: white; border: 1px solid var(--border);
  border-radius: 10px; font-size: .875rem; font-weight: 600;
  color: var(--gray-700); transition: all .15s; box-shadow: var(--shadow-sm);
}
.btn-contact:hover { box-shadow: var(--shadow); transform: translateY(-1px); color: var(--gray-900); }

.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { border-radius: 12px; overflow: hidden; border: 1px solid transparent; transition: all .2s; }
.faq-item.open { border-color: var(--border); background: white; box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%; background: none; border: none;
  padding: 18px 20px; text-align: left;
  font-family: var(--font); font-size: .93rem; font-weight: 600;
  color: var(--gray-900); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background .15s;
}
.faq-question:hover { background: var(--gray-100); border-radius: 12px; }
.faq-item.open .faq-question { border-radius: 12px 12px 0 0; }

.faq-chevron {
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s; color: var(--gray-500);
  font-style: normal; font-size: .75rem; font-weight: 700;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--blue-100); color: var(--blue-600); }

.faq-answer { display: none; padding: 2px 20px 20px; font-size: .9rem; color: var(--gray-600); line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* ============ FOOTER ============ */
footer { background: var(--gray-900); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-brand .logo { color: white; font-size: 1.1rem; margin-bottom: 4px; }
.footer-brand .logo span { color: var(--blue-400); }
.footer-brand p { margin-top: 12px; font-size: .85rem; opacity: .6; max-width: 220px; line-height: 1.65; }

.footer-col h5 {
  color: white; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 8px;
}

/* ============ CATEGORY / ARTICLE PAGES ============ */
.cat-hero {
  background: linear-gradient(135deg, var(--gray-900), var(--blue-800));
  color: white; padding: 64px 20px; text-align: center;
}
.cat-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -.03em; }
.cat-hero p  { font-size: 1rem; opacity: .8; max-width: 500px; margin: 0 auto; line-height: 1.7; }

.articles-list { display: flex; flex-direction: column; gap: 14px; }
.article-row {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 26px; display: flex; gap: 18px; align-items: flex-start;
  transition: box-shadow .2s, transform .2s; position: relative;
}
.article-row:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-row-icon { width: 54px; height: 54px; min-width: 54px; border-radius: 12px; overflow: hidden; }
.article-row-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-row-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; color: var(--gray-900); }
.article-row-body p  { color: var(--gray-500); font-size: .88rem; }
.article-row a.cover-link { position: absolute; inset: 0; }

/* Article page layout */
.article-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 40px; align-items: start; padding: 48px 0;
}
.breadcrumb { font-size: .8rem; color: var(--gray-500); margin-bottom: 20px; display: flex; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--blue-600); }
.article-header { margin-bottom: 32px; }
.article-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  line-height: 1.2; letter-spacing: -.02em; margin: 12px 0 16px; color: var(--gray-900);
}
.article-header-meta { display: flex; gap: 16px; font-size: .82rem; color: var(--gray-500); }
.article-tag {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--blue-600); background: var(--blue-50); padding: 2px 10px;
  border-radius: 50px; display: inline-block; margin-bottom: 10px;
}
.article-body { font-size: .97rem; line-height: 1.8; }
.article-body h2 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 14px; color: var(--gray-900); }
.article-body h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 10px; }
.article-body p  { margin-bottom: 18px; color: var(--gray-700); }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--gray-900); }
.callout {
  background: var(--blue-50); border-left: 3px solid var(--blue-500);
  border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 24px 0; font-size: .92rem;
}
.article-sidebar { position: sticky; top: 88px; }
.sidebar-widget { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.sidebar-widget h4 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); margin-bottom: 14px; }
.related-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.related-list li a { font-size: .875rem; font-weight: 500; color: var(--gray-700); display: block; padding: 8px 10px; border-radius: 8px; transition: background .15s; }
.related-list li a:hover { background: var(--gray-100); color: var(--gray-900); }

/* Article card (home grid) */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: white; border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  transition: box-shadow .2s, transform .2s; position: relative;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card-img { height: 196px; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body { padding: 20px; }
.article-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 8px; color: var(--gray-900); }
.article-card p  { color: var(--gray-500); font-size: .85rem; margin-bottom: 12px; }
.article-meta { font-size: .78rem; color: var(--gray-400); }
.article-card-link::after { content: ''; position: absolute; inset: 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; color: var(--gray-700); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-family: var(--font); font-size: .9rem;
  color: var(--text); transition: border-color .2s, box-shadow .2s; background: white;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
  width: 100%; padding: 13px; background: var(--blue-600); color: white;
  border: none; border-radius: 10px; font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: background .2s; font-family: var(--font);
}
.btn-submit:hover { background: var(--blue-700); }
.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.contact-info p  { color: var(--gray-500); margin-bottom: 28px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.info-icon  { font-size: 1.3rem; min-width: 28px; margin-top: 2px; }
.info-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); }
.info-value { font-size: .9rem; font-weight: 500; }

/* Privacy */
.legal-content { max-width: 760px; margin: 0 auto; padding: 48px 20px; }
.legal-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.legal-content .updated { color: var(--gray-500); font-size: .85rem; margin-bottom: 40px; }
.legal-content h2 { font-size: 1.2rem; font-weight: 700; margin: 32px 0 12px; color: var(--gray-900); }
.legal-content p  { color: #475569; margin-bottom: 14px; font-size: .93rem; }
.legal-content ul { margin: 0 0 14px 22px; color: #475569; font-size: .93rem; }
.legal-content li { margin-bottom: 6px; }

/* Ad slots */
.ad-slot {
  background: var(--gray-50); border: 1px dashed var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
}
.ad-header   { width: 100%; height: 90px; margin: 12px 0; }
.ad-footer   { width: 100%; height: 90px; margin: 24px 0 0; }
.ad-incontent { width: 100%; max-width: 336px; height: 280px; margin: 32px auto; }
.ad-sidebar  { width: 300px; height: 250px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { padding-bottom: 0; }
  .hero-visual { height: 380px; }
  .hero-main-visual { width: 240px; height: 380px; }
  .tab-panel.active { grid-template-columns: 1fr; gap: 40px; }
  .easy-section .container { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .features-grid   { grid-template-columns: 1fr 1fr; }
  .use-cases-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid      { grid-template-columns: 1fr 1fr; gap: 24px; }
  .article-layout  { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .contact-grid    { grid-template-columns: 1fr; }
  .faq-section .container { grid-template-columns: 1fr; gap: 36px; }
  .faq-aside { position: static; }
  .articles-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .features-grid  { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .articles-grid  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  nav ul { display: none; }
  .nav-actions .btn-nav-ghost { display: none; }
  .hamburger { display: block; }
  nav.open ul {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    padding: 12px 16px 16px; gap: 4px; z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .hero { padding: 56px 0 0; }
  .hero-visual { height: 300px; }
  .hero-main-visual { width: 200px; height: 300px; }
  .hero-card-float { display: none; }
  .tab-visual-badge { display: none; }
  .tabs-nav { flex-direction: column; width: 100%; }
}
