:root {
  --accent: #ff0066;
  --accent-blue: #0cc0df;
  --bg-dark: #0d0d0d;
  --fg: #ffffff;
  --text-muted: #c0c0c0;
  --glass: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --max-width: 1200px;
  --font-main: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  padding: 0;
}

canvas#bg-animation {
  position: fixed;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom, #0e0e0e, #1a1a1a);
  top: 0; /* ensure it starts from top */
  left: 0;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: var(--glass);
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 999;
}

.logo-wrap {
  display: flex;
  align-items: center;
}
.logo-img {
  width: 40px;
  margin-right: 10px;
}
.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--fg);
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  transition: color 0.3s ease;
}
nav a:hover {
  color: var(--accent);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.7rem 1.3rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #e6005c;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: color 0.3s ease, background 0.3s ease;
}
.btn-outline:hover {
  background: var(--glass);
  color: var(--accent);
}

.btn-blue {
  background: var(--accent-blue);
  color: #fff;
}
.btn-blue:hover {
  background: #00acc1;
}

.hero-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 2rem 2rem;
  max-width: var(--max-width);
  margin: auto;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero-content {
  max-width: 600px;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
}
.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-visual {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.hero-visual img {
  width: 400px;
  max-width: 100%;
  border-radius: var(--radius);
}

.section-header {
  text-align: center;
  margin: 4rem auto 2rem;
  max-width: 800px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
}
.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
}

.about-grid,
.service-grid,
.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
  max-width: var(--max-width);
  margin: auto;
}

.about-item,
.service-card,
.step {
  background: #181818;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid #2a2a2a;
  color: #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
  text-align: center;
}
.about-item:hover,
.service-card:hover,
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 191, 255, 0.2);
}
.service-card img,
.step img,
.about-icon {
  width: 100px;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}
.about-item:hover .about-icon {
/* Center-align the last step in How It Works */
.how-it-works-steps > .step:last-child:nth-child(4) {
  grid-column: span 2;
  justify-self: center;
}

  transform: scale(1.1);
}

.industries-list {
  list-style: none;
  padding: 0;
  text-align: center;
  max-width: 800px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.industries-list li {
  background: #1a1a1a;
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  color: #eee;
  border: 1px solid #2c2c2c;
  transition: background 0.3s ease, color 0.3s ease;
}
.industries-list li:hover {
  background: var(--accent-blue);
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 2rem;
}
.contact-form input,
.contact-form textarea {
  background: #111;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: var(--radius);
  color: white;
  font-family: var(--font-main);
  font-weight: 500;
  width: 100%;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
  font-weight: 400;
}
.contact-form button {
  align-self: flex-start;
}

.contact-phone {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.contact-phone a {
  color: var(--accent-blue);
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

#ashley-launch {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s;
}
#ashley-launch img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 0, 102, 0.8);
}
#ashley-launch:hover {
  transform: scale(1.1);
}

.ashley-bubble {
  display: none;
  position: fixed;
  bottom: 110px;
  right: 40px;
  background: rgba(26, 26, 26, 0.85);
  color: #fff;
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px rgba(255, 0, 102, 0.2);
  transition: opacity 0.4s ease;
  max-width: 240px;
}
.ashley-bubble.show {
  display: block;
}
.ashley-bubble.typing::after {
  content: '...';
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

#ashley-widget {
  position: fixed;
  font-family: 'Manrope', sans-serif;
  bottom: 120px;
  right: 40px;
  width: 360px;
  max-height: 480px;
  display: none;
  flex-direction: column;
  background-color: #0d0d0d;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 45, 122, 0.25);
  overflow: hidden;
  z-index: 1001;
  transition: opacity 0.3s ease;
}

#ashley-widget.show {
  display: flex;
}

.ashley-header {
  background: #f12b6b;
  color: white;
  padding: 12px 16px;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ashley-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #0d0d0d;
  color: white;
}

#ashley-messages {
  flex: 1;
  margin-bottom: 10px;
  overflow-y: auto;
  max-height: 300px;
}

