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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.logo-image {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-top: 0.2rem;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.logo h1 {
  color: #007AFF;
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
}

.logo h1 .beta-label {
  position: absolute;
  top: -2px;
  right: -28px;
  color: #007AFF;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Site title styling (replaces h1 for SEO) */
.logo .site-title {
  color: #007AFF;
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
}

.logo .site-title .beta-label {
  position: absolute;
  top: -2px;
  right: -28px;
  color: #007AFF;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  gap: 2rem;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* Hide mobile menu overlay on desktop */
.mobile-menu {
  display: none;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #007AFF;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

/* X (Twitter) Hero - Dark Brand Gradient */
.hero.twitter-hero {
  background: linear-gradient(135deg, #2C2C2E 0%, #1C1C1E 100%);
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
  background: white;
  color: #667eea;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #2c3e50;
}

/* Platforms Section */
.platforms-section {
  padding: 4rem 0;
  background: white;
}

/* iPhone-Style Grid - EXACT as specified in plan */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px;
}

.platform-card {
  background: white;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 200px;
}

/* Hover effects exactly as specified in plan */
.platform-card:hover {
  transform: translateY(-8px) scale(1.02); /* Dramatic effect */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-color: #007AFF;
}

/* Font Awesome Icon Styling */
.platform-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
  color: #007AFF;
}

.platform-icon i {
  transition: all 0.3s ease;
}

/* Brand Colors for Social Media Icons */
.platform-card:nth-child(1) .platform-icon { color: #E4405F; } /* Instagram */
.platform-card:nth-child(2) .platform-icon { color: #1877F2; } /* Facebook */
.platform-card:nth-child(3) .platform-icon { color: #000000; } /* X (Twitter) */
.platform-card:nth-child(4) .platform-icon { color: #0077B5; } /* LinkedIn */
.platform-card:nth-child(5) .platform-icon { color: #FF0000; } /* YouTube */
.platform-card:nth-child(6) .platform-icon { color: #BD081C; } /* Pinterest */
.platform-card:nth-child(7) .platform-icon { color: #21759B; } /* WordPress */
.platform-card:nth-child(8) .platform-icon { color: #6C757D; } /* Standard */
.platform-card:nth-child(9) .platform-icon { color: #00C9A7; } /* WebP */

/* Icon animation exactly as specified - same as emoji */
.platform-card:hover .platform-icon {
  transform: scale(1.2) rotate(5deg); /* Visible animation */
}

.platform-card:hover .platform-icon i {
  transform: scale(1.1);
}

/* Legacy emoji support (fallback) */
.platform-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.platform-card:hover .platform-emoji {
  transform: scale(1.2) rotate(5deg);
}

.platform-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2c3e50;
}

.platform-description {
  color: #666;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.platform-sizes {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #007AFF;
  font-weight: 500;
  margin-top: auto;
  width: 100%;
  text-align: center;
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

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

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.benefit-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Social Proof Section - Stats & Testimonials */
.social-proof-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.stat-icon {
  font-size: 2rem;
  color: #007aff;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0.5rem 0;
  line-height: 1;
}

.stat-label {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}

/* Testimonials Section */
.testimonials-title {
  text-align: center;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

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

.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #007aff;
}

.testimonial-stars {
  color: #ffc107;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-stars i {
  margin-right: 0.2rem;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2c3e50;
  margin: 0 0 1.5rem 0;
  font-style: italic;
  quotes: """ """ "'" "'";
}

.testimonial-card blockquote:before {
  content: open-quote;
}

.testimonial-card blockquote:after {
  content: close-quote;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
}

.testimonial-card cite strong {
  color: #1a1a1a;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.testimonial-card cite span {
  color: #666;
  font-size: 0.9rem;
}

/* Mobile Responsiveness for Social Proof */
@media (max-width: 968px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-card blockquote {
    font-size: 1rem;
  }
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 2rem 0;
}

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

.footer-brand h4 {
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #bdc3c7;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-copyright {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #34495e;
  text-align: center;
}

.footer-copyright p {
  color: #95a5a6;
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive Design - EXACT as specified in plan: 3x3 desktop, 2x4 mobile */
@media (max-width: 768px) {
  /* Mobile Header - Reduced height and font size */
  .header-content {
    padding: 0.5rem 0;
  }
  
  .logo {
    gap: 0.5rem; /* Reduced from 0.75rem */
  }
  
  .logo-image {
    width: 22px; /* Reduced from 32px (30% reduction) */
    height: 22px;
  }
  
  .logo h1 {
    font-size: 1.05rem; /* Reduced from 1.2rem (30% reduction: 1.2 * 0.7 = 0.84, but keeping readable) */
  }
  
  .logo h1 .beta-label {
    font-size: 0.55rem;
    right: -22px;
    top: -1px;
  }
  
  /* Mobile site title styling */
  .logo .site-title {
    font-size: 1.05rem;
  }
  
  .logo .site-title .beta-label {
    font-size: 0.55rem;
    right: -22px;
    top: -1px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  /* 2x4 mobile layout as specified */
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
  }
  
  .platform-card {
    padding: 24px 16px;
    min-height: 180px;
  }
  
  .platform-icon {
    font-size: 2.5rem;
  }
  
  .platform-name {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav {
    display: none;
  }
  
  /* Mobile Menu Toggle - Hamburger - Override desktop display:none */
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
  }
  
  .mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #007AFF;
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .mobile-menu-toggle:hover span {
    background: #0056b3;
  }
  
  /* Mobile Menu Overlay - Override desktop display:none */
  .mobile-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu a:hover {
    background: #f8f9fa;
    color: #007AFF;
  }
  
  /* Mobile Menu Logo - Same size as header */
  .mobile-menu-logo {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #007AFF !important;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem !important;
    border: 2px solid #007AFF;
    border-radius: 8px;
  }
  
  .mobile-menu-logo:hover {
    background: #007AFF !important;
    color: white !important;
    transform: scale(1.02);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Very small screens only: 1 column (smaller than typical mobile) */
@media (max-width: 360px) {
  .platforms-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .platform-card {
    padding: 20px 16px;
    min-height: 160px;
  }
  
  .platform-icon {
    font-size: 2rem;
  }
}

/* Apple-like cubic-bezier transitions - EXACT as specified */
@media (prefers-reduced-motion: no-preference) {
  .platform-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
}
/* Install App Button - Header */
.install-app-btn {
  padding: 8px 16px !important;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #555;
  font-weight: 600;
}

.install-app-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.install-app-btn i.fa-android {
  color: #3DDC84;
}

.install-app-btn i.fa-apple {
  color: #000000;
}

.install-app-btn:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.install-app-btn:hover i {
  transform: scale(1.1);
}

/* Mobile Menu Install Button */
.mobile-install-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  padding: 1rem 2rem !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border-radius: 12px;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.mobile-install-btn i {
  font-size: 1.5rem;
}

.mobile-install-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
}

/* Get the App Section - Footer */
.get-app-section {
  background: #f9f9f9;
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.get-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.get-app-btn i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.get-app-btn i.fa-android {
  color: #3DDC84;
}

.get-app-btn i.fa-apple {
  color: #000000;
}

.get-app-btn:hover {
  border-color: #667eea;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
  color: #667eea;
}

.get-app-btn:hover i {
  transform: scale(1.15);
}

/* Responsive Install Buttons */
@media (max-width: 768px) {
  .install-app-btn {
    padding: 6px 12px !important;
    gap: 6px;
  }

  .install-app-btn i {
    font-size: 1rem;
  }

  .get-app-section {
    padding: 30px 0;
  }

  .get-app-btn {
    padding: 14px 30px;
    font-size: 1rem;
    gap: 10px;
  }

  .get-app-btn i {
    font-size: 1.3rem;
  }
}

