/* ================================================================
   DIRECTFXIT — DESIGN SYSTEM v2.0
   Pure child theme, zero framework dependency
   ================================================================ */

:root {
  --black:   #0a0a0f;
  --dark:    #0f0f1a;
  --panel:   #13131f;
  --blue:    #00b7ae;
  --cyan:    #00b7ae;
  --green:   #4fb528;
  --orange:  #ff6a00;
  --yellow:  #feba02;
  --red:     #f90d01;
  --white:   #f0f4ff;
  --grid:    rgba(0,183,174,0.055);
  --glow-b:  0 0 22px rgba(0,183,174,0.55);
  --glow-c:  0 0 22px rgba(0,183,174,0.55);
  --glow-g:  0 0 22px rgba(79,181,40,0.55);
  --fd: 'Orbitron', monospace;
  --fm: 'Share Tech Mono', monospace;
  --fb: 'Rajdhani', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.dfx-site {
  background: var(--black);
  color: var(--white);
  font-family: var(--fb);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── GRID BACKGROUND ── */
body.dfx-site::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── UTILITY ── */
.dfx-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* ── STRIPE ── */
.dfx-stripe {
  height: 4px;
  background: linear-gradient(90deg,
    var(--blue)   0% 20%,
    var(--cyan)  20% 40%,
    var(--green) 40% 60%,
    var(--yellow)60% 80%,
    var(--orange)80% 100%
  );
  position: relative; z-index: 10;
  opacity: 0.75;
  filter: blur(0.4px);
}

/* ── NAVIGATION ── */
.dfx-nav {
  position: sticky; top: 0; z-index: 999;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 40px;
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.dfx-nav-logo img { height: 50px; width: auto; filter: drop-shadow(0 0 8px rgba(0,245,255,0.4)); }
.dfx-nav-links { display: flex; gap: 30px; list-style: none; }
.dfx-nav-links a {
  font-family: var(--fd); font-size: 10px; font-weight: 700;
  letter-spacing: .12em; color: var(--white); text-decoration: none;
  text-transform: uppercase; transition: color .2s, text-shadow .2s;
}
.dfx-nav-links a:hover, .dfx-nav-links a.active { color: var(--cyan); text-shadow: var(--glow-c); }
.dfx-nav-cta {
  font-family: var(--fd); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; color: var(--black) !important;
  background: var(--cyan); padding: 10px 22px; text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  transition: background .2s, box-shadow .2s;
}
.dfx-nav-cta:hover { background: var(--green); box-shadow: var(--glow-g); }

/* hamburger — mobile */
.dfx-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.dfx-hamburger span { display: block; width: 24px; height: 2px; background: var(--cyan); transition: .3s; }
.dfx-mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,15,0.98); z-index: 1000;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.dfx-mobile-nav.open { display: flex; }
.dfx-mobile-nav a {
  font-family: var(--fd); font-size: 18px; font-weight: 700;
  letter-spacing: .12em; color: var(--white); text-decoration: none; text-transform: uppercase;
}
.dfx-mobile-nav a:hover { color: var(--cyan); }
.dfx-mobile-close {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--fd); font-size: 11px; color: var(--cyan);
  background: none; border: 1px solid var(--cyan); padding: 8px 14px; cursor: pointer;
  letter-spacing: .1em;
}

/* ── BUTTONS ── */
.dfx-btn {
  display: inline-block; font-family: var(--fd); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 15px 34px; transition: all .25s; cursor: pointer; border: none;
}
.dfx-btn-primary {
  background: var(--cyan); color: var(--black);
  clip-path: polygon(12px 0%,100% 0%,calc(100% - 12px) 100%,0% 100%);
}
.dfx-btn-primary:hover { background: var(--green); box-shadow: 0 0 28px rgba(57,255,20,.5); transform: translateY(-2px); color: var(--black); }
.dfx-btn-outline {
  background: transparent; color: var(--cyan);
  border: 2px solid var(--cyan);
}
.dfx-btn-outline:hover { background: rgba(0,245,255,.1); box-shadow: var(--glow-c); transform: translateY(-2px); color: var(--cyan); }
.dfx-btn-orange {
  background: var(--orange); color: var(--black);
  clip-path: polygon(12px 0%,100% 0%,calc(100% - 12px) 100%,0% 100%);
}
.dfx-btn-orange:hover { background: var(--yellow); transform: translateY(-2px); color: var(--black); }

/* ── SECTIONS ── */
.dfx-section { position: relative; z-index: 1; padding: 100px 0; }
.dfx-section-dark  { background: var(--black); }
.dfx-section-panel { background: var(--panel); }

.dfx-section-label {
  font-family: var(--fm); font-size: 11px; letter-spacing: .3em;
  color: var(--cyan); text-transform: uppercase; display: block; margin-bottom: 12px;
}
.dfx-section-label::before { content: '// '; color: var(--green); }

.dfx-h1 {
  font-family: var(--fd); font-size: clamp(34px,7vw,80px); font-weight: 900;
  line-height: 1.08; text-transform: uppercase; color: var(--white); margin-bottom: 20px;
}
.dfx-h2 {
  font-family: var(--fd); font-size: clamp(26px,4vw,48px); font-weight: 900;
  line-height: 1.12; text-transform: uppercase; color: var(--white); margin-bottom: 14px;
}
.dfx-h3 {
  font-family: var(--fd); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 10px;
}
.dfx-lead { font-size: clamp(16px,2.2vw,20px); color: rgba(240,244,255,.72); margin-bottom: 36px; max-width: 580px; }
.dfx-body { font-size: 16px; color: rgba(240,244,255,.68); line-height: 1.7; margin-bottom: 20px; }

.ac-blue   { color: var(--blue);   text-shadow: var(--glow-b); }
.ac-orange { color: var(--orange); }
.ac-cyan   { color: var(--cyan);   text-shadow: var(--glow-c); }
.ac-green  { color: var(--green);  text-shadow: var(--glow-g); }

/* ── HERO ── */
.dfx-hero {
  position: relative; z-index: 1;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 120px 40px 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(26,143,255,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(255,106,0,.12) 0%, transparent 60%),
    var(--black);
}
.dfx-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent, transparent 3px, rgba(0,0,0,.07) 3px, rgba(0,0,0,.07) 4px);
}
.dfx-hero-inner { position: relative; z-index: 2; max-width: 900px; }
.dfx-hero-eyebrow {
  font-family: var(--fm); font-size: 12px; letter-spacing: .3em;
  color: var(--cyan); text-transform: uppercase; display: block; margin-bottom: 18px;
}
.dfx-hero-eyebrow::before { content: '> '; color: var(--green); }
.dfx-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* ── TRUST BAR ── */
.dfx-trust {
  position: relative; z-index: 2;
  background: var(--panel);
  border-top: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  padding: 20px 40px;
  display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap;
}
.dfx-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fm); font-size: 12px; letter-spacing: .08em;
  color: var(--white); text-transform: uppercase;
}
.dfx-trust-item .ti { color: var(--orange); font-size: 18px; }

