/* =============================================
   CSS Variables - Apple-Inspired Color Palette
   ============================================= */
:root {
  /* Colors from RosaFinance app */
  --color-pink: #E8B4D9;
  --color-purple: #9B7FCF;
  --color-blue: #A8D8F0;
  --color-yellow: #F4D03F;
  --color-green: #52C41A;
  --color-red: #E74C3C;

  /* Neutral colors - Apple style */
  --color-white: #ffffff;
  --color-bg-light: #F5F5F5;
  --color-bg-dark: #1d1d1f;
  --color-text-primary: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-text-tertiary: #86868b;

  /* Typography - Apple SF Pro inspired */
  --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --spacing-xxl: 120px;

  /* Layout */
  --max-width: 1200px;
  --max-width-text: 800px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-primary);
  background-color: var(--color-white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

/* =============================================
   Minimal Navigation - Dark Premium Style
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(29, 29, 31, 0.85) 0%, rgba(40, 40, 45, 0.85) 100%);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav.scrolled {
  background: linear-gradient(135deg, rgba(29, 29, 31, 0.95) 0%, rgba(40, 40, 45, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5px var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: flex-end;
  gap: 0px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.nav-logo:hover {
  opacity: 0.85;
  transform: translateX(2px);
}

.nav-logo-icon {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(155, 127, 207, 0.3));
  margin: 0;
  padding: 0;
}

.nav-company-name {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin: 0;
  padding: 0;
  margin-left: -14px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-purple), var(--color-pink));
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(155, 127, 207, 0.3);
}

.nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(155, 127, 207, 0.5);
}

/* =============================================
   Hero Section - Balanced & Focused
   ============================================= */
.hero {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(70px + var(--spacing-lg)) var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, #faf9f8 0%, #ffffff 50%, #f8f5ff 100%);
}

.hero-product-name-banner {
  width: 100%;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  animation: fadeInDown 1.2s ease-out;
}

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

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-product-name {
  font-size: 80px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-shadow: 0 4px 20px rgba(155, 127, 207, 0.2);
  line-height: 1.1;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-purple), var(--color-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
}

.hero-features-list {
  margin-bottom: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.hero-feature-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: var(--color-text-primary);
}

.feature-check {
  color: var(--color-green);
  font-weight: 700;
  font-size: 20px;
}

.hero-rosa-circle {
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, #ffffff 0%, #faf8ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(155, 127, 207, 0.15);
  position: relative;
}

.rosa-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   Why RosaFinance Section
   ============================================= */
.why-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  background: linear-gradient(135deg, #f8f5ff 0%, #ffffff 50%, #faf9f8 100%);
}

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

.why-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -1px;
}

.why-subtitle {
  font-size: 20px;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.why-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(155, 127, 207, 0.15);
}

.why-icon {
  font-size: 48px;
  margin-bottom: var(--spacing-sm);
}

.why-card-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.why-card-text {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.why-arrow {
  font-size: 24px;
  color: var(--color-purple);
  margin: var(--spacing-sm) 0;
  font-weight: 600;
}

.why-solution {
  font-size: 16px;
  color: var(--color-purple);
  font-weight: 500;
  line-height: 1.6;
  padding: var(--spacing-sm);
  background: rgba(155, 127, 207, 0.1);
  border-left: 3px solid var(--color-purple);
  border-radius: 8px;
}

/* =============================================
   How It Works Section
   ============================================= */
.how-it-works {
  padding: var(--spacing-xxl) var(--spacing-md);
  background: linear-gradient(135deg, #ffffff 0%, #faf9f8 50%, #f8f5ff 100%);
}

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

.how-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -1px;
}

.how-subtitle {
  font-size: 20px;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.how-examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.how-example {
  display: flex;
  gap: var(--spacing-md);
  text-align: left;
  padding: var(--spacing-lg);
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-example:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(155, 127, 207, 0.12);
}

.how-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-purple);
  opacity: 0.3;
  line-height: 1;
  min-width: 50px;
}

.how-example-content {
  flex: 1;
}

.how-example-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.how-example-text {
  font-size: 16px;
  color: var(--color-purple);
  font-style: italic;
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(155, 127, 207, 0.08);
  border-radius: 8px;
  display: inline-block;
}

