/* Modern Tinder-like Design for Connections */

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-bg: #1a1a2e;
  --card-bg: rgba(255, 255, 255, 0.95);
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --text-white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--primary-gradient);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Modern Header */
.modern-header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.modern-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

/* Fix button visibility when header is scrolled (white background) */
.modern-header.scrolled nav .btn-modern,
.modern-header.scrolled .btn-modern.btn-secondary,
.modern-header.scrolled .header-contact-btn,
.modern-header.scrolled a.btn-modern.btn-secondary {
  background: #667eea !important;
  color: #ffffff !important;
  border: 1px solid #667eea !important;
}

.modern-header.scrolled nav .btn-modern:hover,
.modern-header.scrolled .btn-modern.btn-secondary:hover,
.modern-header.scrolled .header-contact-btn:hover,
.modern-header.scrolled a.btn-modern.btn-secondary:hover {
  background: #5568d3 !important;
  color: #ffffff !important;
  border: 1px solid #5568d3 !important;
  transform: translateY(-2px);
}

/* Mobile menu toggle when header is scrolled */
.modern-header.scrolled .mobile-menu-toggle span {
  background: var(--text-primary);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Desktop Navigation - visible on larger screens */
.desktop-nav {
  display: flex !important;
}

/* Mobile Navigation - hidden on desktop */
.mobile-nav {
  display: none !important;
}

.mobile-nav-wrapper {
  display: none;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
  order: -1; /* Place hamburger before contact button */
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle:hover span {
  background: rgba(255, 255, 255, 1);
}

/* Mobile Side Menu */
.mobile-side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.mobile-side-menu.active {
  visibility: visible;
  opacity: 1;
}

.side-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.side-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.mobile-side-menu.active .side-menu-content {
  transform: translateX(0);
}

.side-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
}

.side-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.side-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 3rem 2rem 2rem;
  gap: 0.5rem;
}

.side-menu-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: block;
}

.side-menu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
  transform: translateX(5px);
}

.side-menu-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 1);
}

.nav-link:hover::after {
  width: 100%;
}

/* Active state for current page */
.nav-link.active {
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

.header-contact-btn.active {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Header scrolled state for nav links */
.modern-header.scrolled .nav-link {
  color: var(--text-primary);
}

.modern-header.scrolled .nav-link:hover {
  color: #667eea;
}

.modern-header.scrolled .nav-link::after {
  background: #667eea;
}

.logo-modern {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo-modern:hover {
  transform: scale(1.05);
}

/* Hero Section - CRED-inspired Premium Design */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--primary-gradient);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-content {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: var(--text-white);
}

.hero-title-wrapper {
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  color: var(--text-white);
  text-transform: uppercase;
}

.hero-title .title-line {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title .title-line:nth-child(2) {
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 500px;
}

.hero-description strong {
  font-weight: 600;
  color: var(--text-white);
}

.hero-note {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 3rem;
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-download {
  background: var(--text-white);
  color: #667eea;
  padding: 1.5rem 3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-download:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-download .btn-text {
  font-size: 0.85rem;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
  opacity: 0.8;
}

.btn-download .btn-label {
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  letter-spacing: 0.15em;
}

.btn-modern {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--text-white);
  color: #667eea;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-images {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem 0;
}

.hero-phone-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-phone-video {
  max-width: 420px;
  width: 100%;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.hero-phone-video:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-20px) scale(1.05);
  z-index: 10;
}

/* Phone Screen Content - CRED Style */
.phone-screen-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border-radius: 50px;
  overflow: hidden;
  z-index: 0;
}

/* Ticker Animation - CRED Style */
.phone-ticker-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 20s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 40px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Phone Overlay Text - CRED Style */
.phone-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

/* Phone Quote Styles */
.phone-quote-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  padding: 1rem;
}

.phone-quote {
  color: var(--text-white);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.01em;
  font-style: italic;
  position: relative;
  padding: 0 1.5rem;
}

.phone-quote::before {
  content: '"';
  font-size: 3.5rem;
  position: absolute;
  top: -1.2rem;
  left: 0;
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
}

.phone-quote.mobile-quote {
  display: none;
}

.phone-quote-author {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.phone-quote-author.mobile-author {
  display: none;
}

@media (max-width: 768px) {
  .phone-quote.desktop-quote {
    display: none;
  }
  
  .phone-quote.mobile-quote {
    display: block;
    font-size: 1.4rem;
    line-height: 1.3;
  }
  
  .phone-quote-author.desktop-author {
    display: none;
  }
  
  .phone-quote-author.mobile-author {
    display: block;
    font-size: 0.9rem;
  }

  .phone-quote-container {
    padding: 1rem;
  }

  .phone-quote::before {
    font-size: 2.5rem;
    top: -0.8rem;
    left: -1rem;
  }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: translateX(-50%) rotate(45deg);
}

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

.hero-image-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  overflow: hidden;
}

.hero-image-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.hero-image-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Premium iPhone Mockup Styles - Modern Professional Design */
.iphone-mockup {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  /* Premium metallic frame with realistic gradient */
  background: 
    linear-gradient(135deg, 
      #0a0a0a 0%, 
      #1a1a1a 25%, 
      #2a2a2a 50%, 
      #1a1a1a 75%, 
      #0a0a0a 100%
    ),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  border-radius: 58px;
  padding: 8px;
  /* Premium multi-layer shadows for depth */
  box-shadow: 
    /* Outer glow */
    0 0 0 1px rgba(0, 0, 0, 0.8),
    /* Main shadow */
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 10px 40px rgba(0, 0, 0, 0.4),
    /* Highlight on top edge */
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    /* Subtle inner shadow */
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    /* Inner depth */
    inset 0 0 20px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  border: none;
  outline: none;
  /* Add subtle reflection effect */
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
}

.iphone-mockup:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.8),
    0 35px 100px rgba(0, 0, 0, 0.7),
    0 15px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.4));
}

