/* =========================================================================
   IT-Doctor LP Styles
   Theme: Modern, Minimal, Glassmorphism, Premium Dark Navy
   ========================================================================= */

/* Variables */
:root {
  --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
  
  /* Color Palette - Premium Dark */
  --bg-color: #020617; /* Slate 950 */
  --bg-surface: #0f172a; /* Slate 900 */
  --bg-glass: rgba(15, 23, 42, 0.6);
  --bg-glass-light: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  /* Accents */
  --accent-blue: #38bdf8; /* Sky 400 */
  --accent-gold: #fbbf24; /* Amber 400 */
  --gradient-primary: linear-gradient(135deg, var(--accent-blue) 0%, #818cf8 100%);
  
  /* Text */
  --text-main: #f8fafc; /* Slate 50 */
  --text-muted: #94a3b8; /* Slate 400 */
  
  /* Layout */
  --container-width: 1100px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card {
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
  padding: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

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

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

/* Shine Effect for Primary Buttons */
.shine-effect {
  position: relative;
  overflow: hidden;
}
.shine-effect::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 4s infinite;
}
@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* Animation utilities */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------------------- */
/* Components                                                                 */
/* -------------------------------------------------------------------------- */

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: all var(--transition-normal);
  background: transparent;
}

.header.scrolled {
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-right: 0.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text small {
  font-size: 0.75rem;
  color: var(--accent-blue);
  font-weight: 500;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2,6,23,0.3) 0%, rgba(2,6,23,0.95) 100%);
  z-index: -1;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Pain Points / Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pain-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.icon-wrapper {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-blue);
}

.pain-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* About Developer */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 10px;
}

.about-image img {
  border-radius: 16px;
  filter: grayscale(20%) contrast(1.1);
}

.about-badge {
  position: absolute;
  top: 30px; right: -10px;
  background: var(--gradient-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 99px 0 0 99px;
  font-size: 0.875rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.lead-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.signature {
  display: inline-flex;
  flex-direction: column;
  border-left: 2px solid var(--accent-blue);
  padding-left: 1rem;
}

.signature strong {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
}

.signature span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Services */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  border-top: 2px solid transparent;
}

.service-card:hover {
  border-top-color: var(--accent-blue);
}

.service-number {
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}

.service-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.service-price span {
  font-size: 1rem;
  font-weight: normal;
  color: var(--text-muted);
}

.service-price.accent {
  color: var(--accent-gold);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Workflow Timeline */
.timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 24px;
  width: 2px;
  background: var(--border-glass);
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 0; top: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  z-index: 2;
}

.timeline-content {
  padding: 1.5rem;
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Case Studies */
.cases {
  background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.5));
}

.case-card {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 2.5rem;
}

.case-tag {
  display: inline-block;
  background: rgba(251, 191, 36, 0.1);
  color: var(--accent-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.case-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.case-info p {
  color: var(--text-muted);
}

.coming-soon {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Contact / Final CTA */
.final-cta {
  padding: 120px 0;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 1rem;
  color: #fff;
  font-family: inherit;
  transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(0,0,0,0.4);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
  background: var(--bg-surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

.footer-links a:hover {
  color: var(--text-main);
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-dot {
    width: 40px; height: 40px;
    font-size: 1rem;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
