/* ===== PENTEXA.IO — Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0d0d1a;
  --bg-card: rgba(15, 15, 30, 0.7);
  --bg-glass: rgba(15, 15, 35, 0.6);
  --border-glass: rgba(0, 255, 200, 0.1);
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
  --text-muted: #555577;
  --cyan: #00ffc8;
  --cyan-dim: rgba(0, 255, 200, 0.15);
  --green: #39ff14;
  --green-dim: rgba(57, 255, 20, 0.15);
  --purple: #a855f7;
  --red: #ff3366;
  --orange: #ff8c00;
  --gradient-main: linear-gradient(135deg, #00ffc8, #39ff14);
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #0d1025 50%, #0a0a0f 100%);
  --glow-cyan: 0 0 20px rgba(0, 255, 200, 0.3), 0 0 60px rgba(0, 255, 200, 0.1);
  --glow-green: 0 0 20px rgba(57, 255, 20, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-height: 120px;
  --container: 1200px;
  --font-main: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--green);
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font-main);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

::selection {
  background: var(--cyan);
  color: var(--bg-primary);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan-dim);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header .accent {
  color: var(--cyan);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  height: var(--nav-height);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-main);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--bg-primary);
  font-weight: 900;
}

.nav-logo span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
  background: var(--cyan-dim);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user {
  position: relative;
}

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 180px;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-user-dropdown.show {
  display: block;
}

.nav-user-dropdown a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.nav-user-dropdown a:hover {
  background: var(--cyan-dim);
  color: var(--cyan);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--bg-primary);
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 200, 0.5), 0 0 80px rgba(0, 255, 200, 0.2);
  color: var(--bg-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

.btn-secondary:hover {
  background: var(--cyan-dim);
  transform: translateY(-2px);
  color: var(--cyan);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: var(--glow-cyan);
  }

  50% {
    box-shadow: 0 0 40px rgba(0, 255, 200, 0.5), 0 0 100px rgba(0, 255, 200, 0.2);
  }
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--cyan), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 255, 200, 0.08);
  border-color: rgba(0, 255, 200, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--cyan-dim);
  color: var(--cyan);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.card-tags span {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 20px var(--cyan), 0 0 60px var(--cyan);
  animation: scanLine 4s linear infinite;
  z-index: 1;
}

@keyframes scanLine {
  0% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content h1 .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Filter Buttons --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--cyan-dim);
  color: var(--cyan);
  border-color: var(--cyan);
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 24px;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.show .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 51, 102, 0.2);
  color: var(--red);
}

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 255, 200, 0.1);
}

.form-input.error {
  border-color: var(--red);
}

.form-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-input.error+.form-error {
  display: block;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238888aa' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* Service Interest Dropdown Effects */
@keyframes serviceGlow {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.1);
    border-color: rgba(0, 255, 200, 0.2);
  }

  50% {
    box-shadow: 0 0 25px rgba(0, 255, 200, 0.4), inset 0 0 10px rgba(0, 255, 200, 0.1);
    border-color: rgba(0, 255, 200, 0.6);
  }
}

#quoteService {
  cursor: pointer;
  font-weight: 500;
  animation: serviceGlow 3s ease-in-out infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300ffc8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  transition: all 0.3s ease;
}

#quoteService:hover {
  animation: none;
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.4);
  color: var(--cyan);
}

#quoteService:focus {
  animation: none;
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  color: var(--cyan);
  background-color: rgba(10, 10, 20, 0.95);
}

#quoteService option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 500;
  padding: 12px;
}

#quoteService option:checked {
  color: var(--cyan);
  font-weight: 700;
}

/* --- Auth Tabs --- */
.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-glass);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.auth-tab.active {
  background: var(--cyan-dim);
  color: var(--cyan);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.password-strength {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  margin-top: 8px;
  overflow: hidden;
}

.password-strength-bar {
  height: 100%;
  border-radius: 2px;
  transition: var(--transition);
  width: 0;
}

/* --- Toast --- */
.toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 14px 20px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  animation: toastIn 0.3s ease;
  max-width: 360px;
}

.toast.success {
  border-color: var(--cyan);
}

.toast.error {
  border-color: var(--red);
}

.toast.success .toast-icon {
  color: var(--cyan);
}

.toast.error .toast-icon {
  color: var(--red);
}

