/* ==========================================
   Craft Logic AI - Neural Theme Stylesheet
   Award-Winning Professional Design
   ========================================== */

/* GLOBAL: Remove ALL list bullets everywhere */
ul, ol {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

li {
  list-style: none !important;
  list-style-type: none !important;
}

/* Allow custom ::before styling for feature lists */
nav li::before, nav li::after {
  content: none !important;
  display: none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #00ffa3;
  --primary-cyan: #03e9f4;
  --primary-white: #ffffff;
  --bg-darker: #050810;
  --bg-dark: #0a0e14;
  --surface: #121820;
  --text-primary: #ffffff;
  --text-secondary: #d8f5f8;
  --text-muted: #9de1e7;
  --border: rgba(0, 255, 163, 0.25);
  --glow-green: rgba(0, 255, 163, 0.7);
  --glow-cyan: rgba(3, 233, 244, 0.7);
  --font-primary: 'Rajdhani', sans-serif;
  --font-display: 'Orbitron', monospace;
  --transition: 0.3s ease;
}

body {
  background: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-primary);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 18px;
}

/* ----- Neural Background Canvas ----- */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.synapse-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.glow-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--primary-cyan), transparent 70%); top: -200px; right: -200px; }
.glow-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--primary-green), transparent 70%); bottom: -150px; left: -150px; animation-delay: 5s; }
.glow-3 { width: 400px; height: 400px; background: radial-gradient(circle, var(--primary-cyan), transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); }

@keyframes floatGlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ----- Layout Basics ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ----- Navbar (IMPROVED - Larger Logo & Title) ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.logo:hover {
  transform: scale(1.05);
}
.logo-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  filter: drop-shadow(0 0 18px var(--glow-cyan));
  transition: filter 0.3s ease;
}
.logo:hover .logo-icon {
  filter: drop-shadow(0 0 25px var(--glow-green));
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 0.03em;
}
.logo-craft { color: var(--primary-green); }
.logo-logic { color: var(--primary-cyan); }
.logo-ai { color: var(--primary-white); }

/* Header Contact Button (between logo and nav) */
.header-contact-btn {
  background: transparent;
  color: var(--primary-cyan);
  border: 2px solid var(--primary-cyan);
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-contact-btn:hover {
  background: rgba(3, 233, 244, 0.15);
  box-shadow: 0 0 20px var(--glow-cyan);
  transform: translateY(-2px);
}

.nav-menu {
  list-style: none !important;
  list-style-type: none !important;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}
.nav-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.nav-menu li::before,
.nav-menu li::after {
  content: none !important;
  display: none !important;
}

/* Mobile Hamburger Button - Base Styles */
.mobile-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
  padding: 8px 12px;
  background: rgba(3, 233, 244, 0.1);
  border: 3px solid var(--primary-cyan);
  border-radius: 8px;
  font-size: 32px;
  color: var(--primary-cyan);
  line-height: 1;
  min-width: 55px;
  min-height: 55px;
  text-shadow: 0 0 10px var(--glow-cyan);
}

.mobile-toggle:hover {
  background: rgba(3, 233, 244, 0.2);
  box-shadow: 0 0 20px var(--glow-cyan);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  position: relative;
  transition: color var(--transition);
  letter-spacing: 0.05em;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-cyan);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-green));
  transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ----- Hero (IMPROVED Typography) ----- */
.hero {
  padding: 11rem 0 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 2rem;
}
.glow-text-cyan { color: var(--primary-cyan); text-shadow: 0 0 25px var(--glow-cyan); }
.glow-text-green { color: var(--primary-green); text-shadow: 0 0 25px var(--glow-green); }

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.3rem;
  max-width: 750px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ----- Buttons (NO UNDERLINES) ----- */
.btn, a.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all var(--transition);
  font-size: 1rem;
}
.btn-primary, a.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-cyan));
  color: var(--bg-dark) !important;
  text-decoration: none !important;
}
.btn-primary:hover, a.btn-primary:hover {
  box-shadow: 0 0 25px var(--glow-green);
  transform: translateY(-3px);
  text-decoration: none !important;
}
.btn-secondary, a.btn-secondary {
  background: transparent;
  color: var(--primary-cyan) !important;
  border-color: var(--primary-cyan);
  text-decoration: none !important;
}
.btn-secondary:hover, a.btn-secondary:hover {
  background: rgba(3, 233, 244, 0.15);
  box-shadow: 0 0 20px var(--glow-cyan);
  transform: translateY(-3px);
  text-decoration: none !important;
}

/* ----- Page Hero (for Services, About, etc.) ----- */
.page-hero {
  padding: 10rem 0 4rem;
  text-align: center;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.page-hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ----- Sections (IMPROVED Readability) ----- */
.solutions-preview, .content-section {
  padding: 4rem 0;
}
.section-header {
  font-family: var(--font-display);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-cyan);
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 850px;
  margin: 0 auto 3.5rem;
  font-size: 1.2rem;
  line-height: 1.7;
}

