/* Digital Marketing Page - Redesigned Styles */

/* ============================================
   Variables & Base
   ============================================ */
.dm-page {
  padding-top: 0;
}

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

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.dm-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0px 0 80px;
}

.dm-hero-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.dm-hero-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 30px;
}

.dm-hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 30px;
}

.dm-hero-lead {
  font-size: clamp(1rem, 2vw, 1rem);
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 60px;
}

.dm-hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dm-hero-scroll span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.dm-hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

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

/* ============================================
   Section Common
   ============================================ */
.dm-section {
  padding: 120px 0;
  position: relative;
}

.dm-section-header {
  margin-bottom: 80px;
}

.dm-section-num {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.dm-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 20px;
}

.dm-section-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

/* ============================================
   Issues Section
   ============================================ */
.dm-issues {
  background: transparent;
}

.dm-issues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .dm-issues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .dm-issues-grid {
    grid-template-columns: 1fr;
  }
}

.dm-issue-card {
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.dm-issue-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
}

.dm-issue-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.dm-issue-icon svg {
  width: 100%;
  height: 100%;
  stroke: rgba(255, 255, 255, 0.6);
}

.dm-issue-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 16px;
}

.dm-issue-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Services Section
   ============================================ */
.dm-services {
  background: transparent;
}

.dm-service-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 60px;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dm-service-item:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .dm-service-item {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px 0;
  }
}

.dm-service-num {
  font-family: 'Oswald', sans-serif;
  font-size: 4rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

@media (max-width: 768px) {
  .dm-service-num {
    font-size: 3rem;
  }
}

.dm-service-content {
  max-width: 800px;
}

.dm-service-header {
  margin-bottom: 30px;
}

.dm-service-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 8px;
}

.dm-service-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
}

.dm-service-desc {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.dm-service-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.dm-service-platforms span {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.dm-service-platforms span:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.dm-service-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .dm-service-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.dm-feature {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dm-feature:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dm-feature-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.dm-feature p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ============================================
   Service List - Simple Style
   ============================================ */
.dm-service-list {
  margin-bottom: 32px;
}

.dm-service-list-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dm-service-list-item:first-child {
  padding-top: 0;
}

.dm-service-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dm-service-list-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}

.dm-service-list-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Inline Tags */
.dm-inline-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.dm-inline-tags-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-right: 4px;
}

.dm-inline-tags span:not(.dm-inline-tags-label) {
  padding: 6px 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.dm-inline-tags span:not(.dm-inline-tags-label):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.dm-platforms-inline span:not(.dm-inline-tags-label) {
  border-radius: 100px;
  padding: 6px 16px;
}

/* Pricing Inline */
.dm-pricing-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

@media (max-width: 768px) {
  .dm-pricing-inline {
    flex-direction: column;
    gap: 12px;
  }
}

.dm-pricing-inline-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.dm-pricing-inline-item i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Metrics Inline */
.dm-metrics-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 8px;
}

.dm-metrics-inline-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.dm-metrics-inline span:not(.dm-metrics-inline-label) {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.dm-metrics-inline span i {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Service Note */
.dm-service-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0;
}

.dm-service-note i {
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

/* Metrics Grid (legacy) */
.dm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .dm-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .dm-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dm-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dm-metric-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.dm-metric-icon {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
}

.dm-metric-item:hover .dm-metric-icon {
  color: rgba(255, 255, 255, 0.8);
}

.dm-metric-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

/* ============================================
   Process Section
   ============================================ */
.dm-process {
  background: transparent;
}

.dm-process-timeline {
  position: relative;
  padding-left: 60px;
}

.dm-process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
}

@media (max-width: 768px) {
  .dm-process-timeline {
    padding-left: 50px;
  }
  
  .dm-process-timeline::before {
    left: 20px;
  }
}

.dm-process-step {
  position: relative;
  padding: 40px 0;
}

.dm-process-step:last-child {
  padding-bottom: 0;
}

.dm-process-num {
  position: absolute;
  left: -60px;
  top: 40px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .dm-process-num {
    left: -50px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

.dm-process-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.dm-process-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  max-width: 600px;
}

.dm-process-period {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
}

/* ============================================
   FAQ Section
   ============================================ */
.dm-faq {
  background: transparent;
}

.dm-faq-list {
  max-width: 900px;
}

.dm-faq-item {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dm-faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dm-faq-q {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.dm-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.dm-faq-q h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  padding-top: 4px;
}

.dm-faq-a {
  padding-left: 52px;
}

.dm-faq-a p {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.dm-faq-a strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* ============================================
   CTA Section
   ============================================ */
.dm-cta {
  padding: 160px 0;
  background: transparent;
}

.dm-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.dm-cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.4;
}

.dm-cta-content > p {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
}

/* Liquid Glass Button */
@property --dm-liquid-angle {
  syntax: '<angle>';
  initial-value: -75deg;
  inherits: false;
}

.dm-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 48px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dm-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.02) 60%,
    rgba(255, 255, 255, 0.06) 100%
  );
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  z-index: -2;
}

.dm-cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    var(--dm-liquid-angle),
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 70%,
    rgba(255, 255, 255, 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  animation: dmLiquidBorderRotate 8s linear infinite;
}

@keyframes dmLiquidBorderRotate {
  0% {
    --dm-liquid-angle: -75deg;
  }
  100% {
    --dm-liquid-angle: 285deg;
  }
}

.dm-cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  color: #fff;
}

.dm-cta-btn:hover::before {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.05) 60%,
    rgba(255, 255, 255, 0.12) 100%
  );
}

.dm-cta-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.dm-cta-btn:hover svg {
  transform: translateX(4px);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .dm-section {
    padding: 80px 0;
  }
  
  .dm-section-header {
    margin-bottom: 50px;
  }
  
  .dm-hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  
  .dm-hero-title {
    margin-bottom: 24px;
  }
  
  .dm-hero-lead {
    margin-bottom: 40px;
  }
  
  .dm-cta {
    padding: 100px 0;
  }
  
  .dm-cta-btn {
    padding: 18px 40px;
    font-size: 0.95rem;
  }
}

/* ============================================
   Animation Delays
   ============================================ */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
