body {
    font-family: 'Inter', sans-serif;
    background-color: #111111;
    color: #EAEAEA;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex-grow: 1;
}
.font-serif {
    font-family: 'Playfair Display', serif;
}
.hero-bg {
    background: radial-gradient(ellipse at 50% 50%, rgba(38, 38, 38, 0.5) 0%, rgba(17, 17, 17, 1) 70%);
    position: relative;
    overflow: hidden;
}
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    background-color: #D97706;
    transition: all 0.3s ease-out;
    transform: translateX(-50%);
}
.nav-link:hover {
    color: #FBBF24;
}
.nav-link:hover::after {
    width: 100%;
}
.magnetic-button {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.feature-card, .portfolio-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature-card:hover, .portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(217, 119, 6, 0.25);
}
.process-step {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.process-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.stat-number {
    position: relative;
    display: inline-block;
    text-align: center;
}
.stat-number::after {
    content: 'Up to 400%'; 
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    font-weight: 700;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
select.placeholder-color {
    color: #6b7280;
}
select {
   color: #EAEAEA;
}
select option {
    background: #1C1C1C;
    color: #EAEAEA;
}
select option[value=""] {
    color: #9CA3AF;
}
#chat-bubble {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    background-color: #D97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
#chat-bubble:hover {
    transform: scale(1.1);
}
#chat-window {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    width: 90%;
    max-width: 400px;
    height: 60vh;
    background-color: #1C1C1C;
    border: 1px solid #374151;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}
#chat-window.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
#chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #252525;
    border-bottom: 1px solid #374151;
}
#chat-header h3 {
    font-weight: bold;
    color: #EAEAEA;
}
#close-chat {
    cursor: pointer;
}
#chat-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.chat-message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    max-width: 80%;
    line-height: 1.5;
}
.user-message {
    background-color: #D97706;
    color: white;
    align-self: flex-end;
    margin-left: auto;
}
.ai-message {
    background-color: #374151;
    color: #EAEAEA;
    align-self: flex-start;
}
.ai-message strong {
    font-weight: bold;
    color: #FBBF24;
}
.ai-message ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}
#chat-form {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #374151;
}
#chat-input {
    flex-grow: 1;
    background-color: #111111;
    border: 1px solid #4B5563;
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: #EAEAEA;
}
#chat-form button {
    margin-left: 0.5rem;
    background-color: #D97706;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: background-color: 0.2s;
}
#chat-form button:hover {
    background-color: #B45309;
}
.typing-indicator {
    display: flex;
    align-items: center;
}
.typing-indicator span {
    height: 8px;
    width: 8px;
    background-color: #9CA3AF;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}
#suggested-questions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
}
.suggested-question {
    background-color: transparent;
    border: 1px solid #4B5563;
    color: #EAEAEA;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color: 0.2s, border-color: 0.2s;
    text-align: left;
}
.suggested-question:hover {
    background-color: #374151;
    border-color: #6B7280;
}

/* --- FIX: Override browser default autofill styles (Chrome, Safari, Edge) --- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  
  /* 1. The "Shadow Hack": Apply a large inner shadow matching the input background color (#111111) */
  /* This covers the browser's default background. */
  -webkit-box-shadow: 0 0 0 1000px #111111 inset !important;
  box-shadow: 0 0 0 1000px #111111 inset !important;

  /* 2. Force the text color to be light gray (#EAEAEA) */
  -webkit-text-fill-color: #EAEAEA !important;
  color: #EAEAEA !important;

  /* 3. Ensure the caret (blinking cursor) color is also light */
  caret-color: #EAEAEA !important;

  /* 4. Delay the background color transition to prevent flashing. */
  transition: background-color 5000s ease-in-out 0s;
}

/* --- Added for Cookie Preferences Modal --- */
#close-modal-btn {
    font-size: 2rem;
    line-height: 1;
    color: #9CA3AF; /* gray-400 */
    transition: color 0.2s;
}
#close-modal-btn:hover {
    color: #EAEAEA; /* your body text color */
}

/* The switch - a wrapper for the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4B5563; /* gray-600 */
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #D97706; /* amber-600 */
}

input:focus + .slider {
  box-shadow: 0 0 1px #D97706;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* --- Fix for Cookie Banner Stacking --- */
#cookie-banner {
    z-index: 1100; /* Higher than the chat bubble's z-index of 1000 */
}