/* ---------------
   style.css
   ---------------
   Creative, artistic design with asymmetric layouts,
   expanded purple palette, and dynamic typography.
*/

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

/* COLOR PALETTE */
:root {
  /* Primary Purple Variations */
  --purple-primary: #6750ff;
  --purple-dark: #4a3dd4;
  --purple-darker: #3d2fb8;
  --purple-light: #d4ccff;
  --purple-lighter: #e8e4ff;
  --purple-lightest: #f5f3ff;
  
  /* Complementary Colors */
  --pink-accent: #ff6b9d;
  --pink-light: #ffb3d1;
  --blue-accent: #6b9fff;
  --blue-light: #b3d1ff;
  --gray-warm: #f5f3f0;
  --gray-cool: #f0f2f5;
  
  /* Neutrals */
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #6a6a6a;
  --white: #ffffff;
  --bg-light: #fafafa;
}

/* BASE STYLES */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* TYPOGRAPHY ENHANCEMENTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h1 {
  font-weight: 800;
  letter-spacing: -1px;
}

h2 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

p {
  font-weight: 400;
  color: var(--text-medium);
}

.hero-content h1 {
  font-weight: 800;
  letter-spacing: -2px;
  text-shadow: 0 2px 20px rgba(103, 80, 255, 0.1);
}

a {
  text-decoration: none;
  color: inherit;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 1.25rem;
  }
}

/* HEADER - CREATIVE STYLING */
.header {
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(103, 80, 255, 0.1);
  z-index: 999;
  border-bottom: 1px solid rgba(103, 80, 255, 0.1);
}

.nav-bar {
  display: flex;
  align-items: center;
  height: 70px;
  justify-content: space-between;
}

.brand .logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--purple-primary);
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-primary), var(--blue-accent));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--purple-primary);
  font-weight: 600;
  background: rgba(103, 80, 255, 0.05);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 80%;
}

/* HERO SECTION - ASYMMETRIC LAYOUT */
.hero {
  background: linear-gradient(135deg, var(--purple-lightest) 0%, var(--purple-lighter) 50%, var(--blue-light) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107, 159, 255, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  text-align: left;
  margin: 0;
  max-width: 650px;
  padding: 6rem 0 8rem 0;
  position: relative;
  z-index: 1;
  flex: 1;
}

.hero-content h1 {
  font-size: 4.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s forwards;
  opacity: 0;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  color: var(--text-medium);
  font-weight: 400;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.3s;
  opacity: 0;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: stretch;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  height: 100%;
  text-align: center;
}

/* iPhone Mockup */
.iphone-mockup {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.9s;
  opacity: 0;
}

.iphone-frame {
  position: relative;
  width: 320px;
  height: 640px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 50px;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 
              0 0 0 2px rgba(255, 255, 255, 0.1) inset,
              0 0 40px rgba(103, 80, 255, 0.2);
}

.iphone-dynamic-island {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  background: #000;
  border-radius: 15px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #e8e4ff 0%, #d4ccff 50%, #c4b8ff 100%);
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Status Bar */
.iphone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px 8px 20px;
  height: 54px;
  position: relative;
  z-index: 5;
  margin-top: 0;
}

.status-time {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', system-ui, sans-serif;
  letter-spacing: -0.3px;
  line-height: 1;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sf-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-symbol svg,
.sf-symbol img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sf-symbol.cellularbars {
  width: 18px;
  height: 12px;
}

.sf-symbol.wifi {
  width: 20px;
  height: 16px;
}

.sf-symbol.battery {
  width: 28px;
  height: 15px;
}

/* Home Screen Content */
.iphone-home-screen {
  flex: 1;
  padding: 20px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

.app-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 280px;
  position: relative;
  z-index: 1;
}

.app-icon-link {
  display: block;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  z-index: 10;
  text-decoration: none;
  pointer-events: auto;
}

.app-icon-link:hover {
  transform: scale(1.05);
}

.app-icon-link:active {
  transform: scale(0.95);
}

.app-icon-link.animate-pulse {
  animation: iconPulse 0.6s ease-in-out;
}

.dock-icon-link.animate-pulse {
  animation: iconPulse 0.6s ease-in-out;
}

.app-icon {
  width: 100%;
  height: auto;
  border-radius: 13.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15),
              0 1px 3px rgba(0, 0, 0, 0.1);
  display: block;
  transition: box-shadow 0.3s ease;
  object-fit: cover;
  aspect-ratio: 1;
}

.app-icon-link:hover .app-icon {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2),
              0 2px 6px rgba(0, 0, 0, 0.15);
}

