/* ============================================
   Emhash Website Styles
   Modern, Social Media-Inspired Design
   ============================================ */

/* ============================================
   CSS Variables - Emhash Theme
   ============================================ */
:root {
  /* Brand Colors */
  --primary: #4B412B;
  --primary-dark: #383020;
  --primary-light: #978256;
  --gradient-start: #171410;
  --gradient-end: #896B2E;
  
  /* Text Colors */
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  
  /* Background Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F9FAFB;
  --bg-tertiary: #F3F4F6;
  
  /* Emotion Colors */
  --emotion-happy: #FFD700;
  --emotion-love: #FF1493;
  --emotion-peaceful: #4CAF50;
  --emotion-sad: #2196F3;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

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

html {
  scroll-behavior: smooth;
}

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

.pacifico-text {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition-base);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-image {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  font-size: 1.75rem;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--spacing-xs);
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: var(--spacing-md);
  flex-direction: column;
  gap: var(--spacing-sm);
  z-index: 999;
}

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

.mobile-menu-link {
  padding: var(--spacing-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-menu-link:hover {
  background: var(--bg-secondary);
  color: var(--primary);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--primary);
  font-weight: 600;
  border: 2px solid var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

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

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

/* ============================================
   Brand Header
   ============================================ */
.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  padding-top: var(--spacing-xl);
}

.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.brand-name {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Hero Section - Single Page
   ============================================ */
.hero-single {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--spacing-lg) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  overflow: hidden;
  position: relative;
}

.hero-single::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(75, 65, 43, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(151, 130, 86, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-single-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text-content {
  max-width: 600px;
}

.hero-main-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.hero-download-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  align-items: center;
  justify-content: flex-start;
}

.store-button-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: white;
  color: var(--text-primary);
  border-radius: 50px;
  transition: var(--transition-base);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(0, 0, 0, 0.06);
  min-width: 160px;
  flex: 0 1 auto;
  white-space: nowrap;
}

.store-button-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-light);
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.hero-download-note {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Phone Mockups */
.hero-phones {
  position: relative;
  height: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-hero {
  position: absolute;
  transition: var(--transition-slow);
}

.phone-frame {
  width: 280px;
  height: 570px;
  background: #1a1a1a;
  border-radius: 45px;
  padding: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

/* Phone Positions */
.phone-1 {
  z-index: 3;
  transform: translateX(0) rotate(0deg);
}

.phone-2 {
  z-index: 2;
  transform: translateX(-180px) rotate(-8deg);
}

.phone-3 {
  z-index: 1;
  transform: translateX(180px) rotate(8deg);
}

/* Phone Hover Effects */
.hero-phones:hover .phone-1 {
  transform: translateX(0) rotate(0deg) translateY(-10px);
}

.hero-phones:hover .phone-2 {
  transform: translateX(-200px) rotate(-12deg) translateY(-5px);
}

.hero-phones:hover .phone-3 {
  transform: translateX(200px) rotate(12deg) translateY(-5px);
}

/* Emotions Container - Spans entire section */
.emotions-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Floating Emotion Icons */
.floating-emotion {
  position: absolute;
  animation: float 4s ease-in-out infinite;
  pointer-events: auto;
  background: none !important;
  width: fit-content;
  height: fit-content;
}

.floating-emotion svg {
  display: block;
  background: none !important;
  overflow: visible;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  -webkit-filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Remove any potential background from SVG root */
.floating-emotion svg > * {
  background: none !important;
}

/* Emotion Positions - Scattered across all areas */
/* Upper Left */
.emotion-pos-1 {
  top: 8%;
  left: 3%;
  animation-delay: 0s;
}

/* Upper Right */
.emotion-pos-2 {
  top: 12%;
  right: 5%;
  animation-delay: 0.8s;
}

/* Lower Left */
.emotion-pos-3 {
  bottom: 15%;
  left: 6%;
  animation-delay: 1.6s;
}

/* Lower Right */
.emotion-pos-4 {
  bottom: 10%;
  right: 8%;
  animation-delay: 2.4s;
}

/* Left Side (middle) */
.emotion-pos-5 {
  top: 45%;
  left: 1%;
  animation-delay: 3.2s;
}

/* Upper Left (inner) */
.emotion-pos-6 {
  top: 25%;
  left: 12%;
  animation-delay: 1.2s;
}

/* Right Side (middle-lower) */
.emotion-pos-7 {
  top: 55%;
  right: 3%;
  animation-delay: 2s;
}

/* Lower Right (inner) */
.emotion-pos-8 {
  bottom: 30%;
  right: 10%;
  animation-delay: 2.8s;
}

/* Upper Right (inner) */
.emotion-pos-9 {
  top: 20%;
  right: 15%;
  animation-delay: 0.4s;
}

/* Lower Left (inner) */
.emotion-pos-10 {
  bottom: 25%;
  left: 15%;
  animation-delay: 3.6s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-25px) scale(1.1);
    opacity: 1;
  }
}

/* ============================================
   Privacy Footer
   ============================================ */
.privacy-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
}

.privacy-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
  white-space: nowrap;
}

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

