/* =========================================
   Miren Inc — Investor-facing (Hi-tech)
   Folder: css/style.css
   ========================================= */

:root{
  --bg: #05070c;
  --fg: #eaf0ff;
  --muted: rgba(234,240,255,0.70);
  --line: rgba(234,240,255,0.14);
  --glass: rgba(10,14,24,0.55);
  --accent: #4de3ff;
  --accent2:#7c4dff;

  /* ✅ 전체 폰트/스케일 업(기본값) */
  --base: 19px;          /* 기존 17px 체감 → 더 큼 */
  --title: 40px;         /* 섹션 타이틀 */
  --hero: 60px;          /* 첫 페이지 슬로건 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }

body{
  font-family: "ClashGrotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--base); /* ✅ 전체 기본 폰트 크기 업 */
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(77,227,255,0.12), transparent 55%),
    radial-gradient(900px 700px at 80% 30%, rgba(124,77,255,0.10), transparent 55%),
    var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

/* Background grid layer */
.bg{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  /* ✅ 격자 제거: linear-gradient 2개 삭제 */
  background-image:
    radial-gradient(circle at 30% 20%, rgba(77,227,255,0.08), transparent 55%),
    radial-gradient(circle at 75% 35%, rgba(124,77,255,0.07), transparent 55%);

  background-size: auto, auto;
  opacity: 0.8;
  filter: blur(0.2px);
  animation: drift 18s linear infinite;
}

@keyframes drift{
  0%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(-8px, -10px, 0); }
  100%{ transform: translate3d(0,0,0); }
}

/* keep content above bg */
.site-header, main, footer { position: relative; z-index: 1; }

/* Layout */
.container { max-width: 1120px; margin: 0 auto; padding: 0; } /* ✅ 살짝 넓혀서 PPT 느낌 */

.section{
  min-height: 100vh;
  padding: 140px 60px 80px;
  border-bottom: 1px solid rgba(234,240,255,0.16);
  display: flex;
  align-items: center;
}

.hero{ min-height: 100vh; }

.section__title{
  font-size: var(--title); /* ✅ 타이틀 크게 */
  margin-bottom: 22px;
  letter-spacing: 0.2px;
}

/* Text */
.content{
  color: rgba(234,240,255,0.82);
  line-height: 1.6;          /* ✅ PPT처럼 조금 더 타이트 */
  font-size: 20px;           /* ✅ 본문 확실히 키움 */
  max-width: 1040px;
}

.content p + p{ margin-top: 14px; }

.list{
  margin-top: 12px;
  margin-left: 18px;
}

.list li{ margin: 8px 0; }

/* Panels */
.panel{
  background: rgba(10,14,24,0.35);
  border: 1px solid rgba(234,240,255,0.14);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  margin-top: 20px;
  padding: 18px;
}

.panel__eyebrow{
  font-size: 15px;           /* ✅ 소제목도 조금 키움 */
  color: rgba(234,240,255,0.68);
  letter-spacing: 0.3px;
}

/* Header */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(180deg, rgba(10,14,24,0.78), rgba(10,14,24,0.35));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;

  border-bottom: 1px solid rgba(234,240,255,0.14);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.site-header.is-scrolled{
  background: rgba(8,10,18,0.92);
  border-bottom-color: rgba(234,240,255,0.18);
  box-shadow: 0 14px 60px rgba(0,0,0,0.55);
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
}

.brand__logo{
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(77,227,255,0.12));
}

.brand__name{
  font-size: 19px;           /* ✅ 브랜드명도 조금 키움 */
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Nav links */
.site-nav{
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav a{
  color: var(--fg);
  text-decoration: none;
  font-weight: 400;
  opacity: 0.88;
  position: relative;
  font-size: 18px;           /* ✅ 네비 텍스트도 키움 */
}

.site-nav a:hover{
  opacity: 1;
  text-shadow: 0 0 14px rgba(77,227,255,0.25);
}

.site-nav a::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-9px;
  height:3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: transform .25s ease;
}

.site-nav a:hover::after{ transform: scaleX(1); }

/* ✅ active 밑줄 고정 */
.site-nav a.is-active{
  opacity: 1;
  text-shadow: 0 0 14px rgba(77,227,255,0.35);
}
.site-nav a.is-active::after{ transform: scaleX(1); }

/* Mobile menu button */
.nav-toggle{
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(234,240,255,0.16);
  background: rgba(10,14,24,0.45);
  cursor: pointer;
}

.nav-toggle__bar{
  display: block;
  height: 2px;
  width: 18px;
  background: rgba(234,240,255,0.9);
  margin: 4px auto;
}

/* Hero */
.hero__title{
  font-size: 52px;
  line-height: 1.2;
  max-width: 1040px;
  letter-spacing: 0.2px;
}

/* ✅ 첫 페이지 슬로건은 PPT처럼 “큰 문구” */
.hero__title--slogan{
  font-size: var(--hero);
  line-height: 1.18;
  font-weight: 500;
  max-width: 1040px;
}

/* ✅ 정의 문구(회사소개 2페이지) PPT처럼 줄 단위 느낌 */
.definition-lines{
  font-size: 26px;            /* ✅ 이 문구는 더 크게(스크린샷 느낌 맞추기) */
  line-height: 1.35;
  color: rgba(234,240,255,0.90);
  letter-spacing: 0.1px;
}

/* Video Placeholder */
.hero__videoPlaceholder{
  margin-top: 26px;
  height: 300px;
  border-radius: 16px;
  border: 1px solid rgba(234,240,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(234,240,255,0.55);
  background:
    radial-gradient(600px 260px at 30% 20%, rgba(77,227,255,0.12), transparent 60%),
    rgba(10,14,24,0.25);
  position: relative;
  overflow: hidden;
  max-width: 1040px;
}

.hero__videoPlaceholder::before{
  content:"";
  position:absolute; inset:-2px;
  background: linear-gradient(120deg, rgba(77,227,255,0.35), rgba(124,77,255,0.22), transparent 60%);
  opacity: 0.35;
  filter: blur(14px);
}

/* Contact */
.contact-email{
  margin-top: 12px;
  font-size: 20px;
}

/* Footer */
.site-footer{
  padding: 40px 60px;
  font-size: 15px;
  color: rgba(234,240,255,0.55);
}

/* Responsive */
@media (max-width: 768px){
  :root{
    --base: 17px;
    --title: 30px;
    --hero: 38px;
  }

  .site-header{ padding: 16px 20px; }
  .brand__logo{ height: 28px; }
  .brand__name{ font-size: 16px; }

  .nav-toggle{ display: inline-block; }

  .site-nav{
    display: none;
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    background: rgba(8,10,18,0.92);
    border: 1px solid rgba(234,240,255,0.14);
    border-radius: 14px;
  }

  .site-nav.is-open{ display: flex; }

  .section{ padding: 120px 20px 60px; }
  .hero__title{ font-size: 34px; line-height: 1.3; }
  .hero__title--slogan{ font-size: var(--hero); line-height: 1.3; }
  .content{ font-size: 17px; line-height: 1.6; }
  .definition-lines{ font-size: 20px; line-height: 1.4; }
  .hero__videoPlaceholder{ height: 220px; }
  .site-footer{ padding: 28px 20px; }
}

/* =========================
   Embedded Font : Clash Grotesk
   ========================= */

@font-face {
  font-family: "ClashGrotesk";
  src: url("../Fonts/WEB/ClashGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ClashGrotesk";
  src: url("../Fonts/WEB/ClashGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ClashGrotesk";
  src: url("../Fonts/WEB/ClashGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