.wireframe-button {
  display: block;
  transition: all 0.2s ease;
  cursor: default;
  position: relative;
  z-index: 10;
}

/* Calendar Widget */
.calendar-widget {
  background: #fff;
  border-radius: 13.5px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15),
              0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.calendar-day {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ff3a2f;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  text-transform: uppercase;
  text-align: center;
}

.calendar-number {
  font-size: 3.75rem;
  font-weight: 600;
  color: #262626;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 4px;
}

.calendar-month {
  font-size: 0.85rem;
  font-weight: 500;
  color: #262626;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  text-align: center;
  opacity: 0.8;
}

/* Dock */
.iphone-dock {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 20px 16px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: 28px 28px 0 0;
  margin: auto 6px 0 6px;
  position: relative;
  z-index: 2;
  border-top: 0.5px solid rgba(255, 255, 255, 0.3);
}

.dock-icon-link {
  display: block;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  z-index: 10;
  text-decoration: none;
  pointer-events: auto;
}

.dock-icon-link:hover {
  transform: scale(1.05);
}

.dock-icon-link:active {
  transform: scale(0.95);
}

.dock-icon {
  width: 60px;
  height: 60px;
  border-radius: 13.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15),
              0 1px 3px rgba(0, 0, 0, 0.1);
  display: block;
  transition: box-shadow 0.3s ease;
  object-fit: cover;
}

.dock-icon-link:hover .dock-icon {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2),
              0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Home Indicator */
.iphone-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  background: #fff;
  border-radius: 3px;
  opacity: 0.5;
  z-index: 3;
}

/* iPhone App Modal */
.iphone-app-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.iphone-app-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.iphone-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.iphone-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 85%;
  width: 100%;
  max-height: 75%;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem;
}

.iphone-app-modal.active .iphone-modal-content {
  transform: scale(1) translateY(0);
}

.iphone-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-medium);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
  line-height: 1;
  padding: 0;
}

.iphone-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.iphone-modal-body {
  text-align: center;
}

.iphone-modal-icon {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: block;
}

.iphone-modal-body h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.5px;
}

#iphone-modal-action {
  margin-top: 0;
  text-align: center;
}

#iphone-modal-action .btn-primary {
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
}

/* iPhone Notes Sheet */
.iphone-notes-sheet {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  background: #fff;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.iphone-notes-sheet.active {
  transform: translateY(0);
}

.iphone-sheet-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
}

.iphone-sheet-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
  padding: 0;
  font-weight: 300;
}

.iphone-sheet-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.iphone-sheet-body {
  padding: 3rem 1.5rem 2rem 1.5rem;
  flex: 1;
}

.iphone-sheet-body h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  margin-top: 4.5rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.iphone-sheet-body p {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-me-image {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: contain;
  display: block;
  margin: 2rem auto 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* iPhone Alert Popup */
.iphone-alert-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.iphone-alert-popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.iphone-alert-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}

.iphone-alert-container {
  position: relative;
  background: #fff;
  border-radius: 14px;
  width: 85%;
  max-width: 270px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.iphone-alert-popup.active .iphone-alert-container {
  transform: scale(1);
}

.iphone-alert-message {
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', system-ui, sans-serif;
}

.iphone-alert-button {
  width: 100%;
  padding: 0.875rem 1rem;
  background: none;
  border: none;
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
  color: #007AFF;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', system-ui, sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.iphone-alert-button:active {
  background-color: rgba(0, 0, 0, 0.05);
}

/* BUTTONS - CREATIVE STYLING */
.btn-primary {
  display: inline-flex;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.6s;
  opacity: 0;
  box-shadow: 0 4px 15px rgba(103, 80, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(103, 80, 255, 0.4);
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-primary) 100%);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  background: var(--white);
  color: var(--purple-primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.3s ease;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.6s;
  opacity: 0;
  border: 2px solid var(--purple-primary);
  box-shadow: 0 4px 15px rgba(103, 80, 255, 0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(103, 80, 255, 0.3);
  border-color: var(--purple-dark);
}

.btn-secondary:hover::before {
  width: 100%;
}

.btn-secondary:active {
  transform: translateY(0);
}


/* CREATIVE DIVIDER - DIAGONAL WAVE */
.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 0;
}

.wave-svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
  transform: scaleY(-1);
}

/* ADDITIONAL DECORATIVE SHAPES */
.hero-shape {
  position: absolute;
  z-index: 0;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--purple-light) 0%, transparent 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 20%;
  right: 10%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, var(--pink-light) 0%, transparent 100%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  bottom: 15%;
  right: 20%;
  opacity: 0.5;
  animation: float 8s ease-in-out infinite reverse;
}

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

