/* ===== TOTONOE Corporate Website CSS ===== */

/* ===== CSS Variables ===== */
:root {
  --primary: #1a2e5a;
  --primary-light: #2c4a8a;
  --primary-dark: #0f1e3d;
  --accent: #00b4d8;
  --accent2: #0096c7;
  --accent-light: #e0f7fd;
  --bg: #f0f4f8;
  --bg-gray: #f7f9fc;
  --card: #ffffff;
  --text: #1a2e5a;
  --text-sub: #6b7a99;
  --text-light: rgba(255,255,255,0.85);
  --border: #dde3ed;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 2px 8px rgba(26,46,90,0.08);
  --shadow-md: 0 8px 32px rgba(26,46,90,0.12);
  --shadow-lg: 0 20px 60px rgba(26,46,90,0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ===== Container ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Section ===== */
.section { padding: 96px 0; }
.section-gray { background: var(--bg-gray); }
.section-primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-badge-light {
  background: rgba(255,255,255,0.15);
  color: white;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-title-light { color: white; }
.section-desc {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-desc-light { color: rgba(255,255,255,0.75); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,180,216,0.4);
}
.btn-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,180,216,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}
.btn-outline:hover {
  background: var(--bg);
  border-color: var(--primary);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
}
.btn-white {
  background: white;
  color: var(--primary);
  border-color: white;
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 2px;
  line-height: 1;
}
.logo-tagline {
  font-size: 9px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
}
.nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover {
  color: var(--primary);
  background: var(--bg);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1a4080 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.12;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -100px; right: -100px;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: #7c3aed;
  bottom: 0; left: -100px;
}
.hero-shape-3 {
  width: 300px; height: 300px;
  background: var(--accent);
  bottom: 200px; right: 200px;
  opacity: 0.06;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,216,0.2);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(0,180,216,0.3);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}
.highlight {
  color: var(--accent);
  position: relative;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.85;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-num span {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-left: 2px;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 1px;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.pc-only { display: block; }

/* ===== PHONE MOCKUP ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-mockup {
  position: relative;
}
.phone-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(0,180,216,0.25) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.phone-frame {
  width: 300px;
  background: #0a1628;
  border-radius: 42px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
}
.phone-frame::before {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background: #1a2e5a;
  border-radius: 3px;
  margin: 0 auto 12px;
}
.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.phone-header {
  background: var(--primary);
  padding: 14px 14px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-logo {
  color: white;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
}
.phone-user {
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 600;
}
.phone-toolbar {
  padding: 10px 14px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}
.phone-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.phone-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.phone-btn-refresh, .phone-btn-add {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.phone-btn-refresh {
  background: var(--bg);
  color: var(--text-sub);
  border: 1px solid var(--border);
}
.phone-btn-add {
  background: var(--accent);
  color: white;
}
.phone-filters {
  display: flex;
  gap: 5px;
  padding: 6px 10px;
  background: white;
  overflow-x: auto;
}
.phone-chip {
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bg);
  color: var(--text-sub);
  border: 1px solid var(--border);
}
.phone-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.phone-cards {
  flex: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.phone-card {
  background: white;
  border-radius: 10px;
  padding: 10px 10px 8px;
  border-left: 4px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.phone-card.status-working { border-left-color: var(--warning); }
.phone-card.status-ready { border-left-color: var(--accent); }
.phone-card.status-done { border-left-color: var(--success); }
.phone-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5px;
}
.phone-card-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}
.phone-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  white-space: nowrap;
  margin-left: 4px;
}
.phone-badge.working { background: #fef3c7; color: #92400e; }
.phone-badge.ready { background: #e0f2fe; color: #0369a1; }
.phone-badge.done { background: #dcfce7; color: #166534; }
.phone-card-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-sub);
  margin-bottom: 2px;
}
.phone-card-meta i { color: var(--accent); font-size: 9px; }
.phone-card-tags {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.phone-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 9px;
  color: var(--text-sub);
}
.phone-nav {
  background: white;
  display: flex;
  border-top: 1px solid var(--border);
}
.phone-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  color: var(--text-sub);
  font-size: 9px;
  font-weight: 600;
}
.phone-nav-item.active { color: var(--primary); }
.phone-nav-item i { font-size: 16px; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.icon-blue { background: #dbeafe; color: #1d4ed8; }
.icon-green { background: #dcfce7; color: #16a34a; }
.icon-orange { background: #fef3c7; color: #d97706; }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-cyan { background: #e0f7fd; color: #0096c7; }
.icon-red { background: #fee2e2; color: #dc2626; }
.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feature-list li {
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-list li i {
  color: var(--success);
  font-size: 12px;
  flex-shrink: 0;
}

/* ===== WORK TYPES ===== */
.work-types-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 16px;
}
.work-type-item {
  background: white;
  border-radius: 14px;
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
}
.work-type-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.work-type-item i {
  font-size: 24px;
  color: var(--accent);
}
.work-type-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* ===== HOW IT WORKS ===== */
.steps-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 40px 28px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--border);
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 60px;
}
.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  margin: 0 auto 20px;
}
.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.benefit-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(0,180,216,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin: 0 auto 20px;
}
.benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}
.benefit-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

