/*
Theme Name: StreetDevs
Theme URI: https://streetdevs.cl
Description: Tema moderno y profesional para StreetDevs - desarrollo de software y productos con IA.
Version: 2.0.0
Author: StreetDevs
License: GPL v2 or later
*/

:root {
  --bg: #0f0f1e;
  --bg-secondary: #1a1a2e;
  --bg-card: rgba(26, 26, 46, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --text: #f5f5f9;
  --text-muted: #a0a0b0;
  --accent: #7366f1;
  --accent-light: #a78bfa;
  --accent-bright: #ec4899;
  --glow: rgba(115, 102, 241, 0.3);
  --glow-pink: rgba(236, 72, 153, 0.2);
  --border: rgba(255, 255, 255, 0.08);
  --success: #10b981;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 50% -10%, var(--glow), transparent),
    radial-gradient(ellipse 70% 50% at 100% 30%, var(--glow-pink), transparent),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(139, 92, 246, 0.1), transparent);
  pointer-events: none;
  z-index: 0;
  animation: gradientShift 8s ease-in-out infinite;
}

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

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--accent-bright);
  text-decoration: none;
}

.logo-link {
  text-decoration: none;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Header Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 30, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.header-nav .nav-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav .logo {
  height: 28px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.header-nav .logo:hover {
  opacity: 1;
}

.header-nav nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.header-nav nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.header-nav nav a:hover {
  color: var(--accent-light);
  text-decoration: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 3rem;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .logo-wrap {
  margin-bottom: 2rem;
}

.hero .logo-svg {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(115, 102, 241, 0.3));
  transition: filter 0.3s, transform 0.3s;
}

.hero .logo-svg:hover {
  filter: drop-shadow(0 0 30px rgba(115, 102, 241, 0.5));
  transform: scale(1.05);
}

.hero .logo-kenbun {
  height: 52px;
  margin-top: 0.75rem;
  opacity: 0.95;
  filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.2));
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 50%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

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

.hero .tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Sections */
.section {
  margin: 4rem 0;
  animation: fadeInUp 0.8s ease-out;
}

.section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

.section p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.section strong {
  color: var(--accent-light);
}

/* Cards - glass */
.card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left 0.5s ease-out;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(115, 102, 241, 0.2), inset 0 1px 1px rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.card h3 {
  margin: 0 1.5rem 1rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  position: relative;
}

.card p {
  margin: 0;
  line-height: 1.75;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(115, 102, 241, 0.3), rgba(236, 72, 153, 0.2));
  color: var(--accent-light);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(115, 102, 241, 0.3);
}

/* Tech stack */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.tech-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem 0.8rem;
  background: linear-gradient(135deg, var(--bg-glass), rgba(115, 102, 241, 0.05));
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: linear-gradient(135deg, rgba(115, 102, 241, 0.1), rgba(115, 102, 241, 0.05));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(115, 102, 241, 0.15);
}

