@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
  --bg-color: #080b11;
  --panel-bg: rgba(13, 17, 28, 0.65);
  --panel-border: rgba(255, 255, 255, 0.08);
  --panel-border-hover: rgba(255, 255, 255, 0.2);
  
  --primary-accent: #00f2fe; /* Cyber Teal */
  --primary-accent-rgb: 0, 242, 254;
  --secondary-accent: #ff4e50; /* Sunset Orange */
  --secondary-accent-rgb: 255, 78, 80;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-kicker: #38bdf8;
  
  --font-family: 'Plus Jakarta Sans', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body.landing-body {
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(var(--secondary-accent-rgb), 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(var(--primary-accent-rgb), 0.12) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Header & Navigation */
.landing-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.5px;
  position: relative;
  transition: var(--transition-smooth);
}

.brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  box-shadow: 0 0 16px rgba(var(--primary-accent-rgb), 0.6);
  transition: var(--transition-smooth);
}

.brand-mark:hover {
  transform: translateY(-1px);
  color: #fff;
}

.brand-mark:hover::before {
  transform: rotate(45deg);
  box-shadow: 0 0 24px rgba(var(--primary-accent-rgb), 0.8);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 30px;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--primary-accent-rgb), 0.4);
  box-shadow: 0 0 15px rgba(var(--primary-accent-rgb), 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.landing-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 100px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.kicker {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-accent);
  background: rgba(var(--primary-accent-rgb), 0.1);
  border: 1px solid rgba(var(--primary-accent-rgb), 0.2);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(var(--primary-accent-rgb), 0.05);
}

.hero-copy h1 {
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -1.5px;
  word-break: keep-all;
}

.hero-copy h1 span.gradient-text {
  background: linear-gradient(135deg, var(--primary-accent) 20%, var(--secondary-accent) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p:not(.kicker) {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  font-weight: 400;
  word-break: keep-all;
}

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

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #030712;
  background: linear-gradient(135deg, var(--primary-accent), #00c6ff);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.3);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 242, 254, 0.4);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--panel-border-hover);
  transform: translateY(-3px);
}

.hero-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-metrics span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-metrics span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-accent);
}

/* Floating Poster Panel / Device Mock */
.hero-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(var(--primary-accent-rgb), 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.mock-poster {
  position: relative;
  width: 320px;
  aspect-ratio: 1 / 1.414; /* Standard Poster Ratio */
  border-radius: 20px;
  background: linear-gradient(145deg, #0e1322 0%, #060913 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  padding: 24px;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: float 6s ease-in-out infinite;
  transition: var(--transition-smooth);
}

.mock-poster:hover {
  transform: scale(1.03) rotate(1deg);
  border-color: rgba(var(--primary-accent-rgb), 0.3);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(var(--primary-accent-rgb), 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Mock Elements in Floating Card */
.mock-top {
  width: 35%;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.mock-title {
  width: 75%;
  height: 20px;
  background: linear-gradient(90deg, var(--text-main) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 6px;
  margin-top: 20px;
}

.mock-title.short {
  width: 50%;
  height: 16px;
  background: linear-gradient(90deg, var(--primary-accent) 0%, rgba(var(--primary-accent-rgb), 0.5) 100%);
  margin-top: 8px;
}

.mock-person {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 45%;
  height: 50%;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(var(--secondary-accent-rgb), 0.2) 0%, rgba(14, 19, 34, 0.8) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-person::before {
  content: "IMAGE";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--secondary-accent);
  opacity: 0.6;
}

.mock-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.mock-modules span {
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.mock-poster:hover .mock-modules span {
  background: rgba(var(--primary-accent-rgb), 0.05);
  border-color: rgba(var(--primary-accent-rgb), 0.2);
}

.mock-info {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin-bottom: 8px;
}

.mock-footer {
  width: 60%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  align-self: center;
}

/* Tool Grid Section */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 60px 0 100px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 32px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-main);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(var(--primary-accent-rgb), 0.1), transparent 50%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.tool-card span {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-accent);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.5px;
}

.tool-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 8px;
  transition: var(--transition-smooth);
}

.tool-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 400;
  word-break: keep-all;
}

.tool-card strong {
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.tool-card strong::after {
  content: "→";
  transition: var(--transition-smooth);
}

/* Tool card states */
.active-tool {
  border-color: rgba(var(--primary-accent-rgb), 0.2);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.3),
    0 0 25px rgba(var(--primary-accent-rgb), 0.05);
}

.active-tool::before {
  opacity: 1;
}

.active-tool:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-accent-rgb), 0.5);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 35px rgba(var(--primary-accent-rgb), 0.15);
}

.active-tool:hover h2 {
  color: var(--primary-accent);
}

.active-tool:hover strong {
  color: var(--primary-accent);
  transform: translateX(4px);
}

/* Card specific themes */
.edu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(0, 242, 254, 0.12), transparent 55%);
  opacity: 1;
  z-index: 0;
}
.edu-card * {
  position: relative;
  z-index: 1;
}
.edu-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 242, 254, 0.15);
}

.academy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255, 215, 0, 0.1), transparent 55%);
  opacity: 1;
  z-index: 0;
}
.academy-card * {
  position: relative;
  z-index: 1;
}
.academy-card span {
  color: #ffd700;
}
.academy-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 215, 0, 0.2);
}
.academy-card:hover h2 {
  color: #ffd700;
}
.academy-card:hover strong {
  color: #ffd700;
}

/* Pending tool styles */
.pending-tool {
  cursor: not-allowed;
  opacity: 0.7;
}

.pending-tool span {
  color: var(--text-muted);
}

.pending-tool strong {
  color: var(--text-muted);
}

.pending-tool strong::after {
  content: "";
}

.pending-tool:hover {
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-1.5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Footer Section */
footer.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  margin-top: 40px;
  text-align: center;
  color: var(--text-muted);
}

footer.landing-footer p {
  font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    padding: 60px 0 80px;
  }

  .hero-copy {
    align-items: center;
  }

  .hero-copy p:not(.kicker) {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .tool-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0 60px;
  }
}

@media (max-width: 480px) {
  .landing-nav {
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
  }
  
  .mock-poster {
    width: 280px;
  }
}
