/* ===================================
   うみトモ Landing Page - Modern Design
   Glassmorphism, Subtle Animations, Mobile-First
   =================================== */

/* CSS Variables */
:root {
  /* Colors - Refined Ocean Palette */
  --color-bg: #fafbfc;
  --color-bg-dark: #0a0f1a;
  --color-surface: #ffffff;
  --color-surface-elevated: #ffffff;

  --color-primary: #0066ff;
  --color-primary-light: #3385ff;
  --color-primary-dark: #0052cc;
  --color-primary-subtle: rgba(0, 102, 255, 0.08);

  --color-accent: #00d4aa;
  --color-accent-light: #33ddbb;

  --color-text: #0a0f1a;
  --color-text-secondary: #5c6370;
  --color-text-tertiary: #8b919a;
  --color-text-inverse: #ffffff;

  --color-border: #e8eaed;
  --color-border-light: #f1f3f4;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
  --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d4a6e 100%);
  --gradient-cta: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00d4aa 100%);
  --gradient-text: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

  /* Typography */
  --font-primary: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.15);
  --shadow-glow-accent: 0 0 40px rgba(0, 212, 170, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Typography Utilities */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-text-inverse);
  transition: opacity var(--duration-fast) var(--ease-out);
}

.header.scrolled .logo {
  color: var(--color-text);
}

.logo:hover {
  opacity: 0.8;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration-fast) var(--ease-out);
}

.header.scrolled .nav-links a {
  color: var(--color-text-secondary);
}

.nav-links a:hover {
  color: var(--color-text-inverse);
}

.header.scrolled .nav-links a:hover {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-inverse);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

.header.scrolled .mobile-menu-btn span {
  background: var(--color-text);
}

.mobile-menu-btn.active span:first-child {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:last-child {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-surface);
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  z-index: 99;
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.mobile-menu-links a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-3) 0;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  border: none;
  white-space: nowrap;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm), 0 0 0 0 rgba(0, 102, 255, 0);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(0, 102, 255, 0.3);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background: var(--color-primary-subtle);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-white {
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
}

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

.btn-ghost {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding: calc(72px + var(--space-16)) 0 var(--space-16);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 102, 255, 0.3), transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  /* animation: float 20s infinite ease-in-out; */
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(0, 102, 255, 0.4);
  top: -20%;
  right: -10%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 170, 0.3);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(0, 102, 255, 0.2);
  top: 40%;
  left: 30%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-inverse);
  backdrop-filter: blur(10px);
  margin-bottom: var(--space-6);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-8);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 580px;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.5),
    0 30px 60px -30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  /* animation: phoneFloat 6s ease-in-out infinite; */
}

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

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

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
  border-radius: 36px;
  overflow: hidden;
}

.app-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

/* Hero mockup inner content - 70% scale */
.app-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 11px;
  padding-top: 25px;
  font-size: 0.525rem;
  font-weight: 600;
  color: #09090B;
}

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

.status-icons svg {
  width: 10px;
  height: 10px;
  opacity: 0.8;
}

.app-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 11px;
  border-bottom: 1px solid #E4E4E7;
}

.app-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #09090B;
}

.app-header-right {
  display: flex;
  align-items: center;
}

.notification-bell {
  position: relative;
  width: 17px;
  height: 17px;
}

.notification-bell svg {
  width: 14px;
  height: 14px;
  color: #09090B;
}

.notification-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 6px;
  background: #EF4444;
  border-radius: 50%;
  border: 1px solid #fff;
}

.app-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 6px;
}

/* App Section */
.app-section {
  padding: 8px 0;
}

.app-section-header {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  margin-bottom: 6px;
  font-size: 0.56rem;
  font-weight: 600;
  color: #09090B;
}

.app-section-header svg {
  width: 10px;
  height: 10px;
  color: #09090B;
}

/* App Tabs */
.app-tabs {
  display: flex;
  gap: 4px;
  padding: 0 8px;
  margin-bottom: 7px;
}

.app-tab {
  padding: 3px 7px;
  font-size: 0.45rem;
  font-weight: 500;
  border-radius: 999px;
  background: #F4F4F5;
  color: #71717A;
}

.app-tab.active {
  background: #18181B;
  color: #FAFAFA;
}

/* Recruitment Cards */
.recruitment-cards {
  display: flex;
  gap: 6px;
  padding: 0 8px;
  overflow-x: auto;
}

