/* =============================================================
   NexusSynced — Main Stylesheet (Dual Theme via CSS Variables)
   ============================================================= */

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* =============================================================
   PROFESSIONAL MODE — Default Theme
   ============================================================= */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #F4F6FB;
  --bg-surface: #EEF1F8;
  --brand-primary: #1E2946;
  --brand-accent: #FFA600;
  --text-primary: #1E2946;
  --text-secondary: #5A6A8A;
  --text-muted: #9AA5BC;
  --border: #D8DEF0;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-height: 72px;
  --section-padding: 5rem 2rem;
  --container-max: 1200px;
}

/* =============================================================
   DEVIL MODE — Applied via body.devil
   ============================================================= */
body.devil {
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-surface: #181818;
  --brand-primary: #FF3D00;
  --brand-accent: #FFD600;
  --text-primary: #F0EDE6;
  --text-secondary: #999999;
  --text-muted: #555555;
  --border: #2A2A2A;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --green: #00E676;
}
body.devil *::selection { background: var(--brand-primary); color: #fff; }

/* =============================================================
   UTILITY
   ============================================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}
.mono { font-family: var(--font-mono) !important; }
.display-font { font-family: var(--font-display) !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =============================================================
   NAVBAR — Shared structure, different colors via vars
   ============================================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
body.devil .navbar {
  background: rgba(10,10,10,0.92);
}
.navbar .logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.2rem; letter-spacing: -0.02em;
}
.navbar .logo span { color: var(--brand-accent); }
body.devil .navbar .logo span { color: var(--brand-primary); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.85rem; color: var(--text-muted);
  font-family: var(--font-mono); letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-toggle-btn {
  background: var(--brand-primary); color: #fff;
  border: none; padding: 0.55rem 1.2rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.78rem; cursor: pointer;
  letter-spacing: 0.03em; transition: transform 0.15s, opacity 0.2s;
}
body.devil .nav-toggle-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-primary);
}
.nav-toggle-btn:hover { transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); transition: 0.3s; }

/* =============================================================
   PROFESSIONAL PAGE STYLES
   ============================================================= */

/* --- Professional Hero --- */
.prof-hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 7rem 2rem 4rem; position: relative; overflow: hidden;
  background: var(--brand-primary);
}
.prof-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 50px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 50px);
  pointer-events: none;
}
.prof-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.prof-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.5rem); color: #fff; line-height: 1.15; margin-bottom: 1.5rem; }
.prof-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; max-width: 520px; }
.prof-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-prof { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer; transition: transform 0.15s, background 0.2s; }
.btn-prof:hover { transform: translateY(-2px); }
.btn-prof-primary { background: var(--brand-accent); color: var(--brand-primary); }
.btn-prof-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-prof-outline:hover { border-color: #fff; }
.prof-hero-visual { display: flex; justify-content: center; align-items: center; }
.grid-animation {
  width: 300px; height: 300px;
  background-image:
    linear-gradient(rgba(255,166,0,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,166,0,0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  position: relative; overflow: hidden;
}
.grid-animation::after {
  content: ''; position: absolute;
  width: 80px; height: 80px;
  background: var(--brand-accent); opacity: 0.2;
  border-radius: 50%;
  animation: gridGlow 3s ease-in-out infinite;
}
@keyframes gridGlow { 0%,100% { transform: translate(0,0); } 25% { transform: translate(180px,0); } 50% { transform: translate(180px,180px); } 75% { transform: translate(0,180px); } }
.prof-stats-bar { background: rgba(255,255,255,0.05); padding: 1rem 2rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); font-family: var(--font-mono); letter-spacing: 0.05em; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }

/* --- Professional Section Shared --- */
.prof-section { padding: var(--section-padding); }
.prof-section:nth-child(even) { background: var(--bg-secondary); }
.prof-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand-accent); margin-bottom: 0.5rem; }
.prof-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--text-primary); margin-bottom: 1rem; line-height: 1.15; }
.prof-sub { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; max-width: 560px; margin-bottom: 3rem; }

