/*
Theme Name: Dinesh Soni - Senior Full-Stack WordPress Architect
Theme URI: https://dsoninxt.com
Author: Dinesh Soni
Author URI: https://linkedin.com/in/dsoninxt
Description: High-performance, conversion-engineered WordPress theme with sub-1s Core Web Vitals, Answer Engine Optimization (AEO/GEO for ChatGPT, Claude, Grok, Copilot, Antigravity), deep Schema.org JSON-LD, and privacy-shielded client communication.
Version: 1.2.0.22
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://dsoninxt.com
Text Domain: dsoninxt
Tags: portfolio, full-site-editing, custom-colors, custom-menu, responsive-layout, translation-ready, accessibility-ready, performance
*/

:root {
  --bg: #0A0D12;
  --card: #111620;
  --card-hover: #161D2B;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --accent: #10B981;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --accent-glow: rgba(16, 185, 129, 0.35);
  --text: #E6E8EC;
  --muted: #8B91A0;
  --muted-2: #5A6070;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  padding-bottom: 56px;
  line-height: 1.5;
}

@media (min-width: 640px) {
  body {
    padding-bottom: 0;
  }
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(800px 400px at 50% -10%, rgba(16, 185, 129, 0.09), transparent 70%),
    radial-gradient(600px 600px at 90% 20%, rgba(16, 185, 129, 0.05), transparent 60%),
    radial-gradient(500px 300px at 10% 80%, rgba(255, 255, 255, 0.02), transparent 60%);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
}

.card-hover {
  transition: all .25s cubic-bezier(.2, .8, .2, 1);
}

.card-hover:hover {
  border-color: rgba(16, 185, 129, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(16, 185, 129, 0.1) inset;
}

.glow-ring {
  box-shadow: 0 0 0 2px #0A0D12, 0 0 0 4px rgba(16, 185, 129, 0.45), 0 0 28px rgba(16, 185, 129, 0.35);
}

.btn-primary {
  background: var(--accent);
  color: #07110D;
  font-weight: 700;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-primary:hover {
  background: #12cc97;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  color: #07110D;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text);
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.dock-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all .2s ease;
  color: #A9AFBC;
  text-decoration: none;
}

.dock-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.nav-link {
  color: #8B91A0;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-link:hover {
  color: #FFFFFF;
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* Accessible skip-to-content */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #10B981;
  color: #07110D;
  padding: 8px 16px;
  z-index: 999;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* FAQ Accordion Styling */
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #0E131B;
  border-radius: 14px;
  transition: all 0.25s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.faq-item.active {
  border-color: rgba(16, 185, 129, 0.45);
  background: #111722;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #10B981;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: #8B91A0;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #10B981;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.25s ease;
  padding: 0 20px;
  color: #A9AFBC;
  font-size: 13.5px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
  transition: max-height 0.35s ease-in-out, padding 0.25s ease;
}

/* Quick Inquiry Status styling */
.form-status {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-top: 12px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444;
}

@media (hover: hover) {
  .group\/msg:hover .card-msg-menu {
    display: block !important;
  }

  .card-msg-menu::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 12px;
  }
}