/* ----- Feature Grid (LESS DENSE - Bullet Style) ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  background: rgba(18, 24, 32, 0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(3, 233, 244, 0.3);
}
.feature-title {
  font-family: var(--font-display);
  color: var(--primary-cyan);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.feature-description { 
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Bullet List Styling for Features */
.feature-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}
.feature-list li {
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}
.feature-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-size: 1.1rem;
}

/* ----- Content Cards (Services Page) ----- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.content-card {
  background: rgba(18, 24, 32, 0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem;
  transition: all var(--transition);
}
.content-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 40px rgba(0, 255, 163, 0.3);
}
.content-card h3 {
  color: var(--primary-cyan);
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.content-card p { 
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ----- TBA Section ----- */
.tba-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem;
}
.tba-content {
  text-align: center;
  max-width: 700px;
}
.tba-icon {
  font-size: 5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.tba-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
}
.tba-subtitle {
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.tba-subtitle a {
  color: var(--primary-green);
  text-decoration: none;
  border-bottom: 1px solid var(--primary-green);
  transition: all 0.3s ease;
}
.tba-subtitle a:hover {
  color: var(--primary-cyan);
  border-bottom-color: var(--primary-cyan);
}

/* ----- Crafty Bot Chatbot (IMPROVED Branding) ----- */
.fixed-chat-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 75px;
  height: 75px;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  z-index: 900;
  transition: transform 0.3s ease;
}
.fixed-chat-trigger:hover {
  transform: scale(1.1) rotate(5deg);
}
.craftybot-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 25px var(--primary-green));
  transition: filter 0.3s ease;
}
.fixed-chat-trigger:hover .craftybot-logo {
  filter: drop-shadow(0 0 35px var(--primary-cyan));
}

.craftybot-window, .fixed-chat-window {
  position: fixed;
  bottom: 120px;
  right: 30px;
  width: 400px;
  max-height: 600px;
  height: 600px;
  background: var(--surface);
  border: 2px solid var(--primary-cyan);
  border-radius: 24px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 890;
}
.craftybot-window.open, .fixed-chat-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.craftybot-header {
  background: linear-gradient(135deg, rgba(10, 14, 20, 0.98), rgba(18, 24, 32, 0.98));
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.craftybot-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.craftybot-avatar {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 15px var(--glow-cyan);
}
.craftybot-info h4 { 
  color: var(--primary-cyan); 
  margin: 0; 
  font-size: 1.15rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.craftybot-info span { 
  color: var(--primary-green); 
  font-size: 0.9rem;
  display: block;
}
.close-chat {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-chat:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  background: rgba(3, 233, 244, 0.1);
}

.craftybot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-height: 400px;
  min-height: 200px;
}
.bot-message, .user-message {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.user-message { justify-content: flex-end; }
.message-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.message-content {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  max-width: 75%;
}
.user-message .message-content {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-cyan));
  color: var(--bg-dark);
  border: none;
}
.message-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}
.user-message .message-content p { color: var(--bg-dark); }

