/* ========================================
   CSS VARIABLES
   Global design tokens
   ======================================== */

:root {
  /* Primary Colors */
  --primary: #14b8a6;
  --primary-dark: #0d9488;
  --primary-glow: rgba(20, 184, 166, 0.3);

  /* Secondary Colors */
  --secondary: #1a1a2e;
  --accent: #6c63ff;
  --accent-glow: rgba(108, 99, 255, 0.3);

  /* Neutrals */
  --surface: #f8fafb;
  --surface-alt: #f0f4f8;
  --text: #2d3748;
  --text-light: #5f6e80;
  --text-dark: #1a202c;
  --white: #ffffff;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #0d9488 100%);
  --gradient-hero: linear-gradient(135deg, #0a0f1c 0%, #1a1a2e 40%, #16213e 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafb 100%);
  --gradient-blue: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 4px 30px rgba(20, 184, 166, 0.25);

  /* Spacing & Sizes */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-full: 50px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease;
  --transition-slow: 0.5s ease;

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* Font Families */
  --font-main: 'Kanit', sans-serif;
  --font-display: 'Kanit', sans-serif;
}/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

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

body {
  font-family: var(--font-main);
  line-height: 1.7;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Focus Styles for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* Responsive Typography */
@media screen and (max-width: 480px) {
  html {
    font-size: 15px;
  }
}/* ========================================
   NAVBAR COMPONENT
   ======================================== */

.navbar {
  box-shadow: none;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.is-fixed-top.is-white {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.is-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand .navbar-item {
  padding: 0.5rem !important;
}

/* Navbar Logo Gradient */
.navbar-logo-gradient {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.625rem !important;
  border-radius: 0.75rem !important;
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
              0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  z-index: 1 !important;
  width: 56px;
  height: 56px;
}

.navbar-logo-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.1),
              0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.navbar-logo-gradient img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* Navbar Items */
.navbar-item img {
  max-height: 42px;
}

.navbar-item {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text) !important;
  transition: color var(--transition);
}

.navbar-item:hover {
  color: var(--primary) !important;
  background: transparent !important;
}

.navbar-item.is-active-section {
  color: var(--primary) !important;
  font-weight: 600;
}

/* Navbar Start Items */
.navbar-start .navbar-item {
  font-weight: 500;
  font-family: var(--font-main);
  color: var(--text-dark);
}

.navbar-start .navbar-item:hover {
  color: var(--primary);
  background: rgba(20, 184, 166, 0.06);
}

/* Navbar End Items */
.navbar-end .navbar-item {
  display: flex;
  align-items: center;
}

/* Navbar Burger */
.navbar-burger span {
  height: 2px;
  border-radius: 2px;
}

.navbar-burger {
  color: var(--text);
}

.navbar-burger:hover {
  color: var(--primary);
}

/* Navbar CTA Button */
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 500 !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  box-shadow: var(--shadow-glow) !important;
  transform: translateY(-1px);
}

/* Responsive Navbar */
@media screen and (max-width: 768px) {
  .navbar-logo-gradient {
    padding: 0.5rem !important;
  }

  .navbar-logo-gradient img {
    width: 48px;
    height: 48px;
  }
}/* ========================================
   FOOTER COMPONENT
   ======================================== */

.footer-section {
  background: var(--gradient-hero);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 1.5rem 2rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

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

.footer-logo {
  max-width: 140px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 320px;
}

.footer-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
}

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

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}/* ========================================
   BUTTONS COMPONENT
   ======================================== */

/* Primary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-main);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn i {
  font-size: 0.9rem;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(20, 184, 166, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
}

.btn-dark {
  background: var(--gradient-hero);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Navbar Buttons */
.nav-contact-btn,
.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-main);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-contact-btn i,
.nav-login-btn i {
  font-size: 0.8rem;
}

.nav-contact-btn {
  color: var(--text);
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.18);
}

.nav-contact-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(20, 184, 166, 0.06);
}

.nav-login-btn {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
  box-shadow: 0 2px 12px rgba(20, 184, 166, 0.35);
  border: 1.5px solid transparent;
}

.nav-login-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0284c7 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.5);
  color: var(--white);
}