/* CTA SECTION - ASYMMETRIC */
.cta {
  background: #f5f5f5;
  text-align: left;
  padding: 6rem 1rem;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--purple-light) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  border-radius: 50%;
  opacity: 0.3;
}

.cta-content {
  max-width: 700px;
  margin: 0 0 0 8%;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -1px;
}

.cta-content p {
  margin-bottom: 2.5rem;
  color: var(--text-medium);
  font-size: 1.1rem;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.subscribe-form input[type="email"] {
  flex: 1 1 250px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  line-height: 1.5;
  height: auto;
  min-height: auto;
  max-height: none;
}

.subscribe-form input[type="email"]:focus {
  border-color: #6750ff;
  box-shadow: 0 0 0 3px rgba(103, 80, 255, 0.1);
}

.nav-toggle:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid #6750ff;
  outline-offset: 2px;
}

.subscribe-form button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(103, 80, 255, 0.3);
}

.subscribe-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(103, 80, 255, 0.4);
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-primary) 100%);
}

.subscribe-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
}

.form-message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* 404 ERROR SECTION - CREATIVE */
.error-404 {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  background: linear-gradient(135deg, var(--purple-lightest) 0%, var(--white) 50%, var(--blue-light) 100%);
  position: relative;
  overflow: hidden;
}

.error-404::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--purple-light) 0%, transparent 70%);
  top: 20%;
  right: -150px;
  border-radius: 50%;
  opacity: 0.4;
}

.error-404::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--pink-light) 0%, transparent 70%);
  bottom: 10%;
  left: -100px;
  border-radius: 50%;
  opacity: 0.3;
}

.error-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1rem;
  position: relative;
  z-index: 1;
}

.error-content h1 {
  font-size: 10rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--blue-accent) 50%, var(--pink-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1;
  letter-spacing: -5px;
  text-shadow: 0 0 40px rgba(103, 80, 255, 0.2);
}

.error-content h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.error-content p {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ABOUT SECTION - ASYMMETRIC */
.about {
  background: linear-gradient(135deg, var(--gray-warm) 0%, var(--white) 100%);
  text-align: right;
  padding: 6rem 1rem;
  position: relative;
  overflow: hidden;
}

.about::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--blue-light) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  opacity: 0.2;
}

.about-content {
  max-width: 700px;
  margin: 0 8% 0 auto;
  position: relative;
  z-index: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -1px;
}

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

/* PROJECT PAGE SECTION */
.project-page {
  min-height: 100vh;
  padding: 100px 0 6rem;
  background: linear-gradient(135deg, var(--purple-lightest) 0%, var(--white) 50%, var(--gray-warm) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-page-content {
  text-align: center;
  max-width: 600px;
  padding: 3rem 1rem;
}

.project-page-icon {
  width: 150px;
  height: 150px;
  border-radius: 24px;
  margin: 0 auto 2rem;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(103, 80, 255, 0.2);
  display: block;
}

.project-page-content h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-page-action {
  margin-top: 2rem;
}

/* PROJECTS SECTION - ALIGNED LAYOUT */
.projects {
  min-height: 100vh;
  padding: 100px 0 6rem;
  background: linear-gradient(135deg, var(--purple-lightest) 0%, var(--white) 50%, var(--gray-warm) 100%);
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue-light) 0%, transparent 70%);
  top: 10%;
  right: -200px;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
}

