/* --- GLOBAL RESET & VARIABLES --- */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #05070a;
  --cyan: #00f2fe;
  --success: #00ff88;
  --danger: #ff4757;
  --slate-400: #94a3b8;
  --slate-600: #64748b;
  --slate-800: #1e293b;
  --nav-height: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: white;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

/* --- BRAND FONT STYLING --- */
.brand-prefix {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    color: var(--cyan);
    letter-spacing: -0.05em;
    margin-right: 6px;
    text-transform: uppercase;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: white;
    flex-shrink: 0;
}

.nav-logo span:not(.brand-prefix) {
    color: var(--cyan);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-left: 4px;
}

.nav-content-right {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-400);
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links a:hover { color: white; }

.btn-nav {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    white-space: nowrap;
}

.btn-nav:hover {
    background: white;
    color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.mobile-toggle { display: none; margin-left: 20px; cursor: pointer; font-size: 1.5rem; }

/* --- HERO SECTION --- */
main { padding-top: var(--nav-height); }

.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  position: relative;
}

@media (min-width: 1024px) {
  .hero { flex-direction: row; padding: 0 8%; gap: 40px; }
}

.hero-content { flex: 1; z-index: 10; max-width: 580px; text-align: center; }
@media (min-width: 1024px) { .hero-content { text-align: left; } }

.brand-tag {
  color: var(--slate-400);
  font-weight: 800;
  margin-bottom: 25px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-family: 'JetBrains Mono';
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) { .brand-tag { justify-content: flex-start; } }

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 35px;
  letter-spacing: -0.04em;
}

.text-muted-gradient {
  background: linear-gradient(180deg, #FFFFFF 30%, var(--slate-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
  display: inline-block;
  padding-bottom: 0.15em; 
}

.highlight { 
  color: var(--cyan); 
  font-weight: 800;
  text-shadow: 0 0 30px rgba(0, 242, 254, 0.5); 
  display: inline-block;
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(0, 242, 254, 0.4); }
  50% { text-shadow: 0 0 55px rgba(0, 242, 254, 0.7); }
}

/* --- HERO FOCUS POINTS --- */
.focus-points {
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
}

.point { display: flex; align-items: center; gap: 15px; text-align: left; }
.point .icon { font-size: 1.2rem; }
.point p { color: var(--slate-400); font-size: 1.05rem; line-height: 1.5; }
.point b { color: white; font-weight: 700; }

.highlight-point {
    background: rgba(0, 242, 254, 0.05);
    padding: 12px 18px;
    border-radius: 12px;
    border-left: 3px solid var(--cyan);
    margin-left: -18px;
}

@media (max-width: 1023px) {
    .focus-points { align-items: center; margin-left: auto; margin-right: auto; }
    .highlight-point { margin-left: 0; }
}

.cta-group { display: flex; flex-direction: column; align-items: center; gap: 15px; width: fit-content; }
@media (min-width: 1024px) { 
    .hero-content { display: flex; flex-direction: column; }
    .hero-content .cta-group { align-self: flex-start; }
}

.btn-primary {
  background: white;
  color: black;
  padding: 20px 40px;
  border-radius: 100px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
}

.btn-primary:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(255,255,255,0.2); }

.guarantee-text {
    font-family: 'JetBrains Mono';
    font-size: 0.75rem;
    color: #475569;
    text-transform: uppercase;
}

/* --- INTERACTIVE CANVAS & TOGGLE --- */
.hero-canvas-container { 
    flex: 1.3; 
    width: 100%; 
    min-height: 600px; 
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#workflow-canvas { 
    width: 100%; 
    height: 100%; 
    display: block; 
}

.system-toggle {
  position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 999; background: rgba(10, 15, 25, 0.9); padding: 18px 30px;
  border-radius: 100px; border: 2px solid #222; display: flex; align-items: center; gap: 15px;
  cursor: pointer; backdrop-filter: blur(12px);
}

.system-toggle.active { border-color: var(--success); }

.toggle-tooltip {
    position: absolute; top: -65px; left: 50%; transform: translateX(-50%);
    background: var(--cyan); color: black; padding: 10px 18px; border-radius: 12px;
    font-size: 0.75rem; font-weight: 800; font-family: 'JetBrains Mono'; text-transform: uppercase;
    animation: floatTooltip 3s infinite ease-in-out;
    white-space: nowrap;
}

@keyframes floatTooltip {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -8px); }
}

.system-toggle.active .toggle-tooltip { display: none; }

.toggle-label { font-family: 'JetBrains Mono'; font-size: 0.8rem; font-weight: 800; color: var(--slate-600); }
#status-text { color: var(--danger); }
.active #status-text { color: var(--success); }