/* ── SERVICE CARDS ── */
.dfx-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 22px; }
.dfx-card {
  background: var(--panel); border: 1px solid rgba(0,245,255,.14);
  padding: 34px 26px; position: relative; overflow: hidden;
  clip-path: polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%);
  transition: border-color .3s, transform .3s;
}
.dfx-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,var(--blue),var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.dfx-card:hover { border-color: var(--cyan); transform: translateY(-4px); box-shadow: 0 8px 36px rgba(0,245,255,.1); }
.dfx-card:hover::before { transform: scaleX(1); }
.dfx-card-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.dfx-card p { font-size: 15px; color: rgba(240,244,255,.62); line-height: 1.65; margin-bottom: 18px; }
.dfx-card-link {
  font-family: var(--fm); font-size: 12px; letter-spacing: .1em;
  color: var(--cyan); text-decoration: none; text-transform: uppercase;
}
.dfx-card-link::after { content: ' →'; }
.dfx-card-link:hover { color: var(--green); }

/* ── STATS ── */
.dfx-stats { position: relative; z-index: 1; padding: 60px 40px; }
.dfx-stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 30px; max-width: 960px; margin: 0 auto; text-align: center;
}
.dfx-stat-num {
  font-family: var(--fd); font-size: clamp(32px,5vw,58px); font-weight: 900;
  color: var(--cyan); text-shadow: var(--glow-c);
  display: block; line-height: 1; margin-bottom: 8px;
}
.dfx-stat-lbl {
  font-family: var(--fm); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(240,244,255,.45);
}

