/* Base Styles and Reset */
:root {
  --primary-color: #3b82f6; /* Blue color */
  --primary-dark: #2563eb;
  --primary-light: #dbeafe;
  --primary-100: #eff6ff;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --green-500: #10b981;
  --yellow-500: #f59e0b;
  --red-500: #ef4444;
  
  /* Background and text colors */
  --bg-color: #fff;
  --text-color: var(--gray-700);
  --heading-color: var(--gray-900);
  --card-bg: #fff;
  --border-color: var(--gray-200);
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Dark mode theme */
html[data-theme="dark"] {
  --primary-color: #60a5fab8;
  --primary-dark: #3b82f6;
  --primary-light: #1e3a8a;
  --primary-100: #172554;
  --primary-700: #93c5fd;
  --primary-800: #bfdbfe;
  --gray-50: #111827;
  --gray-100: #4b4b4b;
  --gray-200: #374151;
  --gray-300: #4b5563;
  --gray-400: #6b7280;
  --gray-500: #9ca3af;
  --gray-600: #d1d5db;
  --gray-700: #e5e7eb;
  --gray-800: #f3f4f6;
  --gray-900: #f9fafb;
  
  /* Background and text colors */
  --bg-color: #0f172a;
  --text-color: var(--gray-500);
  --heading-color: var(--gray-300);
  --card-bg: #1e293b;
  --border-color: #334155;
  --shadow-color: rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 16px;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

p {
  margin-bottom: 16px;
}

/* Buttons */
.primary-btn, .secondary-btn, .plan-btn, .cta-primary-btn, .cta-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primary-btn, .plan-btn.primary, .cta-primary-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.primary-btn:hover, .plan-btn.primary:hover, .cta-primary-btn:hover {
  background-color: var(--primary-dark);
}

.secondary-btn, .plan-btn, .cta-secondary-btn {
  background-color: white;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.secondary-btn:hover, .plan-btn:hover, .cta-secondary-btn:hover {
  background-color: var(--gray-50);
  border-color: var(--gray-400);
}

.cta-primary-btn, .cta-secondary-btn {
  padding: 16px 32px;
  font-size: 18px;
}

.cta-secondary-btn {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-color);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px var(--shadow-color);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo a {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  font-weight: 600;
  color: var(--gray-700);
  position: relative;
}

.desktop-nav a:hover {
  color: var(--primary-color);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

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

.auth-buttons {
  display: none;
}

.login-btn {
  padding: 8px 16px;
  color: var(--gray-700);
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background-color: var(--gray-100);
}

.get-started-btn {
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.get-started-btn:hover {
  background-color: var(--primary-dark);
}

.theme-toggle {
  position: relative;
  margin-right: 10px;
}

#theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

#theme-btn:hover {
  background-color: var(--gray-100);
  color: var(--primary-color);
}

.language-switcher {
  position: relative;
}

#language-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-700);
}

#language-btn:hover {
  color: var(--primary-color);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 150px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: none;
  z-index: 100;
}

.language-dropdown.active {
  display: block;
}

.language-dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--gray-700);
  transition: all 0.2s ease;
}

.language-dropdown a:hover {
  background-color: var(--gray-50);
}

.language-dropdown a.active {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  justify-content: space-between;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--gray-700);
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  padding: 16px 0;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  margin-bottom: 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--gray-700);
}

.mobile-nav a:hover {
  color: var(--primary-color);
}

.mobile-buttons {
  display: flex;
  gap: 12px;
}

.mobile-buttons a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 0;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(to bottom right, var(--gray-50), var(--primary-light));
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-text {
  text-align: center;
  max-width: 800px;
}

.hero-title {
  background: linear-gradient(to right, var(--gray-900), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
  font-size: 44px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 14px;
}

.hero-note i {
  color: var(--primary-color);
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image img {
  display: block;
  width: 100%;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top right, rgba(0, 0, 0, 0.4), transparent);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-600);
}

