/* ==========================================================================
   WSO2 & THLONE OPEN BANKING LANDING PAGE CSS
   Curated palette, clean typography, responsive layout, micro-animations
   ========================================================================== */

/* 1. DESIGN SYSTEM & INITIALIZATION */
:root {
  --primary-orange: #f4520d;
  --primary-orange-hover: #d94100;
  --primary-orange-light: rgba(244, 82, 13, 0.1);
  --dark-bg: #222222;
  --dark-card: #2e2e2e;
  --light-grey: #f2f2f6;
  --white: #ffffff;
  --text-main: #222222;
  --text-muted: #555555;
  --text-light: #888888;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-light: rgba(254, 254, 254, 0.1);
  
  --font-heading: 'Be Vietnam Pro', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(244, 82, 13, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.06);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-light { color: #cccccc !important; }
.text-orange { color: var(--primary-orange) !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Typography styles matching development guidelines */
h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

h2.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 16px;
}

h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-muted);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(244, 82, 13, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 82, 13, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #ff6c2f 0%, #f4520d 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(244, 82, 13, 0.25);
  font-size: 1.05rem;
  padding: 16px 32px;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 82, 13, 0.35);
}

.btn-dark {
  background-color: var(--dark-bg);
  color: var(--white);
}

.btn-dark:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--text-main);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* SECTION HEADER GENERAL */
.section-header {
  max-width: 1100px;
  margin: 0 auto 50px;
}

.section-subtitle {
  font-size: 1.15rem;
  margin-top: 10px;
}


/* ==========================================================================
   2. STICKY NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(254, 254, 254, 0.95);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  height: 80px;
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  height: 70px;
  background-color: rgba(254, 254, 254, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

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

.logo-area {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-image-only {
  height: 54px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  transition: height var(--transition-normal), transform var(--transition-fast);
}

.logo-area:hover .logo-image-only {
  transform: scale(1.03);
}

.site-header.scrolled .logo-image-only {
  height: 46px;
}

.nav-contact-info {
  display: flex;
  align-items: center;
  gap: 28px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--primary-orange);
}

.contact-link .icon {
  width: 18px;
  height: 18px;
  color: var(--primary-orange);
}

.nav-cta {
  font-size: 0.9rem;
  padding: 10px 20px;
}


/* ==========================================================================
   3. SECTION 1: HERO & LEAD FORM
   ========================================================================== */
.hero-section {
  padding: 60px 0 80px;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 50px;
  align-items: flex-start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 10px;
}

.hero-visual-area {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 15px;
}

.laptop-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
  transition: transform var(--transition-slow);
}

.laptop-mockup-wrapper:hover {
  transform: translateY(-5px);
}

.laptop-image {
  width: 100%;
  height: auto;
  display: block;
}

.value-props-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-prop-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check-icon-wrapper {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check-icon {
  width: 14px;
  height: 14px;
}

.value-prop-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.value-prop-text strong {
  color: var(--text-main);
  font-weight: 600;
}

/* HERO LEAD FORM CARD */
.hero-form-wrapper {
  position: sticky;
  top: 120px;
}

.lead-form-card {
  background-color: var(--white);
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 360px;
  margin-left: auto;
}

.form-card-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text-main);
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.form-card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--primary-orange);
  border-radius: 2px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  border: 1px solid #dcdce2;
  border-radius: 8px;
  color: var(--text-main);
  outline: none;
  background-color: #fafafc;
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: #a0a0ab;
}

.form-control:focus {
  border-color: var(--primary-orange);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(244, 82, 13, 0.12);
}

.form-group.invalid .form-control {
  border-color: #e53e3e;
}

.error-message {
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 4px;
  padding-left: 4px;
  display: none;
}

.form-group.invalid .error-message {
  display: block;
}


/* ==========================================================================
   4. SECTION 2: PRODUCT OVERVIEW (STATISTICS)
   ========================================================================== */
.overview-section {
  background-color: var(--dark-bg);
  padding: 90px 0;
  color: var(--white);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 45px;
}

