/* 
 * antenna AI Starter Pro - Premium LP Styles
 * Dark Mode, Glassmorphism & Neon Accents
 */

:root {
  --bg-color: #0b0f19;
  --bg-color-alt: #131a2a;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  
  --primary-glow: rgba(56, 189, 248, 0.4);
  --secondary-glow: rgba(168, 85, 247, 0.4);
  
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;
  --accent-teal: #2dd4bf;
  
  --glass-bg: rgba(19, 26, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(12px);
  
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, .outfit-font {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography & Effects */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.highlight {
  color: var(--accent-teal);
  text-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Formatted Elements */
.badge-pro {
  background: linear-gradient(90deg, #ff007f, #7928ca);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  margin-left: 5px;
  vertical-align: super;
}

.badge-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-size: 1.2rem;
  margin-right: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #0b0f19; /* 明るい背景に負けない、極めて暗い文字色 */
  border: none;
  font-weight: 800; /* さらに太く */
  text-shadow: none;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--primary-glow);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.glow-button {
  position: relative;
  z-index: 1;
}

.glow-button::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple), var(--accent-teal), var(--accent-blue));
  z-index: -1;
  border-radius: 14px;
  filter: blur(10px);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  animation: bg-spin 3s linear infinite;
  background-size: 400%;
}

@keyframes bg-spin {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:not(.btn):hover {
  color: var(--text-primary);
}

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

/* Background Glowing Orbs */
.glow-orb {
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
}

.orb-1 {
  top: -10%;
  left: -10%;
  background: var(--primary-glow);
}

.orb-2 {
  bottom: 10%;
  right: -10%;
  background: var(--secondary-glow);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.trust-indicators {
  display: flex;
  gap: 2rem;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Dilemma (Pain) Section */
.dilemma-section {
  background-color: var(--bg-color-alt);
}

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

.pain-card {
  padding: 2rem;
  transition: transform 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 100, 100, 0.3);
  box-shadow: 0 10px 40px rgba(255, 100, 100, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pain-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.pain-card p {
  color: var(--text-secondary);
}

/* Feature Rows */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  background: var(--glass-bg);
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
}

.feature-row h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.feature-row p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Inside the Box Section */
.inside-section {
  background-color: var(--bg-color);
  position: relative;
}

.inside-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.inside-card {
  padding: 2.5rem;
  border-top: 2px solid rgba(56, 189, 248, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inside-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}

.inside-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.inside-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.inside-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.tech-list {
  list-style: none;
}

.tech-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.tech-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: bold;
}

.tech-list code {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--accent-blue);
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.9em;
}

/* Showcase Banner */
.showcase-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.showcase-banner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, rgba(8, 147, 185, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px dashed rgba(8, 147, 185, 0.4);
  box-shadow: 0 0 20px rgba(8, 147, 185, 0.1);
  text-align: left;
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.showcase-icon {
  font-size: 2rem;
  line-height: 1;
}

.showcase-header h3 {
  margin: 0;
  color: var(--accent-blue);
  font-size: 1.4rem;
}

.showcase-banner p {
  color: #e2e8f0;
  line-height: 1.8;
  margin: 0;
  font-size: 1.05rem;
}

.showcase-banner p strong {
  color: #fff;
}

.showcase-banner p code {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--accent-teal);
  font-family: monospace;
}

/* Benefits Section */
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--border-radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
}

.benefit-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.benefit-content h3 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.benefit-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.benefit-content strong {
  color: #fff;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-teal);
}

.faq-question span:first-child {
  padding-right: 1.5rem;
}

.faq-icon {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent-blue);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-question {
  color: var(--accent-blue);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.faq-answer strong {
  color: #fff;
}

/* Repo Structure Diagram */
.repo-structure-wrapper {
  margin-top: 5rem;
  width: 100%;
}

.repo-structure-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #fff;
}

.repo-structure {
  padding: 3rem;
  border-radius: var(--border-radius);
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 1rem;
  line-height: 1.8;
  color: #e2e8f0;
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.1);
  background: linear-gradient(180deg, rgba(19, 26, 42, 0.8) 0%, rgba(11, 15, 25, 0.9) 100%);
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
}

.tree-root {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.tree-list, .tree-sublist {
  list-style: none;
  padding-left: 20px;
}

.tree-list {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: 10px;
}

.tree-sublist {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  margin-left: -5px;
  padding-left: 25px;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
}

.tree-list li, .tree-sublist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.5rem;
}

.tree-list li::before, .tree-sublist li::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  width: 15px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}



.tree-node {
  font-weight: bold;
}

.tree-node.dir {
  color: var(--accent-teal);
}

.tree-node.file {
  color: #a5b4fc;
}

.tree-desc {
  color: var(--text-secondary);
  font-size: 0.9em;
  font-family: 'Inter', sans-serif;
  margin-left: 10px;
  font-style: normal;
}

/* Demo Mac Window Mockup */
.mockup-window {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.mockup-header {
  background: rgba(0, 0, 0, 0.5);
  padding: 12px 20px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--glass-border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-content {
  background: #000;
  padding: 24px;
  min-height: 450px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #a5b4fc;
  overflow: hidden;
  position: relative;
}

.terminal-line {
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(5px);
  animation: fadeIn 0.3s forwards;
}

.terminal-line.command::before {
  content: "$";
  color: #38bdf8;
  margin-right: 12px;
}

.terminal-line.success { color: #2dd4bf; }
.terminal-line.warning { color: #facc15; }
.terminal-line.dim { color: #6b7280; }
.terminal-line.bold { font-weight: bold; color: #fff; }

.typing-cursor::after {
  content: "█";
  color: #38bdf8;
  animation: blink 1s step-end infinite;
  margin-left: 4px;
}

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

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Pricing / CTA */
.pricing-section {
  background: linear-gradient(to bottom, var(--bg-color), var(--bg-color-alt));
}

.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem;
  text-align: center;
}

.neon-border {
  border: 2px solid;
  border-image-slice: 1;
  border-width: 2px;
  border-image-source: linear-gradient(to left, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.pricing-card h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.price {
  font-size: 4rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 2rem;
}

.currency {
  font-size: 2rem;
  vertical-align: super;
}

.period {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 0 auto 3rem;
  max-width: 400px;
}

.pricing-features li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.full-width {
  width: 100%;
}

.guarantee {
  margin-top: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .nav-links a:not(.btn) { display: none; }
  .feature-row { padding: 1.5rem; }
  .pricing-card { padding: 2rem; }
}
