:root {
  --bg: #FAFBFD;
  --panel: #FFFFFF;
  --text: #0F172A;
  --text-light: #334155;
  --muted: #64748B;
  --border: #E2E8F0;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);

  /* Primary accent - Modern purple */
  --accent: #6366F1;
  --accent-2: #4F46E5;
  --accent-soft: rgba(99, 102, 241, 0.08);

  /* Section specific colors */
  --blue: #3B82F6;
  --blue-soft: rgba(59, 130, 246, 0.1);
  --emerald: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.1);
  --violet: #8B5CF6;
  --violet-soft: rgba(139, 92, 246, 0.1);
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.1);
  --cyan: #06B6D4;
  --cyan-soft: rgba(6, 182, 212, 0.1);
  --rose: #F43F5E;
  --rose-soft: rgba(244, 63, 94, 0.1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.page { max-width: 1920px; margin: 0 auto; padding: 0 16px 90px; width: 100%; box-sizing: border-box; }

header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-weight: 800; 
  font-size: 32px; 
  letter-spacing: 0.2px; 
  color: var(--text); }

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Cpath d='M10 30L22 18L28 24L38 14' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpolyline points='30 12 38 12 38 20' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center center/20px 20px no-repeat,
    linear-gradient(135deg, #7a5af8 0%, #19b9e6 100%);
  box-shadow: 0 8px 18px rgba(122, 90, 248, 0.25), 0 8px 18px rgba(25, 185, 230, 0.25);
}

nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-weight: 700; font-size: 14px; }

.actions-inline { display: flex; align-items: center; gap: 10px; font-size: 14px; }

.link-ghost {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.link-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.link-primary {
  padding: 10px 18px;
  border-radius: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  transition: all 0.2s ease;
}

.link-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 16px;
  position: relative;
  min-height: auto;
}

.hero-text {
  max-width: 840px;
  margin: 0 auto;
}

.hero-text h1 {
  --hero-font-size: clamp(64px, 7vw, 92px);
  font-size: var(--hero-font-size);
  font-weight: 900;
  letter-spacing: -0.45px;
  margin: 0 0 20px 0;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: calc(var(--hero-font-size) * 2.3);
}

.animated-text {
  color: var(--accent);
  display: block;
  position: relative;
  line-height: 1.05;
  min-height: calc(var(--hero-font-size) * 2.2);
  width: 100%;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow: visible;
}

.animated-text.text-cycle-active {
  animation: heroTextCycle 0.85s ease;
}

.hero-static {
  display: block;
  text-align: center;
}


@keyframes heroTextCycle {
  from { opacity: 0; filter: blur(2px); }
  to { opacity: 1; filter: blur(0); }
}

.hero-text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
  max-width: 720px;
  margin: 0 auto 24px auto;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(99, 102, 241, 0.05);
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent);
}

.section { padding: 80px 0 90px; background: var(--bg); position: relative; overflow: hidden; }

.section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px 0;
  text-align: center;
  letter-spacing: -0.5px;
}

.subhead-center {
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin: 12px auto 48px;
  font-size: 17px;
  line-height: 1.7;
}

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.card .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 16px;
  font-size: 18px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.split-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.split-header h2 { text-align: left; margin: 0; }

.split-header p {
  text-align: right;
  color: var(--muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.tool-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--emerald);
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--emerald-soft);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
}

.tool-card h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.tool-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.ai-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.mockup-box {
  background: linear-gradient(135deg, var(--violet-soft), var(--blue-soft));
  border: 1px solid var(--border);
  border-radius: 20px;
  min-height: 360px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.mockup-large {
  background: linear-gradient(135deg, var(--amber-soft), var(--rose-soft));
  border: 1px solid var(--border);
  border-radius: 20px;
  min-height: 400px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.mockup-box .mockup-image,
.mockup-large .mockup-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.mockup-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.ai-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.ai-card {
  background: linear-gradient(135deg, #fff 0%, #F8FAFC 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--violet);
}

.ai-card h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.ai-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px;
  align-items: center;
}

.two-col p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-weight: 700;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 20px;
}

.dept-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  background: linear-gradient(135deg, #fff 0%, #FAFBFD 100%);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  color: var(--text-light);
  font-size: 15px;
  box-shadow: var(--shadow);
}

.dept-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue);
  color: var(--text);
}

