/* Use English for comment in code */
:root {
  --text: #f8fafc;
  --text-light: #94a3b8;
  --primary: #3b82f6;      /* Professional Blue */
  --primary-2: #8b5cf6;    /* Deep Purple */
  --accent: #f59e0b;       /* Gold/Amber */
  --dark: #0f172a;         /* Slate 900 */
  --panel-bg: #1e293b;     /* Slate 800 */
  --border-color: #334155; /* Slate 700 */
  --radius: 16px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  background-color: var(--dark);
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92vw); margin: 0 auto; }

/* Corporate Typography */
h1, h2, h3, h4, .logo-text {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  font-weight: 700;
}

.comic-text {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.highlight {
  color: var(--accent);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.nav-wrap {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
}

.site-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo h3 {
  margin-bottom: 0 !important;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0px;
}

/* Corporate Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-toon {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-toon:hover {
  background: linear-gradient(135deg, #2563eb, var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-small { 
  padding: 8px 16px; 
  font-size: 0.9rem; 
  border-radius: 6px;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 10px;
}

.btn-ghost { 
  background: transparent; 
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: grid;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #fff;
  overflow: hidden;
}

.hero-overlay { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 27, 75, 0.8) 100%);
  backdrop-filter: blur(3px);
}

.hero-content { 
  position: relative; 
  max-width: 1024px; 
  padding: 80px 0; 
  z-index: 2;
}

.toon-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  animation: float 3s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin: 0;
}

.hero .hero-desc { 
  margin: 24px 0 0; 
  color: var(--text-light); 
  font-size: 1.15rem; 
  max-width: 650px; 
  line-height: 1.8;
}

.hero-actions { 
  margin-top: 40px; 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
}

/* Animations */
.hero .hero-desc,
.hero .toon-badge,
.hero .hero-actions,
.hero h1 {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 { animation-delay: 0.1s; }
.hero .hero-desc { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.3s; }

/* Sections */
.section { padding: 100px 0; }
.section h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.section-darker { 
  background: #0b1120;
  border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-sub { 
  color: var(--text-light); 
  font-size: 1.15rem; 
  max-width: 600px;
  margin: 0 auto;
}

/* Trust Grid - Corporate Panels */
.trust-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.comic-panel {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.comic-panel:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg); 
  border-color: rgba(59, 130, 246, 0.4);
}

.panel-icon {
  font-size: 2rem;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  width: 56px; height: 56px;
  border-radius: 12px;
}

.comic-panel h3 { 
  margin: 0; 
  font-size: 1.3rem; 
  color: #fff;
}

.comic-panel p { 
  margin: 12px 0 0; 
  color: var(--text-light); 
  font-size: 1rem; 
}

/* Company / Explore Section */
.company-grid {
  display: grid;
  gap: 64px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.comic-text-block p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 24px;
}

.toon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.toon-tags span {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.toon-tags span:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

.mini-stats {
  display: grid;
  gap: 20px;
}

.comic-panel-small {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.comic-panel-small::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--primary);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.comic-panel-small:hover::before {
  opacity: 1;
}

.comic-panel-small:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.comic-panel-small h3 { 
  margin: 0; 
  font-size: 1.15rem; 
}

.comic-panel-small p { 
  margin: 8px 0 0; 
  color: var(--text-light); 
  font-size: 0.95rem;
}

/* Service Grid (Cards) */
.service-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.toon-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.toon-card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-hover); 
  border-color: rgba(59, 130, 246, 0.3);
}

.toon-card .card-header {
  padding: 32px 24px 0;
  position: relative;
}

.toon-card .card-header h3 {
  font-size: 1.5rem;
  color: var(--primary-2);
  margin-bottom: 8px;
}

.toon-badge-small {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #000;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.toon-card .content { 
  padding: 16px 24px 32px; 
  flex-grow: 1;
}

.toon-card h3 { 
  margin: 0; 
  font-size: 1.3rem; 
}

.toon-card p { 
  margin: 12px 0 0; 
  color: var(--text-light); 
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-section::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
}

.cta-wrap { 
  text-align: center; 
  max-width: 700px; 
  position: relative;
  z-index: 2;
}

.cta-logo-deco {
  width: 100px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
  opacity: 0.95;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
  animation: float 4s ease-in-out infinite;
}

.cta-wrap p { 
  color: var(--text-light); 
  font-size: 1.15rem; 
  margin: 20px auto 32px;
}

/* Footer */
.site-footer {
  background: #020617; /* Very dark */
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 2fr 1fr 1fr;
}

.footer-grid h3 {
  font-size: 1.6rem;
  margin: 0;
}

.footer-grid h4 { 
  font-size: 1.1rem;
  margin-top: 0; 
  margin-bottom: 24px;
}

.footer-grid p { 
  font-size: 0.95rem; 
  color: var(--text-light);
  line-height: 1.8; 
  margin: 12px 0;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Modal */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal.is-open { 
  opacity: 1; 
  visibility: visible; 
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
}

.toon-dialog {
  position: relative;
  z-index: 101;
  width: min(520px, 92vw);
  border-radius: 20px;
  padding: 48px 40px;
  background: var(--panel-bg);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal.is-open .toon-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.toon-dialog h3 { 
  margin: 0 0 16px; 
  font-size: 1.8rem;
}

.toon-dialog p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-info-list { 
  display: grid; 
  gap: 16px; 
}

.toon-link { 
  display: block;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff !important; 
  font-weight: 500; 
  transition: all 0.2s ease;
}

.toon-link:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
}

.toon-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-light);
  transition: all 0.2s ease;
  z-index: 10;
}

.toon-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: rotate(90deg);
}

/* Keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Media Queries */
@media (max-width: 992px) {
  .company-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 70vh; }
  .section { padding: 80px 0; }
  .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 40px 0; text-align: center; }
  .hero-actions { justify-content: center; }
  .nav-wrap { flex-wrap: wrap; }
}