/* Store Buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.store-btn i {
  font-size: 1.5rem;
  color: var(--primary);
}

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

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-btn-text small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
}

.store-btn-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* Responsive Buttons */
@media screen and (max-width: 768px) {
  .nav-contact-btn,
  .nav-login-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}/* ========================================
   CARDS COMPONENT
   ======================================== */

/* Content Card */
.content-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
  transition: box-shadow var(--transition);
}

.content-card:hover {
  box-shadow: var(--shadow-md);
}

.content-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.content-card-title i {
  color: var(--primary);
}

/* Highlight Box */
.highlight-box {
  background: rgba(20, 184, 166, 0.08);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin-bottom: 0.5rem;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

.highlight-box ul {
  margin-bottom: 0;
  margin-top: 0.5rem;
}

/* Info Grid Item */
.info-grid-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
  height: 100%;
}

.info-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-grid-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-grid-item h4 i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* Security Card */
.security-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all var(--transition);
}

.security-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.security-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--white);
}

/* Rights Card */
.rights-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.rights-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.rights-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rights-card h4 i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* Feature Card */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Grid Cards */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media screen and (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}/* ========================================
   ANIMATIONS COMPONENT
   ======================================== */

/* Fade Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Movement Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Scale Animations */
@keyframes slideInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0%,
  60%,
  75%,
  90%,
  100% {
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  75% {
    transform: scale3d(0.98, 0.98, 0.98);
  }
  90% {
    transform: scale3d(1.01, 1.01, 1.01);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

/* Gradient Animations */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Glow Animations */
@keyframes headerGlow {
  0% {
    opacity: 0.4;
    transform: scale(1);
  }
  100% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* Scroll Animations */
@keyframes scrollReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.animate-left {
  transform: translateX(-30px);
}

.animate-right {
  transform: translateX(30px);
}

.animate-left.is-visible,
.animate-right.is-visible {
  transform: translateX(0);
}

.animate-scale {
  transform: scale(0.95);
}

.animate-scale.is-visible {
  transform: scale(1);
}/* ========================================
   UTILITY COMPONENTS
   ======================================== */

/* Text Utilities */
.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary);
}

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

.text-white {
  color: var(--white);
}

/* Margin Utilities */
.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 2.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 2.5rem;
}

