/* Mobile-First Responsive Styles */

/* Mobile Base Styles (320px+) */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation - Mobile First */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 20px;
}

.logo {
  height: 36px;
  width: auto;
}

/* Mobile Navigation - Full Screen Overlay */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  gap: 40px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
}

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

.nav-link {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 24px;
  padding: var(--space-4) var(--space-6);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus {
  background: var(--gradient-card);
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-3);
  gap: 4px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
  z-index: 1002;
  position: relative;
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section - Mobile */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.03) 0%, rgba(0, 212, 170, 0.03) 100%);
}

.hero-content {
  text-align: center;
}

.hero-logo {
  height: 60px;
  margin-bottom: var(--space-6);
}

.hero-tagline {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  line-height: 1.5;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Showcase - Mobile */
.feature-showcase {
  max-width: 100%;
  margin: 40px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.showcase-slider {
  position: static;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-slide {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transform: none;
  transition: none;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(45, 27, 105, 0.1);
}

.showcase-slide.active {
  opacity: 1;
  transform: none;
}

.slide-image {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  margin-right: 0;
}

.phone-mockup {
  width: 100px;
  height: 200px;
  background: var(--deep-purple);
  border-radius: 16px;
  padding: 4px;
  box-shadow: 0 10px 25px rgba(45, 27, 105, 0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 16px;
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mockup-content h4 {
  font-size: var(--text-body-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.mockup-content p {
  font-size: var(--text-body-sm);
  color: var(--text-secondary);
}

.slide-content {
  text-align: center;
  padding: var(--space-2) 0;
  max-width: 100%;
}

.slide-content h3 {
  font-size: var(--text-heading-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-content p {
  font-size: var(--text-body-sm);
  color: var(--text-secondary);
  line-height: 1.4;
  max-width: 280px;
  margin: 0 auto;
}

/* Navigation Dots - Hidden on Mobile */
.showcase-nav {
  display: none;
}

.nav-dot {
  display: none;
}

/* CTA Section - Mobile */
.cta-section {
  text-align: center;
  margin-top: var(--space-8);
}

.hero-cta {
  width: 100%;
  max-width: 280px;
  margin-bottom: var(--space-4);
  padding: 18px 24px;
  font-size: 18px;
  min-height: 60px;
  font-weight: 600;
  border-radius: 12px;
}

.cta-note {
  font-size: var(--text-body-sm);
  color: var(--text-muted);
  display: none;
}

.coming-soon-message {
  font-size: var(--text-body-sm);
  color: var(--primary-blue);
  margin-top: var(--space-2);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.coming-soon-message.show {
  opacity: 1;
}

/* Buttons - Mobile First */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  touch-action: manipulation;
  text-decoration: none;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Grid System - Mobile First */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

/* Page Headers - Mobile */
.page-header {
  text-align: center;
  margin-bottom: var(--space-12);
  padding-top: var(--space-16);
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.page-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 90%;
  margin: 0 auto;
}

/* Section Spacing - Mobile */
section {
  padding: 60px 0;
}

/* Very Small Mobile Screens (320px-480px) */
@media (max-width: 480px) {
  .phone-mockup {
    width: 80px;
    height: 160px;
  }
  
  .showcase-slider {
    gap: 16px;
  }
  
  .showcase-slide {
    padding: 16px;
  }
}

/* Footer - Mobile */
.footer {
  background: var(--background-secondary);
  border-top: 1px solid var(--border-light);
  padding: var(--space-8) 0 var(--space-4);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.footer-logo {
  height: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--text-body-md);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.footer-bottom p {
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

/* Tablet Styles (768px+) */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
  
  .header-container {
    height: 70px;
    padding: 0 var(--space-6);
  }
  
  .logo {
    height: 42px;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    gap: 24px;
    opacity: 1;
    visibility: visible;
    backdrop-filter: none;
    z-index: auto;
  }
  
  .nav-link {
    padding: 0;
    border: none;
    position: relative;
    font-size: 16px;
    min-height: auto;
    display: inline;
    border-radius: 0;
    background: none;
    transform: none;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  .hero-logo {
    height: 75px;
  }
  
  .hero-tagline {
    font-size: var(--text-display-lg);
  }
  
  .hero-subtitle {
    font-size: var(--text-body-xl);
  }
  
  .feature-showcase {
    margin: var(--space-12) 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(45, 27, 105, 0.1);
    overflow: hidden;
  }
  
  .showcase-slider {
    height: 500px;
    position: relative;
    display: block;
    flex-direction: initial;
    gap: 0;
  }
  
  .showcase-slide {
    flex-direction: row;
    padding: 32px;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  
  .showcase-slide.active {
    opacity: 1;
    transform: translateX(0);
  }
  
  .slide-image {
    margin-bottom: 0;
    margin-right: 24px;
    flex: 0 0 auto;
  }
  
  .slide-content {
    flex: 1;
    text-align: left;
    padding: 0;
  }
  
  .phone-mockup {
    width: 180px;
    height: 360px;
  }
  
  .showcase-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
    background: var(--background-secondary);
  }
  
  .nav-dot {
    display: flex;
    background: transparent;
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }
  
  .nav-dot.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
  }
  
  .phone-mockup {
    width: 220px;
    height: 440px;
  }
  
  .slide-content {
    text-align: left;
    flex: 1;
  }
  
  .cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta {
    width: auto;
    min-width: 200px;
  }
  
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  section {
    padding: var(--space-16) 0;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop Styles (1024px+) */
@media (min-width: 1024px) {
  .header-container {
    height: 80px;
  }
  
  .logo {
    height: 48px;
  }
  
  .nav-menu {
    gap: var(--space-8);
  }
  
  .hero-logo {
    height: 90px;
  }
  
  .feature-showcase {
    max-width: 1000px;
    margin: var(--space-16) auto;
  }
  
  .showcase-slider {
    height: 600px;
    position: relative;
    display: block;
    flex-direction: initial;
    gap: 0;
  }
  
  .showcase-slide {
    padding: var(--space-12);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
  }
  
  .showcase-slide.active {
    opacity: 1;
    transform: translateX(0);
  }
  
  .phone-mockup {
    width: 200px;
    height: 400px;
  }
  
  .slide-content {
    padding: 0 var(--space-8);
  }
  
  .slide-content h3 {
    font-size: var(--text-heading-lg);
  }
  
  .slide-content p {
    font-size: var(--text-body-xl);
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-8);
  }
}

