/* -----------------------------
   VARIABLES & BASE STYLES
----------------------------- */
:root {
  --primary: #592E83; /* Deep Purple */
  --secondary: #230C33; /* Darker Purple for contrast */
  --accent-cyan: #00E5FF;
  --accent-pink: #FF007F;
  --bg-color: #FAFAFA;
  --text-main: #2D3142;
  --text-light: #4F5D75;
  --white: #FFFFFF;
  --grad-main: linear-gradient(135deg, #00E5FF 0%, #B000FF 100%);
  --grad-subtle: linear-gradient(135deg, rgba(89, 46, 131, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 4px 15px rgba(0,0,0,0.05);
  --shadow-lg: 0 15px 35px rgba(0,0,0,0.1);
  --radius: 16px;
  --font-en: 'Outfit', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-en { font-family: var(--font-en); font-weight: 800; }
h2 { font-family: var(--font-ja); font-weight: 700; font-size: 2.5rem; color: var(--secondary); margin-bottom: 0.5rem; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
.wrapper { width: 90%; max-width: 1200px; margin: 0 auto; position: relative; }

/* -----------------------------
   UTILITIES
----------------------------- */
.highlight { 
  background: var(--grad-main); 
  -webkit-background-clip: text; 
  background-clip: text;
  -webkit-text-fill-color: transparent; 
  font-weight: 800; 
}
.btn-primary {
  display: inline-block;
  background: var(--grad-main);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(176, 0, 255, 0.3);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  box-shadow: 0 15px 25px rgba(176, 0, 255, 0.4);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.header-line {
  height: 4px; width: 60px; background: var(--grad-main); margin-bottom: 1rem; border-radius: 2px;
}
.header-line.center { margin: 0 auto 1rem; }
.section-desc { font-family: var(--font-en); color: var(--text-light); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 3rem; }
.center { text-align: center; }

/* -----------------------------
   NAVBAR
----------------------------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 0; transition: all 0.4s ease;
  background: transparent;
}
.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  width: 90%; max-width: 1400px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.logo a { font-family: var(--font-en); font-weight: 900; font-size: 1.8rem; color: var(--primary); letter-spacing: -1px; }
.logo-sub { display: block; font-size: 0.65rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-main); position: relative; }
.nav-links a:not(.btn-nav):hover { color: var(--accent-pink); }
.nav-links a:not(.btn-nav)::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px;
  background: var(--accent-pink); transition: width 0.3s ease;
}
.nav-links a:not(.btn-nav):hover::after { width: 100%; }
.btn-nav {
  background: var(--primary); color: var(--white) !important; padding: 8px 20px; border-radius: 20px;
}
.btn-nav:hover { background: var(--secondary); transform: translateY(-2px); }

/* -----------------------------
   HERO SECTION
----------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--grad-subtle);
  padding-top: 80px;
}
.decorative-blob { position: absolute; filter: blur(80px); opacity: 0.5; z-index: 0; border-radius: 50%; }
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: var(--accent-cyan); }
.blob-2 { bottom: -10%; right: -5%; width: 600px; height: 600px; background: var(--accent-pink); }
.blob-3 { top: 40%; left: 40%; width: 400px; height: 400px; background: var(--primary); opacity: 0.3; }

.hero-content {
  display: flex; align-items: center; justify-content: space-between;
  width: 90%; max-width: 1300px;
  z-index: 1; position: relative; gap: 4rem;
}
.hero-left { flex: 1; }
.hero-title { font-family: var(--font-ja); font-size: 3.5rem; line-height: 1.2; color: var(--secondary); margin-bottom: 1.5rem; }
.hero-subtitle { font-family: var(--font-en); font-size: 1.2rem; color: var(--text-light); margin-bottom: 2.5rem; letter-spacing: 1px; }
.hero-right { flex: 1; display: flex; justify-content: center; }
.collage { position: relative; width: 100%; height: 500px; }
.collage-item { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); transition: transform 0.4s ease; }
.collage-item:hover { transform: translateY(-10px) scale(1.02); z-index: 10; }
.collage .main { width: 350px; height: 450px; top: 0; right: 20px; z-index: 2; border: 10px solid var(--white); }
.collage .main img { width: 100%; height: 100%; object-fit: cover; }
.collage .sub1 { width: 220px; height: 260px; bottom: 0; left: 0; z-index: 3; border: 8px solid var(--white); }
.collage .sub1 img { width: 100%; height: 100%; object-fit: cover; }
.collage .sub2 { width: 220px; height: 260px; top: 20px; left: 40px; z-index: 1; border: 8px solid var(--white); }
.collage .sub2 img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9); }

/* -----------------------------
   SECTIONS & GRIDS
----------------------------- */
section { padding: 100px 0; }
.licensed-products { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card-img-wrapper { position: relative; height: 300px; overflow: hidden; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .card-img-wrapper img { transform: scale(1.05); }
.tag {
  position: absolute; top: 15px; left: 15px;
  background: var(--white); color: var(--primary);
  padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); font-family: var(--font-en);
}
.tag-accent { background: var(--accent-pink); color: var(--white); }
.card-content { padding: 25px; text-align: center; }
.card-content h3 { font-size: 1.2rem; color: var(--secondary); margin-bottom: 5px; }
.card-content p { color: var(--text-light); font-size: 0.9rem; font-family: var(--font-en); }

/* -----------------------------
   OEM SERVICES
----------------------------- */
.oem-services { background: #f4f6fa; position: relative; }
.oem-split { display: flex; align-items: stretch; gap: 50px; }
.oem-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.oem-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item { display: flex; gap: 20px; background: var(--white); padding: 25px; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.3s ease; }
.feature-item:hover { transform: translateX(10px); }
.feature-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad-main); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.feature-text h4 { font-size: 1.1rem; color: var(--secondary); margin-bottom: 5px; }
.feature-text p { font-size: 0.9rem; color: var(--text-light); }
.oem-images { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; }
.img-factory-wrap, .img-designers-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; }
.img-factory-wrap img, .img-designers-wrap img { width: 100%; height: 100%; object-fit: cover; }
.img-designers-wrap { transform: translateY(40px); }

/* -----------------------------
   NEWS SECTION
----------------------------- */
.news-events { background: var(--white); }
.news-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-bottom: 3rem; }
.news-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid #ebebeb;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.news-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.news-img { height: 220px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-content { padding: 30px; }
.news-date { color: var(--accent-pink); font-family: var(--font-en); font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }
.news-content h4 { font-size: 1.1rem; color: var(--secondary); margin-bottom: 15px; line-height: 1.4; }
.news-content p { color: var(--text-light); font-size: 0.9rem; }

/* -----------------------------
   CONTACT SECTION
----------------------------- */
.contact { background: var(--primary); color: var(--white); position: relative; overflow: hidden; }
.contact::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 1000px; height: 1000px; background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.contact h2 { color: var(--white); }
.contact .section-desc { color: rgba(255,255,255,0.7); }
.contact-split { display: flex; gap: 60px; align-items: stretch; position: relative; z-index: 1; }
.contact-form-wrapper { flex: 1; background: var(--white); padding: 50px; border-radius: var(--radius); color: var(--text-main); box-shadow: var(--shadow-lg); }
.contact-form-wrapper h2 { color: var(--secondary); }
.form-group { margin-bottom: 20px; }
.form-group.row { display: flex; gap: 20px; }
.form-group.row .col { flex: 1; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group .req { background: #fee2e2; color: #ef4444; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; margin-left: 5px; }
input, select, textarea {
  width: 100%; padding: 12px 15px;
  border: 1px solid #d1d5db; border-radius: 8px;
  font-family: inherit; font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #f9fafb;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(89, 46, 131, 0.1); background: var(--white); }
.contact-image { flex: 1; position: relative; border-radius: var(--radius); overflow: hidden; }
.contact-img-main { width: 100%; height: 100%; object-fit: cover; }

.contact-info-card { display: flex; flex-direction: column; gap: 30px; margin-top: 30px; }
.info-item { display: flex; align-items: flex-start; gap: 20px; }
.info-icon { width: 55px; height: 55px; border-radius: 50%; background: rgba(89, 46, 131, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.info-text h4 { font-size: 1.1rem; color: var(--secondary); margin-bottom: 8px; font-family: var(--font-en); }
.info-text p { font-size: 1rem; color: var(--text-main); line-height: 1.6; }

/* -----------------------------
   FOOTER
----------------------------- */
footer { background: #0f172a; color: var(--white); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { font-family: var(--font-en); font-weight: 900; font-size: 2.5rem; color: var(--white); margin-bottom: 5px; }
.footer-sub { color: rgba(255,255,255,0.6); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 15px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--white);
}
.footer-social a:hover { background: var(--accent-cyan); color: #0f172a; transform: translateY(-3px); }
.footer-links h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); margin-bottom: 10px; font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-pink); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.85rem; font-family: var(--font-en); }
        
/* -----------------------------
   MEDIA QUERIES
----------------------------- */
@media (max-width: 992px) {
  .hero-content { flex-direction: column; text-align: center; padding-top: 60px; }
  .hero-right { width: 100%; margin-top: 40px; }
  .collage { height: 400px; max-width: 500px; margin: 0 auto; }
  .oem-split { flex-direction: column; }
  .img-designers-wrap { transform: translateY(0); }
  .contact-split { flex-direction: column; }
  .contact-image { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-group.row { flex-direction: column; }
}
