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

:root {
  --primary-color: #5B9DED;
  --primary-dark: #4A8BD9;
  --secondary-color: #50C878;
  --text-primary: #1C1C1E;
  --text-secondary: #8E8E93;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F2F2F7;
  --border-color: #E5E5EA;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s;
}

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

.cta-button {
  background: var(--primary-color);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.secondary-button {
  color: var(--primary-color);
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  font-size: 1.1rem;
}

.secondary-button:hover {
  background: var(--primary-color);
  color: white;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.app-preview {
  max-width: 1000px;
  margin: 0 auto;
}

.preview-screenshot {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  padding: 2rem 0;
}

.preview-screenshot img {
  height: auto;
  max-width: 250px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  transform: rotate(-5deg);
}

.preview-screenshot img:nth-child(2) {
  transform: rotate(0deg) scale(1.1);
  z-index: 2;
}

.preview-screenshot img:nth-child(3) {
  transform: rotate(5deg);
}

.preview-screenshot img:hover {
  transform: rotate(0deg) scale(1.15) !important;
  z-index: 10;
}

/* Sections */
section {
  padding: 5rem 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* About Section */
.about-section {
  background: var(--bg-secondary);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.feel-at-home-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}

.feel-at-home-list {
  list-style: none;
  padding: 0;
  max-width: 650px;
  margin: 0 auto;
  text-align: left;
}

.feel-at-home-list li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  padding-left: 2rem;
  position: relative;
  display: flex;
  align-items: flex-start;
}

.feel-at-home-list li:before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.4rem;
  position: absolute;
  left: 0.5rem;
  top: 0;
  line-height: 1.7;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.feature-icon img {
  width: 48px;
  height: 48px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.feature-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Resources Section */
.resources-section {
  background: var(--bg-secondary);
}

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

.resource-card {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.resource-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.resource-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.resource-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.resource-link:hover {
  color: var(--primary-dark);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-grid.single-tier {
  max-width: 350px;
}

.pricing-card:only-child {
  grid-column: 2 / 3;
}

.pricing-card {
  padding: 2.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.plan-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.plan-price span {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  line-height: 1.6;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-button {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: white;
  text-align: center;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: block;
  transition: all 0.3s;
}

.plan-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.plan-button.secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.plan-button.secondary:hover {
  background: var(--primary-color);
  color: white;
}

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

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

.footer-left {
  flex: 0;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.95rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

.footer-tagline {
  text-align: center;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

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

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .app-preview {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  }
  
  .pricing-grid {
    display: flex;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .pricing-grid::-webkit-scrollbar {
    display: none;
  }
  
  .pricing-card {
    flex-shrink: 0;
    width: 85%;
    max-width: 400px;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    scroll-snap-align: center;
    margin: 0 7.5%;
  }

  .preview-screenshot {
    flex-direction: row;
    gap: 0;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .preview-screenshot::-webkit-scrollbar {
    display: none;
  }
  
  .preview-screenshot img {
    flex-shrink: 0;
    width: 76.5%;
    max-width: 288px;
    transform: rotate(0deg) !important;
    display: block;
    scroll-snap-align: center;
    margin: 0 2.5%;
    pointer-events: none;
  }
  
  .preview-screenshot img:hover {
    transform: none !important;
    z-index: auto;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .footer-separator {
    display: none;
  }

  .section-header h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .section-header p {
    text-align: center;
  }
}

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

  .plan-price {
    font-size: 2.5rem;
  }

  
}