.projects-content {
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.projects-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.projects-content p {
  color: var(--text-medium);
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

/* PROJECTS GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.project-icon-card {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.project-icon-card:hover {
  transform: translateY(-10px) scale(1.1);
}

.project-grid-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  background: none;
  box-shadow: none;
  border: none;
  display: block;
}

.project-icon-card:hover .project-grid-icon {
  transform: scale(1.1);
}

/* PROJECT MODAL */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 2rem;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--white);
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  padding: 3rem;
}

.project-modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--text-medium);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
  line-height: 1;
}

.modal-close:hover {
  background: var(--purple-lightest);
  color: var(--purple-primary);
  transform: rotate(90deg);
}

.modal-body {
  text-align: center;
}

.modal-icon {
  width: 150px;
  height: 150px;
  border-radius: 24px;
  margin: 0 auto 2rem;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(103, 80, 255, 0.2);
  display: block;
}

.modal-body h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.modal-body p {
  color: var(--text-medium);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: left;
}

#modal-action {
  margin-top: 2rem;
  text-align: center;
}

/* POLICY SECTIONS (Privacy & Terms) - ASYMMETRIC */
.policy-section {
  padding-top: 100px;
  min-height: 70vh;
  background: linear-gradient(135deg, var(--white) 0%, var(--purple-lightest) 100%);
  padding: 5rem 1rem;
  position: relative;
}

@media (max-width: 768px) {
  .policy-section {
    padding-top: 80px;
    padding: 3rem 1rem;
    min-height: auto;
  }
}

.policy-section::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--purple-light) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  opacity: 0.3;
}

.policy-content {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .policy-content {
    padding: 0;
  }
}

.policy-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .policy-content h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
  }
}

.policy-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .policy-content h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
}

.policy-content p {
  margin-bottom: 1.25rem;
  color: var(--text-medium);
  line-height: 1.8;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .policy-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }
  
  .policy-content ul {
    padding-left: 1.25rem;
  }
  
  .policy-content li {
    margin-bottom: 0.75rem;
  }
}

/* FOOTER - CREATIVE STYLING */
.footer {
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 50%, var(--blue-accent) 100%);
  color: var(--white);
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  border-radius: 50%;
}

.footer-content p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  z-index: 1;
}

/* KEYFRAME ANIMATIONS */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  .hero {
    padding-top: 70px;
    min-height: auto;
  }
  
  .hero-content {
    padding: 2rem 0 1rem 0;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    max-width: 100%;
  }
  
  .hero-wrapper {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1.25rem;
  }
  
  .iphone-mockup {
    order: 1;
    margin-top: 2rem;
  }
  
  .iphone-frame {
    width: 260px;
    height: 520px;
    padding: 8px;
    border-radius: 40px;
  }
  
  .iphone-dynamic-island {
    width: 90px;
    height: 26px;
    top: 15px;
    border-radius: 13px;
  }
  
  .iphone-screen {
    border-radius: 32px;
  }
  
  .status-time {
    font-size: 13px;
  }
  
  .status-icons {
    gap: 3px;
  }
  
  .signal-bars span {
    width: 2.5px;
  }
  
  .wifi-icon {
    width: 14px;
    height: 10px;
    margin-left: 4px;
  }
  
  .battery {
    width: 20px;
    height: 10px;
  }
  
  .iphone-home-screen {
    padding: 16px 12px;
  }
  
  .app-icons-grid {
    gap: 10px;
    max-width: 240px;
  }
  
  .calendar-widget {
    padding: 10px;
  }
  
  .calendar-day {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }
  
  .calendar-number {
    font-size: 3rem;
  }
  
  .calendar-month {
    font-size: 0.75rem;
  }
  
  .iphone-dock {
    gap: 10px;
    padding: 10px 16px 16px 16px;
    margin: 0 6px 6px 6px;
    border-radius: 24px 24px 0 0;
  }
  
  .dock-icon {
    width: 50px;
    height: 50px;
    border-radius: 11px;
  }
  
  .iphone-home-indicator {
    width: 110px;
    height: 4px;
    bottom: 6px;
  }
  
  .iphone-modal-content {
    max-width: 90%;
    padding: 1.5rem 1.25rem;
    max-height: 80%;
  }
  
  .iphone-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-bottom: 1.25rem;
  }
  
  .iphone-modal-body h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .iphone-modal-close {
    width: 28px;
    height: 28px;
    font-size: 1.75rem;
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .iphone-notes-sheet {
    border-radius: 16px 16px 0 0;
  }
  
  .iphone-sheet-close {
    width: 28px;
    height: 28px;
    font-size: 1.25rem;
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .iphone-sheet-body {
    padding: 2.5rem 1.25rem 1.5rem 1.25rem;
  }
  
  .iphone-sheet-body h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }
  
  .iphone-sheet-body p {
    font-size: 0.95rem;
  }
  
  .about-me-image {
    width: 100px;
    height: 100px;
    margin-bottom: 1.25rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .cta {
    padding: 4rem 1rem;
  }
  
  .cta-content {
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
  }
  
  .cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .subscribe-form {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  
  .subscribe-form input[type="email"] {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    box-sizing: border-box;
    border-radius: 8px;
    line-height: 1.5;
    height: auto;
    flex: 0 0 auto;
    align-self: stretch;
  }
  
  .subscribe-form button {
    width: 100%;
    min-height: 44px;
    padding: 0.875rem 1.5rem;
  }
  
  .about {
    padding: 4rem 1rem;
  }
  
  .about-content {
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
  }
  
  .about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }
  
  .about-content p {
    font-size: 1rem;
  }
  
  .projects-content {
    text-align: center;
    padding: 0 1rem;
  }
  
  .projects-content h1 {
    font-size: 2.5rem;
  }
  
  .project-page-content {
    padding: 2rem 1rem;
  }
  
  .project-page-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
  }
  
  .project-page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
  }
  
  .project-icon-card {
    padding: 0;
  }
  
  .project-grid-icon {
    max-width: 150px;
  }
  
  .modal-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
    max-height: 85vh;
  }
  
  .modal-icon {
    width: 120px;
    height: 120px;
  }
  
  .modal-body h2 {
    font-size: 1.75rem;
  }
  
  .modal-body p {
    font-size: 1rem;
  }
  
  .policy-content {
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav-links li a::after {
    display: none;
  }
}