/* ── TWO-COLUMN WHY US ── */
.dfx-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ── TERMINAL ── */
.dfx-terminal { background: #08080e; border: 1px solid rgba(57,255,20,.3); border-radius: 4px; overflow: hidden; box-shadow: 0 0 40px rgba(57,255,20,.07); }
.dfx-term-bar { background: #1a1a2e; padding: 10px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(57,255,20,.2); }
.dfx-dot { width: 10px; height: 10px; border-radius: 50%; }
.dfx-dot:nth-child(1){background:#ff5f57;} .dfx-dot:nth-child(2){background:#ffbd2e;} .dfx-dot:nth-child(3){background:#28c840;}
.dfx-term-title { font-family: var(--fm); font-size: 11px; color: rgba(255,255,255,.35); margin-left: 8px; }
.dfx-term-body { padding: 22px; font-family: var(--fm); font-size: 13px; line-height: 2.1; color: var(--green); }
.dfx-term-body .tp { color: var(--cyan); }
.dfx-term-body .tc { color: rgba(255,255,255,.3); }
.dfx-term-body .tv { color: var(--yellow); }
.dfx-cursor { display: inline-block; width: 8px; height: 14px; background: var(--green); vertical-align: text-bottom; animation: blink 1s step-end infinite; }
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}

/* ── CTA BAND ── */
.dfx-cta-band {
  position: relative; z-index: 1; text-align: center; padding: 90px 40px;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(26,143,255,.1), transparent 70%), var(--black);
}
.dfx-cta-band .dfx-h2 { margin-bottom: 14px; }
.dfx-cta-band .dfx-lead { margin: 0 auto 36px; }
.dfx-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.dfx-footer {
  position: relative; z-index: 2;
  background: var(--panel); border-top: 2px solid var(--cyan);
  padding: 36px 40px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.dfx-footer-logo img { height: 36px; opacity: .85; filter: drop-shadow(0 0 6px rgba(0,245,255,.3)); }
.dfx-footer-links { display: flex; gap: 24px; list-style: none; }
.dfx-footer-links a { font-family: var(--fm); font-size: 11px; letter-spacing: .1em; color: rgba(240,244,255,.45); text-decoration: none; text-transform: uppercase; }
.dfx-footer-links a:hover { color: var(--cyan); }
.dfx-footer-copy { font-family: var(--fm); font-size: 11px; letter-spacing: .08em; color: rgba(240,244,255,.32); }

/* ── SERVICES PAGE ── */
.dfx-services-hero { padding: 160px 40px 80px; text-align: center; }
.dfx-service-block {
  display: grid; grid-template-columns: 80px 1fr; gap: 28px;
  padding: 40px; background: var(--panel); border: 1px solid rgba(0,245,255,.12);
  margin-bottom: 22px; transition: border-color .3s;
  clip-path: polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%);
}
.dfx-service-block:hover { border-color: var(--cyan); }
.dfx-service-block-icon { font-size: 42px; line-height: 1; padding-top: 4px; }
.dfx-service-block h3 { margin-bottom: 10px; }
.dfx-service-block p { font-size: 16px; color: rgba(240,244,255,.65); margin-bottom: 16px; }
.dfx-service-block ul { list-style: none; padding: 0; }
.dfx-service-block ul li { font-family: var(--fm); font-size: 13px; color: rgba(240,244,255,.55); padding: 3px 0; }
.dfx-service-block ul li::before { content: '✓ '; color: var(--green); }

/* ── ABOUT PAGE ── */
.dfx-about-hero { padding: 160px 40px 80px; }
.dfx-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.dfx-stack-badge {
  display: inline-block; font-family: var(--fm); font-size: 11px; letter-spacing: .08em;
  color: var(--cyan); border: 1px solid rgba(0,245,255,.35);
  padding: 6px 14px; margin: 4px; text-transform: uppercase;
  transition: background .2s, border-color .2s;
}
.dfx-stack-badge:hover { background: rgba(0,245,255,.08); border-color: var(--cyan); }

/* ── CONTACT PAGE ── */
.dfx-contact-hero { padding: 160px 40px 60px; }
.dfx-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.dfx-contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px; background: var(--panel);
  border: 1px solid rgba(0,245,255,.12); margin-bottom: 16px;
  transition: border-color .3s;
}
.dfx-contact-method:hover { border-color: var(--cyan); }
.dfx-contact-method-icon { font-size: 28px; flex-shrink: 0; }
.dfx-contact-method h4 { font-family: var(--fd); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); margin-bottom: 4px; }
.dfx-contact-method p, .dfx-contact-method a { font-family: var(--fm); font-size: 15px; color: var(--white); text-decoration: none; }
.dfx-contact-method a:hover { color: var(--cyan); }