.my-1 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-3 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.my-4 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Padding Utilities */
.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.p-4 {
  padding: 2rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Display Utilities */
.d-none {
  display: none;
}

.d-flex {
  display: flex;
}

.d-inline-flex {
  display: inline-flex;
}

.d-block {
  display: block;
}

/* Flex Utilities */
.align-center {
  align-items: center;
}

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

.justify-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Position Utilities */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

/* Width Utilities */
.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

/* Border Utilities */
.border-0 {
  border: none;
}

.border-radius {
  border-radius: var(--radius);
}

/* Shadow Utilities */
.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

/* Background Utilities */
.bg-white {
  background: var(--white);
}

.bg-surface {
  background: var(--surface);
}

.bg-primary {
  background: var(--primary);
}

/* Overflow Utilities */
.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

/* Cursor Utilities */
.cursor-pointer {
  cursor: pointer;
}

/* Opacity Utilities */
.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

/* Transition Utilities */
.transition-all {
  transition: all var(--transition);
}

.transition-transform {
  transition: transform var(--transition);
}

/* Responsive Utilities */
@media screen and (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media screen and (min-width: 769px) {
  .hide-desktop {
    display: none !important;
  }
}/* ========================================
   SECTIONS COMPONENT
   ======================================== */

/* Base Section */
.section {
  padding: 5rem 1.5rem;
  position: relative;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(20, 184, 166, 0.1);
  color: #065e56;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.section-badge i {
  font-size: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-title span {
  display: block;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Hero Section */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(108, 99, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Page Header (Subpages) */
.page-header {
  background: var(--gradient-hero);
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: headerGlow 8s ease-in-out infinite alternate;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Two-Column Layout */
.two-column-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Features Section */
.features-section {
  background: var(--surface);
}

/* Showcase Section */
.showcase-section {
  background: var(--white);
}

/* How It Works Section */
.how-section {
  background: var(--surface-alt);
}

/* Steps Container */
.steps-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.steps-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.step-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.step-item:nth-child(even) {
  flex-direction: row-reverse;
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
  z-index: 2;
}

.step-body {
  flex: 1;
  margin: 0 2rem;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step-desc {
  color: var(--text-light);
  line-height: 1.7;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(20, 184, 166, 0.1);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
}

/* Comparison Section */
.comparison-section {
  background: var(--surface-alt);
}

/* Security Section */
.security-section {
  background: var(--white);
}

/* Download Section */
.download-section {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
}

.download-section .section-title,
.download-section .section-desc {
  color: var(--white);
}

/* Responsive Sections */
@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .two-column-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-section {
    padding-top: 4rem;
    min-height: auto;
  }

  .page-header {
    padding: 4rem 1rem 3rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .steps-line {
    left: 30px;
    transform: none;
  }

  .step-item,
  .step-item:nth-child(even) {
    flex-direction: row;
  }

  .step-body {
    margin-left: 2rem;
    margin-right: 0;
  }
}/* ========================================
   BACK TO TOP COMPONENT
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: var(--z-fixed);
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(20, 184, 166, 0.4);
  color: var(--white);
}

.back-to-top i {
  font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
  }

  .back-to-top i {
    font-size: 1rem;
  }
}/* ========================================
   FORMS COMPONENT
   ======================================== */

/* Form Fields */
.field {
  margin-bottom: 1.5rem;
}

.label {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: block;
}

.required {
  color: #ff3860;
  font-weight: 700;
}

.optional {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.9em;
}

/* Inputs */
.input,
.textarea,
.select select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.input:focus,
.textarea:focus,
.select select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--text-light);
}

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

/* Select */
.select {
  position: relative;
}

.select::after {
  content: "▼";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
}

/* Radio */
.radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.radio input {
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
}

/* Button States */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-main);
  color: var(--white);
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.button.is-fullwidth {
  width: 100%;
}

.button i {
  font-size: 0.9rem;
}

/* Error States */
.input.is-danger,
.textarea.is-danger,
.select.is-danger select {
  border-color: #ff3860;
  background-color: #fff5f5;
}

.error-message {
  color: #ff3860;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.is-visible {
  display: block;
}

/* Success Message */
.success-message {
  background: #f0faf5;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.success-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Form Footer */
.form-footer {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-footer-text {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-light);
}

/* Icons in Inputs */
.has-icons-left,
.has-icons-right {
  position: relative;
}

.has-icons-left .icon,
.has-icons-right .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.has-icons-left .icon {
  left: 1rem;
}

.has-icons-right .icon {
  right: 1rem;
}

.has-icons-left .input,
.has-icons-left .textarea,
.has-icons-left .select select {
  padding-left: 2.5rem;
}

.has-icons-right .input,
.has-icons-right .textarea,
.has-icons-right .select select {
  padding-right: 2.5rem;
}

/* Loading States */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: var(--z-modal-backdrop);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loading-overlay.is-visible {
  display: flex;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--surface-alt);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 500;
}/* ========================================
   LANDING PAGE — specific styles
   Import components before this file
   ======================================== */

body {
  overflow-x: hidden;
  background: var(--white);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes bounceIn {
  0%,
  60%,
  75%,
  90%,
  100% {
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  75% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  100% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

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

@keyframes bellRing {
  0% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-15deg);
  }
  30% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.animate-left {
  transform: translateX(-40px);
}
.animate-on-scroll.animate-left.is-visible {
  transform: translateX(0);
}
.animate-on-scroll.animate-right {
  transform: translateX(40px);
}
.animate-on-scroll.animate-right.is-visible {
  transform: translateX(0);
}
.animate-on-scroll.animate-scale {
  transform: scale(0.9);
}
.animate-on-scroll.animate-scale.is-visible {
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}

/* ============ HERO ============ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 6rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  color: #065e56;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #6c63ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 540px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

/* Hero Components */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.hero-phone-mockup {
  position: relative;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1e1e2e 0%, #2a2a3e 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 5px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
}

.phone-notch {
  width: 120px;
  height: 25px;
  background: #1e1e2e;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
}

.phone-content {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-greeting {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}
.phone-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
}

.phone-notification-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  border-left: 3px solid var(--primary);
  animation: slideInScale 0.5s ease forwards;
  opacity: 0;
}

.phone-notification-card:nth-child(3) {
  animation-delay: 0.3s;
}
.phone-notification-card:nth-child(4) {
  animation-delay: 0.6s;
}
.phone-notification-card:nth-child(5) {
  animation-delay: 0.9s;
}

.phone-notif-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.phone-notif-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: white;
}

.phone-notif-sender {
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
}
.phone-notif-time {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6rem;
  margin-left: auto;
}
.phone-notif-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  line-height: 1.4;
}

.phone-notif-unread {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.hero-floating-card {
  position: absolute;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.hero-floating-card.card-2 {
  bottom: 10%;
  right: -10px;
  animation: floatSoft 5s ease-in-out infinite;
  animation-delay: -3s;
}
.floating-card-icon {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--primary);
}
.floating-card-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
}
.floating-card-sub {
  font-size: 0.6rem;
  color: var(--text-light);
}

.hero-floating-card.card-notif-1 {
  top: 3%;
  left: -8px;
  animation: floatSoft 5s ease-in-out infinite;
  animation-delay: -0.5s;
}

.hero-floating-card.card-notif-2 {
  top: 5%;
  right: -5px;
  animation: floatSoft 5.5s ease-in-out infinite;
  animation-delay: -2s;
}

.hero-floating-card.card-notif-3 {
  bottom: 20%;
  left: -5px;
  animation: floatSoft 4.8s ease-in-out infinite;
  animation-delay: -3.5s;
}

.floating-card-icon.c-teal   { color: var(--primary); }
.floating-card-icon.c-red    { color: #ef4444; }
.floating-card-icon.c-blue   { color: #3b82f6; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============ SECTIONS COMMON ============ */
.section {
  padding: 5rem 1.5rem;
}

/* ============ TRUSTED BY / LOGOS ============ */
.trusted-section {
  padding: 3rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.trusted-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.6;
}

.trusted-logo {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  transition:
    opacity 0.3s,
    transform 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.trusted-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--primary);
}

/* ============ FEATURES ============ */
.features-section {
  background: var(--white);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrap {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  flex-shrink: 0;
}

.feature-icon-wrap.green {
  background: rgba(20, 184, 166, 0.12);
  color: var(--primary-dark);
}
.feature-icon-wrap.purple {
  background: rgba(108, 99, 255, 0.12);
  color: #6c63ff;
}
.feature-icon-wrap.orange {
  background: rgba(255, 159, 67, 0.12);
  color: #ff9f43;
}
.feature-icon-wrap.blue {
  background: rgba(52, 152, 219, 0.12);
  color: #3498db;
}
.feature-icon-wrap.red {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
}
.feature-icon-wrap.teal {
  background: rgba(0, 184, 148, 0.12);
  color: #00b894;
}
.feature-icon-wrap.indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}
.feature-icon-wrap.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.15) rotate(5deg);
}
.feature-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.6rem;
  padding-right: 3rem;
}
.feature-card-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background: rgba(20, 184, 166, 0.08);
  color: var(--primary-dark);
  font-weight: 500;
}

