/*
Theme Name: Digitosys BD
Theme URI: https://digitosys.top/
Author: Manus AI
Author URI: https://manus.im/
Description: A premium digital marketplace theme for dollar exchange and plugin sales.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitosys
*/

/* ── ROOT VARIABLES ── */
:root {
  --dark: #0C0C0E;
  --dark2: #111113;
  --dark3: #17171A;
  --light: #F5F4F0;
  --light2: #EEECEA;
  --white: #FFFFFF;
  --text-dark: #1A1A1E;
  --muted-dark: #6B6B72;
  --muted-light: #9B9BA2;
  --accent-green: #4ADE80;
  --accent-orange: #F97316;
  --accent-pink: #F472B6;
  --accent-cyan: #22D3EE;
  --accent-yellow: #FDE68A;
  --grad-hero: linear-gradient(135deg, #A855F7, #EC4899, #F97316);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); overflow-x: hidden; background: var(--dark); color: var(--white); }
img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ── SVG ICON HELPERS ── */
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon svg { width: 1em; height: 1em; stroke-width: 2; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ── NAVBAR ── */
.navbar { position: sticky; top: 0; z-index: 200; background: rgba(12, 12, 14, 0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-dark); }
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: #fff; font-family: var(--font-body); }
.nav-logo-mark { width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, #A855F7, #EC4899); display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.65); padding: 7px 14px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-btn-ghost { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.75); padding: 7px 16px; border: 1px solid var(--border-dark); border-radius: 8px; transition: all .2s; display: inline-flex; align-items: center; gap: 7px; }
.nav-btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.nav-btn-solid { font-size: 13.5px; font-weight: 700; color: #000; padding: 8px 18px; border-radius: 8px; background: #fff; transition: opacity .2s, transform .2s; display: inline-flex; align-items: center; gap: 7px; }
.nav-btn-solid:hover { opacity: .88; transform: translateY(-1px); }

/* ── HERO ── */
.hero { position: relative; min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 80px 24px 60px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(88, 28, 135, 0.4) 0%, rgba(12, 12, 14, 0) 70%), radial-gradient(ellipse 60% 40% at 20% 80%, rgba(239, 68, 68, 0.15) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 60%); background-color: var(--dark); }
.hero-planet { position: absolute; bottom: -15%; left: 50%; transform: translateX(-50%); width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(ellipse at 35% 30%, rgba(99, 102, 241, 0.4), rgba(30, 58, 138, 0.6), rgba(12, 12, 14, 0.9)); box-shadow: 0 0 120px rgba(99, 102, 241, 0.2), inset 0 0 80px rgba(0, 0, 0, 0.6); opacity: 0.6; }
.hero-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 100px; padding: 6px 16px 6px 10px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.8); margin-bottom: 28px; letter-spacing: 0.2px; font-family: var(--font-body); }
.hero-pill-dot { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #A855F7, #EC4899); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; }
.hero-subtext { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.5); margin-bottom: 14px; letter-spacing: 2.5px; text-transform: uppercase; }
.hero h1 { font-family: var(--font-display); font-size: clamp(52px, 8.5vw, 105px); font-weight: 400; line-height: 0.95; color: #fff; margin-bottom: 36px; letter-spacing: -2px; }
.hero h1 .grad { background: var(--grad-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; }
.hero-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 56px; }
.hero-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #000; font-weight: 700; font-size: 14px; padding: 13px 28px; border-radius: 12px; transition: transform .2s, box-shadow .2s; letter-spacing: -0.2px; font-family: var(--font-body); }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 255, 255, 0.15); }
.hero-btn-sub { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.7); font-size: 13.5px; font-weight: 600; padding: 11px 24px; border-radius: 10px; transition: border-color .2s, color .2s; font-family: var(--font-body); }
.hero-btn-sub:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.hero-roles { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.role-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 100px; padding: 8px 18px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.75); transition: background .2s, border-color .2s; }
.role-chip:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.role-chip .chip-icon { font-size: 15px; color: rgba(255, 255, 255, 0.6); display: flex; }

/* ── SECTION COMMONS ── */
.section-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(249, 115, 22, 0.12); border: 1px solid rgba(249, 115, 22, 0.25); color: var(--accent-orange); border-radius: 100px; padding: 5px 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 0; }
.section-h { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 400; letter-spacing: -1.5px; line-height: 1.1; }
.section-h .italic { font-style: italic; }
.section-h .grad-text { background: var(--grad-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-sub { font-size: 15px; line-height: 1.75; color: var(--muted-light); }

/* ── SERVICES (Dollar + Plugins) — LIGHT SECTION ── */
.services-section { background: var(--light); padding: 80px 0; color: var(--text-dark); }
.services-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.services-header-left .section-h { color: var(--text-dark); }
.services-header-left .section-sub { color: var(--muted-dark); max-width: 440px; margin-top: 12px; }
.see-all-btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #A855F7, #EC4899); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 100px; transition: opacity .2s, transform .2s; white-space: nowrap; align-self: flex-start; margin-top: 4px; }
.see-all-btn:hover { opacity: .88; transform: translateY(-1px); }
.cards-scroll { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 16px; overflow: hidden; transition: transform .25s, box-shadow .25s; cursor: pointer; color: var(--text-dark); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12); }
.service-card-img { height: 160px; background: var(--light2); position: relative; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.15)); }
.card-img-icon { position: absolute; bottom: 12px; right: 12px; width: 40px; height: 40px; border-radius: 10px; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; border: 1px solid rgba(255, 255, 255, 0.12); }
.service-card-body { padding: 18px 18px 20px; }
.service-card-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; }
.tag-dollar { background: rgba(34,211,238,0.12); color: #0891B2; }
.tag-plugin { background: rgba(168,85,247,0.12); color: #7C3AED; }
.tag-theme { background: rgba(249,115,22,0.12); color: #EA580C; }
.tag-hot { background: rgba(239,68,68,0.12); color: #DC2626; }
.service-card h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.3; }
.service-card p { font-size: 12.5px; color: var(--muted-dark); line-height: 1.6; }

/* ── DARK MIDDLE SECTION ── */
.pitch-section { background: var(--dark); padding: 96px 0; }
.pitch-top { text-align: center; margin-bottom: 64px; }
.pitch-top .section-h { color: #fff; font-size: clamp(36px, 5vw, 64px); }
.pitch-top .section-h .crossout { text-decoration: line-through; color: rgba(255, 255, 255, 0.3); }
.pitch-top .section-h .green { color: var(--accent-green); }
.pitch-top p { color: rgba(255, 255, 255, 0.5); font-size: 15px; max-width: 560px; margin: 16px auto 0; line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.srv-card { background: var(--dark3); border: 1px solid var(--border-dark); border-radius: 16px; padding: 24px; transition: border-color .2s, transform .2s; }
.srv-card:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-4px); }
.srv-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #fff; }
.srv-card h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.srv-card p { font-size: 13.5px; color: rgba(255, 255, 255, 0.5); line-height: 1.6; margin-bottom: 20px; }
.learn-more { font-size: 13px; font-weight: 600; color: var(--accent-orange); }
.pitch-bottom-cta { text-align: center; margin-top: 48px; }

/* ── NEWS SECTION ── */
.news-section { background: #fff; padding: 96px 0; color: var(--text-dark); }
.news-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.news-header-left { max-width: 560px; }
.news-header-left p { color: var(--muted-dark); margin-top: 16px; line-height: 1.7; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-light); transition: transform .2s; }
.news-card:hover { transform: translateY(-6px); }
.news-card-img { height: 200px; position: relative; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent); }
.news-cat-badge { position: absolute; top: 16px; left: 16px; background: rgba(255, 255, 255, 0.9); padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 6px; color: #000; }
.news-card-body { padding: 24px; }
.news-card-cat { font-size: 11px; font-weight: 700; color: var(--accent-orange); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.news-card h4 { font-size: 18px; font-weight: 700; color: var(--text-dark); line-height: 1.4; margin-bottom: 12px; }
.news-card p { font-size: 14px; color: var(--muted-dark); line-height: 1.6; }

/* ── LEARN SECTION ── */
.learn-section { background: var(--dark); padding: 96px 0; }
.learn-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.learn-header p { color: rgba(255, 255, 255, 0.5); margin-top: 20px; font-size: 16px; line-height: 1.8; }
.learn-cards { display: flex; flex-direction: column; gap: 24px; }
.learn-card { background: var(--dark2); border: 1px solid var(--border-dark); border-radius: 24px; display: flex; align-items: center; overflow: hidden; transition: border-color .2s; }
.learn-card:hover { border-color: rgba(255, 255, 255, 0.12); }
.learn-card-left { flex: 1; padding: 48px; }
.learn-card-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; font-size: 11px; font-weight: 700; margin-bottom: 24px; }
.tag-featured { background: rgba(249, 115, 22, 0.1); color: var(--accent-orange); }
.tag-trending { background: rgba(34, 211, 238, 0.1); color: var(--accent-cyan); }
.learn-card h3 { font-family: var(--font-display); font-size: 32px; font-weight: 400; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.learn-card p { color: rgba(255, 255, 255, 0.6); line-height: 1.8; margin-bottom: 32px; font-size: 15px; }
.learn-card-meta { display: flex; flex-wrap: wrap; gap: 24px; }
.learn-card-stat { font-size: 12px; color: rgba(255, 255, 255, 0.4); font-weight: 500; }
.learn-card-stat span { display: block; font-size: 15px; color: #fff; margin-top: 4px; font-weight: 600; }
.learn-card-right { width: 400px; min-width: 400px; height: 100%; position: relative; }
.learn-card-right img { width: 100%; height: 100%; object-fit: cover; }
.learn-card-right-glow { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(168, 85, 247, 0.2), transparent 70%); }

/* ── TESTIMONIALS ── */
.testi-section { background: var(--light); padding: 96px 0; color: var(--text-dark); }
.testi-header { text-align: center; margin-bottom: 64px; }
.grad-text-orange { background: linear-gradient(135deg, #F97316, #EC4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; }
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.testi-card { background: #fff; border: 1px solid var(--border-light); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.testi-card-photo { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; position: relative; }
.testi-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.testi-stars { color: #FBBF24; font-size: 14px; }
.testi-card p { font-size: 14px; color: var(--muted-dark); line-height: 1.6; font-style: italic; }
.testi-card h5 { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.testi-card small { font-size: 12px; color: var(--muted-light); }

/* ── WORKSHOP SECTION ── */
.workshop-section { background: #fff; padding: 96px 0; color: var(--text-dark); }
.workshop-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.italic-orange { font-style: italic; color: var(--accent-orange); }
.workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.workshop-card { background: var(--light); border-radius: 24px; padding: 40px; border: 1px solid var(--border-light); transition: background .2s; }
.workshop-card:hover { background: #fff; }
.workshop-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; color: #000; }
.workshop-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.workshop-card p { font-size: 14px; color: var(--muted-dark); line-height: 1.7; margin-bottom: 24px; }
.workshop-card-cta { font-size: 13px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── NEWSLETTER ── */
.newsletter-section { background: var(--dark); padding: 80px 0; }
.newsletter-inner { background: var(--dark2); border: 1px solid var(--border-dark); border-radius: 32px; display: grid; grid-template-columns: 320px 1fr; overflow: hidden; }
.nl-left { padding: 60px; border-right: 1px solid var(--border-dark); display: flex; flex-direction: column; justify-content: center; }
.nl-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-orange); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.nl-big { font-family: var(--font-display); font-size: 64px; color: #fff; line-height: 0.9; letter-spacing: -2px; }
.nl-italic { font-style: italic; color: rgba(255, 255, 255, 0.2); }
.nl-right { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.nl-right h3 { font-size: 28px; color: #fff; margin-bottom: 16px; font-weight: 600; }
.nl-right h3 .italic { font-style: italic; color: rgba(255, 255, 255, 0.5); }
.nl-right p { color: rgba(255, 255, 255, 0.5); font-size: 15px; line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.nl-form { display: flex; gap: 12px; max-width: 500px; }
.nl-input { flex: 1; background: var(--dark3); border: 1px solid var(--border-dark); border-radius: 12px; padding: 0 20px; color: #fff; font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color .2s; }
.nl-input:focus { border-color: rgba(255, 255, 255, 0.2); }
.nl-submit { background: #fff; color: #000; border: none; border-radius: 12px; padding: 0 24px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; cursor: pointer; transition: opacity .2s; height: 52px; }
.nl-submit:hover { opacity: 0.9; }

/* ── FOOTER ── */
footer { background: var(--dark); padding: 80px 0 40px; border-top: 1px solid var(--border-dark); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; margin-bottom: 80px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.footer-logo-mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #A855F7, #EC4899); display: flex; align-items: center; justify-content: center; }
.footer-brand p { color: rgba(255, 255, 255, 0.5); font-size: 14px; line-height: 1.7; margin-bottom: 28px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; }
.social-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--dark3); border: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.6); transition: all .2s; }
.social-icon:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255, 255, 255, 0.5); font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-top: 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-bottom p { color: rgba(255, 255, 255, 0.3); font-size: 13px; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-badge { font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, 0.4); background: var(--dark3); padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border-dark); }

/* ── RESPONSIVE ── */
@media(max-width:1100px){
  .cards-scroll { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width:768px){
  .news-grid { grid-template-columns: 1fr 1fr; }
  .workshop-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .nl-left { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .nav-links { display: none; }
  .learn-card { flex-direction: column; gap: 20px; }
  .learn-card-right { width: 100%; min-width: unset; }
}
@media(max-width:600px){
  .cards-scroll { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -1px; }
  .nl-big { font-size: 56px; }
}
