/* Uses Inter font globally via Google Fonts in the html tag */

/* New outermost container for carousel section */
.main-carousel-container {
  height: 950px; /* Explicit fixed height to ensure vertical space for the entire carousel */
  overflow: hidden; /* Ensure content inside is clipped */
  background: #fafbfc; /* Match background of the original section */
  padding-top: 8rem; /* Add padding at the top */
  padding-bottom: 5rem; /* Add padding at the bottom */
  position: relative; /* Needed for absolutely positioned children to be relative to it */
  box-sizing: border-box; /* Ensure padding is included in the height */
}

/* New wrapper for carousel section */
.carousel-wrapper {
  height: auto;
  margin-bottom: 0;
  background: none;
  overflow: visible;
  display: block;
}

/* 3D Carousel Styles */
.carousel-3d-section {
  padding: 0;
  background: none;
  overflow: visible;
  min-height: 0;
  margin-bottom: 0;
  display: block;
  height: auto;
}

.carousel-3d {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 500px;
  perspective: 1000px;
}

.carousel-cards {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-3d-header {
  margin-bottom: 3rem;
}

.tag {
  display: inline-block;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #8b5cf6;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
  width: 100%; /* Ensure it takes full width to center its content */
}

.carousel-3d-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
  line-height: 1.2;
  color: #18181b;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(to right, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.carousel-3d-subtitle {
  font-size: 1.1rem;
  color: #52525b;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: center;
}

