/* -------------------------------------------------------------
   SMART SIPS HYDRATION-THEMED MARKETING PAGE STYLESHEET
   ------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Custom Watery/Hydration Color Palette */
  --bg-base: #030814;
  --bg-surface: #0b162c;
  --bg-surface-elevated: #122345;
  --accent: #00e5ff;
  --accent-rgb: 0, 229, 255;
  --accent-hover: #00ffd2;
  --accent-dark: #0077b6;
  --border-color: #1b325f;
  --text-primary: #ffffff;
  --text-secondary: #c0d4ed;
  --text-muted: #6282a5;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  background-image: linear-gradient(180deg, #030814 0%, #061530 50%, #0a2147 100%);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 10;
}

.container-small {
  max-width: 750px;
}

/* --- SITE NAVIGATION HEADER --- */
.site-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(3, 8, 20, 0.85);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--transition-fast);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-link img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.text-logo-fallback {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: #fff;
}

.logo-link-text {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

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

/* Responsive Hamburger Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 4rem 0 6rem 0;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

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

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 30px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-water {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: var(--bg-base);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  padding: 1rem 2.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.25);
  text-decoration: none;
}

.btn-water:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.4);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
}

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

.btn-secondary-water {
  background: rgba(11, 22, 44, 0.6);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: none;
}

.btn-secondary-water:hover {
  background: rgba(18, 35, 69, 0.8);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

.hero-meta-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta-text svg {
  color: var(--accent);
}

/* Mockup phone frame and slider styles */
.hero-mockup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.phone-frame {
  position: relative;
  width: 290px;
  height: 590px;
  background-color: #030814;
  border: 10px solid #122345;
  border-radius: 38px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.7), 
    0 0 35px rgba(0, 229, 255, 0.12);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 18px;
  background-color: #122345;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background-color: #030814;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

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

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.carousel-dot:hover {
  background-color: var(--text-muted);
}

.carousel-dot.active {
  background-color: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

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

/* --- SECTION HEADER --- */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* --- FEATURES GRID --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4), 
    0 0 25px rgba(0, 229, 255, 0.05);
  transform: translateY(-5px);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
  background-color: var(--accent);
  color: var(--bg-base);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- CREATOR DIARY NOTE (THE DIARY CARD) --- */
.diary-section {
  background: rgba(11, 22, 44, 0.4);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.diary-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.diary-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.diary-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--bg-base);
}

.diary-meta h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.diary-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.diary-quote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  position: relative;
  font-style: italic;
  margin-bottom: 2rem;
}

.diary-quote span.quote-mark {
  font-size: 4rem;
  font-family: serif;
  color: rgba(0, 229, 255, 0.15);
  position: absolute;
  line-height: 1;
}

.diary-quote span.quote-left {
  top: -1.5rem;
  left: -1rem;
}

.diary-quote p {
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
}

.diary-quote p:last-child {
  margin-bottom: 0;
}


/* --- BOTTOM CTA --- */
.bottom-cta-card {
  background: linear-gradient(135deg, rgba(11, 22, 44, 0.8) 0%, rgba(3, 8, 20, 0.9) 100%);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5), 
    0 0 40px rgba(0, 229, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.bottom-cta-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
}

.bottom-cta-card h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bottom-cta-card p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.bottom-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.bottom-cta-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.9rem;
}

.bottom-cta-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.bottom-cta-links a:hover {
  color: var(--accent);
}

/* --- CANVAS & ANIMATION ELEMENTS --- */
.bubble-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.bg-waves {
  position: relative;
  width: 100%;
  height: 12vh;
  min-height: 60px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  margin-top: 4rem;
  display: block;
}

.editorial-wave {
  animation: wave-move 12s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.editorial-wave:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
  fill: rgba(0, 180, 216, 0.08);
}

.editorial-wave:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
  fill: rgba(0, 119, 182, 0.12);
}

.editorial-wave:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
  fill: rgba(3, 8, 20, 0.4);
}

@keyframes wave-move {
  0% { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

/* --- FOOTER SECTION --- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background-color: rgba(3, 8, 20, 0.9);
  padding: 4rem 0 3rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h5 {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- SCROLL REVEAL CLASS --- */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-base);
    background-image: linear-gradient(180deg, #030814 0%, #061530 100%);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    transition: var(--transition-normal);
    border-top: 1px solid var(--border-color);
    transform: translateX(100%);
    visibility: hidden;
    z-index: 99;
  }

  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-link {
    font-size: 1.4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.4rem;
  }

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

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

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .diary-section {
    padding: 2rem 1.5rem;
  }

  .bottom-cta-card {
    padding: 3rem 1.5rem;
  }

  .bottom-cta-card h2 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