.stat-card {
  background-color: #2c2c2c;
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(244, 82, 13, 0.4);
}

.stat-icon-wrapper {
  background-color: rgba(244, 82, 13, 0.15);
  color: var(--primary-orange);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon {
  width: 28px;
  height: 28px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-orange);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 400;
  color: #cccccc;
}

.overview-action {
  margin-top: 40px;
}


/* ==========================================================================
   5. SECTION 3: FEATURES (DYNAMIC TABS WITH ALTERNATING LAYOUTS)
   ========================================================================== */
.features-section {
  padding: 90px 0;
  background-color: var(--white);
}

.feature-tabs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.feature-tab-btn {
  background-color: var(--light-grey);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-normal);
}

.feature-tab-btn:hover {
  background-color: #e8e8ed;
}

.feature-tab-btn.active {
  background-color: var(--white);
  border-color: var(--primary-orange);
  box-shadow: var(--shadow-sm);
}

.tab-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.tab-icon {
  width: 20px;
  height: 20px;
}

.tab-btn-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.3;
}

.feature-tab-btn.active .tab-icon-wrapper {
  background-color: var(--primary-orange);
  color: var(--white);
}

/* Feature Tab Panel */
.feature-tab-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  background-color: var(--light-grey);
  padding: 50px;
  border-radius: 16px;
  align-items: center;
  min-height: 400px;
  transition: opacity var(--transition-slow);
}

/* Reverse layout for even tabs (Image left, content right) */
.feature-tab-panel.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-tab-panel.reverse .panel-content {
  grid-column: 2;
}

.feature-tab-panel.reverse .panel-visual {
  grid-column: 1;
  grid-row: 1;
}

.panel-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.panel-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background-color: var(--primary-orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.panel-action {
  margin-top: 10px;
}

.panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.06));
}

.panel-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}


/* ==========================================================================
   6. SECTION 4: BUSINESS BENEFITS
   ========================================================================== */
.benefits-section {
  padding: 90px 0;
  background-color: var(--light-grey);
}

.benefits-layouts-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
}

.benefit-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  background-color: var(--white);
  padding: 45px 50px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  align-items: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.benefit-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.benefit-row.reverse .benefit-text-area {
  grid-column: 2;
}

.benefit-row.reverse .benefit-visual-area {
  grid-column: 1;
  grid-row: 1;
}

.benefit-text-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.benefit-visual-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-svg-container {
  width: 150px;
  height: 150px;
}

.benefit-svg {
  width: 100%;
  height: 100%;
}

/* Micro-animations in SVGs */
@keyframes drawPath {
  to {
    stroke-dashoffset: 0;
  }
}

.animated-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawPath 3s ease-out forwards infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.4; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(0.95); opacity: 0.4; }
}

.pulsing-ring {
  transform-origin: center;
  animation: pulse 3s ease-in-out infinite;
}


/* ==========================================================================
   7. SECTION 5: WHY US
   ========================================================================== */
.why-us-section {
  padding: 90px 0;
  background-color: var(--white);
}

.collab-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.collab-box {
  background-color: var(--white);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  width: 160px;
  height: 70px;
  padding: 10px;
  transition: transform var(--transition-fast);
}

.collab-box:hover {
  transform: scale(1.05);
  border-color: var(--primary-orange);
}

.collab-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.collab-brand.wso2 {
  color: #ff5000; /* Original WSO2 brand orange */
}

.collab-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.collab-plus, .collab-equal {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-light);
  width: 40px;
  height: 40px;
}

.collab-result {
  background-color: var(--white);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  width: 160px;
  height: 70px;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.collab-result:hover {
  transform: scale(1.05);
  border-color: var(--primary-orange);
}

.result-icon-wrapper {
  position: relative;
  color: var(--primary-orange);
}

.result-icon {
  width: 36px;
  height: 36px;
  display: block;
}

.small-gear-svg {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  color: var(--primary-orange);
  animation: spin 5s linear infinite;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.capability-card {
  background-color: var(--white);
  padding: 35px 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-orange-light);
  box-shadow: var(--shadow-lg);
}

.capability-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  position: relative;
  padding-left: 15px;
}

