/* 
 * iPerspective - Enhanced Website Styles
 * A modern, professional design for the iPerspective app website
 */

:root {
  /* Color palette */
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --secondary-color: #2ecc71;
  --secondary-dark: #27ae60;
  --accent-color: #9b59b6;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --background-light: #f9f9f9;
  --background-white: #ffffff;
  --background-gradient: linear-gradient(135deg, #3498db, #2ecc71);
  
  /* Typography */
  --font-primary: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  
  /* Borders & Shadows */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
  overflow-x: hidden;
}

/* Ensure hero section doesn't clip phone */
.hero {
  overflow: visible;
}

.hero-container {
  overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: var(--space-md); }

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover { color: var(--primary-dark); }

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md);
}

.section { padding: var(--space-xl) 0; }

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: #666;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

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

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

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

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

.app-store-btn {
  display: inline-block;
  transition: all 0.3s ease;
}

.app-store-btn:hover {
  transform: translateY(-3px);
  filter: brightness(0.9);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: auto;
  width: 380px;
  max-height: 90px;
  object-fit: contain;
  padding: 18px 25px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.logo img:hover {
  background-color: rgba(52, 152, 219, 0.1);
  box-shadow: 0 5px 20px rgba(52, 152, 219, 0.25);
  transform: translateY(-2px);
}

.main-nav {
  display: flex;
  gap: var(--space-lg);
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 10px; }
.mobile-menu-toggle span:nth-child(3) { top: 20px; }

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* Hero Section */
.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: visible;
  background-color: var(--background-white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/pattern.svg');
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-right: 20px;
}

.hero-content {
  flex: 1;
  padding-right: var(--space-xl);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.hero-title .highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(52, 152, 219, 0.2);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  color: #666;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all 0.5s ease;
}

.hero-image img:hover {
  transform: scale(1.02);
}

/* App Screenshot Styles */
.app-screenshot {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 280px;
  width: 100%;
  height: auto;
}

.hero-image .app-screenshot {
  max-width: 320px;
}

.floating-element {
  position: absolute;
  padding: 10px 15px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 500;
  animation: float 3s ease-in-out infinite;
}

.element-1 { top: 10%; right: 10%; animation-delay: 0s; }
.element-2 { bottom: 20%; left: 5%; animation-delay: 0.5s; }
.element-3 { bottom: 10%; right: 15%; animation-delay: 1s; }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* App Gallery Section */
.app-gallery {
  background-color: var(--background-light);
  padding: var(--space-xxl) 0;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  justify-items: center;
}

.screenshot-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: translateY(-10px);
}

.screenshot-item img {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: var(--space-lg);
}

.screenshot-caption {
  max-width: 280px;
  margin: 0 auto;
}

.screenshot-caption h4 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.screenshot-caption p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Features Section */
.features {
  background-color: var(--background-white);
  padding: var(--space-xxl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

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

.feature-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary-color);
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.feature-description {
  color: #666;
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--background-light);
  padding: var(--space-xxl) 0;
}