/* --- About --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-grid p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
.pillar { background: var(--bg-surface); padding: 1.5rem; border-radius: 8px; text-align: center; }
.pillar h4 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.pillar p { font-size: 0.85rem; margin: 0; }
.sdg-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.sdg-badge { background: var(--brand-accent); color: var(--brand-primary); padding: 0.3rem 0.8rem; border-radius: 4px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; }

/* --- Services Grid (Professional) --- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; background: var(--border); }
.service-card { background: var(--bg-primary); padding: 2.5rem 2rem; transition: background 0.2s; }
.service-card:hover { background: var(--bg-surface); }
.service-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* --- Products --- */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.product-card { background: var(--bg-surface); border-radius: 12px; padding: 2rem; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.product-card .badge { display: inline-block; background: var(--brand-accent); color: var(--brand-primary); font-family: var(--font-mono); font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 600; margin-bottom: 1rem; }
.product-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.product-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

/* --- Portfolio (Professional) --- */
.portfolio-filters { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.portfolio-filters button { background: var(--bg-surface); border: 1px solid var(--border); padding: 0.5rem 1.2rem; font-family: var(--font-mono); font-size: 0.75rem; cursor: pointer; color: var(--text-secondary); transition: 0.2s; }
.portfolio-filters button.active, .portfolio-filters button:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.portfolio-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform 0.2s; }
.portfolio-card:hover { transform: translateY(-4px); }
.portfolio-card .thumb { width: 100%; height: 200px; background: var(--bg-surface); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.85rem; }
.portfolio-card .info { padding: 1.5rem; }
.portfolio-card .info .cat { display: inline-block; background: var(--brand-accent); color: var(--brand-primary); font-family: var(--font-mono); font-size: 0.65rem; padding: 0.2rem 0.6rem; border-radius: 3px; font-weight: 600; margin-bottom: 0.5rem; }
.portfolio-card .info h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.portfolio-card .info .tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.portfolio-card .info .tags span { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); }
.portfolio-card .info a { font-family: var(--font-mono); font-size: 0.75rem; color: var(--brand-primary); font-weight: 600; }

/* --- Contact (Professional) --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg-primary); border: 1px solid var(--border);
  color: var(--text-primary); padding: 0.8rem 1rem; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
  border-radius: 0;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--brand-primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; }
.contact-info p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.contact-info .item { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: flex-start; }
.contact-info .item .icon { color: var(--brand-accent); font-size: 1.2rem; }

/* --- Footer (Professional) --- */
.prof-footer { background: var(--brand-primary); color: rgba(255,255,255,0.7); padding: 3rem 2rem 2rem; }
.prof-footer .container { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.prof-footer .f-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 0.5rem; }
.prof-footer .f-logo span { color: var(--brand-accent); }
.prof-footer p { font-size: 0.85rem; line-height: 1.6; }
.prof-footer .f-links { display: flex; flex-direction: column; gap: 0.75rem; }
.prof-footer .f-links a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.prof-footer .f-links a:hover { color: var(--brand-accent); }
.prof-footer .f-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; margin-top: 2rem; font-family: var(--font-mono); font-size: 0.75rem; text-align: center; color: rgba(255,255,255,0.4); }

/* =============================================================
   DEVIL MODE STYLES — Only active on body.devil pages
   ============================================================= */

/* --- Devil Hero --- */
body.devil .hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 7rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; top: 0; right: 0; width: 55%; height: 100%;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, #fff 0, #fff 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, #fff 0, #fff 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-surface); border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted);
  margin-bottom: 2rem; width: fit-content;
}
.hero-tag .dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 6rem); line-height: 0.95;
  letter-spacing: -0.03em; margin-bottom: 2rem;
}
.hero-title .accent { color: var(--brand-primary); }
.hero-title .accent2 { color: var(--brand-accent); }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 520px; line-height: 1.7; margin-bottom: 3rem; }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--brand-primary); color: #fff; border: none;
  padding: 0.9rem 2.2rem; font-family: var(--font-display); font-weight: 700;
  font-size: 0.95rem; cursor: pointer; letter-spacing: 0.02em;
  transition: transform 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border); padding: 0.9rem 2.2rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; letter-spacing: 0.02em; transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--text-primary); }
