/*
Theme Name: Seek-X Coding
Description: Custom theme for Seek-X Coding - No-Code AI Creation for Kids. Voice-driven platform for children aged 2-8.
Version: 1.0
Author: Seek-X Team
Author URI: https://seekx.399339.xyz
Text Domain: seekx-coding
Tags: ai, education, kids, no-code, voice-interaction
*/

/* Design tokens */
:root {
  --bg: #0b0f15;
  --bg-alt: #0f141b;
  --card: #121923;
  --text: #e6eef8;
  --muted: #a9b6c7;
  --brand: #6ee7ff;
  --brand-strong: #17c3ff;
  --accent: #9b8cff;
  --border: #233041;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 70% -10%, rgba(110,231,255,0.12), transparent 50%), var(--bg);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(11,15,21,0.6);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand .logo {
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 20px;
}
.nav-toggle { display:none; }
.nav-menu {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary { background: linear-gradient(90deg, var(--brand), var(--accent)); color: #00131d; box-shadow: var(--shadow); }
.btn-secondary { background: #182231; color: var(--text); border: 1px solid var(--border); }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero { padding: 96px 0 56px; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.hero-copy h1 { font-size: 44px; line-height: 1.05; margin: 0 0 12px; }
.hero-copy p { color: var(--muted); font-size: 18px; margin: 0 0 22px; }
.hero-actions { display: flex; gap: 12px; }
.hero-art { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.hero-illustration { max-width: 100%; max-height: 100%; opacity: 0.95; object-fit: contain; }
.glow { position: absolute; inset: -30% -10% auto auto; width: 420px; height: 420px; background: radial-gradient(circle, rgba(110,231,255,0.1), rgba(155,140,255,0.05) 60%, transparent 70%); filter: blur(12px); pointer-events: none; z-index: -1; }
.grid { display: none; }

/* Video Carousel */
.video-carousel { position: relative; width: 100%; height: 100%; max-width: 560px; }
.video-container { 
  position: relative; 
  width: 100%; 
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.video-container iframe { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  border-radius: 12px;
}
.carousel-controls { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 16px; 
  margin-top: 16px; 
}
.carousel-btn { 
  background: var(--card); 
  border: 1px solid var(--border); 
  color: var(--brand); 
  width: 36px; 
  height: 36px; 
  border-radius: 50%; 
  font-size: 24px; 
  cursor: pointer; 
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover { 
  background: var(--brand); 
  color: var(--bg); 
  transform: scale(1.1);
}
.carousel-dots { 
  display: flex; 
  gap: 8px; 
}
.carousel-dot { 
  width: 8px; 
  height: 8px; 
  border-radius: 50%; 
  background: var(--border); 
  cursor: pointer; 
  transition: all 0.3s ease;
}
.carousel-dot.active { 
  background: var(--brand); 
  width: 24px; 
  border-radius: 4px; 
}
.video-info { 
  text-align: center; 
  margin-top: 12px; 
}
.video-info h4 { 
  color: var(--text); 
  font-size: 16px; 
  margin: 0; 
  font-weight: 500;
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 24px; }
.section-head p { color: var(--muted); }

/* Company Introduction */
.company-intro-content { max-width: 800px; margin: 0 auto; text-align: center; }
.company-intro-content h2 { color: var(--brand); margin-bottom: 24px; font-size: 32px; }
.company-intro-content p { font-size: 18px; line-height: 1.7; margin-bottom: 20px; color: var(--text); }
.company-intro-content p:last-child { margin-bottom: 0; }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
.card, .faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* Product Demo Layout */
.products-overview { margin: 32px 0; }
.product-comparison { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.product-item { display: flex; gap: 20px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.product-image-compact { width: 100px; height: 100px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.product-info h3 { margin: 0 0 8px 0; color: var(--brand); }
.product-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.spec { background: var(--bg-alt); padding: 4px 8px; border-radius: 6px; font-size: 12px; color: var(--muted); }

.shared-features { margin: 48px 0 32px 0; }
.shared-features h3 { text-align: center; color: var(--brand); margin-bottom: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-item { padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.feature-item strong { color: var(--brand); display: block; margin-bottom: 6px; }

.core-advantages { text-align: center; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.core-advantages h3 { color: var(--brand); margin-bottom: 16px; }

.bullet-list { display: grid; gap: 12px; }
.bullet { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.bullet-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #1a2536; border: 1px solid var(--border); }

.trusted-by { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #0d131b; }
.trusted-title { color: var(--muted); text-align: center; margin-bottom: 10px; font-size: 14px; }
.logo-row { display: flex; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.logo-pill { padding: 8px 12px; border-radius: 999px; background: #121a27; border: 1px solid var(--border); color: var(--muted); }

.contact-form { display: grid; gap: 12px; background: var(--card); border: 1px solid var(--border); padding: 16px; border-radius: 14px; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #0b121d; color: var(--text); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(110,231,255,0.35); }
.cta .split { align-items: stretch; }

/* Contact Info Styles */
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 12px; }
.contact-list a { color: var(--brand); text-decoration: none; }
.contact-list a:hover { color: var(--brand-strong); text-decoration: underline; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.social-links span { color: var(--muted); margin-right: 4px; }
.social-links a { 
  background: var(--card); 
  border: 1px solid var(--border); 
  padding: 6px 12px; 
  border-radius: 8px; 
  font-size: 14px; 
  transition: all 0.2s ease;
}
.social-links a:hover { 
  background: var(--brand); 
  color: var(--bg); 
  text-decoration: none; 
  transform: translateY(-1px);
}

/* Contact form messages */
.contact-message {
  padding: 12px 16px;
  border-radius: 10px;
  margin: 12px 0;
  font-weight: 500;
}
.contact-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.contact-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #0a0f16; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px 0; align-items: center; }
.footer-left .logo { font-weight: 800; letter-spacing: 0.5px; background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.small { color: var(--muted); font-size: 12px; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .split, .robot-intro-layout, .team-grid, .product-comparison { grid-template-columns: 1fr; }
  .cols-3, .card-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-art { height: 300px; }
  .robot-avatar { margin-bottom: 24px; }
  .speech-bubble::before, .speech-bubble::after { display: none; }
  .expertise-tags { flex-direction: column; align-items: center; }
  .product-item { flex-direction: column; text-align: center; }
  .product-image-compact { align-self: center; }
  .nav-toggle { display: inline-flex; gap: 6px; background: #182231; color: var(--text); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
  .nav-menu { display: none; position: absolute; right: 4%; top: 52px; flex-direction: column; background: #0e1420; border: 1px solid var(--border); padding: 10px; border-radius: 12px; box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
}

/* Robot Introduction Section */
.robot-intro-layout { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.robot-avatar { text-align: center; }
.robot-icon { font-size: 72px; margin-bottom: 16px; }
.mascot-image { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand); margin-bottom: 16px; }
.robot-avatar h2 { margin: 0; color: var(--brand); }
.speech-bubble { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  padding: 24px; 
  margin-bottom: 24px;
  position: relative;
  box-shadow: var(--shadow);
}
.speech-bubble::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 24px;
  border: 12px solid transparent;
  border-right-color: var(--border);
}
.speech-bubble::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 26px;
  border: 10px solid transparent;
  border-right-color: var(--card);
}
.core-values h3 { color: var(--brand); margin-bottom: 16px; }
.value-list { list-style: none; padding: 0; }
.value-list li { 
  padding: 8px 0; 
  border-left: 3px solid var(--brand); 
  padding-left: 16px; 
  margin-bottom: 8px;
}

/* Team Section */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 32px; }
.team-member { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.member-avatar { text-align: center; }
.avatar-circle { 
  width: 80px; 
  height: 80px; 
  border-radius: 50%; 
  background: linear-gradient(135deg, var(--brand), var(--accent)); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 24px; 
  font-weight: bold; 
  color: #00131d; 
  margin-bottom: 8px;
}
.member-photo { 
  width: 80px; 
  height: 80px; 
  border-radius: 50%; 
  object-fit: cover; 
  border: 2px solid var(--brand); 
  margin-bottom: 8px;
}
.member-info h3 { margin: 0 0 4px 0; color: var(--text); }
.member-info h4 { margin: 0 0 8px 0; color: var(--brand); font-weight: 600; }
.member-title { color: var(--muted); font-style: italic; margin-bottom: 16px; }
.member-details { list-style: none; padding: 0; }
.member-details li { 
  padding: 6px 0; 
  color: var(--muted); 
  font-size: 14px; 
  line-height: 1.5;
}
.team-expertise { text-align: center; padding-top: 32px; border-top: 1px solid var(--border); }
.team-expertise h3 { color: var(--brand); margin-bottom: 16px; }
.expertise-tags { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.expertise-tag { 
  background: var(--card); 
  border: 1px solid var(--border); 
  padding: 8px 16px; 
  border-radius: 20px; 
  color: var(--text); 
  font-size: 14px; 
  font-weight: 500;
}

/* Utilities */
h1, h2, h3, h4 { line-height: 1.15; }
p { line-height: 1.6; }
summary { cursor: pointer; }