/* ==========================================================================
   KiviaX Presentation Website & CMS Design System
   ========================================================================== */

:root {
  --primary: #4A7C59;
  --primary-hover: #3B6447;
  --primary-light: #EAF2EA;
  --accent: #2EC4B6;
  --dark: #1A2E1A;
  --text: #2D3748;
  --text-muted: #5C7A5C;
  --bg-light: #F5F7F5;
  --white-glass: rgba(255, 255, 255, 0.88);
  --border: #D8E0D8;
  --shadow-sm: 0 2px 8px rgba(74, 124, 89, 0.06);
  --shadow-md: 0 8px 24px rgba(74, 124, 89, 0.12);
  --radius-lg: 20px;
  --radius-md: 12px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  background-color: var(--bg-light);
  color: var(--text);
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Fixed Universal Background Layer using bgr.webp */
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-image: url('../img/bgr.webp'), url('../img/bgr.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 247, 245, 0.88);
  backdrop-filter: blur(4px);
}

/* Containers & Grid */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Card Element */
.glass-card {
  background: var(--white-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(74, 124, 89, 0.3);
}

/* Header & Navigation */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(46, 196, 182, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Selector Dropdown */
.lang-select {
  appearance: none;
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  outline: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(74, 124, 89, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(74, 124, 89, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;

}

/* Store Badge Buttons */
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.store-btn-disabled {
  opacity: 0.8;
  cursor: default;
  background: rgba(255, 255, 255, 0.7);
}

.store-btn-disabled:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

.store-btn-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.coming-soon-badge-bottom {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(74, 124, 89, 0.25);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.store-btn-icon {
  width: 28px;
  height: 28px;
}

.store-btn-text {
  text-align: left;
}

.store-btn-small {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.store-btn-big {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  display: block;
}

/* Feature Grid */
.features-section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-section {
  padding: 60px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 24px;
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
}

/* Legal & Terms Content Pages */
.legal-content {
  padding: 60px 0 100px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-card {
  padding: 48px;
}

.legal-card h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}

.legal-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
}

.legal-card p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
}

/* Footer */
footer.site-footer {
  background: rgba(245, 247, 245, 0.95);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;

}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
}

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

.footer-disclaimer {
  max-width: 700px;
  margin: 0 auto 16px;
  font-size: 11px;
  opacity: 0.8;
  line-height: 1.5;
}

/* CMS Admin Styles */
.admin-wrap {
  padding: 40px 0;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  background: #FFFFFF;
  color: var(--dark);
  outline: none;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Responsive */
@media (max-width: 768px) {
  header.site-header {
    height: 60px;
  }

  .hero-title { font-size: 30px; }
  .hero-subtitle { font-size: 15px; }
  .nav-links { display: none; }
  .legal-card { padding: 24px; }

  /* Mobile Header Adjustments */
  .header-cta-btn {
    display: none !important;
  }

  .logo-img {
    height: 32px;
  }

  .lang-select {
    padding: 5px 8px;
    font-size: 11px;
    border-radius: 14px;
    max-width: 140px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .header-right {
    gap: 8px;
  }
  
  .footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: #1877f2;
  transform: translateY(-2px);
}

.social-link:last-child:hover,
.social-link:last-child:focus-visible {
  background: #e4405f;
}

.social-link i {
  font-size: 18px;
}

.social-linkedin:hover,
.social-linkedin:focus-visible {
  background: #0a66c2;
}
  
  
  
}