.craftybot-input {
  display: flex;
  gap: 0.8rem;
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(10, 14, 20, 0.98), rgba(18, 24, 32, 0.98));
}
.craftybot-input input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}
.craftybot-input input:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(3, 233, 244, 0.3);
}
.send-button {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
  color: var(--bg-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.send-button:hover { 
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px var(--glow-cyan);
}

/* ----- Stats Section ----- */
.stats-section {
  padding: 3rem 0;
  margin: 3rem auto;
  text-align: center;
  width: 100%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
  align-items: start;
  padding: 0 2rem;
}

/* Force 3 columns on desktop */
@media (min-width: 769px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    display: grid !important;
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    display: grid !important;
  }
  .content-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    display: grid !important;
  }
}
.stat-card {
  background: rgba(18, 24, 32, 0.8);
  border: 2px solid var(--primary-cyan);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 30px rgba(3, 233, 244, 0.2);
  width: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.stat-card:hover {
  border-color: var(--primary-green);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 255, 163, 0.4);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-cyan);
  text-shadow: 0 0 30px var(--glow-cyan), 0 0 60px var(--glow-cyan);
  margin-bottom: 0.5rem;
  line-height: 1;
  filter: brightness(1.3);
}
.stat-card:nth-child(2) .stat-number {
  color: var(--primary-green);
  text-shadow: 0 0 30px var(--glow-green), 0 0 60px var(--glow-green);
}
.stat-card:nth-child(3) .stat-number {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px var(--glow-cyan));
}
.stat-card:nth-child(4) .stat-number {
  color: var(--primary-green);
  text-shadow: 0 0 30px var(--glow-green), 0 0 60px var(--glow-green);
}
.stat-card:nth-child(5) .stat-number {
  color: var(--primary-cyan);
  text-shadow: 0 0 30px var(--glow-cyan), 0 0 60px var(--glow-cyan);
}
.stat-label {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stat-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ----- Contact Form Section ----- */
.contact-form-section {
  padding: 4rem 0;
}
.contact-form-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.contact-form {
  background: rgba(18, 24, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}
.form-section {
  margin-bottom: 2.5rem;
}
.form-section-title {
  color: var(--primary-cyan);
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 20px rgba(3, 233, 244, 0.3);
  background: rgba(18, 24, 32, 0.9);
}
.form-group textarea {
  resize: vertical;
  min-height: 150px;
}
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.radio-option {
  cursor: pointer;
}
.radio-option input[type="radio"] {
  display: none;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.radio-option input[type="radio"]:checked + .radio-label {
  border-color: var(--primary-cyan);
  background: rgba(3, 233, 244, 0.1);
  box-shadow: 0 0 20px rgba(3, 233, 244, 0.2);
}
.radio-label:hover {
  border-color: var(--primary-cyan);
}
.radio-icon {
  font-size: 1.5rem;
}
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.checkbox-option:hover {
  border-color: var(--primary-cyan);
}
.checkbox-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary-cyan);
  cursor: pointer;
}
.form-actions {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.btn-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.btn-large:hover .btn-arrow {
  transform: translateX(5px);
}
.form-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info-card {
  background: rgba(18, 24, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.contact-info-card:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(3, 233, 244, 0.2);
}
.contact-info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.contact-info-card h4 {
  color: var(--primary-cyan);
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}
.contact-info-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}
.contact-info-card a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.contact-info-card a:hover {
  color: var(--primary-cyan);
}

/* Responsive Contact Form */
@media (max-width: 968px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .radio-group {
    grid-template-columns: 1fr;
  }
}

/* ----- Footer ----- */
footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
footer a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}
footer a:hover {
  color: var(--primary-cyan);
}
.small-muted {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ----- Animations ----- */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .nav-container {
    padding: 1rem 1.5rem;
  }
  .logo-icon {
    width: 48px;
    height: 48px;
  }
  .logo-text {
    font-size: 1.7rem;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    width: 100%;
    background: rgba(5, 8, 16, 0.98);
    transition: left 0.3s ease;
    padding: 2.5rem;
    gap: 2rem;
    align-items: flex-start;
  }
  .nav-menu.open { left: 0; }
  .hero {
    padding: 9rem 0 5rem;
  }
    bottom: 95px;
    max-height: 500px;
  }
  .features-grid, .content-grid {
    grid-template-columns: 1fr;
  }
  .header-contact-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .stat-number {
    font-size: 3rem;
  }
}

/* ULTRA AGGRESSIVE MOBILE HAMBURGER FIX */
@media (max-width: 768px) {
  .navbar {
    position: relative;
  }
  
  /* Stats grid mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .mobile-toggle {
    display: flex !important;
    position: absolute !important;
    right: 1.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    padding: 12px !important;
    background: rgba(3, 233, 244, 0.1) !important;
    border: 3px solid var(--primary-cyan) !important;
    border-radius: 8px !important;
    min-width: 55px !important;
    min-height: 55px !important;
    box-shadow: 0 0 20px var(--glow-cyan) !important;
  }
  
  .mobile-toggle span {
    display: block !important;
    width: 32px !important;
    height: 4px !important;
    background: var(--primary-cyan) !important;
    transition: all 0.3s ease !important;
    border-radius: 2px !important;
    box-shadow: 0 0 10px var(--glow-cyan) !important;
  }
  
  .nav-menu {
    display: none !important;
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    flex-direction: column !important;
    width: 100% !important;
    background: rgba(5, 8, 16, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    padding: 2.5rem !important;
    gap: 2rem !important;
    align-items: flex-start !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    border-bottom: 1px solid var(--border) !important;
    z-index: 9998 !important;
  }
  
  .nav-menu.open {
    display: flex !important;
  }
  
  .header-contact-btn {
    display: none !important;
  }
  
  .mobile-break {
    display: inline !important;
  }
  
  .nav-container {
    padding: 1rem 1.5rem !important;
    position: relative !important;
  }
  
  .logo {
    flex-shrink: 0 !important;
  }
}
/* ========================================
   CRAFTLOGIC.AI - ENHANCED COMPONENTS CSS
   Add this to your existing styles.css
   ======================================== */

/* Hero Form Styles */
.hero-form-container {
  background: rgba(26, 54, 93, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  max-width: 500px;
}

.hero-form-container h3 {
  color: #00ffff;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.hero-form-container p {
  color: #a0aec0;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #00ffff;
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1);
}

.form-group select {
  cursor: pointer;
}

.form-submit-btn {
  background: linear-gradient(135deg, #00ffff, #00ff88);
  color: #0a0e27;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
}

.form-note {
  font-size: 0.85rem;
  color: #718096;
  text-align: center;
  margin-top: 0.5rem;
}

/* Case Study Section Styles */
.case-study-section {
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.3), rgba(107, 70, 193, 0.2));
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 4rem 0;
}

