/* ===== PONYOME Corporate Site - Kawaii × Cyber ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --teal: #2B8A9B;
  --teal-dark: #1a6b7a;
  --teal-light: #3cc0d6;
  --neon-cyan: #00f0ff;
  --neon-pink: #ff6ec7;
  --neon-purple: #b366ff;
  --dark-bg: #0a0e1a;
  --dark-card: #111827;
  --dark-card2: #1a2332;
  --grid-color: rgba(43, 138, 155, 0.08);
  --text-primary: #e8f4f8;
  --text-secondary: #8ba4b0;
  --radius: 20px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ===== NAV ===== */
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(43, 138, 155, 0.2);
}

.nav-logo { height: 40px; border-radius: 50%; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--neon-cyan); }

.nav-hamburger {
  display: none;
  background: none; border: none;
  color: var(--neon-cyan); font-size: 1.6rem; cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(43, 138, 155, 0.15), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-logo {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--teal);
  box-shadow: 0 0 40px rgba(43, 138, 155, 0.4), 0 0 80px rgba(43, 138, 155, 0.15);
  animation: float 4s ease-in-out infinite;
  margin-bottom: 2rem;
}

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

.hero-catch-jp {
  font-size: 1.2rem;
  color: var(--neon-pink);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(255, 110, 199, 0.4);
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-cyan), var(--teal-light), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn-glow {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--teal-light);
  box-shadow: 0 0 20px rgba(43, 138, 155, 0.3);
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.btn-glow:hover {
  box-shadow: 0 0 40px rgba(43, 138, 155, 0.6), 0 0 80px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

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

/* ===== ABOUT ===== */
.about-content {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 3rem;
  border: 1px solid rgba(43, 138, 155, 0.15);
  line-height: 1.9;
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-content .highlight {
  color: var(--neon-cyan);
  font-weight: 700;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(43, 138, 155, 0.1);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
  box-shadow: 0 10px 40px rgba(43, 138, 155, 0.15);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  display: block;
}

.service-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  color: var(--teal-light);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== MARKETS ===== */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.market-card {
  background: var(--dark-card2);
  border-radius: var(--radius-sm);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(43, 138, 155, 0.08);
  transition: all 0.3s;
}

.market-card:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 25px rgba(255, 110, 199, 0.1);
}

.market-flag { font-size: 2.5rem; margin-bottom: 0.8rem; display: block; }

.market-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.market-card .market-platform {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== COMPANY ===== */
.company-table {
  max-width: 700px;
  margin: 0 auto;
  background: var(--dark-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(43, 138, 155, 0.15);
}

.company-table table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(43, 138, 155, 0.08);
}

.company-table th {
  width: 35%;
  color: var(--teal-light);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.company-table td {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

/* ===== CONTACT ===== */
.contact-wrap {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-wrap p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-email {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  color: var(--neon-cyan);
  text-decoration: none;
  border: 1px solid var(--teal);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  display: inline-block;
  transition: all 0.3s;
}

.contact-email:hover {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 0 30px rgba(43, 138, 155, 0.4);
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(43, 138, 155, 0.1);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== SCROLL ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 14, 26, 0.95);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .nav-hamburger { display: block; }

  .hero h1 { font-size: 1.8rem; }
  .hero-logo { width: 140px; height: 140px; }

  .services-grid { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }

  section { padding: 3rem 1.2rem; }
  .section-title { font-size: 1.5rem; }

  .about-content { padding: 2rem 1.5rem; }
  .company-table th, .company-table td { padding: 1rem; }
}