.recruitment-card {
  flex-shrink: 0;
  width: 75px;
  padding: 5px;
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 5px;
}

.recruitment-avatar {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
  border-radius: 50%;
  margin-bottom: 3px;
}

.recruitment-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.recruitment-title {
  font-size: 0.36rem;
  font-weight: 600;
  color: #09090B;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recruitment-location {
  font-size: 0.32rem;
  color: #71717A;
}

.recruitment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 2px;
}

.recruitment-tags .tag {
  padding: 1px 3px;
  font-size: 0.3rem;
  background: #F4F4F5;
  color: #71717A;
  border-radius: 2px;
}

/* Divelog Card */
.divelog-card {
  margin: 0 8px;
  padding: 7px;
  background: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 6px;
}

.divelog-card + .divelog-card {
  margin-top: 6px;
}

.divelog-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.divelog-avatar {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
}

.divelog-avatar-2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.divelog-user {
  display: flex;
  flex-direction: column;
}

.divelog-name {
  font-size: 0.45rem;
  font-weight: 600;
  color: #09090B;
}

.divelog-date {
  font-size: 0.38rem;
  color: #71717A;
}

.divelog-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 6px;
}

.divelog-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  border-radius: 3px;
}

.divelog-image:nth-child(2) {
  background: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
}

.divelog-image:nth-child(3) {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.divelog-stats {
  display: flex;
  gap: 8px;
  font-size: 0.38rem;
  color: #71717A;
}

.divelog-stats span {
  display: flex;
  align-items: center;
  gap: 1px;
}

/* Tab Bar */
.app-tab-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 8px;
  padding-bottom: 14px;
  background: #FFFFFF;
  border-top: 1px solid #E4E4E7;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #71717A;
}

.tab-item svg {
  width: 13px;
  height: 13px;
}

.tab-item span {
  font-size: 0.35rem;
  font-weight: 500;
}

.tab-item.active {
  color: #18181B;
}

.tab-item.active svg {
  fill: #18181B;
}

.tab-item.tab-center {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: var(--color-text-inverse);
  margin-top: -16px;
  box-shadow: var(--shadow-md);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  /* animation: cardFloat 8s ease-in-out infinite; */
}

.floating-card-1 {
  bottom: 25%;
  left: -30px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation-delay: -2s;
}

.floating-card-2 {
  top: 20%;
  right: -20px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation-delay: -5s;
}

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

.floating-card-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.floating-card-icon svg {
  width: 20px;
  height: 20px;
}

.floating-card-text {
  display: flex;
  flex-direction: column;
}

.floating-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.floating-card-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.floating-card-avatar {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
}

.floating-card-avatar svg {
  width: 18px;
  height: 18px;
}

.floating-card-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* ===================================
   Section Styles
   =================================== */
section {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.section-label {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

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

/* ===================================
   Features Section
   =================================== */
.features {
  background: var(--color-bg);
}

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

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.feature-card-hero {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  background: var(--gradient-hero);
  border: none;
  color: var(--color-text-inverse);
}

.feature-card-hero:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.feature-card-hero .feature-title {
  color: var(--color-text-inverse);
}

.feature-card-hero .feature-description {
  color: rgba(255, 255, 255, 0.7);
}

.feature-card-hero .feature-list li {
  color: rgba(255, 255, 255, 0.8);
}

.feature-card-hero .feature-list li::before {
  color: var(--color-accent);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.feature-card-hero .feature-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-inverse);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

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

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

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

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

.photo-grid-demo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  width: 100%;
  max-width: 200px;
}

.demo-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
  border-radius: var(--radius-md);
  animation: shimmer 3s infinite;
}

.demo-photo:nth-child(2) { animation-delay: 0.5s; }
.demo-photo:nth-child(3) { animation-delay: 1s; }
.demo-photo:nth-child(4) { animation-delay: 1.5s; }

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Pain Points & Solutions */
.pain-points {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.pain-point {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
}

.pain-point:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pain-icon {
  font-size: 1.5rem;
}

.pain-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.solution-arrow {
  display: flex;
  justify-content: center;
  margin: var(--space-6) 0;
}

.solution-arrow svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  animation: bounce 2s infinite;
}

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

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.solution-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

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

.solution-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.solution-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

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