.feature-tag i {
  font-size: 0.65rem;
}

/* ============ HOW IT WORKS ============ */
.how-section {
  background: var(--surface);
}

.steps-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0.3;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}
.step-item:nth-child(even) {
  flex-direction: row;
}
.step-item:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all var(--transition);
}

.step-item:hover .step-num {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.step-body {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition);
}

.step-body:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.step-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.step-tag {
  display: inline-block;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-top: 0.5rem;
}

/* ============ USE CASE ============ */
.usecase-section {
  background: var(--white);
}

.usecase-card {
  background: var(--gradient-hero);
  border-radius: var(--radius);
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.usecase-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.usecase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.usecase-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.usecase-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  max-width: 500px;
}
.usecase-flow {
  position: relative;
  z-index: 1;
}

.usecase-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.usecase-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.usecase-step-text {
  font-size: 0.9rem;
  line-height: 1.6;
  padding-top: 0.3rem;
}
.usecase-step-text strong {
  color: var(--primary);
}

.usecase-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-demo {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  color: var(--secondary);
  animation: float 6s ease-in-out infinite;
}

.qr-demo-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: var(--surface);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-dark);
}

.qr-demo-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.qr-demo-sub {
  font-size: 0.75rem;
  color: var(--text-light);
}

.qr-demo-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
  color: var(--primary);
  font-size: 0.8rem;
}