@keyframes toastIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* --- Terminal --- */
.terminal {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 255, 200, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  max-width: 600px;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red {
  background: #ff5f57;
}

.terminal-dot.yellow {
  background: #febc2e;
}

.terminal-dot.green {
  background: #28c840;
}

.terminal-title {
  margin-left: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.terminal-body {
  padding: 16px;
  min-height: 200px;
}

.terminal-line {
  margin-bottom: 6px;
}

.terminal-line .prompt {
  color: var(--cyan);
}

.terminal-line .command {
  color: var(--green);
}

.terminal-line .output {
  color: var(--text-secondary);
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--cyan);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* --- Pricing Toggle --- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-toggle span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.pricing-toggle span.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.pricing-toggle .toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.pricing-toggle .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-toggle .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: .4s;
  border-radius: 34px;
}

.pricing-toggle .toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text-secondary);
  transition: .4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border-radius: 50%;
}

.pricing-toggle input:checked+.toggle-slider {
  background: var(--gradient-main);
  border-color: transparent;
  box-shadow: var(--glow-cyan);
}

.pricing-toggle input:checked+.toggle-slider:before {
  transform: translateX(28px);
  background-color: var(--bg-primary);
}

/* --- Compare Table --- */
.compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
}

.compare-table th {
  background: var(--bg-glass);
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.9rem;
}

.compare-table td:first-child {
  text-align: left;
  color: var(--text-secondary);
  font-weight: 500;
}

.compare-table tr:hover {
  background: rgba(0, 255, 200, 0.02);
}

.compare-table .check {
  color: var(--cyan);
  font-size: 1.2rem;
}

.compare-table .cross {
  color: var(--text-muted);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--green), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--cyan);
  box-shadow: var(--glow-cyan);
}

.timeline-item h4 {
  color: var(--cyan);
  margin-bottom: 4px;
}

.timeline-item .timeline-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- FAQ --- */
.faq-item {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: var(--bg-glass);
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.faq-question:hover {
  background: var(--cyan-dim);
}

.faq-question .faq-icon {
  transition: transform 0.3s;
  color: var(--cyan);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --- Trusted By / Logo Strip --- */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-strip .logo-img {
  height: 40px;
  width: auto;
  color: var(--text-muted);
  transition: var(--transition);
  opacity: 0.5;
  filter: grayscale(100%);
}

.logo-strip .logo-img:hover {
  color: var(--text-primary);
  opacity: 1;
  filter: grayscale(0%);
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--cyan);
  font-size: 1rem;
}

.testimonial-card .author-info .name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-card .author-info .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--cyan-dim);
  color: var(--cyan);
}

/* --- Dashboard --- */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  min-height: calc(100vh - var(--nav-height));
  padding-top: calc(var(--nav-height) + 32px);
}

.dashboard-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

.dashboard-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.dashboard-sidebar a:hover,
.dashboard-sidebar a.active {
  background: var(--cyan-dim);
  color: var(--cyan);
}

.dashboard-main {
  padding-bottom: 60px;
}

.dashboard-welcome {
  margin-bottom: 32px;
}

.dashboard-welcome h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

/* --- Admin Table --- */
.admin-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-glass);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
}

.admin-table th {
  background: var(--bg-glass);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.admin-table tr:hover {
  background: rgba(0, 255, 200, 0.02);
}

.admin-table .actions {
  display: flex;
  gap: 8px;
}

.admin-table .actions button {
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.admin-table .btn-edit {
  background: var(--cyan-dim);
  color: var(--cyan);
}

.admin-table .btn-delete {
  background: rgba(255, 51, 102, 0.15);
  color: var(--red);
}

/* --- Skeleton Loader --- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-glass) 25%, rgba(255, 255, 255, 0.05) 50%, var(--bg-glass) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-card {
  height: 280px;
  border-radius: var(--radius-lg);
}

.skeleton-line {
  height: 16px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.skeleton-line.short {
  width: 60%;
}

/* --- Blog --- */
.blog-card {
  cursor: pointer;
}

.blog-card .blog-img {
  height: 180px;
  background: var(--bg-glass);
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card .blog-img .blog-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-glass), rgba(0, 255, 200, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}

.blog-card .blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  transition: var(--transition);
}

.blog-card:hover h3 {
  color: var(--cyan);
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: calc(var(--nav-height) + 40px);
}

.post-content .post-header {
  margin-bottom: 40px;
}

.post-content .post-header h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.post-content .post-body {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.post-content .post-body h2 {
  color: var(--text-primary);
  margin: 32px 0 16px;
}

.post-content .post-body p {
  margin-bottom: 16px;
}

.post-content .post-body code {
  background: var(--bg-glass);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--cyan);
}

/* --- Process Timeline (Services) --- */
.process-steps {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.process-step .step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--cyan);
  margin: 0 auto 16px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 56px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  z-index: 0;
}

