/* Landing Page Styles - Creative Blue Theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #3b82f6, #1d4ed8);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #2563eb, #1e40af);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #1e293b;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: #0f172a;
  overflow-x: hidden;
}

.landing-page {
  min-height: 100vh;
  background: #0f172a;
  position: relative;
}

/* Floating background elements */
.landing-page::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(29, 78, 216, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 70%, rgba(147, 197, 253, 0.05) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

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

/* Header Styles - Glassmorphism */
.header {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  opacity: 0.5;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo:hover::after {
  opacity: 1;
}

.logo-icon {
  margin-right: 0.5rem;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

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

.nav-links a {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button Styles - Futuristic Design */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.btn-outline {
  background: transparent;
  color: #3b82f6;
  border: 2px solid #3b82f6;
  position: relative;
}

.btn-outline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-outline:hover {
  color: white;
  border-color: #2563eb;
  transform: translateY(-2px);
}

.btn-outline:hover::after {
  width: 100%;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 16px;
}

/* Hero Section - Innovative Design */
.hero {
  padding: 10rem 0 6rem;
  background: 
    radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(29, 78, 216, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><linearGradient id="grid" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%233b82f6;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%233b82f6;stop-opacity:0"/></linearGradient></defs><pattern id="smallGrid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="url(%23grid)" stroke-width="1"/></pattern><rect width="100%" height="100%" fill="url(%23smallGrid)"/></svg>');
  opacity: 0.3;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #f1f5f9;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-description {
  font-size: 1.3rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.7;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.feature-tag {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-tag:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
}

.stat-label {
  font-size: 0.9rem;
  color: #718096;
}

/* App Preview - Floating Card Design */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.app-preview {
  position: relative;
  transform: rotate(-8deg) perspective(1000px) rotateY(15deg);
  transition: all 0.5s ease;
  z-index: 2;
}

.app-preview:hover {
  transform: rotate(0deg) perspective(1000px) rotateY(0deg) scale(1.05);
}

.app-window {
  background: linear-gradient(145deg, #1e293b, #334155);
  border-radius: 20px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  width: 450px;
  backdrop-filter: blur(20px);
}

.app-header {
  background: linear-gradient(145deg, #334155, #475569);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
}

.app-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.app-controls {
  display: flex;
  gap: 0.7rem;
}

.control {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.control.red { 
  background: linear-gradient(135deg, #ff5f57, #ff3b30);
  box-shadow: 0 0 10px rgba(255, 95, 87, 0.5);
}
.control.yellow { 
  background: linear-gradient(135deg, #ffbd2e, #ff9500);
  box-shadow: 0 0 10px rgba(255, 189, 46, 0.5);
}
.control.green { 
  background: linear-gradient(135deg, #28ca42, #30d158);
  box-shadow: 0 0 10px rgba(40, 202, 66, 0.5);
}

.app-title {
  font-weight: 600;
  color: #f1f5f9;
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.app-content {
  padding: 2rem;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  position: relative;
}

.app-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="%233b82f6" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.memory-card {
  background: linear-gradient(145deg, rgba(51, 65, 85, 0.8), rgba(71, 85, 105, 0.6));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.memory-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.memory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.memory-header h3 {
  font-size: 1rem;
  color: #f1f5f9;
}

.memory-card p {
  color: #cbd5e1;
  margin: 0.5rem 0;
}

.memory-category {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.memory-tags {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.tag {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  padding: 0.3rem 0.7rem;
  border-radius: 15px;
  font-size: 0.75rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
  transition: all 0.2s ease;
}

.tag:hover {
  background: rgba(59, 130, 246, 0.25);
  transform: scale(1.05);
}

.chat-interface {
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  padding-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.chat-message {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  position: relative;
  max-width: 85%;
}

.chat-message.user {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.chat-message.ai {
  background: linear-gradient(145deg, rgba(71, 85, 105, 0.8), rgba(51, 65, 85, 0.9));
  color: #e2e8f0;
  margin-right: auto;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom-left-radius: 4px;
}

/* Features Section - Card Grid */
.features {
  padding: 8rem 0;
  background: 
    linear-gradient(135deg, #1e293b 0%, #0f172a 100%),
    radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="hexagon" width="40" height="35" patternUnits="userSpaceOnUse"><polygon points="20,2 38,12 38,27 20,37 2,27 2,12" fill="none" stroke="%233b82f6" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagon)"/></svg>');
  opacity: 0.2;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.section-header p {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #3b82f6;
  box-shadow: 
    0 25px 50px rgba(59, 130, 246, 0.2),
    0 0 0 1px rgba(59, 130, 246, 0.3);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: #cbd5e1;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* How It Works Section - Timeline Design */
.how-it-works {
  padding: 8rem 0;
  background: 
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%),
    radial-gradient(circle at 75% 25%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  align-items: start;
}

.steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, #3b82f6 50%, transparent 90%);
  transform: translateY(-50%);
  opacity: 0.3;
  z-index: 1;
}

.step {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 2rem;
  box-shadow: 
    0 10px 30px rgba(59, 130, 246, 0.4),
    0 0 0 4px rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.step-number::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 
    0 15px 40px rgba(59, 130, 246, 0.5),
    0 0 0 6px rgba(59, 130, 246, 0.3);
}

.step h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.step p {
  color: #cbd5e1;
  line-height: 1.7;
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
  background: white;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #667eea;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.price span {
  font-size: 1rem;
  opacity: 0.7;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-card.featured li {
  border-color: rgba(255, 255, 255, 0.2);
}

/* CTA Section - Spotlight Design */
.cta {
  padding: 8rem 0;
  background: 
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%),
    radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulse 8s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #3b82f6 50%, #f1f5f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.cta .btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.cta .btn-outline {
  border-color: #3b82f6;
  color: #3b82f6;
  background: transparent;
}

.cta .btn-outline:hover {
  background: #3b82f6;
  color: white;
}

/* Footer - Modern Design */
.footer {
  padding: 5rem 0 2rem;
  background: 
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%),
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  color: white;
  position: relative;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

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

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

.footer-section a:hover {
  color: white;
}

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

.footer-bottom a {
  color: #667eea;
  text-decoration: none;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #cbd5e1;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
  transform-origin: center;
}

.hamburger:hover span {
  background: #3b82f6;
}

.hamburger-open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: #3b82f6;
}

.hamburger-open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger-open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: #3b82f6;
}

/* Mobile Navigation Actions */
.nav-actions-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  margin-top: 1rem;
}

.nav-actions-mobile .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Prevent body scroll when mobile menu is open */
.mobile-menu-open {
  overflow: hidden;
}

/* Responsive Design */
/* Large desktops and above */
@media (min-width: 1200px) {
  .steps {
    gap: 3rem;
  }
  
  .step {
    padding: 2.5rem 1.5rem;
  }
}

/* Medium desktops */
@media (max-width: 1199px) and (min-width: 992px) {
  .steps {
    gap: 1.5rem;
  }
  
  .step {
    padding: 2rem 1rem;
  }
  
  .step h3 {
    font-size: 1.4rem;
  }
  
  .step p {
    font-size: 0.9rem;
  }
}

/* Small desktops and tablets landscape */
@media (max-width: 991px) and (min-width: 769px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .steps::before {
    display: none;
  }
  
  .step {
    padding: 2rem 1rem;
  }
}

/* Tablets and below */
@media (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .hamburger {
    display: flex;
  }
  
  /* Hide desktop nav actions on mobile */
  .nav-actions {
    display: none;
  }
  
  /* Mobile navigation styles */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 90px 2rem 3rem;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    min-height: 100vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
  }
  
  .nav-links-mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  
  .nav-links a {
    padding: 1.8rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    text-align: left;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    background: rgba(59, 130, 246, 0.05);
    backdrop-filter: blur(10px);
  }
  
  .nav-links a:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(79, 70, 229, 0.2) 100%);
    color: #60a5fa;
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
  }
  
  /* Show mobile nav actions in mobile menu */
  .nav-actions-mobile {
    display: flex;
    margin-top: 1rem;
  }
  
  /* Improved mobile hero section */
  .hero {
    padding: 3rem 0 4rem;
    min-height: 80vh;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #cbd5e1;
  }
  
  .hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-items: center;
  }
  
  .feature-tag {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  
  .btn-large {
    width: 100%;
    max-width: 280px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  /* Enhanced app preview for mobile */
  .app-window {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    transform: scale(0.95);
  }
  
  .app-content {
    padding: 1rem;
  }
  
  .memory-card {
    margin-bottom: 1rem;
  }
  
  .memory-header h3 {
    font-size: 1rem;
  }
  
  /* Improved features grid for mobile */
  .features {
    padding: 4rem 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
    text-align: center;
  }
  
  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .feature-card p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Enhanced steps section for mobile */
  .how-it-works {
    padding: 4rem 0;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .steps::before {
    display: none;
  }
  
  .step {
    padding: 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
  }
  
  .step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .step-content p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Enhanced CTA section for mobile */
  .cta {
    padding: 4rem 0;
  }
  
  .cta-content {
    text-align: center;
    padding: 3rem 1.5rem;
  }
  
  .cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
  }
  
  .cta-actions {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  
  /* Enhanced footer for mobile */
  .footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-section:first-child {
    order: -1;
  }
  
  .footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .footer-section ul li {
    margin-bottom: 0.8rem;
  }
  
  .footer-section ul li a {
    font-size: 1rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .app-window {
    width: 100%;
    max-width: 350px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .steps::before {
    display: none;
  }
  
  .step {
    padding: 2rem 1.5rem;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  /* How it works section mobile adjustments */
  .how-it-works {
    padding: 5rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 6rem 0 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  /* Header mobile improvements */
  .nav {
    padding: 1rem 0;
  }
  
  .logo {
    height: 35px;
  }
  
  .btn-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  /* Hero mobile improvements */
  .hero-features {
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-feature {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Steps mobile improvements */
  .step {
    padding: 1.5rem 1rem;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  
  .step h3 {
    font-size: 1.3rem;
  }
  
  .step p {
    font-size: 0.9rem;
  }
  
  /* Features mobile improvements */
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  /* App preview mobile improvements */
  .app-preview {
    padding: 4rem 0;
  }
  
  .app-window {
    max-width: 300px;
    margin: 0 auto;
  }
  
  /* CTA mobile improvements */
  .cta {
    padding: 4rem 0;
  }
  
  .btn-large {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 250px;
  }
  
  /* Footer mobile improvements */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Extra small phones */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .step {
    padding: 1rem 0.5rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .step h3 {
    font-size: 1.2rem;
  }
  
  .step p {
    font-size: 0.85rem;
  }
  
  .btn-large {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
  
  .container {
    padding: 0 10px;
  }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 480px) {
  /* Header improvements */
  .header {
    padding: 1rem 0;
  }
  
  .hamburger {
    width: 38px;
    height: 38px;
  }
  
  .hamburger span {
    width: 24px;
    height: 3px;
  }
  
  .logo-text {
    font-size: 1.4rem;
  }
  
  /* Mobile menu improvements */
  .nav-links {
    padding: 80px 1.5rem 2rem;
  }
  
  .nav-links a {
    padding: 1.5rem 1.2rem;
    font-size: 1.1rem;
  }
  
  /* Hero section improvements */
  .hero {
    padding: 2rem 0 3rem;
    min-height: 75vh;
  }
  
  .hero-title {
    font-size: 2.4rem;
    line-height: 1.15;
  }
  
  .hero-description {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }
  
  .feature-tag {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    max-width: 200px;
    margin: 0 auto;
  }
  
  .btn-large {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
  
  /* App preview improvements */
  .app-window {
    max-width: 300px;
    transform: scale(0.9);
  }
  
  /* Section spacing improvements */
  .features, .how-it-works, .cta {
    padding: 3rem 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  /* Feature cards improvements */
  .feature-card {
    padding: 1.8rem 1.2rem;
  }
  
  .feature-icon {
    font-size: 2.2rem;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
  }
  
  .feature-card p {
    font-size: 0.95rem;
  }
  
  /* Steps improvements */
  .step {
    padding: 1.8rem 1.2rem;
  }
  
  .step-number {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }
  
  .step-content h3 {
    font-size: 1.3rem;
  }
  
  .step-content p {
    font-size: 0.95rem;
  }
  
  /* CTA improvements */
  .cta-content {
    padding: 2.5rem 1rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  /* Footer improvements */
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  .footer-content {
    gap: 2rem;
  }
  
  /* Container padding improvements */
  .container {
    padding: 0 1.5rem;
  }
}

/* Fix for very small screens */
@media (max-width: 320px) {
  /* Header adjustments */
  .header {
    padding: 0.8rem 0;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .hamburger {
    width: 35px;
    height: 35px;
  }
  
  .hamburger span {
    width: 20px;
    height: 2px;
  }
  
  /* Mobile menu adjustments */
  .nav-links {
    padding: 75px 1rem 1.5rem;
  }
  
  .nav-links a {
    padding: 1.3rem 1rem;
    font-size: 1rem;
  }
  
  .nav-actions-mobile .btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Hero section adjustments */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    padding: 0 0.2rem;
  }
  
  .feature-tag {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .btn-large {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }
  
  /* App preview adjustments */
  .app-window {
    max-width: 280px;
    transform: scale(0.85);
  }
  
  /* Section headers */
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  /* Feature cards */
  .feature-card {
    padding: 1.5rem 1rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
  
  /* Steps */
  .step {
    padding: 1.5rem 1rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .step-content h3 {
    font-size: 1.2rem;
  }
  
  .step-content p {
    font-size: 0.9rem;
  }
  
  /* CTA section */
  .cta-content {
    padding: 2rem 0.8rem;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 0.95rem;
  }
  
  /* Container padding */
  .container {
    padding: 0 1rem;
  }
}

/* Enhanced Mobile Animations and Interactions */
@media (max-width: 768px) {
  /* Staggered animation for mobile menu items */
  .nav-links a {
    animation: slideInFromLeft 0.3s ease-out forwards;
    opacity: 0;
    transform: translateX(-20px);
  }
  
  .nav-links-mobile-open a:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .nav-links-mobile-open a:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .nav-links-mobile-open a:nth-child(3) {
    animation-delay: 0.3s;
  }
  
  .nav-links-mobile-open a:nth-child(4) {
    animation-delay: 0.4s;
  }
  
  .nav-links-mobile-open .nav-actions-mobile {
    animation: slideInFromLeft 0.3s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: translateX(-20px);
  }
  
  /* Enhanced feature card hover effects for mobile */
  .feature-card {
    transition: all 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
  }
  
  /* Enhanced step hover effects */
  .step {
    transition: all 0.3s ease;
  }
  
  .step:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
  }
  
  /* Button press effects */
  .btn:active {
    transform: scale(0.98);
  }
  
  /* Hero feature tags animation */
  .feature-tag {
    transition: all 0.3s ease;
  }
  
  .feature-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.25);
  }
}

@keyframes slideInFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Touch-friendly improvements */
@media (pointer: coarse) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .hamburger {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-links a {
    min-height: 50px;
  }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    .nav-links a,
    .feature-card,
    .step,
    .btn,
    .hamburger span {
      animation: none;
      transition: none;
    }
  }
  
  /* Improved scroll behavior */
  html {
    scroll-behavior: smooth;
  }
  
  /* Enhanced focus states for accessibility */
  .hamburger:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 4px;
  }
  
  .nav-links a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    background: rgba(59, 130, 246, 0.3);
  }
  
  .btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
  }
  
  /* Enhanced mobile typography */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  
  /* Improved mobile scrollbar */
  ::-webkit-scrollbar {
    width: 6px;
  }
  
  ::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.8);
  }
  
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 3px;
  }
  
  /* Mobile-specific loading states */
  .nav-links.loading {
    pointer-events: none;
  }
  
  .btn.loading {
    position: relative;
    color: transparent;
  }
  
  .btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Enhanced mobile landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 2rem 0;
    min-height: 60vh;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .nav-links {
    padding: 70px 2rem 2rem;
  }
  
  .features, .how-it-works, .cta {
    padding: 2.5rem 0;
  }
}

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

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #3b82f6;
  color: white;
  padding: 8px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}