.capability-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 18px;
  background-color: var(--primary-orange);
  border-radius: 2px;
}

.capability-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.capability-text strong {
  color: var(--text-main);
}


/* ==========================================================================
   8. SECTION 6: TRUST BUILDING (CASE STUDY CAROUSEL)
   ========================================================================== */
.trust-section {
  padding: 90px 0;
  background-color: var(--light-grey);
}

.slider-wrapper {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
}

.slider-container {
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
}

.slider-track {
  display: flex;
  transition: transform var(--transition-slow);
  width: 100%;
}

.case-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 10px;
  opacity: 0.4;
  transform: scale(0.96);
  transition: all var(--transition-slow);
}

.case-slide.active {
  opacity: 1;
  transform: scale(1);
}

.case-card {
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 420px; /* Force consistent height across all cards */
  overflow: hidden;
}.case-card-left {
  flex: 0 0 38%;
  background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
  padding: 40px 25px 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.case-card-right {
  flex: 0 0 62%;
  background-color: var(--white);
  padding: 40px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.case-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 18px;
  margin-bottom: 5px;
}

.case-logo-img {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background-color: var(--white);
  padding: 5px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.case-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.case-bank-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.25;
}

.case-badge {
  background-color: #ffd8a8; /* soft golden orange */
  color: #4e2a00; /* dark brown for excellent contrast */
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.case-hero-metric {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-orange);
  line-height: 1.35;
  margin: 0;
  max-width: 100%;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 15px rgba(244, 82, 13, 0.3); /* glowing effect */
}

.case-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 100%;
  margin: 0;
}

.case-desc strong {
  color: var(--text-main);
  font-weight: 600;
}

.case-quote {
  font-style: italic;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  border-top: 1px dashed rgba(0,0,0,0.08);
  padding-top: 18px;
  margin-top: 15px;
  max-width: 100%;
  text-align: left;
  line-height: 1.6;
}

.case-quote cite {
  display: inline;
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: var(--primary-orange);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(244, 82, 13, 0.35);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.slider-nav-btn:hover {
  background-color: var(--primary-orange-hover);
  box-shadow: 0 6px 20px rgba(244, 82, 13, 0.45);
  transform: translateY(-50%) scale(1.05);
}

.prev-btn {
  left: -60px;
}

.next-btn {
  right: -60px;
}

.slider-nav-btn svg {
  width: 20px;
  height: 20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1d1d6;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.dot:hover {
  background-color: var(--text-light);
}

.dot.active {
  background-color: var(--primary-orange);
  width: 24px;
  border-radius: 5px;
}


/* ==========================================================================
   9. SECTION 7: CONTACT CALL-TO-ACTION
   ========================================================================== */
.contact-cta-section {
  padding: 90px 0;
  background-color: #fafafc; /* Light off-white background */
  border-top: 1px solid var(--border-color);
  position: relative;
}

.contact-cta-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.contact-cta-visual {
  width: 100%;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.04));
  display: flex;
}

.contact-cta-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.contact-cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.cta-title-new {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.cta-action-area-new {
  display: flex;
  width: 100%;
}

.btn-cta-orange {
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(244, 82, 13, 0.25);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-cta-orange:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 82, 13, 0.35);
}

.cta-subtitle-new {
  font-size: 0.95rem;
  line-height: 1.5;
}

.cta-subtitle-link {
  color: var(--text-main);
  text-decoration: underline;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.cta-subtitle-link:hover {
  color: var(--primary-orange);
}


/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
  background-color: #161618; /* Dark charcoal/black */
  color: #a0a0ab;
  padding: 80px 0 0; /* padding bottom 0 because footer-bottom handles it */
  font-size: 0.9rem;
  border-top: 1.5px solid #222225;
  font-family: var(--font-body);
}

.footer-grid-container {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  border-left: 3px solid var(--primary-orange);
  padding-left: 12px;
  line-height: 1.2;
}

.footer-about-text {
  line-height: 1.6;
  color: #a0a0ab;
}