.chat-message {
  padding: 12px 16px;
  line-height: 1.6;
  font-size: 14px;
  border-radius: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chat-message.user {
  background-color: #111;
  color: #0cc0df;
  align-self: flex-end;
  border-left: 4px solid #0cc0df;
}

.chat-message.ashley {
  background-color: #1a1a1a;
  color: white;
  align-self: flex-start;
  border-left: 4px solid #f12b6b;
}

.chat-input-container {
  display: flex;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 50px;
  background: #0d0d0d;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Ensure input styling applies inside Ashley */
#ashley-widget .chat-input-container input[type="text"] {
  flex: 1 !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  border: 1px solid #333 !important;
  background-color: #1a1a1a !important;
  color: white !important;
  font-size: 14px !important;
  outline: none !important;
  transition: border 0.3s ease !important;
}

/* Add focus glow */
#ashley-widget .chat-input-container input[type="text"]:focus {
  border: 1px solid #f12b6b !important;
}

/* Send button styling */
#ashley-widget .chat-input-container button#ashley-send {
  background-color: #f12b6b !important;
  border: none !important;
  padding: 12px 16px !important;
  margin-left: 10px !important;
  border-radius: 10px !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
}

/* Hover effect */
#ashley-widget .chat-input-container button#ashley-send:hover {
  background-color: #d91c59 !important;
}

button {
  background: #ee2e6c;
  color: #fff;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #c51d58;
}

#user-input {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  background-color: #1e1e1e;
}

input[type="text"] {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  background: #2a2a2a;
  color: #fff;
  font-size: 1em;
}
#messages {
  background: #1e1e1e;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  padding: 15px;
  max-height: 280px;
  overflow-y: auto;
}

.message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 10px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #00c8ff;
  flex-shrink: 0;
}

.ashley .avatar {
  background: url('/static/ashley_avatar.png') center/cover no-repeat;
  background-color: transparent;
}

.text {
  background: #2a2a2a;
  padding: 12px;
  border-radius: 10px;
  max-width: 85%;
  line-height: 1.5;
  font-size: 0.95rem;
}

.text strong {
  font-weight: bold;
  color: #ee2e6c;
  display: block;
  margin-bottom: 5px;
}

/* Mic Button Styling */
#ashley-mic {
  background: #000;
  color: white;
  border: 1px solid #444;
  padding: 10px 14px;
  margin-top: 0; /* Adjust this to fine-tune position */
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  transition: all 0.3s ease-in-out;
}

#ashley-mic i {
  color: white;
  font-size: 1.1em;
}

/* Chat input section */
.chat-input-container {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px;
  background: #1a1a1a;
  border-top: 1px solid #333;
}

.chat-input-container input[type="text"] {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #2a2a2a;
  color: white;
  font-size: 1em;
}

.chat-input-container button {
  background: #ee2e6c;
  color: #fff;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.chat-input-container button:hover {
  background: #c51d58;
}

/* Mobile Responsive Fix */
@media screen and (max-width: 600px) {
  .chat-input-container {
    flex-direction: row;
    gap: 8px;
    align-items: center;
    padding: 10px;
  }

  #ashley-input {
    flex: 1 1 auto;
    min-width: 0;
  }

  #ashley-mic,
  #ashley-send {
    flex: 0 0 auto;
    padding: 10px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  #ashley-mic {
    font-size: 1.1rem;
  }
}



#mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--fg);
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-area {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  nav ul,
  .cta-buttons {
    display: none;
  }
  #mobile-menu-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
}
/* === What We Build Image Sizing === */
.what-we-build .feature img {
  width: 80px;
  max-height: 80px;
  height: auto;
  margin-bottom: 15px;
}
/* === AI Agent Icon Formatting === */
.ai-agent-img {
  max-width: 320px;
  width: 100%;
  margin: 2rem auto 3rem;
  display: block;
}
/* ===============================
   WHAT WE BUILD  CLEAN RESPONSIVE
=================================== */

/* Grid layout targeting only 'What We Build' */
.what-we-build .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
  max-width: var(--max-width);
  margin: auto;
}

/* Card base style */
.what-we-build .service-card {
  width: 365px;
  margin: 1rem auto;
  padding: 2rem;
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  box-shadow: 0 0 0 transparent;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.what-we-build .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 191, 255, 0.2);
}

/* Image inside card */
.what-we-build .service-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: block;
}

