/* ==========================================
   AUTOMATION TEST SERVICE — IMPRESS.JS THEME
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* === CUSTOM PROPERTIES === */
:root {
  --bg-primary: #06060e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-orange: #f97316;
  --accent-blue: #3b82f6;
  --accent-red: #ef4444;
  --accent-yellow: #eab308;

  --gradient-main: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899);
  --gradient-cyan-blue: linear-gradient(135deg, #06b6d4, #3b82f6);
  --gradient-purple-pink: linear-gradient(135deg, #8b5cf6, #ec4899);
  --gradient-green-cyan: linear-gradient(135deg, #10b981, #06b6d4);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === IMPRESS OVERRIDES === */
.impress-enabled .step {
  opacity: 0.3;
  transition: opacity 1s;
}

.impress-enabled .step.active {
  opacity: 1;
}

body.impress-on-overview .step {
  opacity: 1;
  cursor: pointer;
}

/* === BACKGROUND EFFECTS === */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 30%, rgba(6, 182, 212, 0.08), transparent),
    radial-gradient(ellipse 600px 500px at 80% 70%, rgba(139, 92, 246, 0.08), transparent),
    radial-gradient(ellipse 500px 400px at 50% 50%, rgba(236, 72, 153, 0.04), transparent);
  z-index: -1;
  pointer-events: none;
}

/* === FIXED LOGO (visible on all slides) === */
.slide-logo {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 9999;
  pointer-events: none;
}

.slide-logo img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

/* === STEP BASE STYLES === */
.step {
  width: 1100px;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px;
  position: relative;
}

/* === GLASSMORPHISM CARD === */
.glass-card {
  background: rgba(15, 15, 30, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
}

/* === TYPOGRAPHY === */
.slide-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.slide-title .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-subtitle {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  display: inline-block;
  padding: 6px 20px;
  border-radius: 100px;
  border: 1px solid;
}

.label-cyan {
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.08);
}

.label-purple {
  color: var(--accent-purple);
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.08);
}

.label-pink {
  color: var(--accent-pink);
  border-color: rgba(236, 72, 153, 0.3);
  background: rgba(236, 72, 153, 0.08);
}

.label-green {
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}

.label-blue {
  color: var(--accent-blue);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.08);
}

.label-orange {
  color: var(--accent-orange);
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.08);
}

.label-red {
  color: var(--accent-red);
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
}

/* === TITLE SLIDE === */
#title-slide .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 30px;
  animation: fadeInDown 0.8s ease;
}

#title-slide .hero-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease 0.2s both;
}

#title-slide .hero-title .line2 {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#title-slide .hero-desc {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

#title-slide .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--gradient-main);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease 0.6s both;
  box-shadow: 0 4px 30px rgba(6, 182, 212, 0.3);
  cursor: pointer;
  position: relative;
  z-index: 10;
}

#title-slide .hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(6, 182, 212, 0.4);
}

/* Decorative orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: var(--accent-cyan);
  top: -100px;
  right: -50px;
  animation-delay: 0s;
}

.orb-2 {
  width: 250px;
  height: 250px;
  background: var(--accent-purple);
  bottom: -80px;
  left: -30px;
  animation-delay: 2s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-pink);
  top: 50%;
  right: -60px;
  animation-delay: 4s;
}

/* === BENEFIT CARDS === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: left;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 0 4px 4px 0;
  transition: height 0.3s ease;
}

.benefit-card:nth-child(1)::after {
  background: var(--accent-cyan);
}

.benefit-card:nth-child(2)::after {
  background: var(--accent-purple);
}

.benefit-card:nth-child(3)::after {
  background: var(--accent-green);
}

.benefit-card:nth-child(4)::after {
  background: var(--accent-pink);
}

.benefit-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === TOOL GRID === */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  width: 100%;
}

.tool-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: all 0.35s ease;
  cursor: default;
}

.tool-chip:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-3px) scale(1.02);
}

.tool-chip .tool-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tool-chip .tool-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tool-chip .tool-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Tool icon colors */
.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
}

.icon-pink {
  background: rgba(236, 72, 153, 0.15);
  color: var(--accent-pink);
}

.icon-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
}

.icon-orange {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-orange);
}

.icon-red {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
}

.icon-yellow {
  background: rgba(234, 179, 8, 0.15);
  color: var(--accent-yellow);
}

/* === SCREENSHOT SLIDES === */
.screenshot-container {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow:
    0 0 60px rgba(6, 182, 212, 0.1),
    0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.screenshot-container img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
}

.screenshot-browser-bar .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
}

.dot-yellow {
  background: #eab308;
}

.dot-green {
  background: #22c55e;
}

.screenshot-browser-bar .url-bar {
  flex: 1;
  margin-left: 12px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'Inter', monospace;
}

/* === CONTACT SLIDE === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 10px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s ease;
}

.contact-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-icon.email-icon {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
}

.contact-icon.phone-icon {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
}

.contact-icon.location-icon {
  background: rgba(236, 72, 153, 0.12);
  color: var(--accent-pink);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
}

.contact-card a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #22d3ee;
}

/* Company name on contact */
.company-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.company-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* === STAT ROW === */
.stat-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 36px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* === FLOW CHART / PIPELINE VISUAL === */
.pipeline-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  min-width: 110px;
  transition: all 0.3s ease;
}

.pipeline-node:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.pipeline-node .node-icon {
  font-size: 1.6rem;
}

.pipeline-node .node-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pipeline-arrow {
  font-size: 1.4rem;
  color: var(--text-muted);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
  }

  50% {
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.2);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.active .animate-in {
  animation: fadeInUp 0.6s ease both;
}

.active .animate-in:nth-child(1) {
  animation-delay: 0.1s;
}

.active .animate-in:nth-child(2) {
  animation-delay: 0.2s;
}

.active .animate-in:nth-child(3) {
  animation-delay: 0.3s;
}

.active .animate-in:nth-child(4) {
  animation-delay: 0.4s;
}

.active .animate-in:nth-child(5) {
  animation-delay: 0.5s;
}

.active .animate-in:nth-child(6) {
  animation-delay: 0.6s;
}

/* Progress indicator */
.progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-main);
  transition: width 0.5s ease;
  z-index: 9999;
}

/* Navigation hint */
.nav-hint {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-muted);
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.nav-hint kbd {
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.7rem;
}

/* Slide counter */
.slide-counter {
  position: fixed;
  bottom: 24px;
  left: 24px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  z-index: 9999;
  backdrop-filter: blur(10px);
}

/* === MINDMAP STYLE VISUALIZATION === */
.mindmap-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mindmap-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mindmap-category {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  min-width: 180px;
  text-align: center;
}

.mindmap-items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mindmap-item {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mindmap-item:hover {
  background: var(--bg-card-hover);
  transform: scale(1.05);
}

.mindmap-connector {
  width: 30px;
  height: 2px;
  flex-shrink: 0;
}

/* Category colors */
.cat-perf {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.cat-auto {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.cat-frame {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cat-mgmt {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.cat-bug {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.cat-api {
  background: rgba(236, 72, 153, 0.15);
  color: var(--accent-pink);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.cat-cicd {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Thank you slide */
.thankyou-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.thankyou-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Wide step for tools overview */
.step-wide {
  width: 1300px;
}

/* === NAVIGATION BUTTONS === */
.nav-buttons {
  position: fixed;
  bottom: 24px;
  right: 80px;
  display: flex;
  gap: 8px;
  z-index: 9999;
}

.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.nav-btn:active {
  transform: scale(0.95);
}