/* ==========================================================================
   Zen Pond (禅の池) — Global Stylesheet
   Designed with Japanese Zen Aesthetics, Glassmorphism & High-Performance CSS
   ========================================================================== */

:root {
  --color-abyss: #030c14;
  --color-abyss-card: rgba(8, 22, 34, 0.72);
  --color-abyss-card-border: rgba(255, 255, 255, 0.12);
  --color-abyss-hover: rgba(14, 40, 60, 0.85);
  
  --color-teal-deep: #0e3b4e;
  --color-teal-accent: #00e5ff;
  --color-emerald-accent: #1de9b6;
  --color-gold-accent: #ffd54f;
  --color-lotus-pink: #ff80ab;
  --color-vermilion: #ff5252;
  
  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.75);
  --color-text-muted: rgba(255, 255, 255, 0.55);
  
  --font-serif-jp: 'Noto Serif JP', 'Shippori Mincho', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-glow-teal: 0 8px 32px rgba(0, 229, 255, 0.2);
  --shadow-glow-gold: 0 8px 32px rgba(255, 213, 79, 0.22);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.45);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-abyss);
  color: var(--color-text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(14, 59, 78, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(0, 77, 64, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(3, 20, 32, 0.8) 0%, transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: var(--color-teal-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #80d8ff;
}

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

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  background: rgba(3, 12, 20, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-abyss-card-border);
  transition: padding var(--transition-fast), background var(--transition-fast);
}

.navbar.scrolled {
  padding: 0.75rem 1.5rem;
  background: rgba(3, 12, 20, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text-primary);
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow-teal);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-title {
  font-family: var(--font-serif-jp);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #ffffff 40%, var(--color-gold-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-logo-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast), transform var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00b0ff 0%, #00e5ff 60%, #1de9b6 100%);
  color: #030c14;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5);
  color: #030c14;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, #ffa000 0%, #ffd54f 100%);
  color: #030c14;
  box-shadow: var(--shadow-glow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 213, 79, 0.5);
  color: #030c14;
}

/* --------------------------------------------------------------------------
   Hero Section with Interactive Water Canvas
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
}

#water-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 30%, var(--color-abyss) 95%);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 3;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-teal-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-serif-jp);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-teal-accent) 70%, var(--color-emerald-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-family: var(--font-serif-jp);
  color: var(--color-gold-accent);
  letter-spacing: 0.1em;
  opacity: 0.95;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-abyss-card-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-serif-jp);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.phone-mockup {
  position: relative;
  width: 320px;
  border-radius: 44px;
  background: #02070c;
  padding: 12px;
  border: 4px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 229, 255, 0.25);
  animation: float 6s ease-in-out infinite;
}

.phone-mockup img {
  border-radius: 34px;
  width: 100%;
  display: block;
}

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

/* --------------------------------------------------------------------------
   Container & Section Utilities
   -------------------------------------------------------------------------- */
.section {
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 2;
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif-jp);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Feature Cards Grid
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-abyss-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-abyss-card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-teal-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-glow-teal);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-family: var(--font-serif-jp);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

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

/* --------------------------------------------------------------------------
   Koi Breeds Interactive Showcase
   -------------------------------------------------------------------------- */
.breed-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.breed-tab-btn {
  padding: 0.65rem 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.breed-tab-btn .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.breed-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.breed-tab-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--color-teal-accent);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.25);
}

.breed-card {
  display: none;
  background: var(--color-abyss-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-abyss-card-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.breed-card.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  animation: fadeIn 0.4s ease-out;
}

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

.breed-info h3 {
  font-family: var(--font-serif-jp);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.breed-info .kanji {
  font-size: 1.25rem;
  color: var(--color-gold-accent);
  margin-left: 0.5rem;
}

.breed-meaning {
  font-size: 1.05rem;
  color: var(--color-teal-accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.breed-desc {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.breed-specs {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--color-abyss-card-border);
  padding-top: 1.25rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.spec-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.breed-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Weather Modes Showcase
   -------------------------------------------------------------------------- */
.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.weather-card {
  background: var(--color-abyss-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-abyss-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.weather-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
}

.weather-media {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.weather-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.weather-card:hover .weather-media img {
  transform: scale(1.05);
}

.weather-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(3, 12, 20, 0.75);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.weather-body {
  padding: 1.75rem;
}

.weather-title {
  font-family: var(--font-serif-jp);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.weather-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Screenshots Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-abyss-card-border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  cursor: pointer;
  background: var(--color-abyss-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-teal-accent);
  box-shadow: var(--shadow-glow-teal);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   Download CTA Section
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(14, 59, 78, 0.8) 0%, rgba(3, 20, 32, 0.9) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 60px rgba(0, 229, 255, 0.15);
}

.cta-banner h2 {
  font-family: var(--font-serif-jp);
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #02070c;
  border-top: 1px solid var(--color-abyss-card-border);
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h4 {
  font-family: var(--font-serif-jp);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

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

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-teal-accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Content Pages (Privacy Policy & About Us)
   -------------------------------------------------------------------------- */
.content-page {
  padding-top: 7rem;
  padding-bottom: 5rem;
  min-height: 100vh;
}

.content-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-abyss-card-border);
}

.content-header h1 {
  font-family: var(--font-serif-jp);
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.content-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.content-body {
  background: var(--color-abyss-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-abyss-card-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.content-body h2 {
  font-family: var(--font-serif-jp);
  font-size: 1.65rem;
  margin: 2.25rem 0 1rem;
  color: #ffffff;
  border-left: 3px solid var(--color-teal-accent);
  padding-left: 1rem;
}

.content-body h2:first-of-type {
  margin-top: 0;
}

.content-body h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--color-gold-accent);
}

.content-body p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.content-body ul, .content-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

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

.policy-badge-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.policy-badge {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.policy-badge-icon {
  font-size: 1.75rem;
}

.policy-badge-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.policy-badge-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   WebView Specific Styling (Triggered via body.in-webview or ?webview=true)
   -------------------------------------------------------------------------- */
body.in-webview {
  background: #030c14 !important;
  background-image: none !important;
}

body.in-webview .navbar,
body.in-webview .footer,
body.in-webview .webview-hide {
  display: none !important;
}

body.in-webview .content-page {
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
  max-width: 100% !important;
}

body.in-webview .content-body {
  border: none !important;
  box-shadow: none !important;
  padding: 1.25rem !important;
  background: transparent !important;
}

body.in-webview .content-header h1 {
  font-size: 2rem !important;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .breed-card.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 12, 20, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--color-abyss-card-border);
  }
  
  .navbar .nav-links.open {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .phone-mockup {
    width: 270px;
  }
  
  .content-body {
    padding: 1.75rem 1.25rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}