.iphone-mockup .screen {
  width: 100%;
  height: 0;
  padding-bottom: 216.67%; /* iPhone 16 aspect ratio (19.5:9) */
  background: #000;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  /* Realistic screen inset with proper depth */
  box-shadow: 
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    inset 0 2px 4px rgba(0, 0, 0, 0.8),
    inset 0 -2px 4px rgba(255, 255, 255, 0.05);
  border: none;
  outline: none;
  /* Add subtle screen reflection */
  position: relative;
}

.iphone-mockup .screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
  z-index: 1;
  border-radius: 50px;
}

.iphone-mockup .screen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: block;
  border: none;
  outline: none;
  z-index: 0;
}

.iphone-mockup:hover .screen img {
  transform: scale(1.02);
}

.iphone-mockup .dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  /* Realistic iPhone 15 Pro Dynamic Island proportions */
  /* For 300px phone: screen ~284px, Dynamic Island should be ~32% of screen = ~91px */
  width: 91px;
  height: 30px;
  /* Premium dynamic island with realistic depth */
  background: 
    linear-gradient(180deg, 
      rgba(0, 0, 0, 0.9) 0%,
      rgba(10, 10, 10, 0.95) 50%,
      rgba(0, 0, 0, 1) 100%
    );
  border-radius: 15px;
  z-index: 25;
  /* Realistic shadow and highlight */
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.1),
    inset 0 -1px 2px rgba(0, 0, 0, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.8),
    0 1px 2px rgba(0, 0, 0, 0.6);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  /* Add subtle glow */
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.iphone-mockup .dynamic-island::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Proportionally smaller camera lens */
  width: 6px;
  height: 6px;
  /* Realistic camera lens */
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 1) 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 3px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.iphone-mockup .dynamic-island::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Proportionally smaller microphone dot */
  width: 3px;
  height: 3px;
  /* Microphone dot */
  background: rgba(0, 0, 0, 0.9);
  border-radius: 50%;
  margin-left: 15px;
  box-shadow: 
    0 0 1px rgba(0, 0, 0, 0.8),
    inset 0 0 1px rgba(255, 255, 255, 0.1);
  border: 0.5px solid rgba(255, 255, 255, 0.05);
}

/* Gallery iPhone Mockups - Use exact same premium styling as hero section */
.gallery-item.iphone-mockup {
  /* Override .gallery-item styles to match premium hero section exactly */
  max-width: 300px;
  border-radius: 58px !important;
  overflow: visible !important;
  background: 
    linear-gradient(135deg, 
      #0a0a0a 0%, 
      #1a1a1a 25%, 
      #2a2a2a 50%, 
      #1a1a1a 75%, 
      #0a0a0a 100%
    ),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.3) 0%, transparent 50%) !important;
  padding: 8px !important;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.8),
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 10px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  width: 100%;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
  border: none !important;
  outline: none !important;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
}

.gallery-item.iphone-mockup:hover {
  transform: translateY(-15px) scale(1.02) !important;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.8),
    0 35px 100px rgba(0, 0, 0, 0.7),
    0 15px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(0, 0, 0, 0.3) !important;
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.4));
}