.kb-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
  gap: 40px;
  align-items: start;
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 16px;
}

.kb-card {
  background: linear-gradient(135deg, #fff 0%, #F8FAFC 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  display: grid;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  color: var(--text-light);
  font-size: 14px;
}

.kb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan);
}

.kb-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--cyan-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-weight: 800;
  margin: 0 auto;
  font-size: 16px;
}

.testimonials { text-align: center; }

.testimonial-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 14px; }

.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: 0 12px 28px rgba(0,0,0,0.08); min-height: 140px; display: grid; place-items: center; color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }

.pricing-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: 0 12px 28px rgba(0,0,0,0.08); display: grid; gap: 10px; text-align: center; }

.pricing-card.pro { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 16px 36px rgba(124,77,255,0.18); }

.pricing-card h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--text); }

.pricing-card p { margin: 0; color: var(--muted); }

.pricing-card .cta { margin-top: 6px; }

@media (max-width: 900px) {
  nav, .actions-inline { display: none; }
  .split-header { grid-template-columns: 1fr; }
  .split-header h2, .split-header p { text-align: left; }
  .ai-row { grid-template-columns: 1fr; }

  /* Responsive adjustments for new design */
  #core-value .card:nth-child(1) { grid-column: span 1 !important; }
  #core-value .grid-2x2 { grid-template-columns: 1fr !important; }
  #product-tour .split-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  #product-tour .split-header p { text-align: left; }
  #product-tour .tool-grid { grid-template-columns: 1fr !important; }
  #ai-intel .ai-row { grid-template-columns: 1fr !important; gap: 40px; }
  #ai-intel .ai-cards { grid-template-columns: 1fr !important; }
  #client-os .two-col { grid-template-columns: 1fr !important; gap: 40px; }
  #agency-os .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  #knowledge-base .kb-layout { grid-template-columns: 1fr !important; gap: 40px; }
  #knowledge-base .kb-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  header { padding: 12px 16px 16px; }
  .page { padding: 0 16px 70px; }
  .hero { padding: 100px 16px; }
  .hero-text h1 {
    --hero-font-size: clamp(48px, 11vw, 68px);
    font-size: var(--hero-font-size);
    margin: 0 0 16px 0;
    min-height: calc(var(--hero-font-size) * 2.45);
  }
  .animated-text {
    min-height: calc(var(--hero-font-size) * 2.3);
  }
  .hero-text p { margin: 0 auto 20px auto; }
  .cta-row .btn { width: auto; min-width: 170px; padding: 12px 18px; }
  .section { padding: 55px 16px 65px; }
  .section h2 { font-size: 27px; margin: 0 0 16px 0; }
  .card { padding: 24px; }

  /* Responsive for new design - tablet */
  #core-value, #product-tour, #ai-intel, #client-os, #agency-os, #knowledge-base {
    padding: 70px 16px 80px;
  }
  #core-value .grid-2x2 { gap: 20px; grid-template-columns: 1fr !important; }
  #core-value .card:nth-child(1) { grid-column: span 1 !important; }
  #product-tour .tool-grid { gap: 16px; grid-template-columns: 1fr !important; }
  #ai-intel .ai-row { grid-template-columns: 1fr !important; gap: 40px; }
  #ai-intel .ai-cards { gap: 20px; grid-template-columns: 1fr !important; }
  #ai-intel .mockup-box { min-height: 300px; padding: 16px; }
  #client-os .two-col { grid-template-columns: 1fr !important; gap: 40px; }
  #client-os .mockup-large { min-height: 320px; padding: 16px; }
  #agency-os .dept-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 24px; }
  #knowledge-base .kb-layout { grid-template-columns: 1fr !important; gap: 40px; }
  #knowledge-base .kb-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .hero { padding: 80px 12px; }
  .hero-text { max-width: 100%; }
  .hero-text h1 {
    --hero-font-size: clamp(44px, 12vw, 64px);
    font-size: var(--hero-font-size);
    margin: 0 0 16px 0;
    min-height: calc(var(--hero-font-size) * 2.55);
  }
  .animated-text {
    min-height: calc(var(--hero-font-size) * 2.35);
  }
  .hero-text p { font-size: 15px; margin: 0 auto 20px auto; }
  .cta-row .btn { width: auto; min-width: 180px; justify-content: center; padding: 12px 18px; }
  .section { padding: 44px 12px 52px; }
  .section h2 { font-size: 25px; margin: 0 0 16px 0; }
  .pricing-card, .dept-card, .kb-card, .ai-card, .card { padding: 18px; }
  .split-header p { text-align: left; }
  .page { padding: 0 12px 70px; }

  /* Responsive for new design - mobile */
  #core-value, #product-tour, #ai-intel, #client-os, #agency-os, #knowledge-base {
    padding: 56px 12px 64px;
  }
  #core-value .card { padding: 24px 20px; }
  #core-value .card:nth-child(1) { grid-column: span 1 !important; }
  #core-value .card .icon-circle { width: 56px; height: 56px; font-size: 20px; }
  #core-value .grid-2x2 { gap: 16px; grid-template-columns: 1fr !important; }
  #product-tour .tool-card { padding: 20px 16px; }
  #product-tour .tool-icon { width: 48px; height: 48px; font-size: 22px; }
  #product-tour .tool-grid { gap: 12px; grid-template-columns: 1fr !important; }
  #ai-intel .ai-row { grid-template-columns: 1fr !important; gap: 32px; }
  #ai-intel .mockup-box { min-height: 250px; padding: 16px; }
  #ai-intel .ai-cards { gap: 16px; grid-template-columns: 1fr !important; }
  #client-os .mockup-large { min-height: 280px; padding: 16px; }
  #client-os .two-col { gap: 32px; grid-template-columns: 1fr !important; }
  #agency-os .dept-grid { grid-template-columns: 1fr !important; gap: 20px; }
  #agency-os .dept-card { padding: 36px 24px; }
  #agency-os .dept-icon { width: 72px; height: 72px; font-size: 36px; }
  #knowledge-base .kb-layout { gap: 32px; grid-template-columns: 1fr !important; }
  #knowledge-base .kb-grid { grid-template-columns: 1fr !important; gap: 16px; }
  #knowledge-base .kb-card { padding: 24px 16px; }
}