.hero-counter { position: absolute; right: 2rem; bottom: 2rem; text-align: right; }
.hero-counter .num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--brand-primary); }
.hero-counter .label { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* --- Ticker --- */
.ticker {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-surface); padding: 0.8rem 0; overflow: hidden; white-space: nowrap;
}
.ticker-inner { display: inline-flex; gap: 3rem; animation: tick 18s linear infinite; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.ticker-item span { color: var(--brand-primary); margin-right: 0.5rem; }

/* --- Devil Sections --- */
body.devil section { padding: 4rem 2rem; }
.section-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand-primary); margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.1; }
.section-sub { color: var(--text-muted); font-size: 1rem; max-width: 500px; line-height: 1.7; margin-bottom: 3rem; }

/* --- Two-Up Service Cards --- */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; background: var(--border); }
.service-card {
  background: var(--bg-primary); padding: 3rem; position: relative; overflow: hidden;
}
.service-card:hover .card-hover-line { width: 100%; }
.card-hover-line { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--brand-primary); transition: width 0.4s; }
.card-num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem; letter-spacing: 0.1em; }
.card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; line-height: 1; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem; letter-spacing: -0.02em; }
.card-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 2rem; }
.card-tag { display: inline-block; background: var(--bg-surface); border: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.72rem; padding: 0.3rem 0.8rem; color: var(--text-muted); margin-right: 0.5rem; margin-bottom: 0.5rem; }
.worst-card { border-top: 2px solid var(--brand-accent); }
.worst-card .card-hover-line { background: var(--brand-accent); }