.how-example-result {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.phone-mockup {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* iPhone Frame for Phone Mockups */
.phone-mockup {
  border-radius: 45px;
  border: 4px solid #1d1d1f;
  box-shadow:
    0 0 0 1px #2c2c2e,
    0 30px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  background: #000;
}

/* Video phone mockups need explicit portrait dimensions */
video.phone-mockup {
  width: 280px;
  height: 606px;
  object-fit: cover;
}

/* Dynamic Island */
.feature-image .phone-mockup::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 37px;
  background: #000;
  border-radius: 0 0 19px 19px;
  z-index: 1;
}

/* Illustration style (no phone frame) */
.feature-image .illustration {
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  max-width: 600px;
  width: 100%;
}

.feature-image .illustration::before {
  display: none;
}


.app-store-badge-link {
  display: inline-block;
  margin-top: var(--spacing-md);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-store-badge-link:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.app-store-badge {
  width: 140px;
  height: auto;
}

/* =============================================
   Feature Sections - Full Width, Alternating
   ============================================= */
.feature {
  padding: var(--spacing-xxl) var(--spacing-md);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  background: linear-gradient(135deg, #ffffff 0%, #faf9f8 50%, #f8f5ff 100%);
}

.feature:nth-child(even) {
  background: linear-gradient(135deg, #f8f5ff 0%, #ffffff 50%, #faf9f8 100%);
}

.feature.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-dark {
  background: var(--color-bg-dark) !important;
}

.feature-dark .feature-title {
  color: var(--color-white);
}

.feature-dark .feature-description {
  color: rgba(255, 255, 255, 0.7);
}

.feature-link {
  margin-top: var(--spacing-md);
}

.feature-link a {
  color: var(--color-purple);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.feature-link a:hover {
  opacity: 0.8;
}

.feature-dark .feature-link a {
  color: var(--color-purple-light, #c4b5fd);
}

.feature-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.feature-left .feature-content {
  grid-template-areas: "text image";
}

.feature-right .feature-content {
  grid-template-areas: "image text";
}


.feature-left .feature-text {
  grid-area: text;
}

.feature-left .feature-image {
  grid-area: image;
}

.feature-right .feature-text {
  grid-area: text;
}

.feature-right .feature-image {
  grid-area: image;
}

.feature-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.feature-description {
  font-size: 21px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  max-width: 500px;
}

.feature-note {
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-purple);
  font-weight: 500;
  max-width: 500px;
  margin-top: var(--spacing-sm);
  font-style: italic;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
  margin-left: var(--spacing-md);
  max-width: 500px;
}

.feature-list li {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-purple);
  font-weight: 600;
}

.feature-list li strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

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

/* Align content toward the center gap for consistent columns */
.feature-left .feature-text {
  margin-left: auto;
  text-align: left;
}

.feature-left .feature-image {
  justify-content: flex-start;
}

.feature-right .feature-text {
  margin-right: auto;
  text-align: left;
}

.feature-right .feature-image {
  justify-content: flex-end;
}

/* Video in feature section (circular like hero) */
.feature-video-circle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rosa-video-feature {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  box-shadow: 0 20px 60px rgba(155, 127, 207, 0.3);
}

.feature-image-dual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dual-image-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  justify-content: center;
  padding: var(--spacing-sm);
  max-width: 100%;
  background: none !important;
}

.receipt-image {
  max-width: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 1;
  display: block;
}

.dual-image-container .phone-mockup {
  max-width: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 1;
  display: block;
  border-radius: 45px;
  border: 4px solid #1d1d1f;
  box-shadow: 0 0 0 1px #2c2c2e;
  position: relative;
  background: #000;
}

/* Dynamic Island for carousel phone mockups */
.dual-image-container .phone-mockup::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 37px;
  background: #000;
  border-radius: 0 0 19px 19px;
  z-index: 1;
}

.dual-image-arrow {
  font-size: 48px;
  color: var(--color-purple);
  font-weight: 700;
  opacity: 0.6;
}

/* Translation Carousel with Flickity */
.translation-carousel {
  position: relative;
  width: 100%;
  padding-bottom: var(--spacing-xl);
  background: none !important;
}

.translation-carousel.flickity-enabled {
  position: relative;
  background: none !important;
}

.translation-carousel .flickity-viewport {
  overflow: hidden;
  position: relative;
  background: none !important;
}

.translation-carousel .flickity-slider {
  position: relative;
  background: none !important;
}

.carousel-slide {
  width: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background: none !important;
}

.carousel-slide.is-selected {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

.slide-label {
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
}

/* Style Flickity dots to match our design */
.flickity-page-dots {
  bottom: -40px !important;
}

.flickity-page-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-purple);
  background-color: transparent;
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.flickity-page-dots .dot:hover {
  background-color: rgba(147, 51, 234, 0.3);
}

.flickity-page-dots .dot.is-selected {
  background-color: var(--color-purple);
  width: 32px;
  border-radius: 6px;
}

/* Force remove all Flickity backgrounds */
.flickity-enabled,
.flickity-viewport,
.flickity-slider,
.flickity-enabled.is-draggable {
  background: transparent !important;
  background-color: transparent !important;
}

/* Ensure translation feature section has no background */
.translation-feature,
.translation-feature .feature-content,
.translation-feature .feature-text,
.translation-feature .translation-carousel,
.translation-feature .carousel-slide,
.translation-feature .slide-label,
.translation-feature .dual-image-container {
  background: none !important;
  background-color: transparent !important;
}

/* Translation feature needs more space for the carousel */
.translation-feature .feature-content {
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-md);
}

/* Phone mockups need black background for iPhone frame */
.translation-feature .phone-mockup {
  background: #000 !important;
  background-color: #000 !important;
}

/* Dot navigation styling */
.translation-feature .flickity-page-dots .dot {
  background-color: transparent !important;
}

.translation-feature .flickity-page-dots .dot.is-selected {
  background-color: var(--color-purple) !important;
}

/* =============================================
   Translation Examples - Stacked Layout
   ============================================= */
.translation-examples {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

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

.example-label {
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
}

.phone-mockup-video {
  max-width: 280px;
  width: 100%;
  border-radius: 40px;
  border: 8px solid #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #000;
}

/* Receipt to Video container - horizontal layout */
.receipt-to-video-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.receipt-image {
  max-width: 200px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.translation-arrow {
  font-size: 32px;
  color: var(--color-purple);
  font-weight: 600;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .translation-examples {
    gap: var(--spacing-lg);
  }

  .phone-mockup-video {
    max-width: 240px;
    border-radius: 32px;
    border-width: 6px;
  }

  .receipt-to-video-container {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .receipt-image {
    max-width: 160px;
  }

  .translation-arrow {
    transform: rotate(90deg);
    font-size: 24px;
  }
}

/* =============================================
   Gallery Section - Horizontal Scroll
   ============================================= */
.gallery {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-white);
  overflow-x: hidden;
}

.gallery-content {
  max-width: 100%;
}

.gallery-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding: 0 var(--spacing-md);
  color: var(--color-text-primary);
}

.gallery-scroll {
  display: flex;
  gap: var(--spacing-md);
  padding: 0 var(--spacing-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: center;
  align-items: center;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 280px;
  scroll-snap-align: center;
}

.gallery-item .phone-mockup {
  max-width: 280px;
}

/* =============================================
   Privacy Section - Centered Text
   ============================================= */
.privacy {
  padding: var(--spacing-xxl) var(--spacing-md);
  background-color: var(--color-bg-light);
  text-align: center;
}

.privacy-content {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.privacy-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.privacy-description {
  font-size: 21px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
}

.privacy-link {
  font-size: 17px;
  color: #0066CC;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.privacy-link:hover {
  opacity: 0.7;
}

/* =============================================
   Pricing Section - Minimal
   ============================================= */
.pricing {
  padding: var(--spacing-xxl) var(--spacing-md);
  background-color: var(--color-white);
  text-align: center;
}

.pricing-content {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.pricing-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.pricing-price {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.pricing-intro {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-purple);
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-md);
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(219, 39, 119, 0.1) 100%);
  border-radius: 12px;
  display: inline-block;
}

.pricing-note {
  font-size: 17px;
  color: var(--color-text-secondary);
}

/* =============================================
   CTA Section - Email Signup
   ============================================= */
.cta {
  padding: var(--spacing-xxl) var(--spacing-md);
  background: linear-gradient(135deg, #f8f5ff 0%, #ffffff 50%, #faf9f8 100%);
  text-align: center;
}

.about-cta {
  padding: 56px var(--spacing-md) 14px !important;
}

.about-cta .cta-title {
  font-size: 36px;
  margin-bottom: var(--spacing-xs);
}

.about-cta .cta-subtitle {
  font-size: 17px;
  margin-bottom: var(--spacing-md);
}

.about-cta .email-signup {
  margin-bottom: var(--spacing-sm);
}

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

.cta-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.cta-subtitle {
  font-size: 21px;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
}

.email-signup {
  display: flex;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
}

.email-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 17px;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  font-family: var(--font-family);
  transition: border-color 0.2s ease;
}

.email-input:focus {
  outline: none;
  border-color: var(--color-purple);
}

.email-submit {
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 500;
  background-color: var(--color-text-primary);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-family);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.email-submit:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.email-message {
  font-size: 15px;
  margin-bottom: var(--spacing-md);
  min-height: 20px;
}

.email-message.success {
  color: var(--color-green);
}

.email-message.error {
  color: var(--color-red);
}

/* =============================================
   Footnotes Section
   ============================================= */
.footnotes {
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: var(--color-bg-light);
  border-top: 1px solid #e5e5e7;
}

.footnotes-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footnotes-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
}

.footnote-item {
  font-size: 13px;
  color: var(--color-text-tertiary);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   Footer - Apple Minimal Style
   ============================================= */
.footer {
  padding: var(--spacing-md);
  background-color: var(--color-bg-light);
  border-top: 1px solid #d2d2d7;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

.footer-links {
  margin-bottom: var(--spacing-xs);
}

.footer-link {
  font-size: 12px;
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-separator {
  margin: 0 var(--spacing-xs);
  color: var(--color-text-tertiary);
  font-size: 12px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--color-text-tertiary);
}

/* =============================================
   Responsive Design - Mobile First
   ============================================= */

/* Tablets and below */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .hero-left {
    order: 1;
  }

  .hero-right {
    order: 2;
    align-items: center;
  }

  .hero-rosa-circle {
    width: 350px;
    height: 350px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-description {
    font-size: 19px;
  }

  .hero-features-list {
    align-items: center;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .why-title {
    font-size: 36px;
  }

  .why-subtitle {
    font-size: 18px;
  }

  .how-examples {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .how-title {
    font-size: 36px;
  }

  .how-subtitle {
    font-size: 18px;
  }

  .feature-title,
  .gallery-title,
  .privacy-title,
  .pricing-title {
    font-size: 36px;
  }

  .cta-title {
    font-size: 42px;
  }

  .feature-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .feature-left .feature-content,
  .feature-right .feature-content {
    grid-template-areas:
      "text"
      "image";
  }

  .feature-description {
    max-width: 100%;
  }
}

/* Mobile phones */
@media (max-width: 768px) {
  :root {
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
  }

  .nav-content {
    padding: 12px var(--spacing-sm);
  }

  .nav-logo {
    gap: 0px;
  }

  .nav-logo-icon {
    height: 34px;
  }

  .nav-company-name {
    font-size: 15px;
  }

  .nav-link {
    font-size: 13px;
    padding: 7px 16px;
  }

  .hero {
    min-height: auto;
    padding: calc(70px + var(--spacing-lg)) var(--spacing-sm) var(--spacing-lg);
  }

  .hero-rosa-circle {
    width: 280px;
    height: 280px;
  }

  .hero-product-name {
    font-size: 48px;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-feature-bullet {
    font-size: 16px;
  }

  .feature-check {
    font-size: 18px;
  }

  .why-title {
    font-size: 32px;
  }

  .why-subtitle {
    font-size: 16px;
  }

  .why-card-title {
    font-size: 20px;
  }

  .why-card-text,
  .why-solution {
    font-size: 15px;
  }

  .how-title {
    font-size: 32px;
  }

  .how-subtitle {
    font-size: 16px;
  }

  .how-example-title {
    font-size: 18px;
  }

  .how-example-text {
    font-size: 15px;
  }

  .how-example-result {
    font-size: 14px;
  }

  .how-number {
    font-size: 28px;
    min-width: 40px;
  }

  .app-store-badge {
    width: 120px;
  }

  .phone-mockup {
    max-width: 260px;
  }

  .rosa-video-feature {
    width: 280px;
    height: 280px;
  }

  .feature {
    padding: var(--spacing-xl) var(--spacing-sm);
  }

  .feature-title,
  .gallery-title,
  .privacy-title,
  .pricing-title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .feature-description,
  .privacy-description {
    font-size: 17px;
  }

  .feature-note {
    font-size: 15px;
  }

  .dual-image-container {
    flex-direction: column;
    gap: var(--spacing-md);
    min-height: auto;
  }

  .dual-image-arrow {
    transform: rotate(90deg);
    font-size: 36px;
  }

  .receipt-image {
    max-width: 220px;
    max-height: 450px;
  }

  .dual-image-container .phone-mockup {
    max-width: 260px;
    max-height: 500px;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-subtitle,
  .pricing-price {
    font-size: 19px;
  }

  .email-signup {
    flex-direction: column;
  }

  .email-submit {
    width: 100%;
  }

  .gallery-item {
    flex: 0 0 240px;
  }

  .gallery-item .phone-mockup {
    max-width: 240px;
  }
}

/* Small mobile phones */
@media (max-width: 480px) {
  .nav-logo {
    gap: 0px;
  }

  .nav-logo-icon {
    height: 30px;
  }

  .nav-company-name {
    font-size: 14px;
  }

  .nav-link {
    font-size: 12px;
    padding: 6px 14px;
  }

  .hero-rosa-circle {
    width: 240px;
    height: 240px;
  }

  .hero-product-name {
    font-size: 36px;
    letter-spacing: 0.5px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-feature-bullet {
    font-size: 15px;
  }

  .feature-check {
    font-size: 16px;
  }

  .app-store-badge {
    width: 110px;
  }

  .feature-title,
  .gallery-title,
  .privacy-title,
  .pricing-title {
    font-size: 24px;
  }

  .cta-title {
    font-size: 28px;
  }

  .phone-mockup {
    max-width: 220px;
  }

  .rosa-video-feature {
    width: 240px;
    height: 240px;
  }
}

/* =============================================
   Privacy Page Styles
   ============================================= */
.privacy-page {
  min-height: 100vh;
  padding: calc(70px + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, #faf9f8 0%, #ffffff 50%, #f8f5ff 100%);
}

/* About page has no bottom padding since CTA section follows */
main.privacy-page {
  padding-bottom: 0;
}

.privacy-page-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-page-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -1px;
}

.privacy-page-date {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  font-style: italic;
}

.privacy-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-md);
  background: rgba(155, 127, 207, 0.05);
  border-left: 4px solid var(--color-purple);
  border-radius: 8px;
}

.privacy-section {
  margin-bottom: var(--spacing-xl);
}

.privacy-section:last-child {
  margin-bottom: var(--spacing-md);
}

.privacy-section-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.5px;
}

.privacy-section p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.privacy-section a {
  color: var(--color-purple);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.privacy-section a:hover {
  border-bottom-color: var(--color-purple);
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.privacy-list li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-md);
  position: relative;
}

.privacy-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-purple);
  font-weight: bold;
  font-size: 20px;
}

.privacy-list li strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .privacy-page {
    padding: calc(70px + var(--spacing-lg)) var(--spacing-sm) var(--spacing-lg);
  }

  .privacy-page-title {
    font-size: 36px;
  }

  .privacy-section-title {
    font-size: 24px;
  }

  .privacy-intro,
  .privacy-section p,
  .privacy-list li {
    font-size: 16px;
  }
}

/* =============================================
   Unified Navigation - Multi-Product
   ============================================= */

/* Override nav-content for multi-product layout */
.nav-content:has(.nav-links) {
  justify-content: flex-start;
  gap: var(--spacing-lg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.nav-links .nav-link {
  background: transparent;
  box-shadow: none;
  padding: 8px 16px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-links .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.nav-links .nav-link.nav-link-active {
  background: linear-gradient(135deg, var(--color-purple), var(--color-pink));
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(155, 127, 207, 0.3);
}

/* Mobile nav links */
@media (max-width: 768px) {
  .nav-content:has(.nav-links) {
    gap: var(--spacing-md);
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links .nav-link {
    padding: 6px 10px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }
}

/* =============================================
   Portfolio Homepage
   ============================================= */
.portfolio-page {
  background: var(--color-white);
}

.portfolio-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(70px + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, #1d1d1f 0%, #2d2d30 100%);
  text-align: center;
}

.portfolio-hero-content {
  max-width: var(--max-width-text);
}

.portfolio-hero-title {
  font-size: 56px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
}

.portfolio-hero-subtitle {
  font-size: 21px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Product Hero Sections */
.product-hero {
  padding: var(--spacing-xl) var(--spacing-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-hero:nth-child(odd) {
  background: var(--color-white);
}

.product-hero:nth-child(even) {
  background: var(--color-bg-light);
}

.product-hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.product-hero-text {
  padding-right: var(--spacing-lg);
}

.product-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-purple), var(--color-pink));
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: var(--spacing-sm);
}

.product-hero-name {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -1.5px;
  margin-bottom: var(--spacing-xs);
}

.product-hero-tagline {
  font-size: 21px;
  color: var(--color-purple);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

.product-hero-description {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.product-hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md) 0;
}

.product-hero-features li {
  font-size: 16px;
  color: var(--color-text-primary);
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.product-hero-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: bold;
}

.product-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.product-hero-link {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-purple);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-hero-link:hover {
  color: var(--color-pink);
}

.app-store-badge-small {
  height: 40px;
  width: auto;
}

.product-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-hero-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
  box-shadow: 0 20px 60px rgba(155, 127, 207, 0.3);
}

.product-hero-circle .rosa-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-watch {
  display: flex;
  justify-content: center;
  align-items: center;
}

.watch-mockup {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Rosa Knock Hero Styles */
.rosaknock-hero {
  background: linear-gradient(135deg, #faf9f8 0%, #ffffff 50%, #f0f8ff 100%);
}

.hero-watch-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.watch-hero-mockup {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.2));
}

.watch-placeholder {
  width: 200px;
  height: 240px;
  background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Apple Watch Frame for Watch Mockups */
.watch-mockup-feature {
  max-width: 220px;
  height: auto;
  border-radius: 48px;
  border: 4px solid #1d1d1f;
  box-shadow:
    0 0 0 1px #2c2c2e,
    0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  background: #000;
}

/* Watch mockups in dual container */
.dual-image-container .watch-mockup-feature {
  max-width: 200px;
  border-radius: 44px;
  border: 4px solid #1d1d1f;
  box-shadow:
    0 0 0 1px #2c2c2e,
    0 15px 40px rgba(0, 0, 0, 0.18);
}

.coming-soon-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-purple), var(--color-pink));
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: var(--spacing-sm);
}

.privacy-icon-large {
  font-size: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

/* Portfolio Responsive */
@media (max-width: 1024px) {
  .portfolio-hero-title {
    font-size: 44px;
  }

  .product-hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .product-hero-text {
    padding-right: 0;
    order: 2;
  }

  .product-hero-visual {
    order: 1;
  }

  .product-hero-actions {
    justify-content: center;
  }

  .product-hero-circle {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .portfolio-hero {
    min-height: 40vh;
    padding: calc(70px + var(--spacing-lg)) var(--spacing-sm) var(--spacing-lg);
  }

  .portfolio-hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .portfolio-hero-subtitle {
    font-size: 18px;
  }

  .product-hero {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .product-hero-name {
    font-size: 36px;
  }

  .product-hero-tagline {
    font-size: 18px;
  }

  .product-hero-circle {
    width: 220px;
    height: 220px;
  }

  .watch-hero-mockup {
    max-width: 200px;
  }

  .watch-mockup-feature {
    max-width: 170px;
    border-radius: 38px;
  }

  .dual-image-container .watch-mockup-feature {
    max-width: 160px;
    border-radius: 36px;
  }

  .privacy-icon-large {
    font-size: 80px;
    min-height: 120px;
  }
}