/* ===== ROLES ===== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.role-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.role-super { border-color: #7c3aed; }
.role-admin { border-color: var(--accent); }
.role-worker { border-color: #64748b; }
.role-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.role-super .role-icon { background: #ede9fe; color: #7c3aed; }
.role-admin .role-icon { background: #e0f7fd; color: var(--accent2); }
.role-worker .role-icon { background: #f1f5f9; color: #64748b; }
.role-badge-label {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}
.role-super .role-badge-label { color: #7c3aed; }
.role-admin .role-badge-label { color: var(--accent2); }
.role-worker .role-badge-label { color: #64748b; }
.role-features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.role-features li {
  font-size: 14px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 9px;
}
.role-super .role-features li i { color: #7c3aed; }
.role-admin .role-features li i { color: var(--accent); }
.role-worker .role-features li i { color: #64748b; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg); }
.faq-question i {
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-question[aria-expanded="true"] { background: var(--accent-light); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }

/* ===== CONTACT ===== */
.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.contact-form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 7px;
}
.req { color: #f87171; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.15);
}
.form-group select option { color: var(--text); background: white; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-notice {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  min-height: 20px;
}
.form-notice.success { color: #86efac; }
.form-notice.error { color: #fca5a5; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-size: 26px;
  font-weight: 900;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.8;
}
.footer-links {
  display: flex;
  gap: 48px;
}
.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 500;
  border: none;
}
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ===== AOS Animations ===== */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos="fade-left"] {
  transform: translateX(32px);
}
[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}
[data-aos="fade-right"] {
  transform: translateX(-32px);
}
[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}
[data-aos-delay="50"] { transition-delay: 50ms; }
[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="150"] { transition-delay: 150ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }

/* ===== HERO VIDEO ===== */
.hero-video-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 520px;
}
.hero-video-inner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
  background: #000;
  aspect-ratio: 16/9;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.7) 0%, rgba(26,46,90,0.5) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 20px;
}
.hero-video-overlay:hover {
  background: linear-gradient(135deg, rgba(10,22,40,0.6) 0%, rgba(26,46,90,0.4) 100%);
}
.hero-video-overlay.hidden { display: none; }
.hero-play-btn {
  width: 72px;
  height: 72px;
  background: rgba(0,180,216,0.9);
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  transition: all var(--transition);
  box-shadow: 0 0 0 12px rgba(0,180,216,0.2);
}
.hero-play-btn:hover {
  background: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 0 20px rgba(0,180,216,0.15);
}
.hero-video-label {
  text-align: center;
}
.hero-video-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 6px;
}
.hero-video-label p {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  text-align: center;
}
.hero-video-caption {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-style: italic;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.hero-video-caption i {
  color: var(--accent);
  font-size: 14px;
}
.phone-mockup-hidden { display: none; }

/* ===== VIDEO SECTION ===== */
.video-player-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.video-player-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(26,46,90,0.2);
  background: #000;
  aspect-ratio: 16/9;
  margin-bottom: 32px;
}
.video-main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.72) 0%, rgba(26,46,90,0.55) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  cursor: pointer;
  transition: all var(--transition);
}
.video-overlay:hover {
  background: linear-gradient(135deg, rgba(10,22,40,0.6) 0%, rgba(26,46,90,0.4) 100%);
}
.video-overlay.hidden { display: none; }
.video-play-btn {
  width: 88px;
  height: 88px;
  background: rgba(0,180,216,0.92);
  border: 4px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  transition: all var(--transition);
  box-shadow: 0 0 0 16px rgba(0,180,216,0.2);
}
.video-play-btn:hover {
  background: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 0 0 28px rgba(0,180,216,0.1);
}
.video-overlay-text {
  text-align: center;
}
.video-overlay-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 10px;
}
.video-overlay-title {
  color: white;
  font-size: 22px;
  font-weight: 800;
}
.video-features {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.video-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  max-width: 260px;
  background: white;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.video-feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.video-feature-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.video-feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.video-feature-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .work-types-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .roles-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .steps-wrap {
    flex-direction: column;
    align-items: center;
  }
  .step-arrow {
    transform: rotate(90deg);
    margin: -8px 0;
  }
  .nav { display: none; }
  .header-actions { display: none; }
  .hamburger { display: flex; }
  .header.menu-open .nav {
    display: block;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: white;
    padding: 16px 0;
    box-shadow: var(--shadow-lg);
  }
  .header.menu-open .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .header.menu-open .nav-link {
    display: block;
    padding: 14px 24px;
    border-radius: 0;
    font-size: 16px;
  }
  .header.menu-open .header-actions {
    display: flex;
    padding: 16px 24px;
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 32px;
  }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual {
    display: flex;
    justify-content: center;
  }
  .hero-video-wrap {
    max-width: 100%;
  }
  .phone-mockup-hidden { display: none !important; }
  .pc-only { display: none; }
  .video-features {
    flex-direction: column;
    align-items: center;
  }
  .video-feature-item {
    max-width: 100%;
    width: 100%;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-links { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .work-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .section-header { margin-bottom: 40px; }
}