@media (min-width: 901px) {
  .hero-text h1 {
    --hero-font-size: clamp(52px, 5.5vw, 78px);
    min-height: calc(var(--hero-font-size) * 2.1);
  }
  .animated-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    word-break: normal;
    min-height: calc(var(--hero-font-size) * 1.2);
  }
}

/* Section specific styles - Complete Redesign */

/* Section 2 - Ana Fayda - Feature Grid with Icons */
#core-value {
  background: linear-gradient(180deg, #FAFBFD 0%, #F0F4FF 50%, #FAFBFD 100%);
  padding: 100px 16px 110px;
}

#core-value h2 {
  font-size: clamp(48px, 5vw, 48px);
  background: linear-gradient(135deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

#core-value .subhead-center {
  font-size: 19px;
  margin-bottom: 64px;
  max-width: 600px;
}

#core-value .grid-2x2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

#core-value .card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(99, 102, 241, 0.1);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

#core-value .card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--blue), var(--emerald));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#core-value .card:hover::before {
  opacity: 1;
}

#core-value .card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

#core-value .card .icon-circle {
  width: 64px;
  height: 64px;
  font-size: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

#core-value .card:nth-child(1) {
  grid-column: span 2;
}

@media (max-width: 900px) {
  #core-value .card:nth-child(1) {
    grid-column: span 1 !important;
  }
}