/* ── CONTACT FORM ── */
.dfx-form { display: flex; flex-direction: column; gap: 16px; }
.dfx-form label { font-family: var(--fm); font-size: 11px; letter-spacing: .12em; color: var(--cyan); text-transform: uppercase; display: block; margin-bottom: 6px; }
.dfx-form input, .dfx-form select, .dfx-form textarea {
  width: 100%; background: var(--panel); border: 1px solid rgba(0,245,255,.2);
  color: var(--white); font-family: var(--fb); font-size: 16px;
  padding: 13px 16px; outline: none; transition: border-color .2s;
}
.dfx-form input:focus, .dfx-form select:focus, .dfx-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 12px rgba(0,245,255,.12); }
.dfx-form select { appearance: none; cursor: pointer; }
.dfx-form select option { background: var(--panel); }
.dfx-form textarea { resize: vertical; min-height: 140px; }
.dfx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dfx-form-notice { font-family: var(--fm); font-size: 12px; color: rgba(240,244,255,.4); margin-top: 8px; }

/* ── MOBILE ── */
@media(max-width:900px){
  .dfx-two-col, .dfx-about-grid, .dfx-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .dfx-stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px){
  .dfx-nav { padding: 12px 20px; }
  .dfx-nav-links, .dfx-nav-cta { display: none; }
  .dfx-hamburger { display: flex; }
  .dfx-wrap { padding: 0 20px; }
  .dfx-hero { padding: 100px 20px 60px; }
  .dfx-section { padding: 60px 0; }
  .dfx-trust { gap: 18px; padding: 16px 20px; }
  .dfx-footer { flex-direction: column; text-align: center; padding: 28px 20px; }
  .dfx-services-hero, .dfx-about-hero, .dfx-contact-hero { padding: 120px 20px 50px; }
  .dfx-service-block { grid-template-columns: 1fr; }
  .dfx-form-row { grid-template-columns: 1fr; }
  .dfx-stats { padding: 50px 20px; }
}

/* ══════════════════════════════════════════════════
   PLACEHOLDER PAGES — Services / About / Contact
   ══════════════════════════════════════════════════ */
.dfx-placeholder-page {
  background: var(--black); min-height: 100vh;
  padding-bottom: 100px;
}

/* Hero */
.dfx-placeholder-hero {
  background: var(--dark); padding: 140px 40px 80px 40px;
  text-align: center; position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(0,183,174,.15);
}
.dfx-placeholder-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,183,174,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,183,174,.03) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.dfx-placeholder-inner { position: relative; max-width: 700px; margin: 0 auto; }
.dfx-placeholder-label {
  font-family: var(--fm); font-size: 12px; letter-spacing: .2em;
  color: var(--cyan); text-transform: uppercase; display: block; margin-bottom: 16px;
}
.dfx-placeholder-title {
  font-family: var(--fd); font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; text-transform: uppercase; color: var(--white);
  margin: 0 0 16px 0; line-height: 1.1;
}
.dfx-placeholder-sub {
  font-family: var(--fb); font-size: 1.15rem;
  color: rgba(240,244,255,.5); margin: 0 0 32px 0;
}
.dfx-placeholder-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(254,186,2,.08); border: 1px solid rgba(254,186,2,.25);
  color: var(--yellow); font-family: var(--fm); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 3px;
}
.dfx-badge-icon { font-size: 16px; }

/* Cards grid */
.dfx-placeholder-cards {
  max-width: 1100px; margin: 0 auto; padding: 80px 40px 0 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.dfx-ph-card {
  background: #0f0f1a; border: 1px solid rgba(0,183,174,.12);
  border-radius: 4px; padding: 36px 28px; text-align: center;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.dfx-ph-card:hover {
  border-color: rgba(0,183,174,.35);
  box-shadow: 0 0 24px rgba(0,183,174,.06);
}
.dfx-ph-card--wide { grid-column: span 1; }
.dfx-ph-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.dfx-ph-card h3 {
  font-family: var(--fd); font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--white); margin: 0 0 12px 0;
}
.dfx-ph-card p {
  font-family: var(--fb); font-size: 15px; line-height: 1.7;
  color: rgba(240,244,255,.6); margin: 0;
}
.dfx-ph-contact-value {
  font-family: var(--fd); font-size: 1.2rem !important;
  color: var(--cyan) !important; margin-bottom: 8px !important;
}
.dfx-ph-contact-value a { color: var(--cyan); text-decoration: none; }
.dfx-ph-contact-value a:hover { color: var(--green); }

/* CTA */
.dfx-placeholder-cta { text-align: center; margin-top: 60px; }

/* Responsive */
@media(max-width: 968px) {
  .dfx-placeholder-cards { grid-template-columns: repeat(2, 1fr); }
  .dfx-ph-card--wide { grid-column: span 2; }
}
@media(max-width: 600px) {
  .dfx-placeholder-cards { grid-template-columns: 1fr; padding: 40px 20px 0; }
  .dfx-ph-card--wide { grid-column: span 1; }
  .dfx-placeholder-hero { padding: 120px 24px 60px; }
}
