/* CSS Custom Properties */
:root {
  /* Colors */
  --coral: #FF6B6B;
  --coral-light: #FF8E8E;
  --coral-dark: #FF4757;
  --teal: #4ECDC4;
  --teal-light: #6ED5CC;
  --teal-dark: #26D0CE;
  --pink: #FF9FF3;
  --pink-light: #FFB3F7;
  --pink-dark: #FF7EF0;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--coral) 0%, var(--teal) 50%, var(--pink) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--teal) 0%, var(--pink) 100%);
  --gradient-tertiary: linear-gradient(135deg, var(--coral) 0%, var(--pink) 100%);
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --container-padding: 2rem;
  --section-padding: 5rem 0;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-800);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

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

.hero-title {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Waitlist Form */
.waitlist-form {
  margin-bottom: 2rem;
}

.form {
  margin-bottom: 1rem;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

/* Legacy email-input class for backwards compatibility */
.email-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.submit-btn {
  position: relative;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--coral);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: var(--gray-50);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--coral);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.btn-loader.active {
  display: inline-block;
}

.btn-text.hidden {
  display: none;
}

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

.form-message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-align: center;
  transition: var(--transition-normal);
  opacity: 0;
  transform: translateY(-10px);
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  text-align: center;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #2d3748, #4a5568);
  border-radius: 2.5rem;
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: #718096;
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
}

.app-interface {
  padding: 2rem 1.5rem;
  height: 100%;
}

.status-bar {
  height: 20px;
  background: linear-gradient(90deg, var(--gray-200) 0%, var(--gray-300) 100%);
  border-radius: 10px;
  margin-bottom: 2rem;
}

.app-header h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 2rem;
  text-align: center;
}

.friend-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.friend-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
}

.friend-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 1rem;
}

.avatar.coral {
  background: var(--gradient-tertiary);
}

.avatar.teal {
  background: var(--gradient-secondary);
}

.friend-info {
  flex: 1;
}

.friend-info .name {
  display: block;
  font-weight: 600;
  color: var(--gray-900);
}

.friend-info .distance {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
}

.status-dot.active {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition-normal);
}

.scroll-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* What is Nimo Section */
.what-is-nimo {
  background: var(--gray-50);
}

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

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
}

.feature-icon.coral-bg {
  background: var(--gradient-tertiary);
}

.feature-icon.teal-bg {
  background: var(--gradient-secondary);
}

.feature-icon.pink-bg {
  background: linear-gradient(135deg, var(--pink) 0%, var(--coral) 100%);
}

.feature-card h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Problem Solution Section */
.problem-solution {
  background: var(--white);
}

.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.problem-list,
.solution-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-item,
.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.problem-item i {
  color: #ef4444;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.solution-item i {
  color: #10b981;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.problem-item p,
.solution-item p {
  color: var(--gray-700);
  font-size: 1.1rem;
}

/* Why Nimo Section */
.why-nimo {
  background: var(--gray-50);
}

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

.comparison-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.comparison-card h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  text-align: center;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.comparison-list li i {
  color: #10b981;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Use Cases Section */
.use-cases {
  background: var(--white);
}

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

.use-case-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.use-case-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
}

.use-case-card h3 {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.use-case-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Features Detailed Section */
.features {
  background: var(--gray-50);
}

.features-detailed {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-row.reverse {
  grid-template-columns: 1fr;
}

.feature-content h3 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.feature-content p {
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--coral);
}

/* Proximity Circles Animation */
.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.proximity-circles {
  position: relative;
  width: 300px;
  height: 300px;
}

.circle {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3s ease-in-out infinite;
}

.circle-1 {
  width: 80px;
  height: 80px;
  border-color: var(--coral);
  animation-delay: 0s;
}

.circle-2 {
  width: 160px;
  height: 160px;
  border-color: var(--teal);
  animation-delay: 1s;
}

.circle-3 {
  width: 240px;
  height: 240px;
  border-color: var(--pink);
  animation-delay: 2s;
}

.center-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--gradient-primary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-md);
}

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

/* Privacy Modes */
.privacy-modes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.privacy-mode {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.privacy-mode:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mode-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.mode-icon.visible {
  background: var(--gradient-tertiary);
}

.mode-icon.ghost {
  background: var(--gradient-secondary);
}

.mode-icon.private {
  background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-800) 100%);
}

.mode-info h4 {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.mode-info p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Small Features Grid */
.features-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.small-feature {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.small-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.small-feature i {
  color: var(--coral);
  margin-bottom: 1rem;
}

.small-feature h4 {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.small-feature p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Coming Soon Section */
.coming-soon {
  background: var(--gradient-primary);
  color: var(--white);
}

.coming-soon-content {
  text-align: center;
}

.coming-soon .section-title {
  color: var(--white);
}

.launch-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.launch-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  transition: var(--transition-normal);
}

.launch-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.launch-item h3 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.launch-item p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.timeline {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--coral);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
}

.final-cta {
  margin-top: 3rem;
}

.final-cta h3 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--coral);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.cta-button:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--gray-400);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  font-family: var(--font-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: var(--transition-normal);
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.social-link:hover {
  background: var(--coral);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  color: var(--gray-400);
}

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

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

/* Scroll Animations */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --section-padding: 3rem 0;
  }

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

  .section-subtitle {
    font-size: 1.1rem;
  }

  /* Hero Mobile */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .hero-description {
    font-size: 1.1rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .phone-mockup {
    width: 200px;
    height: 400px;
  }

  /* Mobile Grids */
  .features-grid,
  .comparison-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .problem-solution-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .proximity-circles {
    width: 200px;
    height: 200px;
  }

  .circle-1 { width: 60px; height: 60px; }
  .circle-2 { width: 120px; height: 120px; }
  .circle-3 { width: 180px; height: 180px; }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

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

  .feature-content h3 {
    font-size: 1.5rem;
  }

  .phone-mockup {
    width: 180px;
    height: 360px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --gray-400: #666666;
    --gray-600: #333333;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scroll-indicator {
    animation: none;
  }
  
  .circle {
    animation: none;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  max-height: 80vh;
  width: 90%;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.modal-header h2 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-600);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-normal);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(80vh - 100px);
}

.modal-body h3 {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 1.5rem 0 0.75rem 0;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-body p strong {
  color: var(--gray-900);
}

/* Modal Animations */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 85vh;
    margin: 1rem;
  }
  
  .modal-header {
    padding: 1rem 1.5rem;
  }
  
  .modal-header h2 {
    font-size: 1.25rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
}

/* Print styles */
@media print {
  .hero-background,
  .scroll-indicator,
  .footer,
  .modal {
    display: none;
  }
  
  body {
    color: black;
    background: white;
  }
  
  .section {
    break-inside: avoid;
  }
}