.switch { width: 50px; height: 26px; background: #1a1f2e; border-radius: 20px; position: relative; }
.switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  background: white; border-radius: 50%; transition: 0.3s;
}
.active .switch::after { left: 27px; background: var(--success); }

/* --- STEPS / ARCHITECTURE --- */
.steps-section { padding: 100px 5%; max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .tag { color: var(--cyan); font-family: 'JetBrains Mono'; font-size: 0.8rem; letter-spacing: 3px; display: block; margin-bottom: 10px; text-transform: uppercase; }
.section-header h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; line-height: 1.1; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.step-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); padding: 40px; border-radius: 24px; position: relative; transition: 0.4s; }
.step-card:hover { border-color: rgba(255, 255, 255, 0.1); transform: translateY(-5px); }
.step-num { font-family: 'JetBrains Mono'; color: var(--slate-600); font-size: 0.9rem; margin-bottom: 20px; }
.step-icon { font-size: 2.5rem; margin-bottom: 20px; }
.step-card h3 { font-size: 1.5rem; margin-bottom: 15px; font-family: 'Plus Jakarta Sans'; }
.step-card p { color: var(--slate-400); line-height: 1.7; }

.featured-card { background: linear-gradient(145deg, rgba(0, 242, 254, 0.05) 0%, rgba(5, 7, 10, 0.1) 100%); border: 1px solid rgba(0, 242, 254, 0.2); }
.featured-card .step-num { color: var(--cyan); }

/* --- PACKAGES --- */
.pricing-section { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.price-card { background: rgba(255,255,255,0.02); padding: 50px 35px; border-radius: 40px; border: 1px solid rgba(255,255,255,0.05); position: relative; transition: 0.3s; display: flex; flex-direction: column; }
.price-card.popular { border-color: var(--cyan); background: linear-gradient(180deg, rgba(0,242,254,0.1) 0%, transparent 100%); transform: scale(1.05); }
.popular-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--cyan); color: black; padding: 5px 20px; border-radius: 100px; font-family: 'JetBrains Mono'; font-size: 0.7rem; font-weight: 800; }
.price-main { font-size: 3rem; font-weight: 800; margin: 20px 0; }
.currency { font-size: 1.5rem; vertical-align: super; }
.period { font-size: 1rem; color: var(--slate-400); font-weight: 400; }
.feature-list { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.feature-list li { padding: 12px 0; color: var(--slate-400); border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 0.95rem; }
.btn-secondary { background: rgba(255,255,255,0.05); color: white; padding: 15px; border-radius: 100px; text-decoration: none; text-align: center; font-weight: 700; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.btn-primary-card { background: var(--cyan); color: black; padding: 15px; border-radius: 100px; text-decoration: none; text-align: center; font-weight: 800; }

/* --- FAQ --- */
.faq-section { padding: 100px 5%; max-width: 800px; margin: 0 auto; }
.faq-container { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: rgba(255,255,255,0.02); border-radius: 15px; overflow: hidden; }
.faq-question { width: 100%; padding: 25px; background: none; border: none; color: white; text-align: left; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s; padding-inline: 25px; color: var(--slate-400); }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 25px; }

/* --- FINAL CTA & FOOTER --- */
.final-cta-section { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }
.cta-card { background: #05070a; border: 1px solid var(--cyan); border-radius: 48px; padding: 80px 40px; text-align: center; box-shadow: 0 0 50px rgba(0,242,254,0.1); }
.availability-badge { display: inline-flex; align-items: center; gap: 10px; color: var(--danger); font-family: 'JetBrains Mono'; font-weight: 800; margin-bottom: 30px; font-size: 0.8rem; }
.pulse-dot { width: 8px; height: 8px; background: var(--danger); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }
.cta-primary-btn { display: inline-block; background: var(--cyan); color: black; padding: 20px 40px; border-radius: 100px; text-decoration: none; font-weight: 800; font-size: 1.2rem; margin-bottom: 20px; }
.cta-subtext { color: var(--slate-400); font-size: 0.9rem; }

.main-footer { padding: 60px 5%; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 1rem; }
.copyright { color: var(--slate-600); font-size: 0.8rem; margin-top: 5px; }
.footer-nav { display: flex; gap: 25px; }
.footer-nav a { color: var(--slate-400); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer-nav a:hover { color: white; }

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero-canvas-container { min-height: 500px; margin-top: 20px; }
    .price-card.popular { transform: scale(1); margin-bottom: 20px; }
}

@media (max-width: 768px) {
    .footer-container { flex-direction: column; gap: 30px; text-align: center; }
}