.qr-demo-phone {
  background: var(--surface);
  border-radius: 12px;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.qr-demo-phone i {
  color: var(--primary);
  font-size: 1.2rem;
}
.qr-demo-phone span {
  font-size: 0.8rem;
  color: var(--text);
}

/* ============ COMPARISON ============ */
.comparison-section {
  background: var(--surface);
}

.comparison-table {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background var(--transition);
}

.comparison-row:hover {
  background: rgba(20, 184, 166, 0.02);
}
.comparison-row:last-child {
  border-bottom: none;
}
.comparison-row.header {
  background: var(--gradient-hero);
  color: var(--white);
  font-weight: 600;
}

.comparison-cell {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-cell:first-child {
  text-align: left;
  justify-content: flex-start;
  font-weight: 500;
}
.comparison-row.header .comparison-cell {
  font-size: 1rem;
}
.comparison-highlight {
  background: rgba(20, 184, 166, 0.05);
}
.comparison-check {
  color: var(--primary);
}
.comparison-cross {
  color: #e74c3c;
}
.comparison-warn {
  color: #f39c12;
}

/* ============ MARKETING / WHY ============ */
.why-section {
  background: var(--white);
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
  transition: all var(--transition);
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}
.why-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}
.why-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.why-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============ PORTAL FEATURE SECTION ============ */
.portal-feature-section {
  background: var(--white);
}

.portal-feature-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.portal-feature-row:last-child {
  margin-bottom: 0;
}

.portal-feature-row.reverse {
  flex-direction: row-reverse;
}

.portal-feature-visual {
  flex: 0 0 58%;
  max-width: 58%;
}

.portal-feature-visual .browser-body {
  height: 280px;
}

.portal-feature-content {
  flex: 1;
  min-width: 0;
}

.portal-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.portal-feature-icon.green {
  background: rgba(20, 184, 166, 0.12);
  color: var(--primary-dark);
}
.portal-feature-icon.blue {
  background: rgba(52, 152, 219, 0.12);
  color: #3498db;
}

.portal-feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.portal-feature-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.portal-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portal-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.5;
}

.portal-feature-list li i {
  color: var(--primary);
  font-size: 0.7rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ============ TWO-WAY SECTION ============ */
.twoway-section {
  background: var(--surface);
}

.twoway-diagram {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  max-width: 100%;
}

.twoway-entity {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  flex: 1;
  min-width: 0;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.twoway-entity:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.twoway-entity-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.75rem;
}

.twoway-entity-icon.org {
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
}
.twoway-entity-icon.user {
  background: rgba(108, 99, 255, 0.1);
  color: #6c63ff;
}
.twoway-entity-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}
.twoway-entity-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

.twoway-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-shrink: 0;
  padding: 0 0.5rem;
}

.twoway-arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.twoway-arrow.up {
  background: rgba(108, 99, 255, 0.1);
  color: #6c63ff;
}
.twoway-arrow.down {
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
}

/* ============ DOWNLOAD ============ */
.download-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.download-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.download-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.download-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 0.8rem 1.8rem;
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.store-btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.store-btn-icon {
  font-size: 2rem;
}
.store-btn-text {
  text-align: left;
}
.store-btn-text small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.7;
  font-weight: 300;
}
.store-btn-text strong {
  font-size: 1.05rem;
  font-weight: 600;
}

/* ============ CTA ============ */
.cta-section {
  background: var(--white);
  text-align: center;
}

.cta-box {
  background: var(--gradient-primary);
  border-radius: 24px;
  padding: 4rem 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
}

.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  animation: ctaShimmer 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes ctaShimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cta-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}
.cta-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============ SCREENSHOT STYLES ============ */
.phone-screenshot-real {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: block;
}

.feature-preview {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  flex: 1;
}