.case-study-header {
  text-align: center;
  margin-bottom: 3rem;
}

.case-study-header h2 {
  font-size: 2.5rem;
  color: #00ffff;
  margin-bottom: 0.5rem;
}

.case-study-header p {
  color: #a0aec0;
  font-size: 1.1rem;
}

.case-study-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.case-study-story {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #00ff88;
}

.case-study-story h3 {
  color: #00ff88;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.case-study-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  color: #a0aec0;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.case-study-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.case-study-story p {
  color: #cbd5e0;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.case-study-challenge {
  background: rgba(255, 82, 82, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.case-study-challenge h4 {
  color: #fc8181;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.case-study-metrics {
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 12px;
}

.metrics-grid {
  display: grid;
  gap: 1.5rem;
}

.metric-card {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 136, 0.1));
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: transform 0.3s;
}

.metric-card:hover {
  transform: translateX(10px);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #00ffff;
  margin-bottom: 0.5rem;
}

.metric-label {
  color: #00ff88;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.metric-description {
  color: #a0aec0;
  font-size: 0.9rem;
}

.case-study-quote {
  background: rgba(0, 255, 136, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 2rem;
  border-left: 4px solid #00ff88;
}

.case-study-quote p {
  font-style: italic;
  color: #e2e8f0;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.quote-author {
  color: #00ff88;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ROI Calculator Section Styles */
.roi-calculator-section {
  background: rgba(26, 54, 93, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 4rem 0;
}

.roi-calculator-header {
  text-align: center;
  margin-bottom: 2rem;
}

.roi-calculator-header h2 {
  font-size: 2.5rem;
  color: #00ffff;
  margin-bottom: 0.5rem;
}

.roi-calculator-header p {
  color: #a0aec0;
  font-size: 1.1rem;
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.calculator-inputs {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: 12px;
}

.calculator-inputs h3 {
  color: #00ff88;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.calc-input-group {
  margin-bottom: 1.5rem;
}

.calc-input-group label {
  display: block;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.calc-input-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
}

.calc-input-group input:focus {
  outline: none;
  border-color: #00ffff;
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1);
}

.currency-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.currency-btn {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  color: #a0aec0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.currency-btn.active {
  background: rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  color: #00ffff;
}

.currency-btn:hover {
  background: rgba(0, 255, 255, 0.1);
}

.calculator-results {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 136, 0.1));
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.calculator-results h3 {
  color: #00ffff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.result-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.result-label {
  color: #a0aec0;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.result-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #00ff88;
}

.result-subtext {
  color: #718096;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.roi-breakdown {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.roi-breakdown h4 {
  color: #00ffff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e0;
}

.breakdown-item:last-child {
  border-bottom: none;
}

.breakdown-value {
  color: #00ff88;
  font-weight: 600;
}

.calc-cta {
  margin-top: 2rem;
  text-align: center;
}

.calc-cta-btn {
  background: linear-gradient(135deg, #00ffff, #00ff88);
  color: #0a0e27;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

.calc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .case-study-content,
  .calculator-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .case-study-header h2,
  .roi-calculator-header h2 {
    font-size: 2rem;
  }

  .metric-value {
    font-size: 2rem;
  }

  .result-value {
    font-size: 2rem;
  }

  .hero-form-container {
    max-width: 100%;
  }

  .case-study-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .currency-selector {
    flex-direction: row;
  }
}

@media (max-width: 480px) {
  .case-study-section,
  .roi-calculator-section {
    padding: 2rem 1rem;
  }

  .form-submit-btn,
  .calc-cta-btn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }

  .metric-value,
  .result-value {
    font-size: 1.75rem;
  }
}

/* MOBILE FIX - FORCE HAMBURGER VISIBILITY */
@media (max-width: 768px) {
  .header-contact-btn {
    display: none !important;
    visibility: hidden !important;
  }
  
  .mobile-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* CHATBOT MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .craftybot-window, .fixed-chat-window {
    width: 90% !important;
    max-width: 350px !important;
    right: 5% !important;
    bottom: 90px !important;
    height: 500px !important;
    max-height: 70vh !important;
  }
  
  .craftybot-messages {
    max-height: 300px !important;
    min-height: 150px !important;
  }
  
  .craftybot-input {
    padding: 0.8rem 1rem !important;
    flex-shrink: 0 !important;
  }
  
  .craftybot-input input {
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
}