.steps {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.step {
  position: relative;
  margin-bottom: var(--space-xxl);
  z-index: 1;
}

.step:last-child { margin-bottom: 0; }

.step-content {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.step:nth-child(odd) .step-content {
  flex-direction: row-reverse;
}

.step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 2;
}

.step-info {
  width: 45%;
  padding: var(--space-lg);
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.step-image {
  width: 45%;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: center;
}

.step-image img {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 240px;
  width: 100%;
  height: auto;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.step-description { color: #666; }

/* Community Section */
.community {
  background-color: var(--background-white);
  padding: var(--space-xxl) 0;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.community-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

.community-image {
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: var(--space-md);
}

.community-image img {
  max-width: 180px;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.community-card:hover .community-image img {
  transform: scale(1.05);
}

.community-content { padding: var(--space-lg); }

.community-title {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.community-description {
  color: #666;
  margin-bottom: var(--space-md);
}

.community-stats {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid #eee;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.8rem;
  color: #666;
}

/* CTA Section */
.cta-section {
  background: var(--background-gradient);
  color: white;
  padding: var(--space-xxl) 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: white;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

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

.btn-white:hover {
  background-color: transparent;
  color: white;
}

.btn-transparent {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

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

/* Footer */
.site-footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-md);
}

.footer-description {
  color: #bbb;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.footer-heading {
  font-size: 1.2rem;
  color: white;
  margin-bottom: var(--space-lg);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: var(--space-sm); }

.footer-links a {
  color: #bbb;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-sm);
  color: #bbb;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-color);
  margin-right: var(--space-sm);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #bbb;
}

/* FAQ Section */
.faq-section {
  background-color: var(--background-light);
  padding: var(--space-xxl) 0;
}

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

.faq-item {
  background-color: white;
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-lg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(52, 152, 219, 0.05);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-color);
  transition: all 0.3s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  max-height: 1000px;
}

/* About Page Styles */
.about-section {
  padding: var(--space-xxl) 0;
  background-color: var(--background-white);
}

.about-container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.about-content { flex: 1; }

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 280px;
}

.mission-values { margin-top: var(--space-xxl); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.value-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
}

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

.value-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.value-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--primary-color);
}

.value-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.value-description { color: #666; }

/* Privacy Policy Page */
.privacy-policy {
  padding: var(--space-xxl) 0;
  background-color: var(--background-white);
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.policy-section { margin-bottom: var(--space-xl); }
.policy-section:last-child { margin-bottom: 0; }

.policy-title {
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.policy-list { padding-left: var(--space-xl); }
.policy-list li { margin-bottom: var(--space-sm); }

.policy-date {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: var(--space-xl);
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero-title { font-size: 2.5rem; }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: var(--space-xl);
  }
  
  .hero-cta { justify-content: center; }
  .about-container { flex-direction: column; }
  
  .steps::before { left: 30px; }
  .step-number { left: 30px; }
  
  .step-content {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 60px;
  }
  
  .step-info, .step-image { width: 100%; }
  
  .step-image {
    padding: var(--space-md) 0;
    justify-content: flex-start;
  }
  
  .step-image img { max-width: 200px; }
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    padding: 80px var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .main-nav.active { right: 0; }
  
   .logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }
  
  .logo img {
    width: auto !important;
    max-width: 70vw !important;
    height: auto !important;
    max-height: 55px !important;
    padding: 8px 15px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 12px !important;
  }
  
  .site-header { padding: 8px 0; }
  .hero { padding: 6rem 0 3rem; }
  .header-container { padding: var(--space-sm) 0; }
  
  .cta-buttons { flex-direction: column; gap: var(--space-md); }
  .screenshot-gallery { grid-template-columns: 1fr; }
  .screenshot-item img { max-width: 250px; }
}

@media (max-width: 576px) {
  .container { width: 95%; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-title { font-size: 2rem; }
  .section { padding: var(--space-lg) 0; }
  .feature-card, .community-card { padding: var(--space-lg); }
  .floating-element { display: none; }
  .community-image { height: 250px; }
  
  .community-image img {
    max-width: 150px;
    max-height: 230px;
  }
  
  .logo img {
    width: 190px;
    max-height: 50px;
    padding: 10px 14px;
    border-radius: 14px;
  }
  
  .hero { padding: 5rem 0 2rem; }
}

@media (max-width: 480px) {
  .logo img {
    max-width: 65vw !important;
    max-height: 50px !important;
  }
}

/* ===== Feature Showcase Styles ===== */
.feature-showcase {
  padding: var(--space-xxl) 0;
  background-color: var(--background-white);
}

.feature-showcase-alt {
  background-color: var(--background-light);
}

.feature-row {
  display: flex;
  align-items: center;
  gap: var(--space-xxl);
}

.feature-row-reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.feature-text h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.feature-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.tag-primary {
  background-color: rgba(52, 152, 219, 0.1);
  color: var(--primary-color);
}

.tag-secondary {
  background-color: rgba(46, 204, 113, 0.1);
  color: var(--secondary-color);
}

.tag-accent {
  background-color: rgba(155, 89, 182, 0.1);
  color: var(--accent-color);
}

.tag-warning {
  background-color: rgba(241, 196, 15, 0.15);
  color: #d4a017;
}

.tag-pink {
  background-color: rgba(255, 55, 95, 0.1);
  color: #ff375f;
}

.feature-screenshot {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CSS iPhone Frame */
.phone-frame {
  position: relative;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame::before {
  /* Notch/Dynamic Island */
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 20px;
  z-index: 10;
}

.phone-frame img {
  display: block;
  width: 260px;
  height: auto;
  border-radius: 28px;
}

.phone-frame:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 35px 60px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Hero phone frame - slightly larger */
.phone-frame-hero {
  border-radius: 45px;
  padding: 14px;
  max-width: 100%;
}

.phone-frame-hero::before {
  width: 90px;
  height: 28px;
  top: 20px;
}

.phone-frame-hero img {
  width: 260px;
  border-radius: 32px;
}

/* Hero image container */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  max-width: 50%;
}

.app-screenshot-hero {
  max-width: 320px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

/* Mockup image styles - keeping for backward compatibility */
.mockup-image {
  max-width: 420px;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.mockup-image-hero {
  max-width: 450px;
  width: 100%;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.12));
}

/* Feature Showcase Responsive */
@media (max-width: 992px) {
  .feature-row,
  .feature-row-reverse {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xl);
  }
  
  .feature-text h2 {
    font-size: 1.75rem;
  }
  
  .feature-tags {
    justify-content: center;
  }
  
  .phone-frame img {
    width: 240px;
  }
  
  .phone-frame-hero img {
    width: 280px;
  }
}

@media (max-width: 576px) {
  .feature-showcase {
    padding: var(--space-xl) 0;
  }
  
  .feature-text h2 {
    font-size: 1.5rem;
  }
  
  .feature-text p {
    font-size: 1rem;
  }
  
  .phone-frame {
    border-radius: 32px;
    padding: 10px;
  }
  
  .phone-frame::before {
    width: 60px;
    height: 20px;
    top: 14px;
  }
  
  .phone-frame img {
    width: 200px;
    border-radius: 24px;
  }
  
  .phone-frame-hero {
    border-radius: 36px;
    padding: 10px;
  }
  
  .phone-frame-hero img {
    width: 220px;
    border-radius: 26px;
  }
  
  .tag {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}