/* Text padding/tidy alignment */
.what-we-build .service-card h3,
.what-we-build .service-card p {
  padding-left: 0.2rem;
  padding-right: 0.2rem;
  text-align: center;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 788px) {
  .what-we-build .service-card {
    width: 100%;
    margin: 1.3rem auto;
    padding: 1.3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  .what-we-build .service-card img {
    width: 100%;
    margin-bottom: 1rem;
  }
}
@media (min-width: 769px) {
  .how-it-works-steps > .step:last-child:nth-child(4) {
    grid-column: 2 / span 1;
    justify-self: center;
  }
}
@media (min-width: 1024px) {
  .what-we-build .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* match 3-column layout */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .what-we-build .service-card {
    background-color: #181818;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .what-we-build .service-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: var(--radius);
  }

  .what-we-build .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .what-we-build .service-card p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}
.crm-form-section {
  background: transparent;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.crm-form-container {
  background: rgba(13, 13, 13, 0.6); /* translucent black */
  padding: 40px;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 0 24px rgba(12, 192, 223, 0.15); /* subtle glow */
  backdrop-filter: blur(6px); /* blur behind */
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.3s ease-in-out;
}

.crm-form-container h2 {
  color: #f12b6b;
  text-align: center;
  margin-bottom: 30px;
}

.crm-form-container input,
.crm-form-container textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background: rgba(42, 42, 42, 0.9);
  border: none;
  border-radius: 8px;
  color: white;
}

.crm-form-container input::placeholder,
.crm-form-container textarea::placeholder {
  color: #aaa;
}

.crm-form-container button {
  background: #f12b6b;
  border: none;
  padding: 15px;
  width: 100%;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.crm-form-container button:hover {
  background: #d81f58;
}

.contact-phone {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0cc0df;
  margin-top: 2rem;
  background: rgba(0, 204, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 204, 255, 0.2);
  transition: background 0.3s ease;
}

.contact-phone:hover {
  background: rgba(0, 204, 255, 0.2);
}


#ashley-widget .chat-input-container {
  padding: 12px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d0d;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

#ashley-widget .chat-input-container button:hover {
  background-color: #d91c59;
}

@media (max-width: 768px) {
  #ashley-widget {
    width: 90vw !important;
    right: 5vw !important;
    left: auto !important;
    bottom: 100px !important;
    max-height: 80vh;
    border-radius: 20px;
  }

  #ashley-widget .ashley-body {
    padding: 12px;
  }

  #ashley-widget .chat-message {
    font-size: 14px;
    padding: 10px 12px;
  }

  #ashley-widget .chat-input-container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}

/* === Transitions === */
.chat-card,
#messages,
input[type="text"],
button {
  transition: all 0.3s ease-in-out;
}

/* === Responsive Design === */
@media screen and (max-width: 1024px) {
  .chat-card {
    padding: 16px;
    width: 100%;
    border-radius: 12px;
    margin: 0;
  }

  #chat-container {
    width: 100%;
  }

  #messages {
    max-height: 240px;
  }

  .chart-card {
    width: 100% !important;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 600px) {
  .chat-card {
    border-radius: 0;
    padding: 12px;
  }

  #messages {
    max-height: 200px;
  }

  input[type="text"] {
    font-size: 1em;
  }

  button {
    padding: 10px 16px;
  }

  .chart-card {
    padding-left: 8px;
    padding-right: 8px;
    width: 100% !important;
    margin: 0 auto;
  }

  header {
    flex-direction: row;
    justify-content: space-between !important;
  }

  header .menu-icon {
    margin-left: auto;
    margin-right: 0;
  }
}.call-cta {
  background: #0d0d0d;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  margin: 3rem auto 1.5rem;
  box-shadow: 0 0 18px rgba(12, 192, 223, 0.12);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.call-cta:hover,
.call-cta:active {
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(12, 192, 223, 0.25);
}

.call-cta h3 {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: white;
  font-weight: 700;
}

.call-button {
  display: inline-block;
  background-color: var(--accent-blue);
  color: #fff;
  padding: 16px 28px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(12, 192, 223, 0.3);
}

.call-button:hover,
.call-button:active {
  background-color: #00acc1;
  box-shadow: 0 0 30px rgba(0, 172, 193, 0.4);
  transform: scale(1.05);
}

.call-button i {
  margin-right: 10px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .call-cta {
    padding: 40px 20px;
    margin: 2rem auto;
  }

  .call-button {
    padding: 16px 20px;
    font-size: 1.05rem;
  }
}




