  :root {
    --void: #191127;
    --deep: #23133a;
    --panel: #1f1232;
    --border: #3a1c63;
    --accent: #883CF0;
    --accent2: #ff3e6c;
    --accent3: #7fff6e;
    --text: #c8dde8;
    --muted: #d6d6d6;
    --white: #f0f8ff;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  .demos-quest {
    background: var(--void);
    color: var(--text);
    position: relative;
    overflow-x: hidden;
    cursor: none;
    height: 100vh;
  }

  /* CUSTOM CURSOR */
  .cursor {
    position: fixed; width: 12px; height: 12px;
    background: var(--accent); border-radius: 50%;
    pointer-events: none; z-index: 2;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: screen;
  }
  .cursor-ring {
    position: fixed; width: 36px; height: 36px;
    border: 1px solid var(--accent); border-radius: 50%;
    pointer-events: none; z-index: 2;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.2s, height 0.2s;
    opacity: 0.5;
  }

  .demos-quest:hover .cursor { opacity: 1; }

  /* CANVAS BACKGROUND */
  #bg-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; opacity: 0.25;
    pointer-events: none;
  }

  /* NAV */
  .demos-quest nav {
    position: sticky; top: 0; left: 0; right: 0;
    z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 3rem;
    background: #180f26;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .logo {
    
    font-weight: 800; font-size: 1.3rem;
    color: var(--white); 
  }
  .logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: 0.75rem;  text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-cta {
    
    font-size: 0.7rem;  text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent); cursor: pointer;
    transition: background 0.2s, color 0.2s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }
  .nav-cta:hover { background: var(--accent); color: var(--void); }

  /* SECTIONS */
  .demos-quest section { position: relative; }

  /* HERO */
  #hero {
    min-height: 100vh;
    display: grid; place-items: center;
    padding: 8rem 3rem 5rem;
    text-align: center;
    overflow: hidden;
  }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.7rem;  text-transform: uppercase;
    color: var(--accent); border: 1px solid #3a1c63;
    padding: 0.4rem 1rem;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease both;
  }
  .hero-tag::before {
    content: ''; width: 6px; height: 6px;
    background: var(--accent); border-radius: 50%;
    animation: blink 1.5s infinite;
  }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

  .hero-title {
    
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 800;
    line-height: 0.95;
    color: var(--white);
    
    margin-bottom: 2rem;
    animation: fadeUp 0.8s 0.15s ease both;
  }
  .hero-title .highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
  }
  .hero-title .accent-word { color: var(--accent); }

  .hero-sub {
    max-width: 540px; margin: 0 auto 3rem;
    font-size: 0.85rem; line-height: 1.8;
    color: var(--muted);
    animation: fadeUp 0.8s 0.3s ease both;
  }
  .hero-btns {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.8s 0.45s ease both;
  }
  .btn-primary {
    padding: 0.9rem 2.2rem; 
    font-size: 0.75rem;  text-transform: uppercase;
    background: var(--accent); color: var(--void); border: none; cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: opacity 0.2s, transform 0.2s;
    font-weight: 700;
  }
  .btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }
  .btn-ghost {
    padding: 0.9rem 2.2rem; 
    font-size: 0.75rem;  text-transform: uppercase;
    background: transparent; color: var(--text);
    border: 1px solid var(--border); cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

  .hero-stats {
    display: flex; gap: 4rem; justify-content: center; margin-top: 5rem;
    animation: fadeUp 0.8s 0.6s ease both;
  }
  .stat-item { text-align: center; }
  .stat-num {
    
    font-size: 2.2rem; font-weight: 800;
    color: var(--white); 
  }
  .stat-num span { color: var(--accent); }
  .stat-label { font-size: 0.65rem;  color: var(--muted); text-transform: uppercase; margin-top: 0.3rem; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* SCROLLING TICKER */
  .ticker-wrap {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0; overflow: hidden;
    background: var(--deep);
  }
  .ticker {
    display: flex; gap: 0; white-space: nowrap;
    animation: ticker 20s linear infinite;
  }
  .ticker-item {
    display: inline-flex; align-items: center; gap: 1rem;
    font-size: 0.7rem;  text-transform: uppercase;
    color: var(--muted); padding: 0 2rem;
  }
  .ticker-item .dot { color: var(--accent); font-size: 1rem; }
  @keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ABOUT */
  #about {
    padding: 7rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
    max-width: 1300px; margin: 0 auto;
  }
  .section-label {
    font-size: 0.65rem;  text-transform: uppercase;
    color: var(--accent); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.7rem;
  }
  .section-label::before {
    content: ''; display: block;
    width: 30px; height: 1px; background: var(--accent);
  }
  .about-title {
    
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800; line-height: 1.1;
    color: var(--white); 
    margin-bottom: 1.5rem;
  }
  .about-body { font-size: 0.8rem; line-height: 1.9; color: var(--muted); margin-bottom: 2rem; }

  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }
  .about-card {
    background: var(--panel); padding: 2rem;
    transition: background 0.2s;
  }
  .about-card:hover { background: #2a1647; }
  .about-card-num {
    
    font-size: 2.4rem; font-weight: 800;
    color: var(--accent); 
    line-height: 1;
  }
  .about-card-label { font-size: 0.7rem;  text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }

  /* SERVICES */
  #services {
    padding: 7rem 3rem;
    max-width: 1300px; margin: 0 auto;
  }
  .services-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 4rem; flex-wrap: wrap; gap: 2rem;
  }
  .services-title {
    
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; line-height: 1.1;
    color: var(--white); 
    max-width: 520px;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border);
  }
  .service-card {
    background: var(--panel);
    padding: 2.5rem;
    position: relative; overflow: hidden;
    transition: background 0.3s;
    cursor: pointer;
  }
  .service-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
  }
  .service-card:hover::before { width: 100%; }
  .service-card:hover { background: #2a1647; }

  .service-icon {
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    display: grid; place-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    transition: border-color 0.3s, background 0.3s;
  }
  .service-card:hover .service-icon {
    border-color: var(--accent);
    background: #1f1232;
  }
  .service-name {
    
    font-size: 1rem; font-weight: 700;
    color: var(--white); margin-bottom: 0.8rem;
    
  }
  .service-desc { font-size: 0.75rem; line-height: 1.8; color: var(--muted); }
  .service-num {
    position: absolute; top: 1.5rem; right: 1.5rem;
    
    font-size: 2.5rem; font-weight: 800;
    color: rgba(255,255,255,0.03);
    line-height: 1;
  }

  /* PROJECTS */
  #projects {
    padding: 7rem 3rem;
    max-width: 1300px; margin: 0 auto;
  }
  .projects-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 4rem; flex-wrap: wrap; gap: 2rem;
  }
  .projects-title {
    
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; line-height: 1.1;
    color: var(--white); 
    max-width: 480px;
  }
  .projects-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
  .project-row {
    display: grid; grid-template-columns: 60px 1fr auto auto;
    align-items: center; gap: 2rem;
    background: var(--panel); padding: 2rem 2.5rem;
    transition: background 0.25s; cursor: pointer;
    position: relative; overflow: hidden;
  }
  .project-row::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, #23133a30 0%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
  }
  .project-row:hover::after { transform: translateX(0); }
  .project-row:hover { background: #1f123267; }
  .project-idx {
    
    font-size: 1.4rem; font-weight: 800;
    color: rgb(255, 255, 255);
  }

  .project-cats { display: flex; gap: 0.5rem; margin-bottom: 0.4rem; }
  .project-cat {
    font-size: 0.6rem;  text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--border); color: var(--muted);
  }
  .project-name {
    
    font-size: 1.1rem; font-weight: 700; color: var(--white);
  }
  .project-arrow {
    font-size: 1.2rem; color: var(--muted);
    transition: color 0.2s, transform 0.2s;
  }
  .project-row:hover .project-arrow { color: var(--accent); transform: translateX(4px); }
  .project-status {
    font-size: 0.65rem;  text-transform: uppercase;
    color: var(--accent3); white-space: nowrap;
  }

  /* PRICING */
  #pricing {
    padding: 7rem 3rem;
    max-width: 1300px; margin: 0 auto;
    text-align: center;
  }
  .pricing-intro { margin-bottom: 4rem; }
  .pricing-title {
    
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; line-height: 1.1;
    color: var(--white); 
    margin-bottom: 1rem;
  }
  .pricing-sub { font-size: 0.8rem; color: var(--muted); }
  .pricing-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; max-width: 860px; margin: 0 auto;
  }
  .price-card {
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 3rem 2.5rem;
    text-align: left;
    position: relative; overflow: hidden;
    transition: border-color 0.3s;
  }
  .price-card:hover { border-color: #5e309d; }
  .price-card.featured {
    border-color: #5e309d;
    background: #1f1232;
  }
  .price-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute; top: 1.5rem; right: 1.5rem;
    font-size: 0.55rem; 
    background: var(--accent); color: var(--void);
    padding: 0.25rem 0.6rem; font-weight: 700;
  }
  .price-name {
    
    font-size: 0.75rem; font-weight: 700; 
    text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem;
  }
  .price-amount {
    display: flex; align-items: flex-start; gap: 0.3rem;
    margin-bottom: 0.5rem;
  }
  .price-dollar { font-size: 1.2rem; color: var(--accent); margin-top: 0.8rem; font-weight: 700; }
  .price-num {
    
    font-size: 4rem; font-weight: 800;
    color: var(--white); line-height: 1;
    
  }
  .price-period { font-size: 0.75rem; color: var(--muted); align-self: flex-end; margin-bottom: 0.5rem; }
  .price-desc { font-size: 0.75rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }
  .price-features { list-style: none; margin-bottom: 2.5rem; }
  .price-features li {
    font-size: 0.75rem; color: var(--text);
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 0.8rem;
  }
  .price-features li::before { content: '→'; color: var(--accent); flex-shrink: 0; }
  .btn-plan {
    width: 100%; padding: 0.9rem;
    
    font-size: 0.7rem;  text-transform: uppercase;
    cursor: pointer; transition: all 0.2s;
  }
  .btn-plan-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
  .btn-plan-outline:hover { border-color: var(--accent); color: var(--accent); }
  .btn-plan-solid { background: var(--accent); border: 1px solid var(--accent); color: var(--void); font-weight: 700; }
  .btn-plan-solid:hover { opacity: 0.85; }

  /* TESTIMONIAL */
  #testimonials {
    padding: 7rem 3rem;
    max-width: 1300px; margin: 0 auto;
  }
  .testimonial-wrap {
    display: grid; grid-template-columns: 380px 1fr; gap: 4rem; align-items: start;
  }

  .testimonial-label { margin-bottom: 1.5rem; }
  .testimonial-heading {
    
    font-size: 2.2rem; font-weight: 800;
    color: var(--white); line-height: 1.15;
    
    margin-bottom: 2.5rem;
  }
  .t-dots { display: flex; gap: 0.5rem; }
  .t-dot {
    width: 28px; height: 3px; background: var(--border);
    cursor: pointer; transition: background 0.2s, width 0.3s;
  }
  .t-dot.active { background: var(--accent); width: 44px; }
  .testimonial-cards { position: relative; min-height: 280px; }
  .t-card {
    background: var(--panel); border: 1px solid var(--border);
    padding: 3rem; position: absolute; inset: 0;
    opacity: 0; transform: translateX(20px);
    transition: opacity 0.5s, transform 0.5s;
    pointer-events: none;
  }
  .t-card.active { opacity: 1; transform: translateX(0); pointer-events: all; position: relative; }
  .t-quote {
    font-size: 0.8rem; line-height: 1.9; color: var(--text);
    margin-bottom: 2rem;
    font-style: italic;
  }
  .t-quote::before { content: '"'; font-size: 3rem; color: var(--accent); line-height: 0; vertical-align: -1rem; margin-right: 0.3rem; font-style: normal; }
  .t-author-name {
    
    font-size: 0.9rem; font-weight: 700; color: var(--white);
  }
  .t-author-role { font-size: 0.65rem;  color: var(--muted); text-transform: uppercase; margin-top: 0.2rem; }

  /* FAQ */
  #faq {
    padding: 7rem 3rem;
    max-width: 900px; margin: 0 auto;
  }
  .faq-header { text-align: center; margin-bottom: 4rem; }
  .faq-title {
    
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; color: var(--white);
     margin-bottom: 1rem;
  }
  .faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
  .faq-item { background: var(--panel); }
  .faq-q {
    padding: 1.8rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; gap: 1rem;
    font-size: 0.85rem; color: var(--white);
     font-weight: 600;
    transition: color 0.2s;
  }
  .faq-q:hover { color: var(--accent); }
  .faq-toggle {
    width: 24px; height: 24px; border: 1px solid var(--border);
    display: grid; place-items: center;
    font-size: 1rem; flex-shrink: 0; color: var(--accent);
    transition: transform 0.3s, background 0.2s;
  }
  .faq-item.open .faq-toggle { transform: rotate(45deg); background: #1f1232; }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 2rem;
    font-size: 0.75rem; line-height: 1.9; color: var(--muted);
  }
  .faq-item.open .faq-a { max-height: 200px; padding: 0 2rem 1.8rem; }

  /* CTA */
  #cta {
    padding: 7rem 3rem;
    text-align: center;
    background: var(--deep);
    border-top: 1px solid var(--border);
    position: relative; overflow: hidden;
  }
  #cta::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(119, 0, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-label { margin-bottom: 1rem; }
  .cta-title {
    
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800; line-height: 1;
    color: var(--white); 
    margin-bottom: 1.5rem;
  }
  .cta-title .hollow {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
  }
  .cta-sub { font-size: 0.8rem; color: var(--muted); margin-bottom: 3rem; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.8; }
  .cta-form {
    display: flex; gap: 0; max-width: 460px; margin: 0 auto;
    border: 1px solid var(--border);
  }
  .cta-input {
    flex: 1; padding: 1rem 1.5rem;
    background: var(--panel); border: none; outline: none;
    
    font-size: 0.75rem; color: var(--white);
  }
  .cta-input::placeholder { color: var(--muted); }
  .cta-submit {
    padding: 1rem 1.8rem;
    background: var(--accent); border: none; cursor: pointer;
    
    font-size: 0.7rem;  text-transform: uppercase;
    color: var(--void); font-weight: 700;
    transition: opacity 0.2s;
  }
  .cta-submit:hover { opacity: 0.85; }

  /* FOOTER */
  .demos-quest footer {
    background: var(--void);
    border-top: 1px solid var(--border);
    padding: 3rem;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.5rem;
  }
  .footer-logo {
     font-weight: 800;
    font-size: 1.1rem; color: var(--white);
  }
  .footer-logo span { color: var(--accent); }
  .footer-copy { font-size: 0.65rem; color: var(--muted);  }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a {
    font-size: 0.65rem;  text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--accent); }

  /* DIVIDER */
  .section-divider {
    max-width: 1300px; margin: 0 auto;
    height: 1px; background: var(--border);
  }

  /* SCROLL REVEAL */
  .reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: none; }

  @media (max-width: 900px) {
    .demos-quest nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    #about { grid-template-columns: 1fr; gap: 3rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .pricing-cards { grid-template-columns: 1fr; }
    .testimonial-wrap { grid-template-columns: 1fr; }
    .hero-stats { gap: 2rem; }
    .project-row { grid-template-columns: 40px 1fr auto; }
    .project-status { display: none; }
  }
  @media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    #hero { padding: 7rem 1.5rem 4rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    #about, #services, #projects, #pricing, #testimonials, #faq, #cta { padding: 5rem 1.5rem; }
    .demos-quest footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
    .cta-form { flex-direction: column; }
    .cta-submit { padding: 0.9rem; }
  }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #873cf015; }
::-webkit-scrollbar-thumb { background: #873cf015; border-radius: 3px; }