#core-value .card:nth-child(1) .icon-circle {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
}

#core-value .card:nth-child(2) .icon-circle {
  background: linear-gradient(135deg, var(--blue), #2563EB);
  color: white;
}

#core-value .card:nth-child(3) .icon-circle {
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: white;
}

#core-value .card:nth-child(4) .icon-circle {
  background: linear-gradient(135deg, var(--violet), #7C3AED);
  color: white;
}

#core-value .card:nth-child(5) .icon-circle {
  background: linear-gradient(135deg, var(--amber), #D97706);
  color: white;
}

#core-value .card h3 {
  font-size: 21px;
  margin-bottom: 14px;
}

/* Section 3 - Araç Paketi - Compact Tool Cards */
#product-tour {
  background: linear-gradient(135deg, #FAFBFD 0%, #F0FDF4 100%);
  padding: 100px 0 110px;
}

#product-tour .split-header {
  max-width: 1100px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

#product-tour .split-header h2 {
  font-size: clamp(48px, 5vw, 42px);
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#product-tour .split-header p {
  display: none;
}

#product-tour .tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

#product-tour .tool-card {
  background: white;
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

#product-tour .tool-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald), var(--cyan));
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#product-tour .tool-card:hover::after {
  opacity: 1;
}

#product-tour .tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(16, 185, 129, 0.12);
  border-color: var(--emerald);
}

#product-tour .tool-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--emerald-soft), rgba(6, 182, 212, 0.1));
  border: 2px solid rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  font-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
}

#product-tour .tool-card:nth-child(1) .tool-icon {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230b8a6b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 30v6'/%3E%3Cpath d='M22 24v12'/%3E%3Cpath d='M30 18v18'/%3E%3Cpath d='M12 34h24'/%3E%3C/svg%3E");
}

#product-tour .tool-card:nth-child(2) .tool-icon {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230b8a6b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12h14l10 10-12 12-12-12z'/%3E%3Cpath d='M28 14l6 6'/%3E%3Ccircle cx='18' cy='18' r='2.5'/%3E%3C/svg%3E");
}

#product-tour .tool-card:nth-child(3) .tool-icon {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230b8a6b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='12' width='28' height='18' rx='3'/%3E%3Cpath d='M14 20h6'/%3E%3Cpath d='M14 26h4'/%3E%3Cpath d='M24 20h10'/%3E%3Cpath d='M24 26h8'/%3E%3C/svg%3E");
}

#product-tour .tool-card:nth-child(4) .tool-icon {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230b8a6b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 32l6-10 4 6 6-10'/%3E%3Cpath d='M30 14h6v6'/%3E%3C/svg%3E");
}

#product-tour .tool-card:nth-child(5) .tool-icon {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230b8a6b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='9'/%3E%3Cpath d='M24 13v4'/%3E%3Cpath d='M33 24h-4'/%3E%3Cpath d='M24 31v4'/%3E%3Cpath d='M19 24h-4'/%3E%3C/svg%3E");
}

#product-tour .tool-card:nth-child(6) .tool-icon {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230b8a6b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='12' y='14' width='16' height='12' rx='3'/%3E%3Cpath d='M28 20h8v8H20'/%3E%3Cpath d='M16 32h16'/%3E%3C/svg%3E");
}

#product-tour .tool-card:nth-child(7) .tool-icon {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230b8a6b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 32h24'/%3E%3Cpath d='M16 32l4-14 8 10 8-10 4 14'/%3E%3Ccircle cx='20' cy='13' r='2.5'/%3E%3Ccircle cx='28' cy='15' r='2.5'/%3E%3Ccircle cx='36' cy='13' r='2.5'/%3E%3C/svg%3E");
}

