/* ========================================
   🎨 RESHАI - MODERN LANDING PAGE STYLES
   ======================================== */

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Better tap targets for mobile */
a,
button {
  -webkit-tap-highlight-color: rgba(139, 92, 246, 0.3);
  touch-action: manipulation;
}

/* Apply min sizes only to main interactive elements, not phone mockup buttons */
.btn,
.cta-button,
.hero-buttons a {
  min-height: 44px;
  min-width: 44px;
}

:root {
  /* Neon Colors */
  --color-primary: #a78bfa;
  --color-secondary: #06b6d4;
  --color-accent: #10b981;
  --color-purple: #8b5cf6;
  --color-cyan: #06b6d4;
  --color-pink: #ec4899;

  /* Dark Theme */
  --color-bg-dark: #0f0f1e;
  --color-bg-darker: #070712;
  --color-surface: #1a1a2e;
  --color-surface-light: #252540;

  /* Text */
  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-neon: 0 0 20px rgba(139, 92, 246, 0.5);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Roboto",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg-darker);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-darker);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 30%;
  right: -5%;
  animation-delay: 7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
  bottom: 10%;
  left: 20%;
  animation-delay: 14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  75% {
    transform: translate(20px, 10px) scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  padding: var(--spacing-xl) 0;
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  backdrop-filter: blur(10px);
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
  background: rgba(139, 92, 246, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
}

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

.btn-icon {
  font-size: 1.25rem;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-lg);
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* === PHONE MOCKUP === */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.phone-mockup {
  position: relative;
  filter: drop-shadow(0 20px 60px rgba(139, 92, 246, 0.3));
}

.phone-frame {
  width: 320px;
  height: 650px;
  background: linear-gradient(145deg, #1e1e30, #0a0a12);
  border-radius: 40px;
  padding: 12px;
  position: relative;
  border: 2px solid rgba(139, 92, 246, 0.3);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 30px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0a0a12;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.telegram-chat {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 100%);
  border-radius: 32px;
  overflow: hidden;
}

/* === NEW TELEGRAM HEADER === */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 12px 12px;
  background: rgba(15, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  min-height: 60px;
  border-radius: 32px 32px 0 0;
  flex-shrink: 0;
}

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

.back-button {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border: none;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  position: relative;
}

.avatar-gradient {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.avatar-emoji {
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.chat-info {
  flex: 1;
  min-width: 0;
}

.chat-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-status {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.header-actions {
  display: flex;
  gap: 4px;
}

.icon-button {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  padding: 0;
}

.icon-button:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--color-primary);
}

/* === CHAT MESSAGES === */
.chat-messages {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chat-messages::-webkit-scrollbar {
  display: none;
}

.message {
  display: flex;
  animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-message {
  justify-content: flex-end;
  padding-left: 60px;
}

.bot-message {
  justify-content: flex-start;
  padding-right: 60px;
}

.message-bubble {
  position: relative;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 100%;
  word-wrap: break-word;
}

.user-message .message-bubble {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.bot-message .message-bubble {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(10px);
}

.message-text {
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.message-time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.bot-message .message-time {
  color: var(--color-text-muted);
}

.read-status {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

/* === QUICK REPLIES === */
.quick-replies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}

.quick-reply {
  padding: 8px 12px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
  min-height: auto;
  min-width: auto;
}

.quick-reply:nth-child(3) {
  grid-column: 1 / -1;
}

.quick-reply:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
}

/* === TYPING INDICATOR === */
.typing .message-bubble {
  padding: 12px 16px;
  min-width: 60px;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 14px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--color-text-muted);
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

/* === CHAT INPUT === */
.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 12px;
  background: rgba(15, 15, 30, 0.95);
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 0 0 32px 32px;
  flex-shrink: 0;
}

.attach-button,
.emoji-button,
.voice-button {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.attach-button:hover,
.emoji-button:hover,
.voice-button:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--color-primary);
}

.input-field {
  flex: 1;
  position: relative;
  min-width: 0;
}

.input-field input {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 18px;
  color: var(--color-text-primary);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s ease;
}

.input-field input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.input-field input::placeholder {
  color: var(--color-text-muted);
}

/* === FEATURES SECTION === */
.features {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-dark);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.section-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-card {
  padding: var(--spacing-lg);
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.feature-icon {
  font-size: 2rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.feature-description {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* === HOW IT WORKS SECTION === */
.how-it-works {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-darker);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.step-number {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  box-shadow: var(--shadow-neon);
}

.step-content {
  padding-top: var(--spacing-sm);
}

.step-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.step-description {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
}

.code-preview {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: var(--spacing-md);
  font-family: "Monaco", "Courier New", monospace;
  font-size: 0.875rem;
  overflow-x: auto;
  color: var(--color-accent);
}

.code-preview code {
  display: block;
  white-space: pre;
  line-height: 1.6;
}

/* === CTA SECTION === */
.cta-section {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1) 0%,
    rgba(6, 182, 212, 0.1) 100%
  );
  text-align: center;
}

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

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
}

.cta-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
  padding: var(--spacing-lg) 0 var(--spacing-md);
  background: var(--color-bg-darker);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.footer-tagline {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
}

.footer-column a {
  display: block;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: var(--spacing-xs);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* === HERO NOTE === */
.hero-note {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: var(--spacing-md);
}

/* === PROBLEMS SECTION === */
.problems {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-darker);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.problem-card {
  padding: var(--spacing-lg);
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.problem-text {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.problems-note {
  text-align: center;
  margin-top: var(--spacing-lg);
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* === HOW IT WORKS NOTE === */
.how-it-works-note {
  text-align: center;
  margin-top: var(--spacing-lg);
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* === TESTIMONIALS SECTION === */
.testimonials {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.testimonial-card {
  padding: var(--spacing-lg);
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.testimonial-stars {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.testimonials-note {
  text-align: center;
  margin-top: var(--spacing-lg);
  font-size: 1.125rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* === TARGET AUDIENCE SECTION === */
.target-audience {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-darker);
}

.audience-list {
  max-width: 700px;
  margin: var(--spacing-lg) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.audience-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.audience-item:hover {
  transform: translateX(10px);
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.15);
}

.audience-icon {
  font-size: 1.75rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.audience-text {
  font-size: 1.25rem;
  color: var(--color-text-primary);
  font-weight: 500;
}

/* === CTA NOTE === */
.cta-note {
  margin-top: var(--spacing-md);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* === HERO BUTTON === */
.btn-hero {
  font-size: 1.25rem;
  padding: 1.5rem 3rem;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.7);
}

/* === PERFORMANCE OPTIMIZATIONS === */

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Hardware acceleration for animations */
.feature-card,
.problem-card,
.testimonial-card,
.audience-item,
.btn,
.phone-mockup {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Optimize images and media */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent layout shift */
.phone-frame,
.feature-icon-wrapper,
.step-number {
  contain: layout style paint;
}

/* === UTILITY CLASSES === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Smooth scroll for anchor links */
.btn[href^="#"] {
  scroll-margin-top: 2rem;
}

/* === RESPONSIVE === */

/* Large tablets and small desktops (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

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

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

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (max-width: 968px) */
@media (max-width: 968px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
  }

  /* Hero Section */
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .hero-visual {
    order: -1;
    margin: 0 auto;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-description {
    max-width: 100%;
  }

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

  .phone-frame {
    width: 280px;
    height: 570px;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Problems Grid */
  .problems-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .step {
    grid-template-columns: 80px 1fr;
    gap: var(--spacing-md);
  }

  .step-number {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* Mobile devices (max-width: 640px) */
@media (max-width: 640px) {
  :root {
    --spacing-xs: 0.375rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.25rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;
  }

  body {
    font-size: 16px;
  }

  /* Hero Section */
  .hero {
    min-height: auto;
    padding: var(--spacing-lg) 0;
  }

  .hero-content {
    padding: var(--spacing-md) 0;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: var(--spacing-sm);
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .btn-hero {
    font-size: 1.125rem;
    padding: 1.125rem 2rem;
  }

  .hero-note {
    font-size: 0.875rem;
  }

  .phone-frame {
    width: 240px;
    height: 490px;
  }

  .phone-notch {
    width: 120px;
    height: 25px;
  }

  .chat-header {
    padding: 40px 12px 12px;
  }

  .chat-avatar {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }

  .chat-name {
    font-size: 0.875rem;
  }

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

  .chat-messages {
    padding: 12px;
    gap: 10px;
  }

  .message-bubble {
    font-size: 0.8125rem;
    padding: 8px 12px;
  }

  /* Sections */
  .section-header {
    margin-bottom: var(--spacing-lg);
  }

  .section-title {
    font-size: 1.875rem;
    line-height: 1.2;
  }

  .section-description {
    font-size: 1rem;
  }

  /* Problems Section */
  .problems {
    padding: var(--spacing-lg) 0;
  }

  .problems-grid {
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
  }

  .problem-card {
    padding: var(--spacing-md);
  }

  .problem-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .problem-text {
    font-size: 1rem;
  }

  .problems-note {
    font-size: 1rem;
    margin-top: var(--spacing-md);
    padding: 0 var(--spacing-sm);
  }

  /* Features Section */
  .features {
    padding: var(--spacing-lg) 0;
  }

  .features-grid {
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
  }

  .feature-card {
    padding: var(--spacing-md);
  }

  .feature-icon-wrapper {
    width: 50px;
    height: 50px;
    margin-bottom: var(--spacing-sm);
  }

  .feature-icon {
    font-size: 1.5rem;
  }

  .feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .feature-description {
    font-size: 0.95rem;
  }

  /* How it Works */
  .how-it-works {
    padding: var(--spacing-lg) 0;
  }

  .steps {
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
  }

  .step {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    text-align: center;
  }

  .step-number {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    margin: 0 auto;
  }

  .step-content {
    padding-top: 0;
  }

  .step-title {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
  }

  .step-description {
    font-size: 1rem;
  }

  .how-it-works-note {
    font-size: 1rem;
    margin-top: var(--spacing-md);
    padding: 0 var(--spacing-sm);
  }

  /* Testimonials */
  .testimonials {
    padding: var(--spacing-lg) 0;
  }

  .testimonials-grid {
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
  }

  .testimonial-card {
    padding: var(--spacing-md);
  }

  .testimonial-stars {
    font-size: 1.25rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonials-note {
    font-size: 1rem;
    margin-top: var(--spacing-md);
  }

  /* Target Audience */
  .target-audience {
    padding: var(--spacing-lg) 0;
  }

  .audience-list {
    margin-top: var(--spacing-md);
    gap: var(--spacing-sm);
  }

  .audience-item {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .audience-icon {
    font-size: 1.5rem;
  }

  .audience-text {
    font-size: 1rem;
  }

  /* CTA Section */
  .cta-section {
    padding: var(--spacing-lg) 0;
  }

  .cta-title {
    font-size: 1.875rem;
    margin-bottom: var(--spacing-md);
  }

  .cta-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-note {
    font-size: 0.875rem;
  }

  /* Footer */
  .footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }

  .footer-content {
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
  }

  .footer-logo {
    font-size: 1.25rem;
  }

  .footer-tagline {
    font-size: 0.875rem;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .footer-column h4 {
    font-size: 0.8125rem;
  }

  .footer-column a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    font-size: 0.8125rem;
    padding-top: var(--spacing-sm);
  }

  /* Gradient Orbs - reduce on mobile for performance */
  .gradient-orb {
    filter: blur(60px);
    opacity: 0.3;
  }

  .orb-1 {
    width: 300px;
    height: 300px;
  }

  .orb-2 {
    width: 250px;
    height: 250px;
  }

  .orb-3 {
    width: 200px;
    height: 200px;
  }
}

/* Small mobile devices (max-width: 375px) */
@media (max-width: 375px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .phone-frame {
    width: 220px;
    height: 450px;
  }

  .feature-card,
  .problem-card,
  .testimonial-card {
    padding: var(--spacing-sm);
  }

  .btn-hero {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
}

/* Landscape orientation on mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero-visual {
    display: none;
  }

  .hero-content {
    padding: var(--spacing-md) 0;
  }
}
