/*
Theme Name: AsparaTech
Theme URI: https://asparatech.com
Author: AsparaTech LLC
Description: Industrial Tech & Minimal corporate theme for AsparaTech
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

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

:root {
  --green: #1E3F20;
  --green-light: #2d5a30;
  --white: #FFFFFF;
  --gray-bg: #F8F9FA;
  --gray-mid: #E9ECEF;
  --gray-text: #6C757D;
  --dark: #1a1a1a;
  --font-en: 'Inter', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-zh: 'Noto Sans SC', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-en);
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
  font-size: 16px;
}

body.lang-ja { font-family: var(--font-ja); }
body.lang-zh { font-family: var(--font-zh); }

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-mid);
  height: 64px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-text { color: var(--dark); }

nav { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: center; }

nav a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
nav a:hover { color: var(--green); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--gray-bg);
  border-radius: 6px;
  padding: 3px;
  flex-shrink: 0;
}

.lang-sep {
  display: none;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-text);
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.lang-btn.active {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* SECTIONS */
section { padding: 5rem 2rem; }

.container { max-width: 1100px; margin: 0 auto; }

/* HERO */
#hero {
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d1f0e 0%, #1E3F20 40%, #0a1a0b 70%, #111 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,63,32,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,63,32,0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

#hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,63,32,0.4) 0%, transparent 70%);
  transform: translateX(-50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 8rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(30,63,32,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: #7fff82;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

#hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

#hero h1 .accent { color: #7fff82; }

#hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--green);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: #e8f5e9; transform: translateY(-1px); }

/* BUSINESS */
#business { background: var(--gray-bg); }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-desc {
  color: var(--gray-text);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 3rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(30,63,32,0.12); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 48px; height: 48px;
  background: #e8f5e9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.card p { font-size: 0.9rem; color: var(--gray-text); line-height: 1.7; }

/* PROFILE */
#profile { background: var(--white); }

.profile-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 720px;
}

.profile-table tr { border-bottom: 1px solid var(--gray-mid); }
.profile-table tr:last-child { border-bottom: none; }

.profile-table td {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

.profile-table td:first-child {
  width: 180px;
  font-weight: 600;
  color: var(--green);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.profile-table td:last-child { color: var(--dark); }

/* CONTACT */
#contact { background: var(--green); }

#contact .section-label { color: rgba(255,255,255,0.6); }
#contact .section-title { color: var(--white); }
#contact .section-desc { color: rgba(255,255,255,0.85); max-width: 480px; }

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  margin-top: 1rem;
}
.contact-email:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* FOOTER */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

.footer-logo .logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

footer a { color: rgba(255,255,255,0.5); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav a { display: none; }
  header { padding: 0 1rem; }
  section { padding: 3.5rem 1.25rem; }
  .profile-table td:first-child { width: 120px; font-size: 0.8rem; }
}