.separator {
  color: var(--text-light);
  font-size: 0.875rem;
}

.copyright-text {
  color: var(--text-light);
  font-size: 0.875rem;
  white-space: nowrap;
}

/* ============================================
   Hide Navbar and Old Footer
   ============================================ */
.navbar,
.mobile-menu,
.footer-minimal,
.footer {
  display: none;
}

/* Old Hero (keep for reference, can be removed) */
.hero {
  padding: calc(73px + var(--spacing-3xl)) 0 var(--spacing-3xl);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  overflow: hidden;
  display: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background: white;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.floating-emoji {
  position: absolute;
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
}

.emoji-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.emoji-2 {
  top: 30%;
  right: -10%;
  animation-delay: 0.5s;
}

.emoji-3 {
  bottom: 30%;
  left: -5%;
  animation-delay: 1s;
}

.emoji-4 {
  bottom: 10%;
  right: -5%;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */
.features {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-primary);
}

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

.feature-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-secondary);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 400px;
  gap: var(--spacing-xl);
  align-items: center;
}

.step-reverse {
  grid-template-columns: 80px 1fr 400px;
}

.step-reverse .step-content {
  order: 2;
}

.step-reverse .step-image {
  order: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  font-size: 2rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.step-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.step-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-image {
  position: relative;
}

.screenshot {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   App Download Section
   ============================================ */
.app-download {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.download-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--spacing-3xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.download-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.store-button {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: white;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.store-icon {
  width: 32px;
  height: 32px;
}

.store-icon svg {
  width: 100%;
  height: 100%;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
}

.store-label {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1;
  white-space: nowrap;
}

.store-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  white-space: nowrap;
}

.download-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.phone-stack {
  position: relative;
  height: 500px;
}

.phone-stack-img {
  position: absolute;
  width: 250px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transition: var(--transition-base);
}

.phone-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  z-index: 3;
}

.phone-2 {
  top: 40px;
  left: 20%;
  transform: rotate(-10deg);
  z-index: 2;
}

.phone-3 {
  top: 40px;
  right: 20%;
  transform: rotate(10deg);
  z-index: 1;
}

.phone-stack:hover .phone-1 {
  transform: translateX(-50%) rotate(0deg) translateY(-10px);
}

.phone-stack:hover .phone-2 {
  transform: rotate(-5deg) translateY(-5px);
}

.phone-stack:hover .phone-3 {
  transform: rotate(5deg) translateY(-5px);
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-xl);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  margin: var(--spacing-md) 0;
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

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

.social-link svg {
  width: 20px;
  height: 20px;
}

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

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: white;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-sm);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: white;
  padding-left: var(--spacing-xs);
}

.footer-bottom {
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .brand-name {
    font-size: 2.5rem;
  }
  
  .brand-logo {
    height: 40px;
  }
  
  .hero-main-title {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.125rem;
  }
  
  .hero-single-content {
    gap: var(--spacing-lg);
  }
  
  .phone-frame {
    width: 240px;
    height: 490px;
  }
  
  .phone-2 {
    transform: translateX(-150px) rotate(-8deg);
  }
  
  .phone-3 {
    transform: translateX(150px) rotate(8deg);
  }
  
  .hero-phones {
    height: 550px;
  }
  
  .store-button-hero {
    padding: 0.75rem 1.25rem;
    min-width: 160px;
  }
  
  .store-icon {
    width: 30px;
    height: 30px;
  }
  
  .store-label {
    font-size: 0.625rem;
  }
  
  .store-name {
    font-size: 1rem;
  }
  
  .floating-emotion svg {
    width: 50px;
    height: 50px;
    background: transparent !important;
    background-color: transparent !important;
  }
}