/* Add subtle rotation variations for visual interest */
.gallery-item.iphone-mockup:nth-child(1) {
  transform: rotate(-2deg);
}

.gallery-item.iphone-mockup:nth-child(2) {
  transform: rotate(1deg);
}

.gallery-item.iphone-mockup:nth-child(3) {
  transform: rotate(-1deg);
}

.gallery-item.iphone-mockup:nth-child(4) {
  transform: rotate(2deg);
}

.gallery-item.iphone-mockup:nth-child(5) {
  transform: rotate(-1.5deg);
}

.gallery-item.iphone-mockup:nth-child(6) {
  transform: rotate(1.5deg);
}

.gallery-item.iphone-mockup:hover {
  transform: translateY(-15px) rotate(0deg) !important;
  z-index: 10;
}

/* Responsive adjustments for iPhone mockups */
@media (max-width: 768px) {
  .hero-images {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-images .iphone-mockup {
    max-width: 280px;
    transform: rotate(0deg) !important;
  }
  
  .iphone-mockup {
    max-width: 280px;
  }
  
  .gallery-item.iphone-mockup {
    max-width: 280px;
    transform: rotate(0deg) !important;
  }
  
  .gallery-item.iphone-mockup:nth-child(n) {
    transform: rotate(0deg) !important;
  }
  
  .image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
  }
}

/* Feature Cards */
.features-section {
  padding: 6rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.cred-gallery-section {
  background: var(--primary-gradient) !important;
  backdrop-filter: none !important;
}

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

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.25),
    0 0 0 3px rgba(102, 126, 234, 0.3),
    0 10px 30px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.4);
  z-index: 10;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #667eea;
}

.feature-icon i {
  display: inline-block;
}

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

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

/* Content Pages */
.content-page {
  min-height: 80vh;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

/* Legal/Warning sections with reduced spacing */
.content-page.legal-section {
  min-height: auto;
  padding: 2rem 2rem 1rem;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

.content-text {
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 1.1rem;
}

.content-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #667eea;
}

.content-text ul, .content-text ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.content-text li {
  margin-bottom: 0.5rem;
}

.content-text a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.content-text a:hover {
  text-decoration: underline;
}

/* Modern Footer */
.modern-footer {
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  color: var(--text-white);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--text-white);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

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

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Footer Button Styling */
.footer-section .btn-modern.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--text-white);
  border: none;
}

.footer-section .btn-modern.btn-primary:hover {
  background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Connections Logo */
.shining-connections {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 3rem 2rem;
  margin: 2rem 0 1rem;
  position: relative;
  background: transparent;
}

.connections-text {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-images {
    display: flex;
    justify-content: center;
  }

  .hero-phone-video {
    max-width: 320px;
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }
  
  .hero-phone-wrapper {
    max-width: 320px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-scroll-indicator {
    bottom: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .content-container {
    padding: 2rem 1.5rem;
  }

  .header-container {
    padding: 0 1rem;
    gap: 1rem;
  }

  /* Hide desktop navigation on mobile */
  .desktop-nav {
    display: none !important;
  }

  /* Show mobile navigation wrapper and hamburger */
  .mobile-nav-wrapper {
    display: flex !important;
    align-items: center;
    gap: 1rem;
  }

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

  .header-contact-btn {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.85rem !important;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-modern {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-contact-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
  }

  .side-menu-content {
    width: 260px;
  }

  .side-menu-nav {
    padding: 3rem 1.5rem 2rem;
  }

  .side-menu-link {
    font-size: 1rem;
    padding: 0.9rem 1.2rem;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .content-page {
    padding: 2rem 1rem;
  }

  .modern-footer {
    padding: 3rem 1rem 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Scroll animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Image Gallery */
/* Single Phone Carousel Gallery Section */
.cred-gallery-section {
  position: relative;
  overflow: hidden;
  background: var(--primary-gradient);
}

.cred-gallery-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
}

.single-phone-carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 700px;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 2rem 0;
  overflow: hidden;
  background: transparent;
}

/* Word Cloud Styles */
.word-cloud {
  position: absolute;
  top: 0;
  width: 32%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: space-evenly;
  justify-content: center;
  gap: 0.5rem 0.8rem;
  padding: 1rem 1.5rem;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.word-cloud-left {
  left: 0;
  justify-content: flex-end;
  align-items: flex-start;
  align-content: space-evenly;
  padding-right: 3rem;
}

.word-cloud-right {
  right: 0;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: space-evenly;
  padding-left: 3rem;
}

.word {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 1.3;
  opacity: 0.7;
  white-space: nowrap;
}

.word-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  line-height: 1.1;
  display: inline-block;
}

.word:hover {
  color: rgba(255, 255, 255, 0.95);
  opacity: 1;
  transform: scale(1.15);
}

.word-vertical:hover {
  transform: rotate(180deg) scale(1.15);
}

/* Asymmetrical positioning for word clouds */
.word-cloud-left .word:nth-child(odd) {
  margin-right: 0.5rem;
}

.word-cloud-left .word:nth-child(even) {
  margin-left: 0.5rem;
}

.word-cloud-right .word:nth-child(odd) {
  margin-left: 0.5rem;
}

.word-cloud-right .word:nth-child(even) {
  margin-right: 0.5rem;
}

/* Word Sizes Based on Relevance - Increased Sizes */
.word-xl {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.95;
  line-height: 1.1;
}

.word-lg {
  font-size: 2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.85;
  line-height: 1.2;
}

.word-md {
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.75;
  line-height: 1.25;
}

.word-sm {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0.65;
  line-height: 1.3;
}

/* Ensure phone stays centered and above word clouds */
.gallery-phone {
  position: relative;
  z-index: 2;
  max-width: 420px;
  width: 100%;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.gallery-phone:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-20px) scale(1.05);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.7));
}

/* Gallery Carousel Styles */
.gallery-phone .screen {
  position: relative;
  overflow: hidden;
}

.gallery-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50px;
  z-index: 0;
}

.gallery-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.gallery-carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.gallery-carousel-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
  display: block;
  z-index: 0;
}

