/* Base Variables & Typography */
:root {
  --main-color: #113221; /* Dark Forest Green */
  --main-color-light: #1A4731;
  --accent-color: #F7E7CE; /* Champagne Gold */
  --accent-color-dark: #D4AF37;
  --text-primary: #FFFFFF;
  --text-secondary: #A0B0A8;
  --bg-gradient: linear-gradient(135deg, var(--main-color) 0%, #0A1E14 100%);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(247, 231, 206, 0.2);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--accent-color);
  letter-spacing: -0.03em;
}

.text-gold {
  color: var(--accent-color);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
  color: var(--main-color);
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  filter: brightness(1.1);
}

/* ---------------- Hero Section ---------------- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1.5s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.hero-btn {
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- Tech Excellence Section ---------------- */
.tech-section {
  background: var(--main-color-light);
  position: relative;
}

.tech-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.3;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.tech-card {
  position: relative;
  padding: 40px 32px;
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(247, 231, 206, 0.4);
}

.tech-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tech-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tech-impact {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tech-krx {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.krx-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.tech-krx p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.tech-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(247, 231, 206, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1.05);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.tech-card:hover .tech-tooltip {
  opacity: 1;
  transform: scale(1);
}

.tooltip-content {
  color: var(--main-color);
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  padding: 0 20px;
}

/* ---------------- Roadmap & Solutions Section ---------------- */
.roadmap-section {
  position: relative;
}

.solutions-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 60px;
}

.spec-card, .custom-solution-card {
  padding: 40px;
}

.spec-header {
  font-size: 1.5rem;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(247, 231, 206, 0.2);
  padding-bottom: 12px;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 2fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.spec-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.spec-strategy {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.custom-desc {
  font-size: 1.1rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.krx-note {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-style: italic;
}

/* Timeline */
.timeline-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  padding-top: 40px;
}

.timeline-line {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(247, 231, 206, 0.3);
  z-index: 1;
}

.timeline-item {
  position: relative;
  flex: 1;
  padding: 0 16px;
  z-index: 2;
  text-align: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--accent-color);
  border-radius: 50%;
  margin: -47px auto 31px auto;
  box-shadow: 0 0 10px rgba(247, 231, 206, 0.5);
  border: 3px solid var(--main-color);
}

.timeline-content {
  padding: 24px;
  text-align: left;
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 231, 206, 0.5);
}

.timeline-q {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

/* ---------------- Ecosystem Section ---------------- */
.ecosystem-section {
  background: var(--main-color-light);
  position: relative;
}

.ecosystem-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.partners-container {
  padding: 40px;
  text-align: center;
  margin-bottom: 60px;
}

.partner-header {
  font-size: 1.8rem;
  margin-bottom: 32px;
}

.partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 32px;
}

.partner-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(247, 231, 206, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.partner-logo:hover {
  color: var(--accent-color);
}

.partner-desc {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.trust-card {
  padding: 32px;
  text-align: center;
  transition: transform 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 231, 206, 0.4);
}

.trust-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 16px;
}

.trust-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.trust-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------------- Contact & Footer Section ---------------- */
.contact-section {
  position: relative;
  padding-bottom: 60px;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
  text-align: center;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(17, 50, 33, 0.6);
  border: 1px solid rgba(247, 231, 206, 0.3);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(247, 231, 206, 0.2);
  background: rgba(17, 50, 33, 0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(160, 176, 168, 0.6);
}

.submit-btn {
  margin-top: 10px;
  align-self: center;
  min-width: 200px;
}

.footer {
  background: #0A1E14;
  padding: 60px 0 20px 0;
  border-top: 1px solid rgba(247, 231, 206, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-slogan {
  color: var(--text-secondary);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-right p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.linkedin-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
}

.linkedin-link:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .timeline-container {
    flex-direction: column;
    padding-left: 20px;
    padding-top: 0;
    margin-top: 40px;
  }
  
  .timeline-line {
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    height: 100%;
  }
  
  .timeline-item {
    margin-bottom: 30px;
    padding-left: 40px;
    text-align: left;
  }
  
  .timeline-dot {
    position: absolute;
    left: -7px;
    top: 24px;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-content {
    padding: 30px 20px;
    width: 90%;
  }
  .contact-container {
    padding: 40px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
}