/* --- Queue Board --- */
.queue-section { background: var(--bg-secondary); }
.queue-board { display: flex; gap: 1.5px; background: var(--border); margin-top: 2.5rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.queue-col { flex: 1; min-width: 220px; background: var(--bg-primary); padding: 1.5rem; scroll-snap-align: start; }
.queue-col-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; }
.queue-col-header .status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-submitted .status-dot { background: #555; }
.status-building .status-dot { background: var(--brand-accent); animation: pulse 1s infinite; }
.status-done .status-dot { background: var(--green); }
.status-sold .status-dot { background: var(--brand-primary); }
.queue-col-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.queue-item { background: var(--bg-surface); border: 1px solid var(--border); padding: 1rem; margin-bottom: 0.75rem; position: relative; }
.queue-item:hover { border-color: #444; }
.qi-id { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.qi-name { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; }
.qi-type { font-size: 0.75rem; color: var(--text-muted); }
.qi-badge { position: absolute; top: 0.7rem; right: 0.7rem; font-family: var(--font-mono); font-size: 0.6rem; padding: 0.2rem 0.5rem; border-radius: 2px; }
.badge-web { background: #1a2a1a; color: var(--green); }
.badge-mobile { background: #1a1a2a; color: #7B8FFF; }
.badge-ai { background: #2a1a1a; color: var(--brand-primary); }
.building-bar { height: 2px; background: var(--bg-surface); margin-top: 0.8rem; overflow: hidden; }
.building-bar-fill { height: 100%; background: var(--brand-accent); animation: build 2s ease-in-out infinite alternate; }
@keyframes build { from { width: 30%; } to { width: 85%; } }

/* --- Packages --- */
.packages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; background: var(--border); margin-top: 2.5rem; }
.pkg { background: var(--bg-primary); padding: 2.5rem 2rem; position: relative; }
.pkg.featured { border: 2px solid var(--brand-primary); background: var(--bg-primary); }
.pkg.featured .pkg-label { background: var(--brand-primary); color: #fff; padding: 0.15rem 0.6rem; display: inline-block; }
.pkg-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; }
.pkg-name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 0.4rem; letter-spacing: -0.02em; }
.pkg-sub { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; line-height: 1.5; }
.pkg-price { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; margin-bottom: 2rem; }
.pkg-price sup { font-size: 1rem; }
.pkg-feature { font-size: 0.82rem; color: var(--text-muted); padding: 0.5rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.5rem; }
.pkg-feature::before { content: '→'; color: var(--brand-primary); font-size: 0.8rem; }
.pkg-cta {
  width: 100%; margin-top: 2rem; padding: 0.85rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  cursor: pointer; letter-spacing: 0.03em;
  border: 1px solid var(--border); background: transparent; color: var(--text-primary);
  transition: background 0.2s;
}
.pkg-cta:hover { background: var(--bg-surface); }
.pkg.featured .pkg-cta { background: var(--brand-primary); color: #fff; border: none; }
.pkg.featured .pkg-cta:hover { opacity: 0.9; }

/* --- Submit Form --- */
.submit-section { background: var(--bg-secondary); }
.submit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.radio-group { display: flex; gap: 1rem; }
.radio-btn {
  flex: 1; border: 1px solid var(--border); padding: 0.8rem; text-align: center;
  cursor: pointer; font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.05em; color: var(--text-muted); transition: all 0.2s; user-select: none;
}
.radio-btn.active { border-color: var(--brand-primary); color: var(--brand-primary); background: rgba(255,61,0,0.05); }
.submit-info { padding-left: 2rem; border-left: 1px solid var(--border); }
.submit-info h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 1rem; }
.info-stat { margin-bottom: 2rem; }
.info-stat .stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; color: var(--brand-primary); line-height: 1; }
.info-stat .stat-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.2rem; }
.timeline-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.tl-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--brand-primary); min-width: 24px; margin-top: 2px; }
.tl-text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* --- Worst App Section (Devil) --- */
.worst-section { border-top: 2px solid var(--brand-accent); }
.worst-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; background: var(--border); margin-top: 2.5rem; }
.worst-item { background: var(--bg-primary); padding: 2rem; cursor: pointer; transition: background 0.2s; }
.worst-item:hover { background: var(--bg-surface); }
.worst-num { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); margin-bottom: 1rem; }
.worst-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.worst-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.worst-status { font-family: var(--font-mono); font-size: 0.7rem; padding: 0.25rem 0.7rem; display: inline-block; }
.ws-built { background: #1a2a1a; color: var(--green); }
.ws-building { background: #2a2a1a; color: var(--brand-accent); }
.ws-idea { background: var(--bg-surface); color: var(--text-muted); }
.worst-price { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-top: 1rem; color: var(--brand-accent); }

/* --- Devil Footer --- */
body.devil footer {
  border-top: 1px solid var(--border); padding: 3rem 2rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
}
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 0.4rem; }
.footer-logo span { color: var(--brand-primary); }
.footer-sub { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }
.secp-badge { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); border: 1px solid var(--border); padding: 0.3rem 0.8rem; letter-spacing: 0.08em; display: inline-block; }

/* --- Form Message --- */
.form-message { margin-top: 1rem; padding: 0.8rem 1rem; font-size: 0.85rem; display: none; }
.form-message.success { display: block; background: rgba(0,230,118,0.1); color: var(--green); border: 1px solid rgba(0,230,118,0.3); }
.form-message.error { display: block; background: rgba(255,61,0,0.1); color: var(--brand-primary); border: 1px solid rgba(255,61,0,0.3); }

/* =============================================================
   INNER PAGE HERO (Professional inner pages)
   ============================================================= */
.page-hero {
  padding: 8rem 2rem 3rem; background: var(--brand-primary); position: relative;
}
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); color: #fff; }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; }

/* =============================================================
   WORST APPS PUBLIC GALLERY
   ============================================================= */
.worst-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .prof-hero .container { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .prof-footer .container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .two-up, .packages-grid, .submit-grid, .worst-grid { grid-template-columns: 1fr; }
  .queue-board { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .prof-hero, body.devil .hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  body.devil section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .navbar { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-primary); border-bottom: 1px solid var(--border); padding: 1rem 2rem; gap: 1rem; }
  body.devil .nav-links.open { background: #0A0A0A; }
  .hamburger { display: flex; }
  .hero-counter { position: static; margin-top: 2rem; text-align: left; }
  .submit-info { padding-left: 0; border-left: none; margin-top: 2rem; }
  .worst-grid { grid-template-columns: 1fr; }
}