/* Section 4 - AI Intel - Split Layout with Visual */
#ai-intel {
  background: linear-gradient(135deg, #F0F4FF 0%, #F5F3FF 100%);
  padding: 100px 16px 110px;
  position: relative;
  overflow: hidden;
}

#ai-intel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

#ai-intel .ai-row {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 60px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

#ai-intel .ai-row h2 {
  font-size: clamp(45px, 5vw, 44px);
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 20px;
}

#ai-intel .ai-row p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-light);
}

#ai-intel .mockup-box {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.08));
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  min-height: 220px;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

#ai-intel .ai-cards {
  max-width: 1100px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
  width: 100%;
  box-sizing: border-box;
}

#ai-intel .ai-card {
  background: white;
  border: 2px solid rgba(139, 92, 246, 0.12);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

#ai-intel .ai-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

#ai-intel .ai-card:hover::before {
  opacity: 0.15;
}

#ai-intel .ai-card:hover {
  transform: translateY(-6px);
  border-color: var(--violet);
  box-shadow: 0 16px 48px rgba(139, 92, 246, 0.2);
}

#ai-intel .ai-card h4 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}

/* Section 5 - Client OS - Horizontal Split */
#client-os {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFF1F2 100%);
  padding: 100px 0 110px;
}

#client-os .two-col {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 64px;
  align-items: center;
}

#client-os h2 {
  font-size: clamp(45px, 5vw, 44px);
  background: linear-gradient(135deg, var(--amber), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 24px;
}

#client-os .two-col p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
}

#client-os .two-col p:last-of-type {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  font-style: italic;
  margin-top: 28px;
}

#client-os .mockup-large {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(244, 63, 94, 0.08));
  border: 2px solid rgba(245, 158, 11, 0.2);
  border-radius: 24px;
  min-height: 280px;
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.15);
}

/* Section 6 - Agency OS - Department Grid */
#agency-os {
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
  padding: 100px 0 110px;
}

#agency-os h2 {
  font-size: clamp(45px, 5vw, 48px);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

#agency-os .subhead-center {
  max-width: 800px;
  font-size: 18px;
  margin-bottom: 64px;
}

#agency-os .dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

#agency-os .dept-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 24px;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}

#agency-os .dept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#agency-os .dept-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#agency-os .dept-card:hover::before {
  transform: scaleX(1);
}

#agency-os .dept-card:hover::after {
  opacity: 1;
}

#agency-os .dept-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.15);
  border-color: var(--blue);
}

#agency-os .dept-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  line-height: 1;
  background: linear-gradient(135deg, #F0F4FF 0%, #E0F2FE 100%);
  border-radius: 20px;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44px 44px;
  color: transparent;
}

#agency-os .dept-card:hover .dept-icon {
  transform: scale(1.1) rotateY(10deg);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.2);
}

#agency-os .dept-card h4 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

#agency-os .dept-card:hover h4 {
  color: var(--blue);
  transform: translateY(-2px);
}

/* Individual card color themes */
#agency-os .dept-card:nth-child(1) .dept-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 22l16-10v24L10 26'/%3E%3Cpath d='M26 20l8-4'/%3E%3Cpath d='M26 28l8 4'/%3E%3Cpath d='M10 28v5a4 4 0 0 0 8 0v-3'/%3E%3Cpath d='M32 24h6'/%3E%3C/svg%3E") center center/44px 44px no-repeat,
    linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

#agency-os .dept-card:nth-child(1):hover::before {
  background: linear-gradient(90deg, #F59E0B, #F97316);
}

#agency-os .dept-card:nth-child(2) .dept-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 14h22l-5 8H16z'/%3E%3Cpath d='M16 22h13l-3 6H14l2-4'/%3E%3Ccircle cx='20' cy='32' r='2.5'/%3E%3Ccircle cx='30' cy='32' r='2.5'/%3E%3Cpath d='M28 18l4-6'/%3E%3C/svg%3E") center center/44px 44px no-repeat,
    linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}