/* Product Preview Section */
.product-preview {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.preview-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.preview-video {
  flex: 1;
}

.video-placeholder {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-placeholder img {
  width: 100%;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button i {
  font-size: 30px;
  color: var(--primary-color);
}

.play-button:hover {
  background-color: var(--primary-color);
}

.play-button:hover i {
  color: white;
}

.preview-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.preview-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon.small {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.feature-text h4 {
  margin-bottom: 8px;
}

.feature-text p {
  font-size: 15px;
  color: var(--gray-600);
}

/* Templates Section */
.templates {
  padding: 60px 0;
  background-color: var(--gray-50);
}

.templates-header {
  text-align: center;
  margin-bottom: 40px;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

.template-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: all 0.3s ease;
}

.template-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.template-preview {
  position: relative;
  overflow: hidden;
}

.template-preview img {
  width: 100%;
  display: block;
  height: 200px;
  object-fit: cover;
}

.template-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.template-card:hover .template-overlay {
  opacity: 1;
}

.template-btn {
  padding: 10px 20px;
  background-color: white;
  color: var(--gray-800);
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.template-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.template-info {
  padding: 16px;
  text-align: center;
}

.template-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.template-info p {
  color: var(--gray-500);
  font-size: 14px;
  margin: 0;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.feature-list {
  margin-top: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--gray-600);
}

/* Use Cases Section */
.use-cases {
  padding: 80px 0;
  background-color: var(--gray-50);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.use-case-card {
  background-color: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.use-case-card h3 {
  margin-bottom: 12px;
}

.use-case-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin: 20px 0;
}

.quote-icon {
  color: var(--primary-light);
  font-size: 30px;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 4px;
  font-size: 18px;
}

.author-info p {
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
}

.testimonial-nav-btn {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-500);
  font-size: 18px;
  transition: all 0.3s ease;
}

.testimonial-nav-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gray-300);
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background-color: var(--primary-color);
  width: 24px;
  border-radius: 10px;
}

/* Trust Section */
.trust-section {
  padding: 60px 0;
  background-color: var(--primary-800);
  color: white;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 20px;
}

.badge-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.badge-text h4 {
  color: white;
  margin-bottom: 4px;
}

.badge-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: var(--gray-50);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-300);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.save-badge {
  position: absolute;
  top: -10px;
  right: calc(50% - 80px);
  background-color: var(--green-500);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.pricing-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
}

.popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.plan-header {
  padding: 32px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.plan-price {
  margin: 16px 0;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.price.hidden {
  display: none;
}

.currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-700);
}

.amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-500);
  line-height: 1;
  margin: 0 4px;
}

.period {
  font-size: 16px;
  color: var(--gray-500);
}

.plan-description {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
}

.plan-features {
  padding: 32px;
}

.plan-features ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.plan-features i {
  color: var(--green-500);
}

.plan-cta {
  padding: 0 32px 32px;
}

.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  font-size: 42px;
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.contact-details h4 {
  margin-bottom: 4px;
}

.contact-details p {
  margin: 0;
  color: var(--gray-600);
}

.contact-form {
  background-color: var(--gray-50);
  padding: 32px;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: white;
  padding: 80px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.footer-column p {
  color: var(--gray-400);
  font-size: 15px;
  margin-bottom: 24px;
}

.footer-column h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 18px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column ul li a {
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
}

.subscribe-form {
  display: flex;
  margin-top: 16px;
}

.subscribe-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-700);
  background-color: var(--gray-800);
  color: white;
  border-radius: 6px 0 0 6px;
  font-family: inherit;
}

.subscribe-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.subscribe-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 16px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subscribe-form button:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 14px;
  margin: 0;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 0.6s ease forwards;
}

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

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

/* Responsive Styles */
@media (min-width: 768px) {
  .hero-title {
    font-size: 56px;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .hero-trust {
    flex-direction: row;
  }
  
  .desktop-nav {
    display: block;
  }
  
  .auth-buttons {
    display: flex;
    gap: 12px;
  }
  
  .mobile-menu-btn {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .templates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .preview-content {
    flex-direction: row;
    align-items: center;
  }
  
  .trust-badges {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .hero-content {
    flex-direction: row;
  }
  
  .hero-text {
    text-align: left;
  }
  
  .hero-trust {
    align-items: flex-start;
  }
  
  .use-cases-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Template Dialog */
.template-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.template-dialog.active {
  opacity: 1;
  visibility: visible;
}

.dialog-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 20px 40px var(--shadow-color);
  transition: transform 0.3s ease;
  transform: translateY(20px);
}

.template-dialog.active .dialog-content {
  transform: translateY(0);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.dialog-header h3 {
  margin: 0;
}

.dialog-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-500);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.dialog-close:hover {
  background-color: var(--gray-100);
  color: var(--gray-700);
}

.dialog-body {
  padding: 24px;
}

.template-large-preview {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--shadow-color);
  margin-bottom: 24px;
}

.template-description {
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--gray-600);
}

.template-features {
  margin-bottom: 24px;
}

.template-features h4 {
  margin-bottom: 16px;
}

.template-features ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .template-features ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.template-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.template-features li i {
  color: var(--primary-color);
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  gap: 16px;
}

.dialog-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dialog-btn.primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.dialog-btn.primary:hover {
  background-color: var(--primary-dark);
}

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

.dialog-btn.secondary:hover {
  background-color: var(--gray-100);
}
