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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #2D3E50;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  background-color: #4A5583;
  color: white;
  padding: 0.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: -0.2rem;
}

.logo-k-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.logo-text-span {
  font-size: 36px;
  font-weight: 600;
  color: white;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transform: translateY(8px) translateX(-12px);
}

.logo-container:hover .logo-k-img {
  filter: drop-shadow(0 4px 16px rgba(232, 189, 114, 0.6));
}

.header-logo-img:hover {
  animation: logo-sway-hover 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(232, 189, 114, 0.6));
}

.hero-logo-img {
  max-width: 200px;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  animation: logo-sway 3s ease-in-out infinite;
  transition: filter 0.3s ease;
}

.hero-logo-img:hover {
  animation: logo-sway-hover 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(232, 189, 114, 0.6));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #FF69B4;
}

.nav-links a.active {
  color: #D4A574;
}

/* Main Content */
.main-content {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #2D3E50;
}

.hero p {
  font-size: 1.2rem;
  color: #7f8c8d;
}

/* Features */
.features h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2D3E50;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2D3E50;
}

.feature-card p {
  color: #7f8c8d;
}

/* Data Display */
.data-display {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  overflow-x: auto;
}

.data-display h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2D3E50;
}

.data-display pre {
  background-color: #f4f4f4;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.9rem;
}

.data-display code {
  font-family: monospace;
  color: #c7254e;
}

.json-list {
  list-style: none;
  margin: 1rem 0;
}