.carousel-card {
  position: absolute;
  width: 450px;
  height: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* New styles for single image carousel card */
.card-image-container {
    position: relative;
    width: 100%;
    height: calc(100% - 60px); /* Adjust height to make space for title */
    overflow: hidden;
}

.card-image-container .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.label {
    position: absolute;
    background: none;
    color: transparent;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
    z-index: 10;
}

.label.before-label {
    top: 15px;
    left: 15px;
}

.label.after-label {
    top: 15px;
    right: 15px;
}

.carousel-card.active {
  z-index: 2;
  transform: translate(-50%, -50%) scale(1);
}

.carousel-card.prev {
  z-index: 1;
  transform: translate(-150%, -50%) scale(0.8);
  opacity: 0.7;
}

.carousel-card.next {
  z-index: 1;
  transform: translate(50%, -50%) scale(0.8);
  opacity: 0.7;
}

.carousel-card.hidden {
  opacity: 0;
  visibility: hidden;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 3;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.carousel-arrow.left {
  left: -60px;
}

.carousel-arrow.right {
  right: -60px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #000;
  transform: scale(1.2);
}

.carousel-stats {
  display: none; /* Hide the carousel stats section */
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  text-align: center;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.stat-item h3 {
  font-size: 2em;
  margin-bottom: 5px;
  color: #000;
}

.stat-item p {
  font-size: 0.9em;
  color: #666;
}

/* New styles for .tag, .section-header h2, .gradient-text and .carousel-stats to match the provided image */
.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Responsive Styles for Carousel */
@media (max-width: 1024px) {
  .carousel-card {
    width: 350px;
    height: 450px;
  }
  
  .carousel-card.prev {
    transform: translate(-140%, -50%) scale(0.8);
  }
  
  .carousel-card.next {
    transform: translate(40%, -50%) scale(0.8);
  }
}

@media (max-width: 768px) {
  .carousel-3d-title {
    font-size: 2.2em;
  }
  
  .carousel-card {
    width: 350px;
    height: 400px;
  }
  
  .carousel-card.prev,
  .carousel-card.next {
    width: 3000px;
    height: 350px;
  }
  
  .carousel-card.active {
    transform: translate(-50%, -50%) scale(1);
  }
  
  .carousel-arrow {
    width: 35px;
    height: 35px;
  }
  
  .carousel-arrow.left {
    left: -45px;
  }
  
  .carousel-arrow.right {
    right: -45px;
  }
}

@media (max-width: 600px) {
  .carousel-3d {
    height: 400px;
    width: 400px;
  }
  
  .carousel-card {
    width: 400px;
    height: 380px;
  }
  
  .carousel-card.prev,
  .carousel-card.next {
    width: 300px;
    height: 300px;
  }
  
  .carousel-arrow {
    width: 30px;
    height: 30px;
  }
  
  .carousel-arrow.left {
    left: -35px;
  }
  
  .carousel-arrow.right {
    right: -35px;
  }
  
  .carousel-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .stat-item {
    padding: 15px;
  }
  
  .stat-item h3 {
    font-size: 1.8em;
  }
  
  .stat-item p {
    font-size: 0.8em;
  }

  .chat-img.input, .chat-img.ai.large, .chat-img.input.large {
    width: 100%;
    max-width: 200px;
    height: 200px;
    box-sizing: border-box;
  }
  .chat-mockup-section,
  .chat-mockup.wider {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-subtext {
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: ui-sans-serif, system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 72px;
    overflow-x: hidden; /* Prevent horizontal scrolling globally */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header (new) - This is the correct header, moved to the top */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 8px 0 rgba(16,30,54,0.04);
    height: 72px;
    display: flex;
    align-items: center;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 16px; /* Consistent padding for header on mobile */
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.logo-text {
    font-weight: 700;
    font-size: 1.15rem;
    color: #111827;
    letter-spacing: 0.01em;
}

.header-center {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-center a {
    color: #222;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.header-center a:hover {
    color: #6366f1;
}

.header-right {
    display: flex;
    align-items: center;
}

.login-btn {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.login-btn:hover {
    background: #222;
}

/* Hero Section */
.hero-section {
    background: #fafbfc;
    min-height: auto; /* Allow height to adjust based on content to ensure generate button is visible */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0 24px 0;
}

.hero-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 16px;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 800;
    color: #18181b;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    padding: 0 16px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #52525b;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 400;
    max-width: 600px;
    padding: 0 16px;
}

/* File upload feedback */
.file-upload-feedback {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 10;
}

.file-upload-feedback.error {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    opacity: 1;
    transform: translateY(0);
}

.file-upload-feedback.success {
    background-color: #dcfce7;
    color: #16a34a;
    border: 1px solid #86efac;
    opacity: 1;
    transform: translateY(0);
}

/* Drag over state */
.hero-chatbox.drag-over {
    border: 2px dashed #6366f1 !important;
    background-color: rgba(99, 102, 241, 0.05);
}

/* Image Preview Styles */
.hero-chatbox {
    position: relative; /* Make chatbox a positioning context */
    padding-left: 100px; /* Make space for the preview */
    min-height: 100px; /* Ensure enough height for the preview */
}

#preview-wrapper {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 10000;
}

.image-preview-container {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

#uploaded-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.remove-image:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.remove-image svg {
    color: white;
    width: 12px;
    height: 12px;
}

.hero-chatbox {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.2s ease;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f1f1f1;
    min-height: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 1.25rem;
    gap: 0.75rem;
    padding-left: 32px;
    padding-right: 32px;
}

.chatbox-attach {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #f4f4f5;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-size: 1.3rem;
    z-index: 2;
}

.chatbox-attach svg {
    width: 22px;
    height: 22px;
    display: block;
}

.chatbox-attach:hover {
    background: #ececec;
    color: #222;
}

.chatbox-input {
    min-height: 90px;
    height: 90px;
    width: 100%;
    max-height: 180px;
    overflow-y: auto;
    resize: vertical;
    padding-left: 30px;
    padding-right: 30px;
    border: none; /* 👈 This removes the border */
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 16px;
    font-family: 'Helvetica', sans-serif;
    font-weight: 400; /* or 500/600 for thicker text */
}

.chatbox-input:focus {
  outline: none;
  box-shadow: none;
}

.chatbox-send {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 43px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.chatbox-send:hover {
    background: #222;
}

.suggestion-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px; /* Adjusted gap between pills */
    justify-content: center; /* Center the suggestion pills */
    margin-bottom: 0.5rem;
    padding: 0 16px;
}

.suggestion-pill {
    background: #fff;
    border: 1.5px solid #ececec;
    border-radius: 14px;
    padding: 0.8rem 1.4rem; /* Adjusted padding to match image */
    font-size: 0.9rem;
    color: #222;
    font-weight: 500;
    cursor: pointer;
    transition: border 0.2s, background 0.2s;
    box-shadow: 0 1px 2px rgba(16,30,54,0.03);
    overflow-wrap: break-word; /* Ensure long words break and wrap */
    width: calc(50% - 12px); /* Two buttons per row with gap */
}

.suggestion-pill:hover {
    border: 1.5px solid #bdbdbd;
    background: #f4f4f5;
}

.hero-generate {
    margin-top: 8px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(16,30,54,0.04);
    transition: background 0.2s;
}

.hero-generate:hover {
    background: #222;
}

.hero-subtext {
    color: #666;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0px;
    padding: 0 10px;
    white-space: nowrap;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Section */
.feature-section {
  background: #fff;
  padding: 64px 0 48px 0;
  display: flex;
  justify-content: center;
  clear: both; /* Ensure this section clears any preceding floats or out-of-flow content */
  margin-top: 0; /* Reset margin-top */
  position: static; /* Ensure default positioning */
  top: auto; /* Reset top property */
  bottom: auto; /* Reset bottom property */
}
.feature-content {
  display: flex;
  gap: 64px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 16px; /* Add horizontal padding for mobile */
}
.feature-left {
  flex: 1;
  min-width: 280px;
}
.feature-title {
  font-size: 2rem;
  font-weight: 800;
  color: #18181b;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.feature-desc {
  font-size: 1.15rem;
  color: #52525b;
  font-weight: 400;
  line-height: 1.6;
}
.feature-right {
  flex: 1;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-mockup {
  width: 100%; /* Ensure chat mockup is always 100% of its parent */
  max-width: 340px; /* Limit max-width */
  background: #f8fafc;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(16,30,54,0.10);
  border: 1.5px solid #ececec;
  display: flex;
  flex-direction: column;
}
.chat-mockup-topbar {
  background: #18181b;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1.5px solid #ececec;
}
.chat-mockup-logo {
  background: linear-gradient(90deg, #6366f1 0%, #a21caf 100%);
  background-clip: padding-box;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 6px;
}
.chat-mockup-title {
  font-weight: 600;
  font-size: 1rem;
  margin-right: auto;
}
.chat-mockup-status {
  color: #22c55e;
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: 8px;
}
.chat-mockup-body {
  padding: 1.2rem 1.1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.chat-bubble.user {
  background: linear-gradient(90deg, #6366f1 0%, #3b82f6 100%);
  color: #fff;
  border-radius: 14px 14px 6px 14px;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  max-width: 90%;
  align-self: flex-end;
  box-shadow: 0 2px 8px 0 rgba(16,30,54,0.08);
}
.chat-status.generating {
  color: #6366f1;
  font-size: 0.98rem;
  font-weight: 500;
  margin-left: 2px;
}
.chat-image-placeholder {
  width: 100%;
  height: 120px;
  background: #e5e7eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
  position: relative;
}
.chat-image-placeholder::after {
  content: '\1F5BC'; /* 🖼️ */
  font-size: 2.5rem;
  color: #bdbdbd;
  opacity: 0.5;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.chat-status.success {
  color: #22c55e;
  font-size: 0.98rem;
  font-weight: 500;
  margin-left: 2px;
}
@media (max-width: 900px) {
  .feature-content {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }
  .feature-left {
    order: -1; /* Pushes text content to the top on mobile */
  }
  .feature-right {
    order: 1; /* Ensures chat mockup appears below text on mobile */
  }
  .chat-mockup {
    width: 100%; /* Ensure chat mockup is always 100% width on smaller screens */
    max-width: 340px;
    margin: 0 auto; /* Center chat mockup */
  }
}

.chat-mockup.wider {
  /* Removed fixed width; will be controlled by max-width on smaller screens */
  max-width: 100%;
}
@media (max-width: 700px) {
  .chat-mockup.wider {
    width: 100%;
    max-width: 540px;
  }
}
/* Chat mockup taller variant - height controlled by content */
.chat-mockup.taller {
  height: auto;
  min-height: 0;
}
@media (max-width: 700px) {
  .chat-mockup.taller {
    min-height: 420px;
  }
}
.chat-img.input, .chat-img.ai.large, .chat-img.input.large {
  width: 200px;
  height: 200px;
  max-width: 200px;
}
.chat-img.input img, .chat-img.ai.large img, .chat-img.input.large img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  border-radius: 0 !important;
  display: block;
}
.chat-bubble.user {
  font-size: 0.91rem;
}
.chat-row-right {
  justify-content: flex-end;
}
.chat-row-left {
  justify-content: flex-start;
}
.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
  margin-bottom: 0.2rem;
}
.chat-img.ai.large {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  border: none;
  background: none;
  margin-left: 0;
  margin-bottom: 0.2rem;
}
.chat-img.ai.large::after {
  font-size: 3.2rem;
}
/* Removed duplicate .chat-img.ai.large img rule with object-fit: cover */
/* Remove user icon styles */
.chat-img.user, .chat-img.user::after { display: none !important; }

.chat-img.input.large, .chat-img.ai.large {
  width: 200px;
  height: 200px;
  border-radius: 18px;
  background: none;
  background-clip: padding-box;
  margin-bottom: 0.2rem;
}
.chat-boxed {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(16,30,54,0.08);
  padding: 0.7rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.chat-bubble.user {
  font-size: 0.87rem;
}
.chat-status {
  font-size: 0.87rem;
}
.chat-mockup-title, .chat-mockup-status {
  font-size: 0.95rem;
}
.chat-mockup-body {
  gap: 1.1rem;
}

/* Video Section */
.video-section {
  background: #fafbfc;
  padding: 64px 0 48px 0;
}
.video-steps {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.video-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}
.video-step-icon {
  font-size: 2rem;
  color: #222;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.video-step-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #18181b;
  margin-bottom: 0.2rem;
}
.video-step-desc {
  font-size: 1rem;
  color: #52525b;
  font-weight: 400;
}
.video-card {
  background: linear-gradient(120deg, #181e2a 80%, #232b3e 100%);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(16,30,54,0.13);
  width: 480px;
  min-height: 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2.5rem;
  color: #fff;
  overflow: visible;
}
.video-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  background: rgba(255,255,255,0.13);
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.video-arrow:hover {
  background: rgba(255,255,255,0.22);
}
.video-card-content {
  margin-top: 70px;
  text-align: center;
  width: 100%;
}
.video-card-title {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
  color: #fff;
}
.video-card-desc {
  font-size: 1rem;
  color: #e0e7ef;
}
.video-emoji {
  font-size: 1.1em;
}
.video-tooltip {
  position: absolute;
  right: 2.5rem;
  bottom: -2.2rem;
  background: #fff;
  color: #222;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(16,30,54,0.10);
  padding: 0.7rem 1.2rem;
  white-space: nowrap;
  z-index: 3;
}
@media (max-width: 900px) {
  .video-card {
    width: 100%;
    min-width: 0;
    padding: 0 1rem;
  }
  .video-tooltip {
    right: 1rem;
  }
}
@media (max-width: 600px) {
  .video-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .video-card {
    min-height: 180px;
    padding: 0 0.5rem;
  }
  .video-tooltip {
    font-size: 0.95rem;
    padding: 0.5rem 0.7rem;
    right: 0.5rem;
  }
}

.video-card.sharp {
  border-radius: 0;
}
.video-step-icon svg {
  color: #18181b;
  stroke-width: 2.2;
}
.video-steps li {
  margin-bottom: 0.5rem;
  gap: 1.3rem;
}
.video-step-title {
  font-weight: 700;
  font-size: 1.13rem;
  color: #18181b;
  margin-bottom: 0.18rem;
}

/* Footer Section */
.footer-section {
  background: #18181b;
  padding: 64px 0 32px 0;
  color: #fff;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 0 32px 0;
  gap: 32px;
}
.footer-left {
  flex: 1.2;
  min-width: 220px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.1rem;
}
.footer-logo-circle {
  width: 36px;
  height: 36px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.footer-logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 0.01em;
}
.footer-connect {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}
.footer-socials {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.footer-social-icon {
  width: 36px;
  height: 36px;
  background: #f4f4f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #222;
  box-shadow: 0 1px 4px 0 rgba(16,30,54,0.06);
}
.footer-contact {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
  opacity: 0.9;
}
.footer-center {
  flex: 1;
  min-width: 120px;
  text-align: left;
}
.footer-pages-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}
.footer-pages-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0.9;
}
.footer-right {
  flex: 1.5;
  min-width: 260px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.footer-cta-box {
  padding: 24px;
  border-radius: 16px;
}
.footer-cta-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: #ffffff;
}
.footer-cta-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.7rem;
}
.footer-cta-btn {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.7rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.footer-cta-btn:hover {
  background: #222;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 1.2rem 0 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  background: #18181b;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
    padding: 32px 16px 24px 16px; /* Add horizontal padding for footer */
  }
  .footer-right {
    justify-content: flex-start;
  }
  .footer-cta-box {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: auto; /* Allow height to adjust based on content to ensure generate button is visible */
    padding: 32px 0 24px 0;
  }

  .hero-container {
    gap: 16px;
  }

  .hero-title {
    font-size: 1.9rem;
    padding: 0 16px;
    max-width: 100%;
    margin-top: 0rem;
  }
 
  
  .hero-subtitle {
    font-size: 0.9rem;
    padding: 0 16px;
    margin-bottom: 0rem;
    margin-top: 0rem;
  }

  .hero-chatbox {
    width: 100%;
    max-width: 100%;
    margin: 0 16px;
    min-height: 150px;  /* Height on mobile */
    height: 150px; 
  }

  .chatbox-input {
    min-height: 100px;  /* Height on mobile */
    height: 100px;      /* Fixed height on mobile */
    font-size: 1rem;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .suggestion-row {
    gap: 12px; /* Adjusted gap between pills */
    padding: 0 16px;
    flex-wrap: wrap;
    justify-content: center; /* Center the suggestion pills */
  }

  .suggestion-pill {
    font-size: 0.8rem;
    padding: 0.8rem 0.8rem; /* Adjusted padding to allow more text wrapping */
    overflow-wrap: break-word; /* Ensure long words break and wrap */
    width: calc(50% - 12px); /* Two buttons per row with gap */
  }

  .hero-generate {
    margin-top: 0px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  /* Carousel mobile styles */
  .main-carousel-container {
    height: auto;
    padding: 50px 0;
  }

  .carousel-3d-section {
    padding: 40px 10px 20px 10px;
  }

  .carousel-3d-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .carousel-3d-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .carousel-card {
    width: 350px;
    height: 380px;
  }

  .carousel-card.prev,
  .carousel-card.next {
    width: 230px;
    height: 300px;
  }

  .carousel-arrow {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }

  .carousel-arrow.left {
    left: -20px;
  }

  .carousel-arrow.right {
    right: -20px;
  }

  .carousel-indicators {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .carousel-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
  }

  .stat-item {
    padding: 10px;
  }

  .stat-item h3 {
    font-size: 1.5em;
  }

  .stat-item p {
    font-size: 0.8em;
  }

  /* Chat Mockup Section Mobile */
  .chat-mockup-section {
    width: 100%; /* Ensure chat mockup is always 100% width on smaller screens */
    max-width: 340px;
    margin: 0 auto; /* Center chat mockup */
    background: #f8fafc;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(16,30,54,0.10);
    border: 1.5px solid #ececec;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .chat-mockup.wider {
    max-width: 100%;
  }

  .chat-mockup.taller {
    min-height: 420px;
  }

  .chat-img.input, .chat-img.ai.large {
    width: 200px;
    height: 200px;
    max-width: 200px;
  }

  .chat-img.input img, .chat-img.ai.large img {
    width: 100%;
    height: 100%; /* Ensure image fills its flexible container */
    object-fit: contain !important;
    border-radius: 0 !important;
    display: block;
  }

  .chat-bubble.user {
    font-size: 0.91rem;
  }

  .chat-row-right {
    justify-content: flex-end;
  }

  .chat-row-left {
    justify-content: flex-start;
  }

  .chat-row {
    display: flex;
    align-items: flex-end;
    gap: 0.7rem;
    margin-bottom: 0.2rem;
  }

  .chat-img.ai.large::after {
    font-size: 3.2rem;
  }

  .chat-img.user, .chat-img.user::after { display: none !important; }

  .chat-img.input.large, .chat-img.ai.large {
    width: 200px;
    height: 200px;
    border-radius: 18px;
    background: none;
    margin-bottom: 0.2rem;
  }

  .chat-boxed {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(16,30,54,0.08);
    padding: 0.7rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .chat-bubble.user {
    font-size: 0.87rem;
  }

  .chat-status {
    font-size: 0.87rem;
  }

  .chat-mockup-title, .chat-mockup-status {
    font-size: 0.95rem;
  }

  .chat-mockup-body {
    gap: 1.1rem;
  }
}

.start-creating-btn {
  color: #fff !important;
  font-weight: 700;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
} 