/* ============================================
   SWIQE LANDING PAGE - DESIGN SYSTEM
   Modern, clean design matching new_index.html
   ============================================ */

:root {
  /* Primary colors (matching new_index.html) */
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #7209b7;
  --accent: #f72585;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --success: #4cc9f0;
  --border-radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #ffffff;
}

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

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  gap: 10px;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.btn-outline-nav {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 8px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 18px 0;
  transition: var(--transition);
}

.header-scrolled {
  padding: 12px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

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

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
  padding: 5px;
}

.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition);
  z-index: 999;
  pointer-events: none;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  padding: 10px 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(114, 9, 183, 0.05) 100%);
  z-index: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--dark);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}

.store-buttons {
  display: flex;
  gap: 15px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background-color: var(--dark);
  color: white;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.store-button:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.store-button svg {
  width: 24px;
  height: 24px;
}

.early-access-form {
  max-width: 450px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-input {
  flex: 1;
  min-width: 250px;
  padding: 16px 20px;
  border-radius: var(--border-radius);
  border: 2px solid var(--light-gray);
  font-size: 1rem;
  transition: var(--transition);
  background-color: #ffffff;
  color: var(--dark);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.form-button {
  padding: 16px 30px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.form-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.form-message {
  padding: 12px;
  border-radius: var(--border-radius);
  text-align: center;
  font-size: 0.9rem;
  margin-top: 10px;
  display: none;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: block;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.phone-stack {
  display: flex;
  position: relative;
  height: 600px;
  width: 400px;
}

.phone-mockup {
  position: absolute;
  width: 300px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.phone-mockup:nth-child(1) {
  top: 0;
  right: 0;
  z-index: 3;
  transform: rotate(5deg);
}

.phone-mockup:nth-child(2) {
  top: 30px;
  right: 100px;
  z-index: 2;
  transform: rotate(-3deg);
}

.phone-mockup:nth-child(3) {
  top: 60px;
  right: 200px;
  z-index: 1;
  transform: rotate(-8deg);
}

.phone-mockup:hover {
  transform: translateY(-10px) rotate(0deg);
  z-index: 4;
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--light-gray);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: white;
}

.feature-icon.ai {
  background: linear-gradient(135deg, #4361ee, #3a56d4);
}

.feature-icon.real-time {
  background: linear-gradient(135deg, #7209b7, #5a08a0);
}

.feature-icon.contextual {
  background: linear-gradient(135deg, #f72585, #d81b72);
}

.feature-icon.performance {
  background: linear-gradient(135deg, #4cc9f0, #3ab5d9);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-description {
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */

.reviews {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.review-card:hover {
  transform: translateY(-8px);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 5rem;
  color: rgba(67, 97, 238, 0.1);
  font-family: Georgia, serif;
}

.review-text {
  font-style: italic;
  color: var(--dark);
  margin-bottom: 25px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.author-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

.reviews-disclaimer {
  text-align: center;
  margin-top: 50px;
  color: var(--gray);
  font-size: 0.9rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 25px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  font-weight: 300;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--gray);
  line-height: 1.7;
  padding-right: 30px;
}

.faq-answer p {
  margin: 0;
  padding-top: 20px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

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

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .phone-stack {
    width: 100%;
    justify-content: center;
    height: 500px;
  }
  
  .phone-mockup {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero {
    padding-top: 140px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .form-input {
    min-width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .store-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .phone-stack {
    height: 400px;
  }
  
  .phone-mockup {
    width: 200px;
  }
}