.list-item {
  padding: 1rem;
  background-color: white;
  border-left: 4px solid #5DDED0;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

/* Footer */
.footer {
  background-color: #4A5583;
  color: white;
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content p {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #FF69B4;
}

/* Language Selector */
.language-selector {
  display: flex;
  align-items: center;
}

.language-select {
  padding: 0.5rem 0.75rem;
  background-color: white;
  color: #2D3E50;
  border: 2px solid #5DDED0;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-select:hover {
  border-color: #FF69B4;
  box-shadow: 0 2px 8px rgba(255, 105, 180, 0.2);
}

.language-select:focus {
  outline: none;
  border-color: #FFED4E;
  box-shadow: 0 2px 8px rgba(255, 237, 78, 0.3);
}

/* Products */
.products-page {
  min-height: 100vh;
  background: #f6f3ed;
  color: #2D3E50;
}

.products-page .header {
  background: #4A5583;
  box-shadow: none;
}

.products-page .nav-links a.active,
.products-page .nav-links a:hover {
  color: #FFED4E;
}

.products-main {
  width: 100%;
}

.products-hero {
  max-width: 1200px;
  min-height: 480px;
  margin: 0 auto;
  padding: 96px 2rem 88px;
  background:
    radial-gradient(circle at 82% 28%, rgba(232, 189, 114, 0.22) 0 110px, transparent 111px),
    radial-gradient(circle at 82% 28%, transparent 0 176px, rgba(24, 32, 44, 0.06) 177px 178px, transparent 179px);
}

.eyebrow,
.product-type {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #D4A574;
}

.products-hero h1 {
  max-width: 760px;
  margin: 20px 0 22px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(3.6rem, 7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #2D3E50;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 34px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #667080;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  background: #2D3E50;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease;
}

.primary-button:hover {
  background: #2b3650;
  transform: translateY(-2px);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  background: transparent;
  color: #2D3E50;
  border: 2px solid #2D3E50;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.secondary-button:hover {
  background: #2D3E50;
  color: #fff;
  transform: translateY(-2px);
}

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

/* Home page styles */
.home-main {
  display: flex;
  flex-direction: column;
}

.home-hero {
  max-width: 1200px;
  min-height: 480px;
  margin: 0 auto;
  padding: 96px 2rem 88px;
  width: 100%;
  background:
    radial-gradient(circle at 82% 28%, rgba(232, 189, 114, 0.22) 0 110px, transparent 111px),
    radial-gradient(circle at 82% 28%, transparent 0 176px, rgba(24, 32, 44, 0.06) 177px 178px, transparent 179px);
}

.home-hero h1 {
  max-width: 760px;
  margin: 20px 0 22px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(3.6rem, 7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: #2D3E50;
}

.home-highlights {
  max-width: 1200px;
  margin: 0 auto;
  padding: 68px 2rem 96px;
  width: 100%;
}

.highlights-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.highlights-heading h2 {
  margin-top: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #2D3E50;
}

.highlights-heading > p {
  max-width: 360px;
  color: #707989;
  font-size: 1rem;
  line-height: 1.6;
}

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

.highlight-card {
  padding: 32px;
  border-radius: 8px;
  background: #f8f9fa;
  border: 1px solid #e8eaed;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.highlight-card h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2D3E50;
}

.highlight-card p {
  margin: 0;
  color: #707989;
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 2rem;
  width: 100%;
  text-align: center;
  background:
    radial-gradient(circle at 20% 50%, rgba(232, 189, 114, 0.15) 0 100px, transparent 101px),
    radial-gradient(circle at 80% 80%, rgba(45, 62, 80, 0.08) 0 150px, transparent 151px);
}

.home-cta h2 {
  max-width: 600px;
  margin: 0 auto 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #2D3E50;
}

.home-cta p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: #707989;
  line-height: 1.7;
}

.product-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 68px 2rem 96px;
}

.product-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.product-heading h2 {
  margin-top: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.product-heading > p {
  max-width: 360px;
  color: #707989;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr;
  gap: 18px;
}

.product-card {
  overflow: hidden;
  min-height: 430px;
  background: #fff;
  border: 1px solid #e7e2d8;
  border-radius: 3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(24, 32, 44, 0.10);
}

.product-art {
  position: relative;
  height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-details {
  padding: 24px 26px 28px;
}

.product-details h3 {
  margin: 6px 0 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.45rem;
  color: #2D3E50;
}

.product-details > p:last-child {
  color: #707989;
  line-height: 1.55;
}

.art-brand {
  background: #C4934A;
}

.art-brand::before,
.art-brand::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(24, 32, 44, 0.25);
  border-radius: 50%;
}

.art-brand::after {
  transform: scale(0.62);
  background: rgba(255, 255, 255, 0.12);
}

.art-brand span {
  z-index: 2;
  color: #2D3E50;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 5.8rem;
  font-style: italic;
}

.art-portal {
  grid-template-columns: repeat(3, 54px);
  gap: 12px;
  background: #9ab7b0;
}

.art-portal span {
  width: 54px;
  height: 150px;
  border-radius: 27px 27px 4px 4px;
  background: #f4efe5;
  box-shadow: 0 12px 24px rgba(24, 32, 44, 0.12);
}

.art-portal span:nth-child(2) {
  height: 190px;
  background: #FFED4E;
}

.art-launch {
  background: #b9a9c9;
}

.art-launch::before,
.art-launch::after,
.art-launch span {
  content: "";
  position: absolute;
  width: 118px;
  height: 118px;
  border: 15px solid #f3eee6;
  border-radius: 50%;
}

.art-launch::before {
  transform: translate(-52px, -30px);
}

.art-launch::after {
  transform: translate(52px, 36px);
  border-color: #2D3E50;
  mix-blend-mode: multiply;
}

/* Demo and detail pages */
.demo-main,
.detail-main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.demo-hero h1,
.detail-main h1 {
  margin: 0.8rem 0 1rem;
  color: #2D3E50;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.demo-hero p {
  max-width: 680px;
  color: #667080;
}

.demo-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.demo-card {
  display: block;
  padding: 1.5rem;
  background: #fff;
  color: #2D3E50;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #e2e6eb;
  box-shadow: 0 2px 10px rgba(24, 32, 44, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(24, 32, 44, 0.15);
}

.demo-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.demo-card p,
.detail-main p {
  color: #667080;
}

.detail-main p {
  margin-bottom: 1.25rem;
}

.pdf-picker {
  margin-bottom: 0.95rem;
}

.pdf-picker label {
  display: block;
  margin-bottom: 0.35rem;
  color: #2D3E50;
  font-weight: 600;
}

.pdf-select {
  min-width: 300px;
  max-width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid #ccd2db;
  border-radius: 6px;
  background: #fff;
  color: #2D3E50;
  font-size: 0.95rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.pdf-embed {
  margin: 1.25rem 0 1.75rem;
  background: #fff;
  border: 1px solid #e2e6eb;
  border-radius: 8px;
  overflow: hidden;
}

.pdf-frame {
  width: 100%;
  height: 640px;
  border: 0;
}

.contract-preview {
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #e2e6eb;
  border-radius: 8px;
  position: relative;
}

.contract-preview h2 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.contract-preview #contract-highlights {
  position: relative;
  z-index: 2;
}

.contract-preview p {
  margin-bottom: 0.55rem;
}

#contract-highlights p {
  pointer-events: none;
}

.contract-highlight-link {
  display: inline-block;
  border: 0;
  background: none;
  padding: 0;
  color: #2D3E50;
  font: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  pointer-events: auto;
}

.contract-highlight-link:hover {
  color: #4A5583;
}

.pdf-only-body {
  margin: 0;
  background: #f3f4f7;
}

.pdf-only-frame {
  width: 100%;
  height: 100vh;
  border: 0;
}

/* Blog Page */
.blog-page {
  min-height: 100vh;
  background: #f9f9f9;
  color: #2D3E50;
}

.blog-page .header {
  background: #4A5583;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-main {
  flex: 1;
  width: 100%;
}

.blog-hero {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(196, 147, 74, 0.1) 100%);
  padding: 80px 2rem 60px;
  text-align: center;
  border-bottom: 2px solid #D4A574;
}

.blog-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  color: #2D3E50;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.blog-hero-content p {
  font-size: 1.2rem;
  color: #667080;
  max-width: 600px;
  margin: 0 auto;
}

.blog-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(24, 32, 44, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e6eb;
  padding: 2rem;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(24, 32, 44, 0.15);
}

.blog-card.featured {
  border: 2px solid #D4A574;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(196, 147, 74, 0.05) 100%);
}

.blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-card h2 {
  font-size: 1.5rem;
  margin: 0;
  color: #2D3E50;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.blog-card h2 a {
  color: #2D3E50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card h2 a:hover {
  color: #D4A574;
}

.badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #D4A574;
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.featured-badge {
  background: linear-gradient(135deg, #D4A574 0%, #C4934A 100%);
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #667080;
}

.blog-meta .date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-meta .category a {
  color: #D4A574;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-meta .category a:hover {
  color: #C4934A;
  text-decoration: underline;
}

.blog-excerpt {
  flex: 1;
  color: #667080;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: #f0f0f0;
  color: #667080;
  border-radius: 4px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.tag:hover {
  background: #D4A574;
  color: white;
}

.read-more {
  display: inline-block;
  color: #D4A574;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.read-more:hover {
  color: #C4934A;
  transform: translateX(4px);
}

.loading,
.no-posts {
  text-align: center;
  padding: 3rem 1rem;
  color: #667080;
  font-size: 1.1rem;
}

/* Icon Placeholder */
.icon-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(135deg, #D4A574 0%, #C4934A 100%);
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s ease,
              filter 0.3s ease;
  user-select: none;
}

.icon-placeholder:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.5);
  filter: brightness(1.1);
}

.icon-placeholder:active {
  transform: translateY(-4px) scale(1.02);
}

.icon-content {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2D3E50;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Logo Icon Styling */
.icon-logo {
  width: 60px;
  height: 60px;
  background: none;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}

.header-logo.icon-logo {
  width: 50px;
  height: 50px;
  margin-right: 0.5rem;
}

.icon-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  animation: logo-sway 3s ease-in-out infinite;
}

/* Logo Animation - Top moves side to side, base stays still */
@keyframes logo-sway {
  0% {
    filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.4));
    transform: translateY(0) scaleY(1);
  }
  25% {
    transform: perspective(1000px) rotateZ(0.5deg) translateX(2px);
  }
  50% {
    filter: drop-shadow(0 2px 12px rgba(212, 165, 116, 0.5));
    transform: translateY(0) scaleY(1);
  }
  75% {
    transform: perspective(1000px) rotateZ(-0.5deg) translateX(-2px);
  }
  100% {
    filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.4));
    transform: translateY(0) scaleY(1);
  }
}