/* HAMBURGER MENU STYLING */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.nav-toggle .hamburger {
  width: 25px;
  height: 3px;
  background-color: #333;
  position: relative;
  transition: all 0.3s ease;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.nav-toggle .hamburger::before {
  transform: translateY(-8px);
}

.nav-toggle .hamburger::after {
  transform: translateY(8px);
}

.nav-toggle.open .hamburger {
  background-color: transparent;
}

.nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
}

.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
}

/* MOBILE NAV TOGGLE */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .nav-links.nav-links-visible {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 0.75rem 0;
  }
  
  .error-content h1 {
    font-size: 6rem;
    letter-spacing: -3px;
  }
  
  .error-content h2 {
    font-size: 2rem;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-actions .btn-primary,
  .error-actions .btn-secondary {
    width: 100%;
    max-width: 280px;
  }
  
  .projects-content {
    padding-left: 5%;
  }
  
  .policy-content {
    margin: 0 auto;
    padding: 0;
  }
  
  .nav-bar {
    height: 60px;
    padding: 0 1rem;
  }
  
  .brand .logo {
    font-size: 1.25rem;
  }
  
  .footer {
    padding: 2rem 1rem;
  }
  
  .footer-content p {
    font-size: 0.9rem;
  }
  
  /* Improve touch targets */
  .nav-links li a {
    padding: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .app-icon-link,
  .dock-icon-link {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Better spacing for lists */
  .policy-content ul,
  .policy-content ol {
    margin-bottom: 1.25rem;
  }
  
  .policy-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
}

.version-history {
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.version-history h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.version-history ul {
  list-style: none;
  padding-left: 0;
}

.version-history li {
  margin-bottom: 1rem;
}

/* WALK WITH COCO - CUSTOM COLOR PALETTE */
:root {
  /* Walk with Coco Colors */
  --coco-sky-blue: #B3D9FF;
  --coco-sky-blue-light: #E3F2FD;
  --coco-grass-green: #66BB6A;
  --coco-grass-green-dark: #4CAF50;
  --coco-brown: #8B4513;
  --coco-brown-light: #A0522D;
  --coco-brown-text: #6D4C41;
  --coco-pink: #F48FB1;
  --coco-teal: #4DB6AC;
  --coco-orange: #FFB74D;
}

/* Walk with Coco Project Page */
body.walk-with-coco-page {
  background: linear-gradient(180deg, var(--coco-sky-blue-light) 0%, var(--white) 30%, #F1F8E9 100%);
}

.walk-with-coco-page .project-page {
  background: linear-gradient(135deg, var(--coco-sky-blue-light) 0%, var(--white) 50%, #F1F8E9 100%);
  position: relative;
  overflow: hidden;
}

.walk-with-coco-page .project-page::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(179, 217, 255, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  z-index: 0;
}

.walk-with-coco-page .project-page::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(102, 187, 106, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  z-index: 0;
}

.walk-with-coco-page .project-page-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  text-align: left;
}

.walk-with-coco-page .project-page-content h1 {
  background: linear-gradient(135deg, var(--coco-brown) 0%, var(--coco-brown-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--coco-brown);
}

.walk-with-coco-page .project-page-icon {
  box-shadow: none;
}


/* Features Section */
.features-section {
  background: var(--white);
  padding: 4rem 0;
  margin: 4rem 0;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--coco-brown);
  font-weight: 800;
  letter-spacing: -1px;
}

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

.feature-card {
  background: linear-gradient(135deg, #FFF9E6 0%, var(--white) 100%);
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid rgba(139, 69, 19, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--coco-brown);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(139, 69, 19, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  color: var(--coco-brown);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--coco-brown-text);
  line-height: 1.7;
}

/* Hero Section Enhancement */
.hero-section {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-left {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-left .project-page-icon {
  margin: 0 0 1.5rem 0;
  animation: fadeInDown 1s forwards;
  opacity: 0;
}

.hero-left h1 {
  margin-bottom: 1.5rem;
  text-align: left;
  animation: fadeInDown 1s forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--coco-brown-text);
  line-height: 1.8;
  font-weight: 400;
  margin: 0 0 2rem 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

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

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 24px;
  object-fit: contain;
  display: block;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.project-page-action {
  animation: fadeInUp 1s forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

/* CTA Button */
.walk-with-coco-page .btn-primary {
  background: linear-gradient(135deg, var(--coco-brown) 0%, var(--coco-brown-light) 100%);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 1;
  display: inline-block;
  text-decoration: none;
}

.walk-with-coco-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.walk-with-coco-page .btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

/* Footer for Walk with Coco */
.walk-with-coco-page .footer {
  background: linear-gradient(135deg, var(--coco-brown) 0%, var(--coco-brown-light) 100%);
  color: var(--white);
}

.walk-with-coco-page .footer::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

/* TODAY I - CUSTOM COLOR PALETTE */
:root {
  /* Today I Colors */
  --today-i-purple: #9C27B0;
  --today-i-purple-light: #BA68C8;
  --today-i-blue: #2196F3;
  --today-i-blue-light: #64B5F6;
  --today-i-orange: #FF9800;
  --today-i-orange-light: #FFB74D;
  --today-i-yellow: #FFC107;
  --today-i-red: #F44336;
  --today-i-pink: #E91E63;
  --today-i-text-dark: #1a1a1a;
  --today-i-text-medium: #424242;
}

/* Today I Project Page */
body.today-i-page {
  background: linear-gradient(135deg, #FFE0B2 0%, #FFF9C4 30%, #E1BEE7 100%);
}

.today-i-page .project-page {
  background: linear-gradient(135deg, #FFF9C4 0%, #FFE0B2 50%, #E1BEE7 100%);
  position: relative;
  overflow: hidden;
}

.today-i-page .project-page::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  z-index: 0;
}

.today-i-page .project-page::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  z-index: 0;
}

.today-i-page .project-page-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  text-align: left;
}

.today-i-page .project-page-content h1 {
  color: var(--today-i-purple);
}

.today-i-page .project-page-icon {
  box-shadow: none;
}

.today-i-page .hero-description {
  font-size: 1.1rem;
  color: var(--today-i-text-medium);
  line-height: 1.8;
  font-weight: 400;
  margin: 0 0 2rem 0;
}

.today-i-page .btn-primary {
  background: linear-gradient(135deg, var(--today-i-purple) 0%, var(--today-i-blue) 100%);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.today-i-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(156, 39, 176, 0.4);
}

.today-i-page .hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 24px;
  object-fit: contain;
  display: block;
}

/* Footer for Today I */
.today-i-page .footer {
  background: linear-gradient(135deg, var(--today-i-purple) 0%, var(--today-i-blue) 100%);
  color: var(--white);
}

.today-i-page .footer::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

/* Responsive Design for Today I */
@media (max-width: 768px) {
  .today-i-page .hero-section {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .today-i-page .hero-left {
    align-items: center;
    text-align: center;
    width: 100%;
    flex: 1;
  }
  
  .today-i-page .hero-left h1 {
    text-align: center;
  }
  
  .today-i-page .hero-right {
    width: 100%;
    flex: 1;
  }
  
  .today-i-page .hero-description {
    font-size: 1rem;
    text-align: center;
  }
  
  .today-i-page .hero-image {
    max-width: 100%;
  }
}

/* SLEEP STREAK - CUSTOM COLOR PALETTE */
:root {
  /* Sleep Streak Colors */
  --sleep-streak-dark-blue: #1A2B4C;
  --sleep-streak-blue: #2196F3;
  --sleep-streak-blue-light: #64B5F6;
  --sleep-streak-orange: #FF9800;
  --sleep-streak-orange-light: #FFB74D;
  --sleep-streak-yellow: #FFC107;
  --sleep-streak-purple: #9C27B0;
  --sleep-streak-purple-light: #BA68C8;
  --sleep-streak-green: #4CAF50;
  --sleep-streak-text-dark: #1a1a1a;
  --sleep-streak-text-medium: #424242;
}

/* Sleep Streak Project Page */
body.sleep-streak-page {
  background: linear-gradient(135deg, var(--sleep-streak-dark-blue) 0%, #2C3E5C 30%, #1A2B4C 100%);
}

.sleep-streak-page .project-page {
  background: linear-gradient(135deg, #2C3E5C 0%, var(--sleep-streak-dark-blue) 50%, #1A2B4C 100%);
  position: relative;
  overflow: hidden;
}

.sleep-streak-page .project-page::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  border-radius: 50%;
  z-index: 0;
}

.sleep-streak-page .project-page::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  z-index: 0;
}

.sleep-streak-page .project-page-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  text-align: left;
}

.sleep-streak-page .project-page-content h1 {
  color: var(--sleep-streak-orange);
}

.sleep-streak-page .project-page-icon {
  box-shadow: none;
}

.sleep-streak-page .hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-weight: 400;
  margin: 0 0 2rem 0;
}

.sleep-streak-page .btn-primary {
  background: linear-gradient(135deg, var(--sleep-streak-orange) 0%, var(--sleep-streak-yellow) 100%);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.sleep-streak-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5);
}

.sleep-streak-page .hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 24px;
  object-fit: contain;
  display: block;
}

/* Footer for Sleep Streak */
.sleep-streak-page .footer {
  background: linear-gradient(135deg, var(--sleep-streak-dark-blue) 0%, var(--sleep-streak-blue) 100%);
  color: var(--white);
}

.sleep-streak-page .footer::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

/* Responsive Design for Sleep Streak */
@media (max-width: 768px) {
  .sleep-streak-page .hero-section {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .sleep-streak-page .hero-left {
    align-items: center;
    text-align: center;
    width: 100%;
    flex: 1;
  }
  
  .sleep-streak-page .hero-left h1 {
    text-align: center;
  }
  
  .sleep-streak-page .hero-right {
    width: 100%;
    flex: 1;
  }
  
  .sleep-streak-page .hero-description {
    font-size: 1rem;
    text-align: center;
  }
  
  .sleep-streak-page .hero-image {
    max-width: 100%;
  }
}

/* Responsive Design for Walk with Coco */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-left {
    align-items: center;
    text-align: center;
    width: 100%;
    flex: 1;
  }
  
  .hero-left h1 {
    text-align: center;
  }
  
  .hero-right {
    width: 100%;
    flex: 1;
  }
  
  .hero-description {
    font-size: 1rem;
    text-align: center;
  }
  
  .hero-image {
    max-width: 100%;
  }
  
  .features-section {
    margin: 2rem 1rem;
    padding: 2rem 1rem;
  }
  
  .features-container {
    padding: 0 1rem;
  }
  
  .features-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
