﻿/* ============================================
   Blog — Power Platform / Tech / AI
   tomashorvath.dev — dark tech theme
   Typografie: Inter + JetBrains Mono
   ============================================ */

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

/* ============================================
   CSS Variables
   ============================================ */

:root {
  /* Core palette — dark tech */
  --bg: #0f1117;
  --bg-soft: #161b27;
  --bg-card: white;
  --bg-card-alt: #141926;
  /* Text */
  --text: black;
  --text-soft: #9aa0b4;
  --text-muted: #5c6478;
  /* Accent — electric blue */
  --accent: #3b82f6;
  --accent-soft: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.15);
  /* Borders */
  --border: #232b3e;
  --border-soft: #1e2538;
  /* Highlight */
  --highlight-bg: white;
  /* Catch numbers */
  --catch-num: #2a3350;
}

/* ============================================
   Reset & Base
   ============================================ */

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





.article {

  margin: 0 auto;
  padding: 0px 40px 100px;
}

/* ============================================
   Section Labels
   ============================================ */

.section-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  margin-top: 60px;
}

/* ============================================
   Hook Block
   ============================================ */

.hook-block {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
}

  .hook-block p {
    font-size: 18px;
    font-style: italic;
    line-height: 1.7;
    color: var(--text);
    font-weight: 300;
    margin-bottom: 12px;
  }

    .hook-block p:last-child {
      margin-bottom: 0;
    }

/* ============================================
   Horizontal Rule
   ============================================ */

.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ============================================
   Tool Cards Grid
   ============================================ */

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

  .tool-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-alt);
  }

.tool-name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

  .tool-icon.apps {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
  }

  .tool-icon.automate {
    background: rgba(168,85,247,0.15);
    color: #c084fc;
  }

  .tool-icon.bi {
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
  }

  .tool-icon.copilot {
    background: rgba(52,211,153,0.15);
    color: #34d399;
  }

.tool-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--text-soft);
}

/* ============================================
   Highlight Box — Pro koho
   ============================================ */

.highlight-box {
  background: var(--highlight-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 32px;
  margin: 28px 0;
}

  .highlight-box .item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
  }

    .highlight-box .item:last-child {
      margin-bottom: 0;
    }

  .highlight-box .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 9px;
    flex-shrink: 0;
  }

  .highlight-box .item-text {
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.7;
  }

    .highlight-box .item-text strong {
      color: var(--text);
      font-weight: 600;
      display: block;
      margin-bottom: 2px;
      font-size: 14.5px;
    }

/* ============================================
   AI Callout Block
   ============================================ */

.ai-callout {
  /*background: linear-gradient(135deg, #0d1520 0%, white 100%);*/
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 8px;
  padding: 32px 36px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}

  .ai-callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
  }

  .ai-callout p {
    color: #8a94aa;
    font-size: 15.5px;
    margin-bottom: 14px;
  }

    .ai-callout p:last-child {
      margin-bottom: 0;
    }

  .ai-callout strong {
    color: var(--text);
    font-weight: 600;
  }

  .ai-callout .ai-conclusion {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 17px;
    font-weight: 500;
    color: var(--accent-soft);
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: 18px;
    line-height: 1.6;
  }

/* ============================================
   What's the Catch Box
   ============================================ */

.catch-box {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  margin: 28px 0;
}

  .catch-box .catch-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
  }

    .catch-box .catch-item:last-child {
      margin-bottom: 0;
    }

.catch-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 600;
  color: var(--catch-num);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  margin-top: 3px;
}

.catch-text strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 15px;
}

.catch-text p {
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.7;
}

/* ============================================
   CTA Block
   ============================================ */

.cta-block {
  background: var(--highlight-bg);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 32px 36px;
  margin-top: 52px;
}

  .cta-block .cta-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
  }

  .cta-block p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-soft);
    margin-bottom: 12px;
  }

    .cta-block p:last-child {
      margin-bottom: 0;
    }

  .cta-block strong {
    color: var(--text);
    font-weight: 600;
  }

/* ============================================
   Animations
   ============================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner {
  animation: fadeUp 0.5s ease both;
}

.article {
  animation: fadeUp 0.5s 0.1s ease both;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 600px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 52px 20px 44px;
  }

  .article {
    padding: 40px 20px 72px;
  }

  .ai-callout {
    padding: 24px 20px;
  }

  .cta-block {
    padding: 24px 20px;
  }

  .highlight-box {
    padding: 20px;
  }
}