.footer-about-text.font-small {
  font-size: 0.82rem;
  color: #71717a;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.social-btn {
  background-color: #27272a;
  color: #d4d4d8;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

.social-btn svg {
  width: 18px;
  height: 18px;
}

/* Kakao QR Area */
.footer-qr-area {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.qr-code-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--white);
  padding: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qr-code-svg {
  width: 100%;
  height: 100%;
}

.qr-text {
  font-size: 0.85rem;
  color: #d4d4d8;
  font-weight: 500;
}

/* Links List */
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: #a0a0ab;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--primary-orange);
  padding-left: 4px;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-list li.align-start {
  align-items: flex-start;
}

.contact-icon-box {
  background-color: #27272a;
  color: var(--primary-orange);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box.mt-4 {
  margin-top: 4px;
}

.contact-icon-box svg {
  width: 15px;
  height: 15px;
}

.contact-info-text {
  color: #d4d4d8;
  line-height: 1.5;
  font-size: 0.88rem;
}

.leading-loose {
  line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
  background-color: #111112; /* Darker bottom bar */
  padding: 24px 0;
  border-top: 1px solid #222225;
  margin-top: 60px;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.back-to-top-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: var(--primary-orange);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all var(--transition-fast);
  opacity: 0;
  visibility: hidden;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 82, 13, 0.4);
}

.back-to-top-btn svg {
  width: 20px;
  height: 20px;
}


/* ==========================================================================
   11. TOAST NOTIFICATION (POPUP)
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--white);
  color: var(--text-main);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  z-index: 2000;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  border-left: 5px solid #48bb78; /* green border */
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  background-color: #c6f6d5;
  color: #48bb78;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 0.95rem;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toast-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.toast-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
/* ==========================================================================
   11.2. CONTACT POPUP MODAL
   ========================================================================== */
.contact-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-card {
  width: 95%;
  max-width: 420px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.contact-modal-overlay.active .contact-modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fafafc;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  color: var(--text-main);
  background-color: #f2f2f6;
  transform: rotate(90deg);
}

.modal-form-card {
  padding: 40px 30px 30px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   11.5. SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-300 { transition-delay: 300ms; }
.reveal-delay-400 { transition-delay: 400ms; }


/* ==========================================================================
   12. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet Layout (Landscape & Portrait) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual-area {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .hero-form-wrapper {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .feature-tab-panel, .feature-tab-panel.reverse {
    grid-template-columns: 1fr;
    padding: 35px;
    gap: 30px;
  }
  
  .feature-tab-panel.reverse .panel-content {
    grid-column: 1;
  }
  
  .feature-tab-panel.reverse .panel-visual {
    grid-column: 1;
    grid-row: auto;
  }

  .panel-visual {
    order: -1;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .benefit-row, .benefit-row.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px;
  }
  
  .benefit-row.reverse .benefit-text-area {
    grid-column: 1;
  }
  
  .benefit-row.reverse .benefit-visual-area {
    grid-column: 1;
    grid-row: 2;
  }

  .contact-cta-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .contact-cta-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .contact-cta-content {
    align-items: center;
  }

  .footer-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Tablet Portrait & Mobile Grid Adjustments */
@media (max-width: 768px) {
  .nav-contact-info {
    gap: 15px;
  }
  
  #nav-email-link, #nav-phone-link {
    display: none; /* Hide contacts from header bar to fit mobile screens */
  }
  

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .slider-wrapper {
    gap: 0;
  }
  
  .slider-nav-btn {
    display: none;
  }
}

/* Mobile Screen Layout */
@media (max-width: 480px) {
  html {
    font-size: 15px; /* scale down base typography slightly */
  }
  
  .container {
    padding: 0 16px;
  }
  
  .site-header {
    height: 70px;
  }
  
  .site-header.scrolled {
    height: 65px;
  }
  
  .logo-icon-wrapper {
    width: 36px;
    height: 36px;
  }
  
  .brand-name {
    font-size: 1.15rem;
  }
  
  .brand-slogan {
    font-size: 0.5rem;
  }
  
  .nav-cta {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  
  .hero-section {
    padding: 40px 0 60px;
  }
  
  .lead-form-card {
    padding: 25px 20px;
  }
  
  .feature-tabs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .feature-tab-btn {
    padding: 14px 18px;
  }
  
  .feature-tab-panel {
    padding: 25px 20px;
  }
  
  .benefit-row {
    padding: 25px 20px;
  }
  
  .case-card {
    flex-direction: column;
    min-height: auto;
    padding: 0;
  }
  
  .case-card-left {
    flex: auto;
    padding: 30px 25px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 20px;
  }
  
  .case-card-right {
    flex: auto;
    padding: 30px 25px;
    gap: 15px;
  }

  .case-card-header {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 15px;
  }
  
  .case-hero-metric {
    font-size: 1.35rem;
  }
  
  .case-meta {
    align-items: center;
  }
  
  .case-hero-metric {
    font-size: 1.3rem;
  }
  
  .footer-grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .toast-notification {
    bottom: 16px;
    right: 16px;
    width: calc(100% - 32px);
    padding: 16px;
  }
}

/* ==========================================================================
   11. THEME SWITCHER & DARK THEME OVERRIDES
   ========================================================================== */
/* THEME TOGGLE BUTTON */
.theme-toggle-btn {
  display: none !important; /* Temporarily hidden as requested */
  background-color: var(--light-grey);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  margin-right: 15px;
  outline: none;
}

.theme-toggle-btn:hover {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: scale(1.05);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: block;
  width: 18px;
  height: 18px;
}

/* Dark theme overrides */
body.dark-theme {
  --white: #121212;
  --light-grey: #1c1c1e;
  --text-main: #f5f5f7;
  --text-muted: #8e8e93;
  --text-light: #636366;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 30px rgba(0, 0, 0, 0.4);
  background-color: #121212;
  color: #f5f5f7;
}

body.dark-theme .theme-toggle-btn .sun-icon {
  display: block;
  width: 18px;
  height: 18px;
}

body.dark-theme .theme-toggle-btn .moon-icon {
  display: none;
}

/* Specific Dark Theme adjustments for details */
body.dark-theme .site-header {
  background-color: rgba(18, 18, 18, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .site-header.scrolled {
  background-color: rgba(18, 18, 18, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-theme .lead-form-card {
  background-color: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .feature-tab-btn {
  background-color: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .feature-tab-btn.active {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
}

body.dark-theme .feature-tab-panel {
  background-color: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .benefit-row {
  background-color: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .footer-section {
  background-color: #0a0a0a;
}

body.dark-theme .contact-card {
  background-color: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .modal-content {
  background-color: #1c1c1e;
  color: #f5f5f7;
}

body.dark-theme .form-control {
  background-color: #121212;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

body.dark-theme .form-control::placeholder {
  color: #636366;
}

body.dark-theme .form-control:focus {
  background-color: #000000;
  border-color: var(--primary-orange);
}

body.dark-theme .contact-cta-section {
  background-color: #1a1a1c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   12. LANGUAGE SELECTOR & DROPDOWN
   ========================================================================== */
.lang-selector {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0;
  margin: 0;
  line-height: 1;
  transition: color var(--transition-fast);
  outline: none;
}

.lang-btn > * {
  pointer-events: none;
}

.lang-btn:hover {
  color: var(--primary-orange);
}

.lang-btn .globe-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-orange);
}

.lang-btn .chevron-icon {
  width: 12px;
  height: 12px;
  color: var(--text-light);
  margin-left: 2px;
  transition: color var(--transition-fast);
}

.lang-btn:hover .chevron-icon {
  color: var(--primary-orange);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 1000;
  overflow: hidden;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 10px 16px;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.lang-option:hover {
  background-color: var(--light-grey);
  color: var(--primary-orange);
}

.lang-option.active {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
}

/* Dark theme overrides for language selector */
body.dark-theme .lang-dropdown {
  background-color: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.dark-theme .lang-option:hover {
  background-color: #2c2c2e;
}
