/* =====================================================================
   ZYNET DIGITAL - digital.php sayfasına özel stiller
   Temel tasarım (renkler, butonlar, kartlar) style.css'ten gelir.
   ===================================================================== */

.dg { --dg-grad: linear-gradient(100deg, #6C5CE7 0%, #8B7CF6 45%, #4F8CF7 100%); }

.dg-accent { background: var(--dg-grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.dg .hero h1 .accent, .dg h1 .accent { background: var(--dg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dg .eyebrow { background: linear-gradient(100deg, #EDE9FE, #E6EEFF); }
.dg-back { color: var(--text-secondary); }

/* ---------- Hero ---------- */
.dg-hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.dg-hero::before {
  content: ""; position: absolute; width: 1000px; height: 1000px; right: -360px; top: -420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(79, 140, 247, .16), rgba(184, 174, 255, .18) 40%, rgba(184, 174, 255, 0) 68%);
}
.dg-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(108, 92, 231, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 92, 231, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.dg-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.dg-hero h1 { margin-bottom: 22px; }

.dg-visual { position: relative; min-height: 520px; }
.dg-ring { position: absolute; width: 460px; height: 460px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(237,233,254,.55) 60%, rgba(237,233,254,0) 72%); }
.dg-ring::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 2px solid transparent;
  border-right-color: rgba(79, 140, 247, .4); border-top-color: rgba(108, 92, 231, .45); transform: rotate(10deg); }

.dg-window { position: absolute; background: rgba(255,255,255,.94); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.dg-app { width: 430px; right: 10px; top: 40px; animation: float 8s ease-in-out infinite; }
.dg-app-body { display: grid; grid-template-columns: 64px 1fr; min-height: 230px; }
.dg-side { border-right: 1px solid var(--border); padding: 16px 12px; display: grid; gap: 10px; align-content: start; background: #FCFCFF; }
.dg-side span { height: 10px; border-radius: 5px; background: #E7E4F7; }
.dg-side span.on { background: var(--primary); }
.dg-main { padding: 16px; display: grid; gap: 14px; }
.dg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dg-stats span { border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: grid; gap: 6px; }
.dg-stats b { display: block; height: 12px; width: 60%; border-radius: 4px; background: var(--text); opacity: .8; }
.dg-stats i { display: block; height: 7px; width: 85%; border-radius: 4px; background: #E3E0F5; }
.dg-chart { height: 120px; display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-radius: 12px; background: linear-gradient(180deg, #FAFAFF, #F3F1FF); }
.dg-chart i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #8C80F5, #6C5CE7); }
.dg-chart i:nth-child(even) { background: linear-gradient(180deg, #8DB4FA, #4F8CF7); opacity: .85; }

.dg-code { width: 330px; left: -10px; bottom: 40px; background: #1C1F3A; border-color: #2A2E52; animation: float 9s ease-in-out infinite reverse; }
.dg-code-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #2A2E52; }
.dg-code-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3A3F6B; display: block; }
.dg-code-bar span { margin-left: 8px; font-size: .72rem; color: #9AA0C7; font-family: ui-monospace, Menlo, monospace; }
.dg-code pre { margin: 0; padding: 14px 16px; font: 500 .78rem/1.65 ui-monospace, "SFMono-Regular", Menlo, monospace; color: #D9DCF5; white-space: pre; overflow: hidden; }
.dg-code .k { color: #B3A8FF; } .dg-code .f { color: #8DB4FA; } .dg-code .v { color: #F2C38B; }

.dg-chip { padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.dg-chip-1 { left: 20px; top: 10px; animation: float 6s ease-in-out infinite; }
.dg-chip-2 { right: 40px; bottom: 20px; animation: float 7s ease-in-out infinite reverse; }

/* ---------- İçerik ---------- */
.dg-service .chip-icon { background: linear-gradient(135deg, #EDE9FE, #E6EEFF); }
.dg-infra {
  display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 36px; align-items: center;
  background: linear-gradient(120deg, #F3F0FF 0%, #FFFFFF 55%, #EEF4FF 100%);
  border: 1px solid #DCD6FB; border-radius: var(--radius-lg); padding: 40px;
}
.dg-infra h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.dg-infra p { color: var(--text-secondary); margin: 0; }
.dg-infra .feature-list { margin: 0; }

/* ---------- Teklif ---------- */
.dg-quote { display: grid; grid-template-columns: .9fr 1.3fr; gap: 48px; align-items: start; }
.dg-quote-intro { position: sticky; top: calc(var(--nav-height) + 24px); }
.dg-quote-intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.dg-contact { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.dg-contact li { display: flex; align-items: center; gap: 12px; color: var(--text-secondary); }
.dg-contact .icon { width: 20px; height: 20px; color: var(--primary); }
.dg-form-card { padding: 32px; }
.dg-types { border: 0; padding: 0; margin: 0; min-width: 0; }
.dg-types legend { margin-bottom: 10px; }
.dg-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dg-type-grid .option-card-body { padding: 14px; min-height: 56px; display: flex; align-items: center; }
.dg-type-grid strong { font-size: .92rem; font-weight: 600; margin: 0; }

.dg-footer { margin-top: 0; padding-top: 48px; }
.dg-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.dg-footer-inner p { margin: 0; color: var(--text-secondary); }

/* ---------- Mobil ---------- */
@media (max-width: 1180px) {
  .dg-back { display: none; }
}
@media (max-width: 1024px) {
  .dg-hero-inner { grid-template-columns: 1fr; }
  .dg-hero-copy { text-align: center; }
  .dg-hero .hero-actions, .dg-hero .hero-meta { justify-content: center; }
  .dg-hero .hero-lead { margin-left: auto; margin-right: auto; }
  .dg-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .dg-infra { grid-template-columns: 1fr; }
  .dg-quote { grid-template-columns: 1fr; }
  .dg-quote-intro { position: static; }
}
@media (max-width: 768px) {
  .dg-visual { min-height: 430px; }
  .dg-app { width: 340px; right: 0; }
  .dg-code { width: 270px; left: 0; bottom: 20px; }
  .dg-type-grid { grid-template-columns: repeat(2, 1fr); }
  .dg-form-card { padding: 22px; }
}
@media (max-width: 480px) {
  .dg-visual { min-height: 380px; }
  .dg-app { width: 290px; }
  .dg-app-body { min-height: 190px; grid-template-columns: 48px 1fr; }
  .dg-chart { height: 90px; }
  .dg-code { width: 240px; }
  .dg-code pre { font-size: .66rem; }
  .dg-chip-1 { left: 0; }
  .dg-chip-2 { right: 0; }
  .dg-cta { padding: 0 14px; }
}
