/* Landing Page Styles */

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  .header {
    background: rgba(17, 24, 39, 0.95);
    border-bottom-color: rgba(75, 85, 99, 0.5);
  }

  .header.scrolled {
    background: rgba(17, 24, 39, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  color: var(--orange-500);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

@media (prefers-color-scheme: dark) {
  .brand-name {
    color: #f9fafb;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--orange-500);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange-500);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

@media (prefers-color-scheme: dark) {
  .nav-link {
    color: #d1d5db;
  }

  .nav-link:hover {
    color: var(--orange-400);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  min-width: auto;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

@media (prefers-color-scheme: dark) {

  .hamburger,
  .hamburger::before,
  .hamburger::after {
    background: #d1d5db;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .header-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    padding-top: 3rem;
    transition: left 0.3s ease;
    border-top: 1px solid var(--gray-200);
  }

  .header-nav.open {
    left: 0;
  }

  @media (prefers-color-scheme: dark) {
    .header-nav {
      background: #111827;
      border-top-color: #374151;
    }
  }

  .header-actions {
    gap: 1rem;
  }

  .header-actions .nav-link {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.open .hamburger {
    background: transparent;
  }

  .mobile-menu-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  .mobile-menu-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  .nav-link {
    font-size: 1.125rem;
    padding: 1rem;
  }

  .nav-link::after {
    display: none;
  }
}

/* Container and Layout */
.landing-page {
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* Section Spacing */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Dark mode section styles */
@media (prefers-color-scheme: dark) {
  .section-title {
    color: #f9fafb;
  }

  .section-subtitle {
    color: #d1d5db;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%);
  padding-top: 70px;
  /* Account for fixed header */
}

@media (prefers-color-scheme: dark) {
  .hero {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 43px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text::selection {
  -webkit-text-fill-color: var(--orange-500);
  background: Highlight;
  color: HighlightText;
}

.gradient-text::-moz-selection {
  -webkit-text-fill-color: var(--orange-500);
  background: Highlight;
  color: HighlightText;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

@media (prefers-color-scheme: dark) {
  .hero-title {
    color: #f9fafb;
  }

  .hero-subtitle {
    color: #d1d5db;
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Product Preview */
.product-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview-window {
  background: white;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.preview-window:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

@media (prefers-color-scheme: dark) {
  .preview-window {
    background: #1f2937;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  }
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

@media (prefers-color-scheme: dark) {
  .window-header {
    background: #374151;
    border-bottom-color: #4b5563;
  }
}

.window-controls {
  display: flex;
  gap: 0.5rem;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red {
  background: #ef4444;
}

.control.yellow {
  background: #f59e0b;
}

.control.green {
  background: #10b981;
}

.window-title {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.875rem;
}

@media (prefers-color-scheme: dark) {
  .window-title {
    color: #d1d5db;
  }
}

.window-content {
  padding: 2rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.typing-animation {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  padding: 1rem;
  border-radius: 1rem;
  max-width: 80%;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.message.user {
  background: var(--orange-500);
  color: white;
  align-self: flex-end;
  animation-delay: 0.5s;
}

.message.ai {
  background: var(--gray-100);
  color: var(--gray-800);
  align-self: flex-start;
  animation-delay: 1.5s;
}

@media (prefers-color-scheme: dark) {
  .message.ai {
    background: #374151;
    color: #f3f4f6;
  }
}

.cursor {
  width: 2px;
  height: 20px;
  background: var(--orange-500);
  margin-left: 1rem;
  animation: blink 1s infinite, fadeIn 0.6s ease 2.5s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  min-width: 160px;
}

.btn-primary {
  background: var(--orange-500);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
  .btn-secondary {
    color: #f3f4f6;
    border-color: #4b5563;
  }

  .btn-secondary:hover {
    background: #374151;
    border-color: #6b7280;
  }
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover {
  background: var(--gray-800);
  color: white;
  border-color: var(--gray-800);
}

@media (prefers-color-scheme: dark) {
  .btn-outline {
    color: #f3f4f6;
    border-color: #4b5563;
  }

  .btn-outline:hover {
    background: #f3f4f6;
    color: #1f2937;
    border-color: #f3f4f6;
  }
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}




/* Pricing Section */
.pricing {
  background: var(--gray-50);
}

@media (prefers-color-scheme: dark) {
  .pricing {
    background: #0f0f0f;
  }
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.toggle-label {
  font-weight: 600;
  color: var(--gray-700);
}

@media (prefers-color-scheme: dark) {
  .toggle-label {
    color: #d1d5db;
  }
}

.toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.toggle-slider {
  background-color: var(--orange-500);
}

input:checked+.toggle-slider:before {
  transform: translateX(26px);
}

.discount {
  background: var(--orange-500);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: var(--orange-500);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

@media (prefers-color-scheme: dark) {
  .pricing-card {
    background: #1f2937;
    border-color: #374151;
  }

  .pricing-card.featured {
    border-color: var(--orange-500);
  }

  .pricing-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange-500);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
}

.period {
  color: var(--gray-600);
  font-weight: 500;
}

.plan-description {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

@media (prefers-color-scheme: dark) {

  .plan-name,
  .price {
    color: #f9fafb;
  }

  .period,
  .plan-description {
    color: #d1d5db;
  }
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.plan-features li {
  padding: 0.5rem 0;
  color: var(--gray-700);
  position: relative;
  padding-left: 1.5rem;
}

.plan-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange-500);
  font-weight: 700;
}

@media (prefers-color-scheme: dark) {
  .plan-features li {
    color: #d1d5db;
  }
}

.hidden {
  display: none;
}


/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.brand-name {
  font-weight: 400;
}

.footer-description {
  color: #d1d5db;
  line-height: 1.6;
  max-width: 300px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--orange-400);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }


  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .btn {
    min-width: auto;
    width: 100%;
    max-width: 280px;
  }


  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }
}