@media (max-width: 768px) {
  .pain-points {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }

  .pain-point {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .solution-card {
    padding: var(--space-6);
  }

  .solution-number {
    font-size: 2rem;
  }
}

/* ===================================
   Dive Log Section
   =================================== */
.dive-log {
  background: var(--color-surface);
}

.dive-log-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.dive-log-content {
  max-width: 480px;
}

.dive-log-content .section-label,
.dive-log-content .section-title,
.dive-log-content .section-description {
  text-align: left;
}

.dive-log-features {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.log-feature {
  display: flex;
  gap: var(--space-4);
}

.log-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.log-feature-icon svg {
  width: 22px;
  height: 22px;
}

.log-feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

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

/* Dive Log Visual */
.dive-log-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.log-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.log-card-bg {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  opacity: 0.1;
}

.log-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.log-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

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

.log-location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.log-location svg {
  color: var(--color-primary);
}

.log-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.log-stat {
  text-align: center;
}

.log-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.log-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
}

.log-photos {
  display: flex;
  gap: var(--space-2);
}

.log-photo {
  flex: 1;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius-md);
}

.log-photo:nth-child(2) { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.log-photo:nth-child(3) { background: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%); }

.log-photo-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-text) !important;
  color: var(--color-text-inverse);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===================================
   App Screens Section
   =================================== */
.app-screens {
  background: var(--color-surface);
  padding: var(--space-24) 0;
}

.screens-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.screen-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.screen-mockup {
  width: 220px;
  height: 440px;
  background: #000;
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.screen-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
}

.screen-content {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mock-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px;
  padding-top: 28px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #09090B;
}

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

.mock-status-icons svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.mock-header {
  padding: 10px 14px;
  border-bottom: 1px solid #E4E4E7;
}

.mock-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #09090B;
}

/* View Toggle */
.mock-view-toggle {
  display: flex;
  gap: 4px;
  padding: 8px 14px;
  background: #F4F4F5;
  margin: 8px 10px;
  border-radius: 6px;
}

.mock-toggle-item {
  flex: 1;
  text-align: center;
  padding: 4px 8px;
  font-size: 0.55rem;
  font-weight: 500;
  color: #71717A;
  border-radius: 4px;
}

.mock-toggle-item.active {
  background: #fff;
  color: #09090B;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Albums Grid */
.mock-albums-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px 10px;
  overflow: hidden;
}

.mock-album-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E4E4E7;
}

.mock-album-cover {
  height: 60px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
}

.mock-album-cover.cover-2 {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.mock-album-cover.cover-3 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mock-album-cover.cover-4 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.mock-album-info {
  padding: 6px 8px;
}

.mock-album-title {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  color: #09090B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-album-count {
  font-size: 0.5rem;
  color: #71717A;
}

/* Dive Log List */
.mock-divelog-list {
  flex: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.mock-divelog-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid #E4E4E7;
  border-radius: 8px;
}

.mock-divelog-badge {
  width: 36px;
  height: 36px;
  background: #18181B;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mock-divelog-main {
  flex: 1;
  min-width: 0;
}

.mock-divelog-date {
  font-size: 0.5rem;
  color: #71717A;
  margin-bottom: 2px;
}

.mock-divelog-location {
  font-size: 0.55rem;
  font-weight: 600;
  color: #09090B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.mock-divelog-stats {
  display: flex;
  gap: 8px;
  font-size: 0.45rem;
  color: #71717A;
}

/* Profile Section */
.mock-profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 14px;
  border-bottom: 1px solid #E4E4E7;
}

.mock-profile-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
}

.mock-profile-avatar svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.mock-camera-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: #18181B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.mock-camera-badge svg {
  width: 10px;
  height: 10px;
  color: #fff;
}

.mock-profile-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: #09090B;
}

.mock-profile-email {
  font-size: 0.5rem;
  color: #71717A;
}

/* Stats Grid */
.mock-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 14px;
}

.mock-stat-card {
  text-align: center;
  padding: 8px;
  background: #F4F4F5;
  border-radius: 8px;
}

.mock-stat-number {
  font-size: 0.7rem;
  font-weight: 700;
  color: #09090B;
}

.mock-stat-label {
  font-size: 0.45rem;
  color: #71717A;
}

/* Menu Section */
.mock-menu-section {
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #F4F4F5;
  border-radius: 8px;
  font-size: 0.55rem;
  font-weight: 500;
  color: #09090B;
}

.mock-menu-item svg {
  width: 14px;
  height: 14px;
  color: #71717A;
}