@media (max-width: 768px) {
  .brand-header {
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-lg);
  }
  
  .brand-name {
    font-size: 2rem;
  }
  
  .brand-logo {
    height: 35px;
  }
  
  .hero-single {
    min-height: auto;
    padding: var(--spacing-md) 0;
  }
  
  .hero-single-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .hero-text-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-main-title {
    font-size: 2rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-download-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
  }
  
  .store-button-hero {
    padding: 0.625rem 1rem;
    min-width: 135px;
    flex: 0 1 auto;
    gap: 0.375rem;
  }
  
  .store-icon {
    width: 28px;
    height: 28px;
  }
  
  .store-label {
    font-size: 0.625rem;
  }
  
  .store-name {
    font-size: 1rem;
  }
  
  .hero-download-note {
    font-size: 0.75rem;
    margin-top: var(--spacing-xs);
  }
  
  .hero-phones {
    height: 500px;
    margin-top: var(--spacing-xl);
  }
  
  .privacy-footer {
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: center;
  }
  
  .separator {
    display: none;
  }
  
  .phone-frame {
    width: 200px;
    height: 410px;
  }
  
  .phone-1 {
    transform: translateX(0) rotate(0deg) scale(1.1);
  }
  
  .phone-2 {
    transform: translateX(-120px) rotate(-10deg) scale(0.85);
  }
  
  .phone-3 {
    transform: translateX(120px) rotate(10deg) scale(0.85);
  }
  
  .hero-phones:hover .phone-1 {
    transform: translateX(0) rotate(0deg) scale(1.1) translateY(-10px);
  }
  
  .hero-phones:hover .phone-2 {
    transform: translateX(-130px) rotate(-12deg) scale(0.85) translateY(-5px);
  }
  
  .hero-phones:hover .phone-3 {
    transform: translateX(130px) rotate(12deg) scale(0.85) translateY(-5px);
  }
  
  .floating-emotion svg {
    width: 50px;
    height: 50px;
    background: transparent !important;
    background-color: transparent !important;
  }
  
  .footer-minimal-content {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
  
  .footer-minimal-left {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .brand-header {
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
  }
  
  .brand-name {
    font-size: 1.75rem;
  }
  
  .brand-logo {
    height: 30px;
  }
  
  .hero-main-title {
    font-size: 1.5rem;
  }
  
  .hero-tagline {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
  }
  
  .hero-download-buttons {
    gap: 0.5rem;
  }
  
  .store-button-hero {
    padding: 0.5rem 0.75rem;
    min-width: 125px;
    flex: 0 1 auto;
    gap: 0.3rem;
  }
  
  .hero-download-note {
    font-size: 0.625rem;
    margin-top: 0.25rem;
  }
  
  .hero-phones {
    height: 350px;
  }
  
  .phone-frame {
    width: 160px;
    height: 330px;
    border-radius: 35px;
    padding: 10px;
  }
  
  .phone-notch {
    width: 90px;
    height: 22px;
  }
  
  .phone-screen {
    border-radius: 28px;
  }
  
  .phone-1 {
    transform: translateX(0) rotate(0deg) scale(1);
  }
  
  .phone-2 {
    transform: translateX(-90px) rotate(-12deg) scale(0.75);
  }
  
  .phone-3 {
    transform: translateX(90px) rotate(12deg) scale(0.75);
  }
  
  .floating-emotion svg {
    width: 40px;
    height: 40px;
    background: transparent !important;
    background-color: transparent !important;
  }
  
  .store-icon {
    width: 24px;
    height: 24px;
  }
  
  .store-label {
    font-size: 0.5rem;
  }
  
  .store-name {
    font-size: 0.875rem;
  }
  
  .privacy-footer {
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-xs);
  }
  
  .privacy-link,
  .copyright-text {
    font-size: 0.75rem;
  }
}

/* ============================================
   Safari-Specific Fixes for SVG Background
   ============================================ */
@supports (-webkit-appearance:none) {
  .floating-emotion {
    background: none !important;
    background-color: rgba(0, 0, 0, 0) !important;
    isolation: isolate;
  }
  
  .floating-emotion svg {
    background: none !important;
    background-color: rgba(0, 0, 0, 0) !important;
    -webkit-background-size: 0 0 !important;
    background-size: 0 0 !important;
    /* Remove filter for Safari to prevent background rendering */
    filter: none !important;
    -webkit-filter: none !important;
  }
  
  .floating-emotion svg * {
    background: none !important;
  }
  
  .floating-emotion svg circle,
  .floating-emotion svg path,
  .floating-emotion svg ellipse {
    background: none !important;
    background-color: transparent !important;
  }
}
