/*
Theme Name: DigitFold Studio
Theme URI: https://studio.digitfold.com
Author: DigitFold Studio
Author URI: https://studio.digitfold.com
Description: 极简、暗黑风格的 DigitFold Studio 专用主题，适配首页落地页与 Docs 文档系统。
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dfstudio
*/

/* =Base
--------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #1f2933 0, #050509 38%, #02030a 100%);
  color: #e5e7eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #93c5fd;
}

button {
  font-family: inherit;
}

.dfstudio-body {
  background: radial-gradient(circle at top left, #1f2933 0, #050509 38%, #02030a 100%);
}

.dfstudio-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.dfstudio-gradient-text {
  background: linear-gradient(120deg, #e5e7eb, #a5b4fc, #38bdf8, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dfstudio-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 64, 175, 0.65));
  color: #e5e7eb;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dfstudio-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #facc15, #f97316 58%, transparent 100%);
  box-shadow: 0 0 16px rgba(248, 250, 252, 0.9);
}

.dfstudio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out,
    background 0.15s ease-out, color 0.15s ease-out;
  white-space: nowrap;
}

.dfstudio-btn-primary {
  background: radial-gradient(circle at 20% 0%, #f97316 0, #a855f7 30%, #1d4ed8 80%);
  color: #0b1120;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.55);
}

.dfstudio-btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 0 52px rgba(59, 130, 246, 0.75);
}

.dfstudio-btn-ghost {
  border-color: rgba(148, 163, 184, 0.45);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.2));
  color: #e5e7eb;
}

.dfstudio-btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.85));
}

.dfstudio-section-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.dfstudio-section-title {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.3rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.dfstudio-section-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Header & Footer
--------------------------------------------- */

.dfstudio-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.dfstudio-site-header .dfstudio-container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.dfstudio-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.dfstudio-logo-group {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  text-decoration: none;
}

.dfstudio-logo-group:hover {
  color: #ffffff;
  text-decoration: none;
}

.dfstudio-logo-image {
  width: 40px;
  height: 40px;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.dfstudio-logo-text-main {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.dfstudio-logo-text-sub {
  font-size: 0.7rem;
  color: #6b7280;
}

.dfstudio-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.dfstudio-nav a {
  color: #9ca3af;
}

.dfstudio-nav a:hover {
  color: #e5e7eb;
}

.dfstudio-nav-cta {
  display: none;
}

.dfstudio-site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  margin-top: 4rem;
  padding: 2rem 0 2.5rem;
  background: radial-gradient(circle at bottom right, rgba(17, 24, 39, 0.6), transparent 60%);
  font-size: 0.8rem;
  color: #6b7280;
}

.dfstudio-site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dfstudio-footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Utilities
--------------------------------------------- */

.dfstudio-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.15rem 0.65rem;
  font-size: 0.7rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dfstudio-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #34d399, #22c55e);
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.9);
}

.dfstudio-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
  font-size: 0.7rem;
  color: #9ca3af;
}

.dfstudio-tag-pill-accent {
  border-color: rgba(96, 165, 250, 0.8);
  background: radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.25), rgba(15, 23, 42, 0.9));
  color: #e5e7eb;
}

.dfstudio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  color: #9ca3af;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.4), rgba(17, 24, 39, 0.98));
}

.dfstudio-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #a5b4fc, #4f46e5 60%, #1d4ed8 100%);
  box-shadow: 0 0 18px rgba(129, 140, 248, 1);
}

.dfstudio-label {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive
--------------------------------------------- */

@media (max-width: 767px) {
  .dfstudio-site-header-inner {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }

  .dfstudio-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 0.35rem;
    margin-bottom: 0.15rem;
    font-size: 0.8rem;
  }

  .dfstudio-logo-group {
    gap: 0.5rem;
  }

  .dfstudio-logo-image {
    width: 32px;
    height: 32px;
    max-width: 32px !important;
    max-height: 32px !important;
  }

  .dfstudio-logo-text-main {
    font-size: 0.85rem;
    color: #ffffff;
  }
}

@media (min-width: 768px) {
  .dfstudio-nav-cta {
    display: inline-flex;
  }
}