#agency-os .dept-card:nth-child(2):hover::before {
  background: linear-gradient(90deg, #3B82F6, #2563EB);
}

#agency-os .dept-card:nth-child(3) .dept-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='6'/%3E%3Cpath d='M24 11v4'/%3E%3Cpath d='M24 33v4'/%3E%3Cpath d='M35 24h-4'/%3E%3Cpath d='M17 24h-4'/%3E%3Cpath d='M30 18l3-3'/%3E%3Cpath d='M18 30l-3 3'/%3E%3Cpath d='M30 30l3 3'/%3E%3Cpath d='M18 18l-3-3'/%3E%3C/svg%3E") center center/44px 44px no-repeat,
    linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
}

#agency-os .dept-card:nth-child(3):hover::before {
  background: linear-gradient(90deg, #6366F1, #4F46E5);
}

#agency-os .dept-card:nth-child(4) .dept-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10h16l-2 8H18z'/%3E%3Cpath d='M16 18h16v12c0 4-4 8-8 8s-8-4-8-8z'/%3E%3Cpath d='M20 24h8'/%3E%3Cpath d='M20 28h8'/%3E%3Cpath d='M20 32h6'/%3E%3C/svg%3E") center center/44px 44px no-repeat,
    linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%);
}

#agency-os .dept-card:nth-child(4):hover::before {
  background: linear-gradient(90deg, #EC4899, #DB2777);
}

#agency-os .dept-card:nth-child(5) .dept-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 32l8-10 6 6 10-12'/%3E%3Cpath d='M30 14h6v6'/%3E%3Cpath d='M12 36h24'/%3E%3C/svg%3E") center center/44px 44px no-repeat,
    linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
}

#agency-os .dept-card:nth-child(5):hover::before {
  background: linear-gradient(90deg, #10B981, #059669);
}

#agency-os .dept-card:nth-child(6) .dept-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h12'/%3E%3Cpath d='M20 12v10l-6 10a2 2 0 0 0 2 3h16a2 2 0 0 0 2-3l-6-10V12'/%3E%3Cpath d='M18 26h12'/%3E%3Cpath d='M22 32h4'/%3E%3C/svg%3E") center center/44px 44px no-repeat,
    linear-gradient(135deg, #E9D5FF 0%, #D8B4FE 100%);
}

#agency-os .dept-card:nth-child(6):hover::before {
  background: linear-gradient(90deg, #8B5CF6, #7C3AED);
}

#agency-os .dept-card:nth-child(7) .dept-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='20' r='6'/%3E%3Cpath d='M16 34c1-4 4.5-7 8-7h4c3.5 0 8 4 8 7'/%3E%3C/svg%3E") center center/44px 44px no-repeat,
    linear-gradient(135deg, #CFFAFE 0%, #A5F3FC 100%);
}

#agency-os .dept-card:nth-child(7):hover::before {
  background: linear-gradient(90deg, #06B6D4, #0891B2);
}

#agency-os .dept-card:nth-child(8) .dept-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%230f172a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='11'/%3E%3Cpath d='M24 13v6l5 5'/%3E%3Cpath d='M32 24h5'/%3E%3Cpath d='M24 32v5'/%3E%3Cpath d='M16 24h-5'/%3E%3Cpath d='M29 19l3-3'/%3E%3C/svg%3E") center center/44px 44px no-repeat,
    linear-gradient(135deg, #FED7AA 0%, #FDBA74 100%);
}

#agency-os .dept-card:nth-child(8):hover::before {
  background: linear-gradient(90deg, #F97316, #EA580C);
}

/* Section 7 - Knowledge Base - Asymmetric Layout */
#knowledge-base {
  background: linear-gradient(135deg, #ECFDF5 0%, #E0F2FE 100%);
  padding: 100px 0 110px;
}

#knowledge-base .kb-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 56px;
  align-items: start;
}

#knowledge-base h2 {
  font-size: clamp(45px, 5vw, 44px);
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 20px;
}

