@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&family=Noto+Sans+JP:wght@400;700;900&display=swap');

:root {
  --primary-color: #002244;
  --accent-color: #ff5500;
  --accent-hover: #cc4400;
  --bg-color: #ffffff;
  --bg-secondary: #f4f7f9;
  --text-main: #1a1a1a;
  --text-light: #555555;
  --border-color: #e0e0e0;
}

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

body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.flex-row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
.flex-row.reverse {
  flex-direction: row-reverse;
}
.flex-col {
  flex: 1;
}

/* Typography */
.title-main {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

/* Premium Effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden; /* For images inside */
}

/* Images */
.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* Buttons */
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color) 0%, #ff8800 100%);
  color: #fff;
  font-weight: 700;
  padding: 18px 45px;
  border-radius: 50px;
  box-shadow: 0 12px 24px rgba(255, 85, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  font-size: 1.1rem;
  text-align: center;
}

.btn-cta:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 85, 0, 0.4);
  color: #fff;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-radius: 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.site-logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  font-weight: 700;
}

.nav-menu a:not(.btn-cta):hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  opacity: 0.6;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px;
  max-width: 900px;
  width: 90%;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Trust Signals Section */
.trust-section {
  background: linear-gradient(rgba(0,34,68,0.9), rgba(0,34,68,0.9)), url('https://images.unsplash.com/photo-1541888086925-921eb2309f40?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover fixed;
  color: #fff;
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.trust-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 10px;
}

/* Services 3D Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: #fff;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  padding-bottom: 30px;
}

.service-card:hover {
  transform: translateY(-15px) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.service-card:hover .card-image {
  transform: scale(1.05);
}

.service-card-content {
  padding: 30px;
}

.service-title {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Page Header Backgrounds */
.page-header {
  padding: 150px 0 80px; 
  color: #fff; 
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 34, 68, 0.7); /* Navy overlay */
  z-index: 1;
}
.page-header-content {
  position: relative;
  z-index: 2;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.floating-cta .badge {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  color: var(--primary-color);
}

/* Footer */
.site-footer {
  background: #111;
  color: #888;
  padding: 80px 0 30px;
  margin-top: 100px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .trust-grid { grid-template-columns: 1fr; gap: 30px; }
  .flex-row { flex-direction: column; }
  .nav-menu { display: none; }
  .title-main { font-size: 2rem; }
}