.tech-tag svg {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.tech-tag:hover svg {
  opacity: 1;
}

/* Form */
.contact-form {
  background: linear-gradient(135deg, var(--bg-glass), rgba(115, 102, 241, 0.05));
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  margin: 3rem 0;
  animation: fadeInUp 0.8s ease-out;
}

.contact-form h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-form .form-intro {
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.contact-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:hover,
.contact-form input:focus,
.contact-form textarea:hover,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(115, 102, 241, 0.1);
  background: rgba(0, 0, 0, 0.5);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .submit-wrap {
  margin-top: 1.5rem;
}

.contact-form button[type="submit"] {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.contact-form button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.contact-form button[type="submit"]:hover::before {
  width: 300px;
  height: 300px;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(115, 102, 241, 0.3);
}

.contact-form button[type="submit"]:active {
  transform: translateY(0);
}

/* Footer */
.footer {
  text-align: center;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4rem;
}

.footer p {
  margin: 0;
}

/* Logo SVGs inline - theme uses these */
.logo-inline {
  display: inline-block;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
  .wrap {
    padding: 2rem 1.5rem;
  }

  .header-nav .nav-wrap {
    flex-direction: column;
    gap: 1rem;
  }

  .header-nav nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .section {
    margin: 2.5rem 0;
  }

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

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.8rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-form button[type="submit"] {
    width: 100%;
    padding: 0.85rem 1.5rem;
  }

  .footer {
    padding: 2rem 0 1rem;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }

  .hero {
    padding: 1.5rem 0;
  }

  .hero .logo-svg {
    height: 48px;
  }

  .hero h1 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  .section {
    margin: 2rem 0;
  }

  .section h2 {
    font-size: 1.1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.6rem;
  }

  .contact-form {
    padding: 1.2rem;
    margin: 2rem 0;
  }

  .contact-form label {
    font-size: 0.9rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem 1rem;
    font-size: 16px;
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-bright);
}

/* Selection color */
::selection {
  background: var(--accent);
  color: #fff;
}

/* Utils */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.px-sm { padding-left: 1rem; padding-right: 1rem; }

/* ========== PAGE TEMPLATES ========== */

/* Page Header */
.section-page {
  animation: fadeInUp 0.8s ease-out;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  background: linear-gradient(135deg, var(--accent-light), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.page-header .lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0;
}

/* Two-column layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

.main-column {
  grid-column: 1;
}

.sidebar {
  grid-column: 2;
}

@media (max-width: 1024px) {
  .two-column {
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Cards */
.card-signup,
.card-info,
.card-highlight {
  background: linear-gradient(135deg, var(--bg-glass), rgba(115, 102, 241, 0.05));
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: sticky;
  top: 2rem;
}

.card-signup h3,
.card-info h3,
.card-highlight h3 {
  margin-top: 0;
  color: var(--accent-light);
}

.card-signup p,
.card-info p,
.card-highlight p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-signup ul,
.card-info ul,
.card-highlight ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
}

.card-signup li,
.card-info li,
.card-highlight li {
  padding: 0.4rem 0;
  margin: 0;
  color: var(--text-muted);
}

.card-signup li:before,
.card-info li:before,
.card-highlight li:before {
  content: "→ ";
  color: var(--accent);
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Notice in cards */
.notice {
  background: rgba(245, 158, 11, 0.1);
  border-left: 3px solid #f59e0b;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Info box */
.info-box {
  background: rgba(115, 102, 241, 0.1);
  border-left: 3px solid var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.info-box.success {
  background: rgba(16, 185, 129, 0.1);
  border-left-color: #10b981;
}

.info-box h3 {
  margin-top: 0;
  color: var(--accent-light);
}

.info-box p,
.info-box ul,
.info-box li {
  color: var(--text-muted);
}

/* FAQ */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.faq-section {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.faq-section h2 {
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  color: var(--text);
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-item p,
.faq-item ul,
.faq-item ol,
.faq-item dl {
  color: var(--text-muted);
  margin: 0.5rem 0;
  line-height: 1.75;
}

.faq-item dt {
  font-weight: 600;
  color: var(--accent-light);
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.faq-item dd {
  margin-left: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

/* Grids for cards */
.challenges-grid,
.bot-grid,
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.challenge-card,
.bot-card,
.solution-card,
.problem-item {
  background: linear-gradient(135deg, var(--bg-glass), rgba(115, 102, 241, 0.05));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.challenge-card:hover,
.bot-card:hover,
.solution-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(115, 102, 241, 0.15);
}

.challenge-card h3,
.bot-card h3,
.solution-card h3,
.problem-item h4 {
  margin: 0 0 0.5rem;
  color: var(--accent-light);
}

.challenge-card p,
.bot-card p,
.solution-card p,
.problem-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Problem list */
.problems-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.problem-item {
  border-left: 3px solid #ef4444;
}

/* Example box */
.example-box {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.example-box p {
  margin: 0.5rem 0;
  color: var(--text-muted);
}

/* Impact box */
.impact-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(115, 102, 241, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
}

.impact-box h3 {
  color: #10b981;
  margin-top: 0;
}

.impact-box ul {
  list-style: none;
  padding: 0;
}

.impact-box li {
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.impact-box li:before {
  content: "📈 ";
  margin-right: 0.5rem;
}

/* CTA Section */
.section-cta {
  text-align: center;
  padding: 3rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.section-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-primary-large {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover,
.btn-primary-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(115, 102, 241, 0.3);
}

.btn-secondary {
  background: rgba(115, 102, 241, 0.2);
  color: var(--accent-light);
}

.btn-secondary:hover {
  background: rgba(115, 102, 241, 0.3);
  box-shadow: 0 10px 30px rgba(115, 102, 241, 0.1);
}

.btn-primary-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* Features list */
.features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.features li {
  padding: 0.6rem 0;
  color: var(--text-muted);
}

/* Responsive pages */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.8rem;
  }

  .challenges-grid,
  .bot-grid,
  .solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .card-signup,
  .card-info,
  .card-highlight {
    position: static;
    padding: 1.5rem;
  }

  .section-cta {
    padding: 2rem 0;
  }

  .section-cta h2 {
    font-size: 1.5rem;
  }

  .btn-primary-large {
    display: block;
    width: 100%;
  }
}

/* KENBUN LANDING PAGE STYLES */

.kenbun-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 8rem;
  padding: 4rem 0;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7366f1 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 1rem 0;
  line-height: 1.2;
}

.hero-badge {
  display: inline-block;
  background: rgba(115, 102, 241, 0.1);
  border: 1px solid rgba(115, 102, 241, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-primary-large {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(115, 102, 241, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-primary-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 50px rgba(115, 102, 241, 0.4);
}

.btn-secondary {
  padding: 1rem 2rem;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(115, 102, 241, 0.05);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-light);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(115, 102, 241, 0.1);
  animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

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

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

.card-content h3 {
  font-size: 1rem;
  margin: 0 0 0.75rem 0;
  color: var(--text);
}

.card-content p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bot-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent-light);
}

.kenbun-section {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}

.kenbun-section:first-of-type {
  border-top: none;
}

.kenbun-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #7366f1 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Problem Grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.problem-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.problem-card:hover {
  background: rgba(115, 102, 241, 0.05);
  border-color: rgba(115, 102, 241, 0.3);
  transform: translateY(-5px);
}

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

.problem-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem 0;
  color: var(--text);
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(115, 102, 241, 0.08);
  border-color: rgba(115, 102, 241, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(115, 102, 241, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem 0;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* How It Works */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: var(--text);
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem 0;
}

.step code {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--accent-light);
  display: block;
  margin-top: 0.75rem;
  overflow-x: auto;
}

.step-arrow {
  font-size: 2rem;
  color: var(--accent);
}

/* Use Cases */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.usecase {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.usecase h3 {
  font-size: 1.1rem;
  margin: 0 0 1rem 0;
  color: var(--accent-light);
}

.usecase p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0.75rem 0;
  line-height: 1.6;
}

.usecase strong {
  color: var(--text);
}

/* Trial Section */
.kenbun-trial {
  background: linear-gradient(135deg, rgba(115, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
  border-radius: 16px;
  padding: 4rem !important;
}

.trial-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.trial-left h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.trial-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trial-list li {
  color: var(--text-muted);
  font-size: 1rem;
}

.trial-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.trial-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.trial-card > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.trial-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.trial-form input,
.trial-form select {
  padding: 0.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.95rem;
}

.trial-form input::placeholder {
  color: var(--text-muted);
}

.trial-form button {
  padding: 0.8rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.trial-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(115, 102, 241, 0.3);
}

.trial-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: rgba(236, 72, 153, 0.5);
  background: rgba(236, 72, 153, 0.05);
  transform: scale(1.05);
}

.badge-featured {
  position: absolute;
  top: -12px;
  left: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.pricing-card .description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

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

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-card a {
  margin-top: auto;
  padding: 0.75rem 1.5rem;
  text-align: center;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pricing-card .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: white;
  border: none;
}

.pricing-card .btn-primary:hover {
  transform: translateY(-2px);
}

.pricing-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.testimonial {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.stars {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-author strong {
  color: var(--text);
}

.testimonial-author span {
  color: var(--accent-light);
  font-size: 0.85rem;
}

/* Comparison Table */
.comparison-table {
  overflow-x: auto;
  margin-bottom: 3rem;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table thead {
  background: rgba(115, 102, 241, 0.1);
}

.comparison-table th {
  padding: 1.2rem;
  text-align: left;
  color: var(--accent-light);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.comparison-table td {
  padding: 1.2rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.comparison-table tbody tr:hover {
  background: rgba(115, 102, 241, 0.05);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Final CTA */
.kenbun-final-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(115, 102, 241, 0.15) 0%, rgba(236, 72, 153, 0.08) 100%);
  padding: 4rem !important;
  border-radius: 16px;
}

.kenbun-final-cta p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.final-cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .kenbun-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .kenbun-section {
    padding: 3rem 0;
  }

  .kenbun-section h2 {
    font-size: 1.8rem;
  }

  .trial-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps-container {
    gap: 1rem;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .final-cta-buttons {
    flex-direction: column;
  }

  .final-cta-buttons a {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-checkboxes {
    grid-template-columns: 1fr;
  }
}

/* CONTACT FORM STYLES */

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #7366f1 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-header .form-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-form {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.6rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(115, 102, 241, 0.05);
  box-shadow: 0 0 0 3px rgba(115, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b0' d='M0 3l6 6 6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent);
}

.submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-submit {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(115, 102, 241, 0.2);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(115, 102, 241, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.form-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.form-success h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 1.5rem;
}

.form-success p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* KENBUN FOOTER INTEGRATION */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  margin-top: 6rem;
  padding: 3rem 0;
}

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

.footer-main {
  flex: 1;
  min-width: 200px;
}

.footer-main p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-main a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-main a:hover {
  color: var(--accent-bright);
}

.kenbun-footer-widget {
  background: linear-gradient(135deg, rgba(115, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
  border: 1px solid rgba(115, 102, 241, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  flex: 0 1 auto;
}

.kenbun-badge {
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-icon {
  font-size: 1.2rem;
  animation: botPulse 2s ease-in-out infinite;
}

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

.kenbun-footer-cta {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  flex: 0 1 auto;
}

.kenbun-footer-cta p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-cta-link {
  color: var(--accent-bright);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-cta-link:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main,
  .kenbun-footer-widget,
  .kenbun-footer-cta {
    width: 100%;
  }

  .kenbun-badge {
    flex-direction: column;
    align-items: flex-start;
  }
}