.process-step h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Interactive Demo --- */
.demo-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-glass);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-glass);
  border-radius: 4px;
  overflow: hidden;
  margin: 20px 0;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 4px;
  width: 0;
  transition: width 0.3s;
}

.report-preview {
  margin-top: 24px;
}

.report-section {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.report-section h4 {
  color: var(--cyan);
  margin-bottom: 12px;
}

.risk-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.2rem;
}

.risk-high {
  background: rgba(255, 51, 102, 0.15);
  color: var(--red);
}

.risk-medium {
  background: rgba(255, 140, 0, 0.15);
  color: var(--orange);
}

.risk-low {
  background: rgba(0, 255, 200, 0.15);
  color: var(--cyan);
}

/* --- Service Pricing Cards --- */
.pricing-card {
  text-align: center;
}

.pricing-card.featured {
  border-color: transparent;
  box-shadow: var(--glow-cyan);
  position: relative;
  overflow: visible;
  background-clip: padding-box;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: var(--gradient-main);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 1;
}

.pricing-card.featured::after {
  content: 'POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: var(--bg-primary);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

html[lang="tr"] .pricing-card.featured::after {
  content: 'POPÜLER';
}

.pricing-card .price {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 20px 0 8px;
}

.pricing-card .price .currency {
  font-size: 1.2rem;
  vertical-align: super;
}

.pricing-card .price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card .features-list {
  text-align: left;
  margin: 24px 0;
}

.pricing-card .features-list li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card .features-list li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
}

/* --- Page Header --- */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(0, 255, 200, 0.05) 0%, transparent 60%);
}

.page-header h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.page-header p {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: 32px 24px;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 14px 20px;
  }

  .hamburger {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .process-steps {
    flex-direction: column;
    gap: 32px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-height: 80px;
  }

  .section {
    padding: 40px 0;
  }

  .container {
    padding: 0 16px;
  }

  .page-header {
    padding: calc(var(--nav-height) + 30px) 0 30px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-stats {
    gap: 16px;
    margin-top: 40px;
  }

  .hero-stat {
    flex: 1 1 45%;
  }

  .hero-stat .stat-number {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header p {
    font-size: 1rem;
    max-width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card {
    padding: 24px;
  }

  .pricing-card .price {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer-col {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-socials {
    justify-content: center;
  }

  .modal {
    padding: 24px;
    width: 95% !important;
    margin: 10px;
  }

  .admin-table-wrapper {
    margin: 0 -16px;
    /* Edge to edge on mobile */
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* ===== Dashboard Layout ===== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  min-height: calc(100vh - 40px);
  padding: 20px 0;
}

.dashboard-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 20px;
  height: fit-content;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.dashboard-sidebar a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  margin-bottom: 4px;
}

.dashboard-sidebar a:hover {
  background: rgba(0, 255, 200, 0.05);
  color: var(--text-primary);
}

.dashboard-sidebar a.active {
  background: var(--cyan-dim);
  color: var(--cyan);
  font-weight: 600;
}

.dashboard-main {
  min-width: 0;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.dashboard-card:hover {
  border-color: rgba(0, 255, 200, 0.15);
}

.dashboard-welcome {
  margin-bottom: 28px;
}

.dashboard-welcome h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.dashboard-welcome p {
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    max-height: none;
  }

  .dashboard-sidebar>div:first-child {
    display: none;
  }
}

/* ===== Auth & Modal Mobile Adjustments ===== */
@media (max-width: 600px) {
  .card {
    padding: 24px !important;
  }

  .auth-form {
    padding: 0;
  }

  .auth-tabs {
    margin-bottom: 24px;
  }

  .auth-tab {
    padding: 10px;
    font-size: 0.95rem;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .modal {
    padding: 24px !important;
    width: 95% !important;
    margin: 10px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }
}