/* Ensure gallery carousel images are visible above screen reflection */
.gallery-phone .screen::before {
  z-index: 1;
}

.gallery-carousel-slide.active {
  z-index: 2;
}


.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin: 3rem 0;
  padding: 2rem 0;
  justify-items: center;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: visible;
  transition: var(--transition);
  width: 100%;
  max-width: 300px;
  border: none;
  outline: none;
  background: transparent;
}

.gallery-item:not(.iphone-mockup):hover {
  transform: translateY(-10px) scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  outline: none;
}

/* Ensure gallery iphone-mockup screen matches hero section exactly */
.gallery-item.iphone-mockup .screen {
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 216.67% !important; /* iPhone 16 aspect ratio (19.5:9) */
  background: #000 !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: 
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    inset 0 2px 4px rgba(0, 0, 0, 0.8),
    inset 0 -2px 4px rgba(255, 255, 255, 0.05) !important;
  border: none !important;
  outline: none !important;
}

.gallery-item.iphone-mockup .screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
  z-index: 1;
  border-radius: 50px;
}

/* Ensure gallery iphone-mockup images don't use .gallery-item img styles */
.gallery-item.iphone-mockup .screen img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50px !important;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
  display: block !important;
  border: none !important;
  outline: none !important;
  z-index: 0 !important;
}

.gallery-item.iphone-mockup:hover .screen img {
  transform: scale(1.02) !important;
}

/* Remove any default borders from gallery items that are iPhone mockups */
.gallery-item.iphone-mockup,
.gallery-item.iphone-mockup * {
  border: none !important;
  outline: none !important;
}

/* Blog Grid Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(102, 126, 234, 0.3);
}

.blog-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.blog-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

.blog-read-more {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  margin-top: auto;
}

.blog-read-more:hover {
  color: #5568d3;
  gap: 0.75rem;
}

.blog-read-more i {
  transition: transform 0.3s ease;
}

.blog-read-more:hover i {
  transform: translateX(4px);
}

/* Responsive Blog Grid */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-image {
    height: 200px;
  }

  /* Gallery Carousel Mobile */
  .single-phone-carousel-container {
    min-height: auto;
    padding: 1.5rem 0;
    margin: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .gallery-phone {
    max-width: 320px;
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }

  /* Remove all shadows on mobile for clean look */
  .gallery-phone.iphone-mockup {
    box-shadow: none !important;
    filter: none !important;
  }

  .word-cloud {
    display: none;
  }

  .cred-gallery-wrapper {
    padding: 2rem 1rem 1.5rem;
  }

  .cred-gallery-section {
    background: var(--primary-gradient) !important;
    backdrop-filter: none !important;
  }

  .shining-connections {
    padding: 2rem 1rem;
    margin: 1.5rem 0 0.5rem;
  }

  .connections-text {
    font-size: 2.5rem;
    letter-spacing: 0.05em;
  }
}