.feature-card:hover .feature-preview {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-preview-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-preview-img {
  transform: scale(1.02);
}

/* Portrait phone screenshots in feature cards */
.feature-preview.is-phone {
  background: linear-gradient(180deg, #e8f5e9 0%, #f1f8f1 100%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 1rem 1rem 0;
  height: 220px;
}

.feature-preview.is-phone .feature-preview-img {
  width: 110px;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.feature-card:hover .feature-preview.is-phone .feature-preview-img {
  transform: translateY(-4px);
}

.twoway-screenshot {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  flex: 1;
}

.twoway-entity:hover .twoway-screenshot {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.twoway-screenshot-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Portrait app screenshot on user entity */
.twoway-screenshot.is-phone {
  background: linear-gradient(180deg, #ede9fe 0%, #f5f3ff 100%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 1.25rem 1.25rem 0;
  min-height: 320px;
}

.twoway-screenshot.is-phone .twoway-screenshot-img {
  width: 160px;
  height: 290px;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.usecase-screenshots {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.usecase-screenshot {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
  display: block;
}

.usecase-screenshot:hover {
  transform: scale(1.02);
}

/* Landscape portal screenshot */
.usecase-screenshot.is-landscape {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top center;
}

/* Portrait app screenshots */
.usecase-screenshot.is-portrait {
  width: 180px;
  height: auto;
}

.usecase-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 12px;
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.usecase-flow-arrow i {
  font-size: 1.2rem;
}

.usecase-text {
  flex: 0 0 46%;
}

.usecase-visual-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}

.usecase-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.usecase-flow-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.usecase-flow-img-wrap.poster {
  width: 100%;
  max-width: 260px;
  height: 130px;
}

.usecase-flow-img-wrap.phone {
  width: 110px;
  height: 190px;
}

.usecase-screenshot-horizontal {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.usecase-screenshot-horizontal:hover {
  transform: scale(1.03);
}

.usecase-flow-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(20, 184, 166, 0.2);
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(20, 184, 166, 0.4);
}

.usecase-phones-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.usecase-flow-arrow-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--primary);
}

.usecase-flow-arrow-down i {
  font-size: 1.4rem;
  animation: slideArrowDown 1.5s ease-in-out infinite;
}

.usecase-flow-arrow-down span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.usecase-flow-arrow-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--primary);
}

.usecase-flow-arrow-right i {
  font-size: 1.2rem;
  animation: slideArrow 1.5s ease-in-out infinite;
}

.usecase-flow-arrow-right span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  text-align: center;
}

@keyframes slideArrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

@keyframes slideArrowDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.store-badge-img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.store-btn:hover .store-badge-img {
  transform: scale(1.05);
}

/* ============ SECURITY SECTION ============ */
.security-section {
  background: var(--surface);
}

.security-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.security-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.security-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.security-card:hover::before {
  transform: scaleX(1);
}

.security-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.5rem;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
  transition: all var(--transition);
}

.security-card:hover .security-icon-wrap {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.security-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

.security-card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============ ENGAGEMENT SECTION ============ */
.engagement-section {
  background: var(--white);
}

.engagement-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.engagement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #6c63ff 0%, var(--primary) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.engagement-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.engagement-card:hover::before {
  transform: scaleX(1);
}

.engagement-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.5rem;
  background: rgba(108, 99, 255, 0.1);
  color: #6c63ff;
  transition: all var(--transition);
}

.engagement-card:hover .engagement-icon-wrap {
  background: #6c63ff;
  color: var(--white);
  transform: scale(1.1);
}

.engagement-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

.engagement-card-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============ COMPARISON 4-COL ============ */
.comparison-row-4col {
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
}

/* ============ HERO REAL SCREENSHOT ============ */
.hero-real-screenshot {
  width: 260px;
  height: 540px;
  object-fit: cover;
  object-position: top center;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: block;
  position: relative;
  z-index: 2;
}

.hero-fallback-mockup {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  justify-content: center;
  align-items: center;
}

/* ============ PUSH NOTIFICATION ANIMATION ============ */
.hero-push-overlay {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  z-index: 10;
  pointer-events: none;
}

.hero-push-notif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    0 0 0 0.5px rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(-80px) scale(0.92);
  will-change: transform, opacity;
}

.hero-push-notif-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hero-push-notif-icon.hospital {
  background: #ef4444;
}
.hero-push-notif-icon.school {
  background: #f59e0b;
}

.hero-push-notif-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.hero-push-notif-app {
  font-size: 0.5rem;
  color: rgba(0, 0, 0, 0.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1px;
}

.hero-push-notif-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.2;
}

