/* ============================================
   deepakai.in — Custom CSS
   ============================================ */

:root {
  --bg-primary:     #040C1E;
  --bg-secondary:   #0D1526;
  --bg-card:        #111827;
  --accent:         #1E7FFF;
  --accent-hover:   #1A6FE0;
  --text-primary:   #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;
  --border-color:   #1E2D45;
  --badge-blue:     #0F2A5C;
}

/* ===== Base ===== */
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* ===== Navbar ===== */
.navbar-blur {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(4, 12, 30, 0.92);
}

.active-nav {
  color: var(--accent) !important;
}

/* ===== Buttons ===== */
.btn-green {
  background-color: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

.btn-green:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 127, 255, 0.35);
}

.btn-green-lg {
  font-size: 16px;
  padding: 14px 28px;
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  background: transparent;
  cursor: pointer;
}

.btn-outline:hover {
  background-color: rgba(30, 127, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline-lg {
  font-size: 16px;
  padding: 12px 28px;
}

.btn-white-outline {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: transparent;
  font-size: 16px;
}

.btn-white-outline:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background-color: rgba(255, 255, 255, 0.06);
}

/* ===== Hero ===== */
.hero-grid {
  background-image:
    linear-gradient(rgba(30, 127, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 127, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 35%;
  transform: translateX(-50%);
  width: 600px;
  height: 340px;
  background: radial-gradient(ellipse, rgba(30, 127, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-purple {
  position: absolute;
  top: 30%;
  right: 5%;
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(123, 47, 190, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== Section Label ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 127, 255, 0.1);
  border: 1px solid rgba(30, 127, 255, 0.3);
  color: var(--accent);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== Cards ===== */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: rgba(30, 127, 255, 0.25);
  box-shadow: 0 8px 32px rgba(30, 127, 255, 0.08);
  transform: translateY(-2px);
}

.card-popular {
  background-color: var(--bg-card);
  border: 2px solid rgba(30, 127, 255, 0.5) !important;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(30, 127, 255, 0.14), 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: scale(1.03);
  position: relative;
}

.card-popular:hover {
  box-shadow: 0 0 60px rgba(30, 127, 255, 0.22), 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: scale(1.04) translateY(-2px);
}

.badge-popular {
  background-color: var(--badge-blue);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.icon-box {
  width: 52px;
  height: 52px;
  background: rgba(30, 127, 255, 0.1);
  border: 1px solid rgba(30, 127, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

/* ===== WhatsApp Mockup ===== */
.wa-mockup {
  background: #0B1416;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(30, 127, 255, 0.06);
  max-width: 340px;
  width: 100%;
}

.wa-header {
  background: #128C7E;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 42px;
  height: 42px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.wa-messages {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect width='100' height='100' fill='%230A1612'/%3E%3C/svg%3E");
  background-color: #0A1612;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.wa-bubble {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #E5E7EB;
}

.wa-bubble-in {
  background: #1F2937;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.wa-bubble-out {
  background: #054D26;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  text-align: right;
}

.wa-time {
  font-size: 11px;
  color: #6B7280;
  margin-top: 3px;
}

.wa-typing {
  background: #1F2937;
  align-self: flex-start;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #6B7280;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* ===== Stats ===== */
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.75rem;
  color: var(--accent);
  line-height: 1;
}

/* ===== Scroll Animations ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* ===== Industry Tabs ===== */
.tab-nav {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.tab-btn.active {
  background-color: rgba(30, 127, 255, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.tab-btn:hover:not(.active) {
  border-color: rgba(30, 127, 255, 0.3);
  color: #fff;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== FAQ Accordion ===== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.faq-answer.open {
  max-height: 400px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

/* ===== Comparison Table ===== */
.compare-table th {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.compare-table tr:nth-child(even) td,
.compare-table tr:nth-child(even) th {
  background-color: rgba(255, 255, 255, 0.02);
}

/* ===== Timeline (How It Works) ===== */
.timeline-step {
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  background: rgba(30, 127, 255, 0.12);
  border: 2px solid rgba(30, 127, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.timeline-connector {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(30, 127, 255, 0.4), rgba(30, 127, 255, 0.05));
  margin: 0 auto;
}

/* ===== Contact Form ===== */
.form-input {
  width: 100%;
  background-color: #0D1526;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 127, 255, 0.12);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input option {
  background-color: #111827;
  color: #fff;
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #1F2937;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(30, 127, 255, 0.08) 0%, rgba(123, 47, 190, 0.04) 50%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid rgba(30, 127, 255, 0.12);
}

/* ===== Mobile Menu ===== */
#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: block;
}

/* ===== Industry pill chips ===== */
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.industry-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(30, 127, 255, 0.06);
}

/* ===== Trust badge (small inline) ===== */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.trust-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== Checkmark list ===== */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 16px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: #1E2D45; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===== Responsive helpers ===== */
@media (max-width: 768px) {
  .stat-number { font-size: 2rem; }
  .card-popular { transform: scale(1); }
  .card-popular:hover { transform: translateY(-2px); }
  .wa-mockup { max-width: 100%; }
}

@media (max-width: 640px) {
  .btn-green-lg, .btn-white-outline { font-size: 15px; padding: 12px 20px; }
}