/* FAB Button */
.mock-fab {
  position: absolute;
  bottom: 70px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: #18181B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.mock-fab svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

/* Tab Bar */
.mock-tab-bar {
  display: flex;
  justify-content: space-around;
  padding: 6px 8px;
  padding-bottom: 16px;
  border-top: 1px solid #E4E4E7;
  background: #fff;
  margin-top: auto;
}

.mock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #71717A;
}

.mock-tab svg {
  width: 16px;
  height: 16px;
}

.mock-tab span {
  font-size: 0.45rem;
  font-weight: 500;
}

.mock-tab.active {
  color: #18181B;
}

/* Screen Info */
.screen-info {
  text-align: center;
  max-width: 240px;
}

.screen-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.screen-description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .screens-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .screen-item:last-child {
    grid-column: span 2;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .screens-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .screen-item:last-child {
    grid-column: span 1;
  }

  .screen-mockup {
    width: 200px;
    height: 400px;
  }
}

/* ===================================
   Recruitment Flow Section
   =================================== */
.recruitment-flow {
  background: var(--color-bg);
  padding: var(--space-24) 0;
}

.flow-showcase {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-12);
  padding: 0 var(--space-4);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.flow-step-number {
  display: none;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 200px;
  color: var(--color-text-tertiary);
  flex-shrink: 0;
}

.flow-arrow svg {
  width: 24px;
  height: 24px;
}

.flow-mockup {
  width: 180px;
  height: 360px;
  background: #000;
  border-radius: 24px;
  padding: 6px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.flow-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}

.flow-content {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.flow-status-bar {
  padding: 4px 12px;
  padding-top: 24px;
  font-size: 0.55rem;
  font-weight: 600;
  color: #09090B;
}

.flow-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid #E4E4E7;
  font-size: 0.7rem;
  font-weight: 600;
  color: #09090B;
}

.flow-header svg {
  color: #09090B;
}