.hero-push-notif-text {
  font-size: 0.58rem;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes pushNotifDrop {
  0%,
  4% {
    opacity: 0;
    transform: translateY(-80px) scale(0.92);
  }
  8% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  24% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  28% {
    opacity: 0;
    transform: translateY(-30px) scale(0.97);
  }
  32%,
  100% {
    opacity: 0;
    transform: translateY(-80px) scale(0.92);
  }
}

.hero-push-notif.notif-1 {
  animation: pushNotifDrop 12s cubic-bezier(0.22, 1, 0.36, 1) infinite backwards;
  animation-delay: 1s;
}

.hero-push-notif.notif-2 {
  animation: pushNotifDrop 12s cubic-bezier(0.22, 1, 0.36, 1) infinite backwards;
  animation-delay: 5s;
}

.hero-push-notif.notif-3 {
  animation: pushNotifDrop 12s cubic-bezier(0.22, 1, 0.36, 1) infinite backwards;
  animation-delay: 9s;
}

.hero-phone-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    0 0 40px rgba(20, 184, 166, 0.35),
    0 0 80px rgba(20, 184, 166, 0.15);
  animation: phoneGlow 12s ease-in-out infinite;
  will-change: opacity;
}

@keyframes phoneGlow {
  0%, 5%, 14%, 33%, 38%, 47%, 66%, 71%, 80%, 100% { opacity: 0; }
  8%, 12% { opacity: 1; }
  41%, 45% { opacity: 1; }
  74%, 78% { opacity: 1; }
}

.floating-card-icon.success {
  color: #10b981;
}

/* ============ SHOWCASE SECTION ============ */
.showcase-section {
  background: var(--surface);
}

.showcase-group {
  margin-bottom: 3rem;
}

.showcase-group:last-child {
  margin-bottom: 0;
}

.showcase-group-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.showcase-group-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.showcase-group-icon.portal {
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary-dark);
}

.showcase-group-icon.app {
  background: rgba(108, 99, 255, 0.1);
  color: #6c63ff;
}

.showcase-group-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.2rem;
}

.showcase-group-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============ BROWSER FRAME ============ */
.browser-frame {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.browser-frame:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  background: #f1f3f5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dee2e6;
}

.browser-dots span:nth-child(1) {
  background: #ff6b6b;
}
.browser-dots span:nth-child(2) {
  background: #ffd43b;
}
.browser-dots span:nth-child(3) {
  background: #69db7c;
}

.browser-url {
  flex: 1;
  background: var(--white);
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  color: var(--text-light);
  font-family: monospace;
}

.browser-body {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f8f9fa;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  position: relative;
  z-index: 2;
}

.showcase-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #adb5bd;
  gap: 0.5rem;
  z-index: 1;
}

.showcase-placeholder i {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.4;
}

.showcase-placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
}

.showcase-placeholder small {
  font-size: 0.7rem;
  color: #ced4da;
  font-family: monospace;
}

.showcase-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.8rem;
  font-weight: 500;
}

/* Portal Grid */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.showcase-item {
  position: relative;
}

/* ============ PHONE FRAME SHOWCASE ============ */
.showcase-phone-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.showcase-phone-item {
  flex: 0 0 180px;
  text-align: center;
}