.logo-animated:hover .icon-image {
  animation: logo-sway-hover 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(212, 165, 116, 0.6));
}

@keyframes logo-sway-hover {
  0% {
    transform: translateY(-4px) scaleY(1.02);
  }
  25% {
    transform: perspective(1000px) rotateZ(3deg) translateX(12px) translateY(-4px) scaleY(1.02);
  }
  50% {
    transform: translateY(-4px) scaleY(1.02);
  }
  75% {
    transform: perspective(1000px) rotateZ(-3deg) translateX(-12px) translateY(-4px) scaleY(1.02);
  }
  100% {
    transform: translateY(-4px) scaleY(1.02);
  }
}

.icon-logo:hover {
  transform: translateY(-8px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Responsive Icon Placeholder */
@media (max-width: 768px) {
  .icon-placeholder {
    width: 70px;
    height: 70px;
  }

  .icon-content {
    font-size: 2.2rem;
  }

  .icon-logo {
    width: 160px;
    height: 190px;
  }

  @keyframes logo-sway {
    0% {
      filter: drop-shadow(0 0 6px rgba(212, 165, 116, 0.3));
      transform: translateY(0) scaleY(1);
    }
    25% {
      transform: perspective(1000px) rotateZ(1.5deg) translateX(6px);
    }
    50% {
      filter: drop-shadow(0 2px 10px rgba(212, 165, 116, 0.4));
      transform: translateY(0) scaleY(1);
    }
    75% {
      transform: perspective(1000px) rotateZ(-1.5deg) translateX(-6px);
    }
    100% {
      filter: drop-shadow(0 0 6px rgba(212, 165, 116, 0.3));
      transform: translateY(0) scaleY(1);
    }
  }

  .nav-links {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .main-content {
    padding: 2rem 1rem;
  }

  .products-hero {
    min-height: 420px;
    padding: 72px 1.25rem 64px;
  }

  .products-hero h1 {
    max-width: 520px;
  }

  .product-section {
    padding: 52px 1.25rem 72px;
  }

  .product-heading {
    align-items: start;
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card-featured {
    min-height: 400px;
  }

  .demo-main,
  .detail-main {
    padding: 2rem 1rem 3rem;
  }

  .pdf-frame {
    height: 420px;
  }

  .action-row {
    flex-direction: column;
  }

  .pdf-select {
    min-width: 100%;
  }

  .blog-hero {
    padding: 60px 1.25rem 48px;
  }

  .blog-hero-content h1 {
    font-size: 2rem;
  }

  .blog-hero-content p {
    font-size: 1rem;
  }

  .blog-content {
    padding: 40px 1.25rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-card {
    padding: 1.5rem;
  }

  .blog-card-header {
    flex-direction: column;
  }

  .blog-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .blog-tags {
    gap: 0.4rem;
  }
}

  /* About Page */
  .about-section {
    padding: 60px 2rem;
    background: white;
    border-bottom: 1px solid #e2e6eb;
  }

  .about-section:nth-child(even) {
    background: #f9f9f9;
  }

  .about-section.cta-section {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(196, 147, 74, 0.1) 100%);
    text-align: center;
    padding: 80px 2rem;
  }

  .about-content {
    max-width: 1000px;
    margin: 0 auto;
  }

  .about-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2D3E50;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }

  .about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #667080;
    margin-bottom: 1.5rem;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }

  .feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e6eb;
    box-shadow: 0 2px 10px rgba(24, 32, 44, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(24, 32, 44, 0.15);
    border-color: #D4A574;
  }

  .feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2D3E50;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }

  .feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  .values-list {
    list-style: none;
    margin: 2rem 0 0;
  }

  .values-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e6eb;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #667080;
  }

  .values-list li strong {
    color: #D4A574;
    font-weight: 600;
  }

  .values-list li:last-child {
    border-bottom: none;
  }

  .cta-section .about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .cta-section .about-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .primary-button {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: linear-gradient(135deg, #D4A574 0%, #C4934A 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
    border: none;
    cursor: pointer;
  }

  .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.5);
  }

  /* Company Introduction Section */
  .company-intro {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.08) 0%, rgba(196, 147, 74, 0.08) 100%);
    padding: 60px 2rem;
    border-top: 3px solid #D4A574;
    border-bottom: 3px solid #D4A574;
  }

  .intro-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
  }

  .intro-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #2D3E50;
  }

  .intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #667080;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Founders Section */
  .founders-section {
    padding: 80px 2rem;
    background: white;
  }

  .founders-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .founders-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #2D3E50;
  }

  .founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e6eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 32, 44, 0.08);
  }

  .founder-card:hover {
    transform: translateY(-10px);
    border-color: #D4A574;
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.25);
  }

  .founder-image {
    width: 240px;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(196, 147, 74, 0.1) 100%);
    border: 2px solid #D4A574;
  }

  .founder-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
  }

  .founder-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2D3E50;
  }

  .founder-title {
    font-size: 1rem;
    color: #D4A574;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
  }

  .founder-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #667080;
    margin-bottom: 1.5rem;
  }

  .founder-socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }

  .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A574 0%, #C4934A 100%);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
  }

  .social-link:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 16px rgba(212, 165, 116, 0.5);
  }

  /* Footer */
  .footer {
    background-color: #4A5583;
    color: white;
    padding: 2rem;
    text-align: center;
    border-top: 2px solid #D4A574;
    margin-top: auto;
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-content p {
    margin: 0;
    font-size: 0.9rem;
  }

  .social-links {
    display: flex;
    gap: 1.5rem;
  }

  .social-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
  }

  .social-links a:hover {
    color: #D4A574;
  }

  @media (max-width: 768px) {
    .about-section {
      padding: 40px 1.25rem;
    }

    .about-section h2 {
      font-size: 1.5rem;
    }

    .about-section p {
      font-size: 1rem;
    }

    .features-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .feature-card {
      padding: 1.5rem;
    }

    .values-list li {
      padding: 0.75rem 0;
      font-size: 0.95rem;
    }

    .cta-section {
      padding: 60px 1.25rem;
    }

    .cta-section .about-content h2 {
      font-size: 1.8rem;
    }

    .cta-section .about-content p {
      font-size: 1rem;
    }

    .primary-button {
      padding: 0.7rem 2rem;
      font-size: 1rem;
    }

    .company-intro {
      padding: 40px 1.25rem;
    }

    .intro-content h2 {
      font-size: 1.5rem;
    }

    .intro-content p {
      font-size: 1rem;
    }

    .founders-section {
      padding: 40px 1.25rem;
    }

    .founders-section h2 {
      font-size: 1.5rem;
      margin-bottom: 2rem;
    }

    .founders-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .founder-card {
      padding: 1.5rem;
    }

    .founder-image {
      width: 200px;
      height: 200px;
    }

    .founder-card h3 {
      font-size: 1.2rem;
    }

    .footer-content {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
    }

    .social-links {
      justify-content: center;
    }
  }

  @media (max-width: 1024px) {
    .navbar {
      padding-inline: 1.25rem;
      flex-wrap: wrap;
    }

    .nav-links {
      flex: 1 1 480px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .product-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-card-featured {
      grid-column: 1 / -1;
    }

    .highlights-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .founders-grid {
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .header {
      padding: 0.75rem 0;
    }

    .navbar {
      padding-inline: 1rem;
      align-items: center;
      gap: 0.75rem;
    }

    .logo-link {
      flex: 1 1 auto;
    }

    .logo-k-img {
      width: 54px;
      height: 54px;
    }

    .logo-text-span {
      font-size: 1.75rem;
      transform: translateY(5px) translateX(-9px);
    }

    .language-selector {
      margin-left: auto;
    }

    .language-select {
      min-height: 44px;
    }

    .nav-links {
      order: 3;
      flex: 1 0 100%;
      width: 100%;
      gap: 0.5rem;
      justify-content: center;
    }

    .nav-links li {
      flex: 0 1 auto;
    }

    .nav-links a {
      display: block;
      padding: 0.5rem 0.6rem;
      white-space: nowrap;
    }

    .hero h1,
    .products-hero h1,
    .blog-hero-content h1,
    .detail-main h1 {
      overflow-wrap: anywhere;
      word-break: normal;
    }

    .home-hero h1 {
      overflow-wrap: anywhere;
      word-break: normal;
    }

    .hero-actions {
      flex-direction: column;
      gap: 12px;
    }

    .primary-button,
    .secondary-button {
      width: 100%;
      justify-content: center;
    }

    .highlights-heading {
      flex-direction: column;
      align-items: flex-start;
    }

    .highlights-heading h2 {
      font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .products-hero {
      background:
        radial-gradient(circle at 88% 15%, rgba(232, 189, 114, 0.18) 0 70px, transparent 71px),
        radial-gradient(circle at 88% 15%, transparent 0 112px, rgba(24, 32, 44, 0.06) 113px 114px, transparent 115px);
    }

    .products-hero h1 {
      font-size: clamp(2.7rem, 13vw, 4.4rem);
      line-height: 1;
    }

    .hero-copy {
      font-size: 1rem;
    }

    .product-grid,
    .features-grid,
    .demo-grid,
    .founders-grid,
    .blog-grid {
      grid-template-columns: minmax(0, 1fr);
    }

    .product-card-featured {
      grid-column: auto;
    }

    .product-art {
      height: 220px;
    }

    .primary-button {
      justify-content: center;
      max-width: 100%;
      min-height: 44px;
      text-align: center;
      white-space: normal;
    }

    .action-row .primary-button {
      width: 100%;
    }

    .pdf-select {
      width: 100%;
      min-width: 0;
    }

    .pdf-frame {
      height: 60vh;
      min-height: 360px;
    }

    .founder-image {
      width: min(200px, 70vw);
      height: min(200px, 70vw);
    }

    .footer {
      padding: 1.5rem 1rem;
    }
  }

  @media (max-width: 480px) {
    .main-content,
    .demo-main,
    .detail-main,
    .blog-content,
    .product-section {
      padding-inline: 1rem;
    }

    .logo-k-img {
      width: 46px;
      height: 46px;
    }

    .logo-text-span {
      font-size: 1.45rem;
      transform: translateY(4px) translateX(-8px);
    }

    .language-select {
      max-width: 132px;
      padding-inline: 0.5rem;
      font-size: 0.8rem;
    }

    .nav-links {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nav-links a {
      text-align: center;
    }

    .hero {
      margin-bottom: 2.5rem;
    }

    .hero h1,
    .blog-hero-content h1,
    .detail-main h1,
    .about-section h2,
    .intro-content h2,
    .founders-section h2 {
      font-size: clamp(1.75rem, 9vw, 2.25rem);
    }

    .products-hero {
      min-height: 0;
      padding: 56px 1rem 48px;
    }

    .products-hero h1 {
      font-size: clamp(2.3rem, 12vw, 3.35rem);
    }

    .home-hero {
      min-height: 0;
      padding: 48px 1rem 40px;
    }

    .home-hero h1 {
      font-size: clamp(1.9rem, 10vw, 2.8rem);
    }

    .highlights-grid {
      grid-template-columns: 1fr;
    }

    .hero-actions {
      flex-direction: column;
    }

    .product-details,
    .feature-card,
    .founder-card,
    .blog-card,
    .contract-preview {
      padding: 1.25rem;
    }

    .product-art {
      height: 190px;
    }

    .blog-hero {
      padding: 44px 1rem 36px;
    }

    .blog-card-header,
    .blog-meta,
    .product-heading {
      gap: 0.65rem;
    }

    .badge {
      white-space: normal;
    }

    .footer-content {
      width: 100%;
      padding-inline: 0;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .ai-assistant {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1000;
    font-family: inherit;
  }

  .ai-assistant-toggle {
    width: 58px;
    height: 58px;
    margin-left: auto;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A574 0%, #C4934A 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(45, 62, 80, 0.3);
  }

  .ai-assistant-toggle:focus-visible,
  .ai-assistant-close:focus-visible,
  .ai-assistant-form button:focus-visible,
  .ai-assistant-form input:focus-visible {
    outline: 3px solid #FFED4E;
    outline-offset: 2px;
  }

  .ai-assistant-panel {
    width: min(380px, calc(100vw - 2rem));
    height: min(520px, calc(100vh - 7rem));
    margin-bottom: 0.75rem;
    overflow: hidden;
    border: 1px solid #e2e6eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(45, 62, 80, 0.25);
  }

  .ai-assistant-panel:not([hidden]) {
    display: flex;
    flex-direction: column;
  }

  .ai-assistant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    background: #4A5583;
    color: #fff;
  }

  .ai-assistant-header h2 {
    margin: 0;
    font-size: 1rem;
  }

  .ai-assistant-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .ai-assistant-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f7f8fa;
  }

  .ai-assistant-message {
    width: fit-content;
    max-width: 88%;
    margin: 0 0 0.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    overflow-wrap: anywhere;
    line-height: 1.45;
  }

  .ai-assistant-message.assistant {
    background: #fff;
    color: #2D3E50;
    border: 1px solid #e2e6eb;
  }

  .ai-assistant-message.user {
    margin-left: auto;
    background: #4A5583;
    color: #fff;
  }

  .ai-assistant-message.loading {
    opacity: 0.7;
  }

  .ai-assistant-message.error {
    color: #8b2635;
    border-color: #e6b9c1;
  }

  .ai-assistant-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid #e2e6eb;
  }

  .ai-assistant-form input {
    min-width: 0;
    flex: 1;
    padding: 0.7rem;
    border: 1px solid #ccd2db;
    border-radius: 6px;
    color: #2D3E50;
    font: inherit;
  }

  .ai-assistant-form button {
    padding: 0.7rem 0.9rem;
    border: 0;
    border-radius: 6px;
    background: #2D3E50;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
  }

  .ai-assistant-form button:disabled {
    cursor: wait;
    opacity: 0.65;
  }

  .ai-assistant small {
    display: block;
    padding: 0 0.75rem 0.65rem;
    color: #7f8c8d;
    text-align: right;
  }

  @media (max-width: 480px) {
    .ai-assistant {
      right: 1rem;
      bottom: 1rem;
    }

    .ai-assistant-toggle {
      width: 52px;
      height: 52px;
    }

    .ai-assistant-panel {
      width: calc(100vw - 2rem);
      height: min(500px, calc(100vh - 6rem));
    }

    .ai-assistant-form {
      flex-direction: column;
    }

    .ai-assistant-form button {
      min-height: 44px;
    }
  }