#knowledge-base .subhead-center {
  text-align: left;
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-light);
}

#knowledge-base .kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: 20px;
}

#knowledge-base .kb-card {
  background: white;
  border: 2px solid rgba(6, 182, 212, 0.15);
  border-radius: 18px;
  padding: 32px 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

#knowledge-base .kb-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

#knowledge-base .kb-card:hover::before {
  opacity: 0.12;
}

#knowledge-base .kb-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(6, 182, 212, 0.15);
  border-color: var(--cyan);
}

#knowledge-base .kb-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan-soft), var(--emerald-soft));
  border: 2px solid rgba(6, 182, 212, 0.25);
  border-radius: 12px;
  color: transparent;
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 32px 32px, 100% 100%;
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#knowledge-base .kb-card:nth-child(1) .kb-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2306b6d4' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='11'/%3E%3Cpath d='M24 13v6l4 4'/%3E%3Cpath d='M32 24h5'/%3E%3Cpath d='M24 32v5'/%3E%3Cpath d='M16 24h-5'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.12));
  border-color: rgba(59, 130, 246, 0.3);
}

#knowledge-base .kb-card:nth-child(2) .kb-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2306b6d4' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 30c2-6 7-10 12-14 5 4 10 8 12 14'/%3E%3Cpath d='M18 20l4 4'/%3E%3Cpath d='M30 20l-4 4'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(34, 211, 238, 0.12));
  border-color: rgba(16, 185, 129, 0.3);
}

#knowledge-base .kb-card:nth-child(3) .kb-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2306b6d4' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='14' width='28' height='20' rx='4'/%3E%3Cpath d='M10 18l14 9 14-9'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(56, 189, 248, 0.12));
  border-color: rgba(99, 102, 241, 0.32);
}

#knowledge-base .kb-card:nth-child(4) .kb-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23f59e0b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='9'/%3E%3Cpath d='M24 15v6l4 4'/%3E%3Cpath d='M30 24h5'/%3E%3Cpath d='M24 30v5'/%3E%3Cpath d='M18 24h-5'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(250, 204, 21, 0.12));
  border-color: rgba(245, 158, 11, 0.32);
}

#knowledge-base .kb-card:nth-child(5) .kb-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23ec4899' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 30c3-4 7-6 12-6s9 2 12 6'/%3E%3Cpath d='M24 15v6'/%3E%3Cpath d='M18 26l6-11 6 11'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(6, 182, 212, 0.12));
  border-color: rgba(236, 72, 153, 0.32);
}

#knowledge-base .kb-card:nth-child(6) .kb-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2306b6d4' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 12h16'/%3E%3Cpath d='M20 20h8'/%3E%3Cpath d='M14 20l10 16 10-16'/%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(52, 211, 153, 0.16), rgba(59, 130, 246, 0.12));
  border-color: rgba(52, 211, 153, 0.3);
}

#knowledge-base .kb-card:hover .kb-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.4);
}

#knowledge-base .kb-card div {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

/* Footer Styles */
.footer {
  background: linear-gradient(180deg, #FAFBFD 0%, #F0F4FF 100%);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
  margin-top: 0;
}

.footer-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand .brand {
  margin-bottom: 0;
}

.footer-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  letter-spacing: -0.2px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column ul li a {
  color: var(--muted);
  font-size: 14px;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

.footer-bottom-links .separator {
  color: var(--border);
  user-select: none;
}

/* Footer Responsive */
@media (max-width: 900px) {
  .footer {
    padding: 60px 0 0;
  }

  .footer-content {
    padding: 0 16px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-bottom: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }

  .footer-description {
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  .footer {
    padding: 50px 0 0;
  }

  .footer-content {
    padding: 0 12px;
  }

  .footer-main {
    gap: 40px;
    padding-bottom: 32px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
    gap: 16px;
  }

  .footer-bottom-links {
    gap: 12px;
    flex-wrap: wrap;
  }
}