.phone-frame-showcase {
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(145deg, #1e1e2e 0%, #2a2a3e 100%);
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.phone-frame-showcase:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.showcase-phone-img {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
  display: block;
  z-index: 2;
}

.showcase-placeholder-phone {
  position: absolute;
  inset: 8px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: rgba(255, 255, 255, 0.3);
  gap: 0.5rem;
  z-index: 1;
}

.showcase-placeholder-phone i {
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.5;
}

.showcase-placeholder-phone span {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.showcase-placeholder-phone small {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: monospace;
}

/* ============ RESPONSIVE ============ */
@media screen and (max-width: 768px) {
  /* Hero Section */
  .hero-content {
    text-align: center;
    padding-bottom: 2rem;
  }

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

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
  }

  /* Phone Mockup */
  .phone-frame {
    width: 200px;
    height: 400px;
    margin: 0 auto;
  }

  .hero-phone-mockup {
    margin-top: 2rem;
  }

  .hero-floating-card {
    display: none;
  }

  .hero-phone-glow {
    display: none;
  }

  /* Feature Cards */
  .feature-card {
    margin-bottom: 1rem;
    padding: 1.5rem;
  }

  .feature-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  /* Section Headers */
  .section-title {
    font-size: 1.8rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  /* Two Way Diagram */
  .twoway-diagram {
    flex-direction: column;
    align-items: stretch;
  }

  .twoway-entity {
    width: 100%;
    max-width: 100%;
  }

  .twoway-arrows {
    flex-direction: row;
    gap: 1rem;
    margin: 0.5rem 0;
  }

  /* Steps */
  .step-item,
  .step-item:nth-child(even) {
    flex-direction: column;
  }

  .steps-line {
    display: none;
  }

  .step-num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  /* Use Case */
  .usecase-card {
    flex-direction: column;
    padding: 1.5rem;
  }

  .usecase-text {
    flex: none;
    width: 100%;
  }

  .usecase-visual-col {
    width: 100%;
  }

  .usecase-title {
    font-size: 1.4rem;
  }

  .usecase-flow-img-wrap.poster {
    max-width: 100%;
    height: 120px;
  }

  .usecase-phones-row {
    gap: 0.6rem;
  }

  .usecase-flow-img-wrap.phone {
    width: 95px;
    height: 165px;
  }

  .qr-demo {
    padding: 1.5rem;
  }

  /* Comparison Table */
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.8rem;
  }

  .comparison-row-4col {
    grid-template-columns: 1fr !important;
  }

  .comparison-cell {
    text-align: left;
    justify-content: flex-start;
    padding: 0.8rem;
  }

  .comparison-cell:first-child {
    font-weight: 600;
    color: var(--secondary);
  }

  /* Security & Engagement Cards */
  .security-card,
  .engagement-card {
    margin-bottom: 1rem;
    padding: 1.5rem;
  }

  .security-icon-wrap,
  .engagement-icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  /* Showcase Section */
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-phone-grid {
    gap: 1rem;
  }

  .showcase-phone-item {
    flex: 0 0 140px;
  }

  .showcase-group-header {
    flex-direction: column;
    text-align: center;
  }

  /* Portal Feature Section */
  .portal-feature-row,
  .portal-feature-row.reverse {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .portal-feature-visual {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .portal-feature-visual .browser-body {
    height: 200px;
  }

  .portal-feature-title {
    font-size: 1.25rem;
  }

  /* Responsive: feature phone preview smaller on mobile */
  .feature-preview.is-phone {
    height: 180px;
  }

  .feature-preview.is-phone .feature-preview-img {
    width: 90px;
    height: 160px;
  }

  /* Responsive: twoway phone on mobile */
  .twoway-screenshot-img {
    height: 200px;
  }

  .twoway-screenshot.is-phone {
    min-height: 240px;
  }

  .twoway-screenshot.is-phone .twoway-screenshot-img {
    width: 120px;
    height: 210px;
  }

  /* Responsive: usecase portrait on mobile */
  .usecase-screenshot.is-portrait {
    width: 150px;
  }

  /* Download Section */
  .download-title {
    font-size: 1.8rem;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* CTA Section */
  .cta-title {
    font-size: 1.6rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Section padding on mobile */
  .section {
    padding: 3.5rem 1.5rem;
  }
}

/* ============ IMAGE MODAL ============ */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.image-modal.is-active {
  display: flex;
}

.image-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.image-modal-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: calc(90vh - 50px);
  animation: slideInScale 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#modalImage {
  max-width: 100%;
  max-height: calc(90vh - 50px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: block;
  object-fit: contain;
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.image-modal-close:hover {
  transform: scale(1.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 480px) {
  /* Extra Small Fixes */
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .section {
    padding: 4rem 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-card,
  .why-card {
    padding: 1.25rem;
  }

  .showcase-phone-item {
    flex: 0 0 120px;
  }

  .hero-real-screenshot {
    width: 200px;
    height: 415px;
    border-radius: 30px;
  }

  .hero-push-overlay {
    top: 12%;
    width: 76%;
  }

  .hero-push-notif {
    padding: 8px 10px;
    gap: 8px;
    border-radius: 12px;
  }

  .hero-push-notif-icon {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
    border-radius: 6px;
  }

  .hero-push-notif-app {
    font-size: 0.42rem;
  }
  .hero-push-notif-title {
    font-size: 0.58rem;
  }
  .hero-push-notif-text {
    font-size: 0.48rem;
  }

  .hero-phone-glow {
    inset: -10px;
    border-radius: 40px;
  }

  .image-modal-content {
    max-width: 95vw;
    max-height: calc(95vh - 40px);
  }

  #modalImage {
    max-height: calc(95vh - 40px);
  }

  .image-modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.8rem;
    top: 8px;
    right: 8px;
  }
}