/* Flow Form Styles */
.flow-form {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.flow-input-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.flow-input-group label {
  font-size: 0.5rem;
  font-weight: 600;
  color: #71717A;
}

.flow-input {
  padding: 6px 8px;
  background: #F4F4F5;
  border-radius: 4px;
  font-size: 0.5rem;
  color: #71717A;
}

.flow-input.filled {
  color: #09090B;
}

.flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.flow-tag {
  padding: 3px 6px;
  background: #F4F4F5;
  border-radius: 4px;
  font-size: 0.45rem;
  color: #71717A;
}

.flow-tag.selected {
  background: #18181B;
  color: #fff;
}

.flow-button-container {
  padding: 10px;
}

.flow-button {
  padding: 8px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.55rem;
  font-weight: 600;
}

.flow-button.primary {
  background: #18181B;
  color: #fff;
}

/* Flow Recruitment Detail */
.flow-recruitment-detail {
  padding: 10px;
  border-bottom: 1px solid #E4E4E7;
}

.flow-recruitment-title {
  font-size: 0.6rem;
  font-weight: 600;
  color: #09090B;
  margin-bottom: 4px;
}

.flow-recruitment-meta {
  display: flex;
  gap: 8px;
  font-size: 0.45rem;
  color: #71717A;
}

.flow-badge {
  background: #22C55E;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Flow Applicants */
.flow-applicants {
  flex: 1;
  padding: 8px 10px;
}

.flow-section-title {
  font-size: 0.5rem;
  font-weight: 600;
  color: #71717A;
  margin-bottom: 8px;
}

.flow-applicant {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #F4F4F5;
  border-radius: 6px;
  margin-bottom: 6px;
}

.flow-applicant-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
  border-radius: 50%;
  flex-shrink: 0;
}

.flow-applicant-avatar.alt {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.flow-applicant-info {
  flex: 1;
  min-width: 0;
}

.flow-applicant-name {
  font-size: 0.5rem;
  font-weight: 600;
  color: #09090B;
}

.flow-applicant-exp {
  font-size: 0.4rem;
  color: #71717A;
}

.flow-btn-accept {
  padding: 4px 8px;
  background: #18181B;
  color: #fff;
  border-radius: 4px;
  font-size: 0.4rem;
  font-weight: 600;
}

/* Flow Chat */
.flow-chat {
  flex: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.flow-chat-date {
  text-align: center;
  font-size: 0.4rem;
  color: #71717A;
  margin-bottom: 4px;
}

.flow-chat-message {
  display: flex;
  gap: 6px;
  align-items: flex-end;
}

.flow-chat-message.sent {
  flex-direction: row-reverse;
}

.flow-chat-avatar {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
  border-radius: 50%;
  flex-shrink: 0;
}

.flow-chat-avatar.alt {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.flow-chat-bubble {
  max-width: 110px;
  padding: 6px 8px;
  background: #F4F4F5;
  border-radius: 8px;
  border-bottom-left-radius: 2px;
}

.flow-chat-message.sent .flow-chat-bubble {
  background: #18181B;
  color: #fff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 2px;
}

.flow-chat-name {
  font-size: 0.4rem;
  font-weight: 600;
  color: #71717A;
  margin-bottom: 2px;
}

.flow-chat-text {
  font-size: 0.45rem;
  color: #09090B;
  line-height: 1.4;
}

.flow-chat-message.sent .flow-chat-text {
  color: #fff;
}

.flow-chat-input {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid #E4E4E7;
}

.flow-chat-input-field {
  flex: 1;
  padding: 6px 8px;
  background: #F4F4F5;
  border-radius: 16px;
  font-size: 0.45rem;
  color: #71717A;
}

.flow-chat-send {
  width: 24px;
  height: 24px;
  background: #18181B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Flow Shared Album */
.flow-shared-album {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-album-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flow-album-title {
  font-size: 0.55rem;
  font-weight: 600;
  color: #09090B;
}

.flow-album-members {
  display: flex;
  margin-left: 8px;
}

.flow-member-avatar {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
  border: 1.5px solid #fff;
  border-radius: 50%;
  margin-left: -6px;
}

.flow-member-avatar:nth-child(2) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.flow-member-avatar:nth-child(3) {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.flow-album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.flow-album-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
  border-radius: 4px;
}

.flow-album-photo.p2 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.flow-album-photo.p3 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.flow-album-photo.p4 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.flow-album-photo.p5 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.flow-album-photo.p6 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.flow-buddy-request {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #F4F4F5;
  border-radius: 8px;
  margin-top: auto;
}

.flow-buddy-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4aa 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.flow-buddy-icon svg {
  width: 12px;
  height: 12px;
}

.flow-buddy-request span {
  font-size: 0.45rem;
  color: #09090B;
  flex: 1;
}

/* Flow Step Info */
.flow-step-info {
  text-align: center;
  max-width: 180px;
}

.flow-step-info h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.flow-step-info p {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .flow-showcase {
    gap: var(--space-2);
  }

  .flow-mockup {
    width: 160px;
    height: 320px;
  }

  .flow-arrow {
    padding-top: 160px;
  }

  .flow-arrow svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 768px) {
  .flow-showcase {
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
  }

  .flow-arrow {
    padding-top: 0;
    transform: rotate(90deg);
  }

  .flow-mockup {
    width: 200px;
    height: 400px;
  }
}

/* ===================================
   Pricing Section
   =================================== */
.pricing {
  background: var(--color-surface);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-tertiary);
  transition: color var(--duration-fast) var(--ease-out);
}

.toggle-label.active {
  color: var(--color-text);
  font-weight: 600;
}

.toggle-btn {
  width: 52px;
  height: 28px;
  background: var(--color-border);
  border: none;
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}

.toggle-btn.active {
  background: var(--color-primary);
}

.toggle-indicator {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--color-surface);
  border-radius: 50%;
  transition: transform var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.toggle-btn.active .toggle-indicator {
  transform: translateX(24px);
}

.discount-badge {
  display: inline-block;
  margin-left: var(--space-2);
  padding: var(--space-1) var(--space-2);
  background: rgba(0, 212, 170, 0.1);
  color: var(--color-accent);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-grid-single {
  grid-template-columns: 1fr;
  max-width: 400px;
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.plan-tagline {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-1);
}

.pricing-amount {
  text-align: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.yearly-price {
  display: none;
}

.period {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.yearly-period {
  display: none;
}

.plan-features {
  margin-bottom: var(--space-6);
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-8);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.pricing-note a {
  color: var(--color-primary);
  font-weight: 500;
}

.pricing-note a:hover {
  text-decoration: underline;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
  position: relative;
  background: var(--gradient-cta);
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text-inverse);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.cta-title .text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  top: -30%;
  right: -10%;
}

.cta-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 170, 0.2);
  bottom: -30%;
  left: -10%;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}

.footer-brand .logo {
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-column a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-column a:hover {
  color: var(--color-text-inverse);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.social-links {
  display: flex;
  gap: var(--space-4);
}

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

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

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

  .hero-visual {
    order: -1;
  }

  .floating-card-1 {
    bottom: 10%;
    left: 5%;
  }

  .floating-card-2 {
    top: 15%;
    right: 5%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card-hero {
    grid-column: span 2;
  }

  .dive-log-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .dive-log-content {
    max-width: 100%;
    text-align: center;
  }

  .dive-log-content .section-label,
  .dive-log-content .section-title,
  .dive-log-content .section-description {
    text-align: center;
  }

  .dive-log-features {
    max-width: 480px;
    margin: var(--space-8) auto 0;
  }

  .log-feature {
    text-align: left;
  }

  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

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

  .mobile-menu {
    display: block;
  }

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

  .feature-card-hero {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .feature-card-visual {
    display: none;
  }

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

  .community-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero {
    padding-top: calc(72px + var(--space-8));
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .stat-divider {
    display: none;
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
  }

  .floating-card {
    display: flex;
    padding: var(--space-2) var(--space-3);
    font-size: 0.75rem;
  }

  .floating-card-1 {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
  }

  .floating-card-2 {
    top: 8%;
    right: 5%;
    left: auto;
    transform: none;
  }

  .floating-card-icon {
    width: 28px;
    height: 28px;
  }

  .floating-card-icon svg {
    width: 14px;
    height: 14px;
  }

  .floating-card-title {
    font-size: 0.8rem;
  }

  .floating-card-subtitle {
    font-size: 0.65rem;
  }

  .floating-card-avatar {
    width: 28px;
    height: 28px;
  }

  .floating-card-avatar svg {
    width: 14px;
    height: 14px;
  }

  .floating-card-name {
    font-size: 0.7rem;
  }

  .hero-scroll {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ===================================
   Animations
   =================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ===================================
   Mobile Carousel Styles
   =================================== */
.carousel-pagination {
  display: none;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.pagination-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  padding: 0;
}

.pagination-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

/* Mobile Carousel - Screens Section */
@media (max-width: 768px) {
  .carousel-pagination {
    display: flex;
  }

  /* App Screens Carousel */
  .screens-showcase.carousel-container {
    /* Reset grid to flex */
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: var(--space-6);
    padding: 0 var(--space-6);
    padding-left: var(--space-6);
    /* Break out of container to full viewport width */
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .screens-showcase.carousel-container::-webkit-scrollbar {
    display: none;
  }

  /* Add space after last item so it can snap to start */
  .screens-showcase.carousel-container::after {
    content: '';
    flex-shrink: 0;
    width: calc(100vw - 220px - var(--space-6) * 2);
  }

  .screens-showcase .screen-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 220px;
  }

  .screens-showcase .screen-item:last-child {
    grid-column: auto;
  }

  .screens-showcase .screen-mockup {
    width: 200px;
    height: 400px;
  }

  /* Flow Carousel */
  .flow-showcase.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-direction: row;
    /* Override justify-content: center from default */
    justify-content: flex-start;
    gap: var(--space-6);
    padding: 0 var(--space-6);
    padding-left: var(--space-6);
    /* Break out of container to full viewport width */
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    align-items: flex-start;
  }

  .flow-showcase.carousel-container::-webkit-scrollbar {
    display: none;
  }

  /* Add space after last item so it can snap to start */
  .flow-showcase.carousel-container::after {
    content: '';
    flex-shrink: 0;
    width: calc(100vw - 200px - var(--space-6) * 2);
  }

  .flow-showcase .flow-step {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 200px;
  }

  .flow-showcase .flow-arrow {
    display: none;
  }

  .flow-showcase .flow-mockup {
    width: 200px;
    height: 400px;
  }
}

/* Overlay/Stacking Mode for smaller screens */
@media (max-width: 480px) {
  .screens-showcase .screen-item {
    width: 180px;
  }

  .screens-showcase .screen-mockup {
    width: 180px;
    height: 360px;
  }

  /* Update after pseudo-element width for smaller item size */
  .screens-showcase.carousel-container::after {
    width: calc(100vw - 180px - var(--space-6) * 2);
  }

  .flow-showcase .flow-step {
    width: 180px;
  }

  .flow-showcase .flow-mockup {
    width: 180px;
    height: 360px;
  }

  /* Update after pseudo-element width for smaller item size */
  .flow-showcase.carousel-container::after {
    width: calc(100vw - 180px - var(--space-6) * 2);
  }

  /* Reduce section padding */
  .app-screens,
  .recruitment-flow {
    padding: var(--space-16) 0;
  }
}
