/*
Theme Name: Themedd Child (Dark Tech)
Template: themedd
Version: 2.2.0
*/

:root {
  /* Colors */
  --bg-dark: #0b0e14; /* ベースの黒 */
  --bg-panel: rgba(255, 255, 255, 0.03);
  --bg-panel-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --text-main: rgba(255, 255, 255, 0.92); /* 白文字 */
  --text-muted: rgba(255, 255, 255, 0.6);
  
  /* Accents */
  --accent-cyan: #00ffd2;
  --accent-purple: #7878ff;
  
  /* Dimensions */
  --lp-max: 1140px;
  --lp-pad: 24px;
  --radius: 12px;
}

/* =========================================
   BACKGROUND & BASE STYLES (ここを変更)
   ========================================= */
body {
  /* 背景をただの黒ではなく、深みのあるダークなグラデーションに工夫 */
  background: radial-gradient(ellipse at top, rgba(30, 35, 45, 1) 0%, var(--bg-dark) 70%);
  background-attachment: fixed; /* スクロールしても背景を固定して奥行きを出す */
  color: var(--text-main); /* 文字色を白に */
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
}

a { color: var(--text-main); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--accent-cyan); }


/* =========================================
   1. HIDE DEFAULT HEADER (Themedd)
   ========================================= */
.page-template-page-lp .site-header {
  display: none !important;
}
.admin-bar .lp-sticky { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .lp-sticky { top: 46px; }
}


/* =========================================
   2. STICKY NAV BAR (Dark)
   ========================================= */
.lp-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.lp-sticky__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lp-brand a {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
}
.lp-logo-img img {
  max-height: 32px;
  width: auto;
  display: block;
}
.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lp-nav-links {
  display: flex;
  gap: 20px;
}
.lp-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.lp-nav-links a:hover {
  color: var(--accent-cyan);
}
@media (max-width: 768px) {
  .lp-nav-links { display: none; }
}
.lp-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: 0.2s;
}
.lp-cart-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--accent-cyan);
}
.lp-cart-count {
  position: absolute;
  top: 0; right: -2px;
  background: var(--accent-purple);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-dark);
}


/* =========================================
   3. HERO SECTION (ここを変更)
   ========================================= */
.lp-hero {
  padding: 100px 0 60px; /* 上の余白を少し広げました */
  text-align: center;
}
.lp-hero__badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(120, 120, 255, 0.15);
  border: 1px solid rgba(120, 120, 255, 0.3);
  color: #a0a0ff;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lp-hero__title {
  /* フォントサイズを少し調整 */
  font-size: clamp(40px, 6vw, 64px);
  /* 行間を広げて文字切れを解消 */
  line-height: 1.2; 
  font-weight: 900;
  margin: 0 auto 24px;
  /* グレーのグラデーションは維持 */
  background: linear-gradient(to bottom right, #fff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  /* 下に見切れないよう余白を追加 */
  padding-bottom: 0.1em; 
}
.lp-hero__lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Media (Video) */
.lp-hero__media {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  /* 影を強くして浮遊感を出す */
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  background: #000;
  aspect-ratio: 16/9;
  position: relative;
}


/* =========================================
   4. GENERAL LAYOUT & COMPONENTS
   ========================================= */
.lp-wrap {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 var(--lp-pad);
}

.lp-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

/* Typography */
.lp-h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: #fff;
}
.lp-p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 700px;
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.lp-btn--primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #0b0e14 !important;
  box-shadow: 0 4px 15px rgba(0, 255, 210, 0.2);
}
.lp-btn--primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 25px rgba(0, 255, 210, 0.4);
  transform: translateY(-1px);
}
.lp-btn--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-main) !important;
}
.lp-btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}


/* =========================================
   5. GRID & CARDS
   ========================================= */
.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.lp-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s;
}
.lp-card:hover {
  transform: translateY(-4px);
  background: var(--bg-panel-hover);
  border-color: rgba(255,255,255,0.25);
}
.lp-card h3 { 
  margin: 0 0 12px; 
  font-size: 18px; 
  color: var(--text-main); 
}
.lp-card p { 
  margin: 0; 
  color: var(--text-muted); 
  font-size: 15px; 
  line-height: 1.5; 
}


/* =========================================
   6. WORKFLOW STEPS
   ========================================= */
.lp-workflow {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.lp-step {
  flex: 1;
  min-width: 240px;
  background: linear-gradient(to bottom, var(--bg-panel), transparent);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
}
.lp-step__num {
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 800;
  margin-bottom: 12px;
  display: block;
  letter-spacing: 0.1em;
}


/* =========================================
   7. PRICING TABLES
   ========================================= */
.lp-price-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.lp-price-card.featured {
  border-color: rgba(120, 120, 255, 0.4);
  background: linear-gradient(to bottom, rgba(120,120,255,0.06), rgba(0,0,0,0));
  box-shadow: 0 0 40px rgba(0,0,0,0.3);
}
.lp-price-amount {
  font-size: 36px;
  font-weight: 800;
  margin: 12px 0;
  color: #fff;
}
.lp-price-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}
.lp-price-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}
.lp-price-list li:before {
  content: "✓";
  color: var(--accent-cyan);
  margin-right: 10px;
  font-weight: bold;
}
.lp-price-list li:last-child { border: none; }


/* =========================================
   8. UTILITIES (Forms, Content)
   ========================================= */
.downloads-box, .entry-content {
  color: var(--text-muted);
}
input[type="text"], input[type="password"], input[type="email"] {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  color: white;
  padding: 12px;
  border-radius: 6px;
  width: 100%;
}
.downloads-box {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}