@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap");

/* ===========================
   DESIGN SYSTEM - CSS VARIABLES
   =========================== */
:root {
  /* Primary Colors */
  --color-primary: #1560bd;
  --color-primary-light: #2d68c4;
  --color-primary-dark: #11509d;
  --color-primary-rgb: 21, 96, 189;

  /* Secondary Colors */
  --color-secondary: #2b4593;
  --color-secondary-light: #3758bc;
  --color-secondary-dark: #23397a;

  /* Accent Colors */
  --color-accent: #28a745;
  --color-accent-light: #34ce57;
  --color-accent-dark: #1e7e34;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-gray-50: #f8f9fa;
  --color-gray-100: #f1f3f5;
  --color-gray-200: #e9ecef;
  --color-gray-300: #dee2e6;
  --color-gray-400: #ced4da;
  --color-gray-500: #adb5bd;
  --color-gray-600: #6c757d;
  --color-gray-700: #495057;
  --color-gray-800: #343a40;
  --color-gray-900: #212529;

  /* Semantic Colors */
  --color-success: #28a745;
  --color-danger: #dc3545;
  --color-warning: #ffc107;
  --color-info: #17a2b8;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;
  --space-5xl: 6rem;

  /* Typography Scale */
  --font-family-heading: "Sora", sans-serif;
  --font-family-body: "Open Sans", sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max-width: 1200px;
  --header-height: 70px;
}

/* ===========================
   BASE STYLES
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-gray-900);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-gray-900);
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-gray-700);
}

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

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

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  /* Set base to transparent */
  background-color: transparent;

  /* Add background-color to transition so it fades in smoothly */
  transition: background-color var(--transition-base),
    box-shadow var(--transition-base);
}

header.scrolled {
  /* This color will only apply when the 'scrolled' class is added via JS */
  background-color: #d8f147;
  box-shadow: var(--shadow-md);
  .logo-text p {
    color: var(--color-gray-900);
  }
  .nav-links a {
    color: var(--color-gray-700); /* Changed to dark gray */
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-2xl);
  max-width: var(--container-max-width);
  margin: auto;
  height: var(--header-height);
}

.logo-text p {
  display: flex;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--color-gray-100); /* Changed to white */
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-extrabold);
  font-size: var(--font-size-xl);
  letter-spacing: -0.02em;
  transition: color var(--transition-base);
}

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

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
  gap: var(--space-xl);
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--color-white); /* Changed to white */
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-white); /* Changed to white */
  transition: width var(--transition-base);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 70%;
  left: 0;
  background-color: var(--color-gray-800);
  box-shadow: var(--shadow-xl);
  list-style: none;
  padding: var(--space-sm) 0;
  margin: var(--space-sm) 0 0;
  min-width: 200px;
  border-radius: var(--radius-lg);
  opacity: 1;
  transform: translateY(-10px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  margin-left: 10px;
  padding: var(--space-md) var(--space-xl);
  color: var(--color-gray-800);
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background-color: var(--color-gray-50);
  color: var(--color-primary);
  padding-left: calc(var(--space-xl) + 0.5rem);
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 0.8;
    transform: translateY(0);
  }
}

.menu-btn {
  display: none;
  cursor: pointer;
  color: white;
  font-size: var(--font-size-2xl);
  transition: color var(--transition-base);
}

.menu-btn:hover {
  color: var(--color-primary);
}
.nav-links a {
  color: var(--color-gray-200); /* Changed to white */
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  padding: var(--space-sm) 0;
  position: relative;

  transition: color var(--transition-base);
}

/* Text color adjustments for scrolled header */
header.scrolled .logo-text {
  color: var(--color-gray-900);
}

header.scrolled .menu-btn {
  color: var(--color-gray-700);
}

header.scrolled .nav-links a {
  color: var(--color-gray-700);
}

header.scrolled .nav-links a::after {
  background-color: var(--color-primary);
}

/* Specific styling for dropdown menu on desktop when header is scrolled */
header.scrolled .dropdown-menu {
  border: 1px solid var(--color-gray-100); /* Add a subtle border */
}

header.scrolled .dropdown-menu a {
  color: var(--color-gray-100); /* Dark text on white dropdown background */
}

header.scrolled .dropdown-menu a:hover {
  color: var(--color-primary);
  background-color: var(--color-gray-50);
}

header.scrolled .dropdown-menu a:hover::after {
  background-color: var(
    --color-primary
  ); /* Ensure underline color is primary on hover */
}

/* ===========================
   HERO SECTION - SLIDESHOW
   =========================== */
.slideshow-container {
  width: 100%;
  height: 600px; /* Or adjust height as needed */
  position: relative;
  margin: 0;
  overflow: hidden;
  padding-top: var(
    --header-height
  ); /* Push content down to clear transparent navbar */
}

.slide {
  display: none;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(32, 32, 32, 0.5) 0%,
    rgba(39, 39, 39, 0.5) 100%
  );
  z-index: 1;
}

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

.hero-content {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);
  width: 90%;
  max-width: 800px;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-content h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2xl);
  color: rgba(255, 255, 255, 0.95);
  font-weight: var(--font-weight-normal);
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  /* padding: var(--space-lg); */
  margin-top: -22px;
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-1xl);
  transition: all var(--transition-base);
  border-radius: 100%;
  user-select: none;
  z-index: 3;

  backdrop-filter: blur(10px);
}

.next {
  right: var(--space-md);
}

.prev {
  left: var(--space-md);
}

.prev:hover,
.next:hover {
  background: rgba(255, 254, 254, 0.2);
  transform: scale(1.1);
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: var(--space-md) var(--space-sm);
  background-color: rgba(36, 35, 35, 0.5);
  border-radius: var(--radius-full);
  display: inline-block;
  transition: all var(--transition-base);
}

.active,
.dot:hover {
  background-color: var(--color-gray-500);
  transform: scale(1.2);
}

.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}

/* ===========================
   BUTTON STYLES
   =========================== */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-heading);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #d8f147 0%, #a1bd05 100%);
  color: var(--color-gray-900);
  box-shadow: 0 4px 15px rgba(21, 96, 189, 0.3);
}

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

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

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

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: linear-gradient(135deg, #1a1f2e 0%, var(--color-gray-900) 100%);
  color: var(--color-gray-300);
  padding: var(--space-5xl) 0 0;
}

.footer-widgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  gap: var(--space-2xl);
}

.footer-widget {
  flex: 1 1 200px;
  margin-bottom: var(--space-3xl);
}

.footer-widget h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-heading);
}

.footer-widget p {
  color: var(--color-gray-400);
  line-height: var(--line-height-relaxed);
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: var(--space-md);
}

.footer-widget ul li i {
  margin-right: var(--space-md);
  color: var(--color-primary);
}

.footer-widget ul a {
  color: var(--color-gray-400);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-widget ul a:hover {
  color: var(--color-white);
  padding-left: var(--space-sm);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: var(--space-xl) 0;
  margin-top: var(--space-3xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--color-gray-400);
  margin: 0;
}

/* ===========================
    ABOUT SECTIONS
    =========================== */

/* Our Story Section */
.our-story-section {
  background: linear-gradient(
    135deg,
    var(--color-gray-50) 0%,
    var(--color-white) 100%
  );
  padding: var(--space-5xl) 0;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.story-left {
  padding-right: var(--space-2xl);
}

.story-left .section-title {
  margin-bottom: var(--space-lg);
}

.story-text {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-lg);
  color: var(--color-gray-700);
}

.story-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  font-weight: var(--font-weight-medium);
}

.story-right {
  display: flex;
  justify-content: center;
}

.story-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

/* Our Values Section */
.our-values-section {
  background: var(--color-white);
  padding: var(--space-5xl) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
}

.value-card {
  background: var(--color-gray-50);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-100);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  background: var(--color-white);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  margin: 0 auto var(--space-lg);
}

.value-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
  color: var(--color-gray-900);
}

.value-card p {
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
}

/* Our Team Section */
.our-team-section {
  background: linear-gradient(
    135deg,
    var(--color-gray-900) 0%,
    var(--color-secondary-dark) 100%
  );
  color: var(--color-white);
  padding: var(--space-5xl) 0;
}

.our-team-section .section-title,
.our-team-section .section-subtitle {
  color: var(--color-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
}

.team-member {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.team-member h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.team-role {
  font-size: var(--font-size-base);
  color: #d8f147;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-md);
}

.team-bio {
  font-size: var(--font-size-sm);
  color: var(--color-gray-300);
  line-height: var(--line-height-relaxed);
}

/* Why Choose Section */
.why-choose-section {
  background: var(--color-white);
  padding: var(--space-5xl) 0;
}

.why-choose-section .section-subtitle {
  color: var(--color-gray-800);
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
}

.choose-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
  padding: var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  border: 1px solid var(--color-gray-100);
  position: relative;
  overflow: hidden;
}

.choose-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  border-radius: var(--radius-full);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.choose-item:hover::before {
  transform: scaleY(1);
}

.choose-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.choose-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  background: var(--color-white);
}

.choose-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  color: var(--color-white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.choose-item h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-gray-900);
}

.choose-item p {
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* ===========================
    CTA SECTION
    =========================== */

.cta-wrapper {
  background-color: #f8f9fa; /* Light background to contrast with dark card */
  padding: 80px 0;
}

.cta-card {
  background: #1a1e23; /* Dark background from image */
  border-radius: 20px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

/* Left Section */
.limited-offer {
  background: #d8f147;
  color: #000;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 24px;
}

.cta-heading {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff !important;
}

.cta-heading .highlight {
  color: #d8f147; /* Yellow highlight from image */
}

.cta-subtext {
  font-size: 18px;
  color: #adb5bd;
  margin-bottom: 35px;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.btn-trial {
  background: #d8f147;
  color: #000;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.btn-trial:hover {
  background: #abc906;
  transform: translateY(-2px);
}

.btn-demo {
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.btn-demo:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta-guarantees {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #adb5bd;
}

.cta-guarantees i {
  color: #d8f147;
  margin-right: 5px;
}

/* Right Section - Features */
.cta-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: 0.3s;
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.1);
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  background: #d8f147;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrapper i {
  color: #000;
  font-size: 20px;
}

.feature-text h4 {
  color: #ffffff !important;
  margin-bottom: 4px;
  font-size: 18px;
}

.feature-text p {
  color: #adb5bd;
  font-size: 14px;
  margin: 0;
}

/* ===========================
    CHAT WIDGET
    =========================== */
#chat-widget {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 10000;
  font-family: var(--font-family-body);
}

#chat-button {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--font-size-xl);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

#chat-button:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-2xl);
}

#chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

#chat-header {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-white);
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-weight-semibold);
}

#chat-close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: var(--font-size-xl);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition-base);
}

#chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

#chat-messages {
  flex: 1;
  padding: var(--space-lg);
  overflow-y: auto;
  background: var(--color-gray-50);
}

.chat-message {
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  max-width: 80%;
  word-wrap: break-word;
}

.chat-message.user {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: var(--color-white);
  margin-left: auto;
  text-align: right;
}

.chat-message.bot {
  background: var(--color-white);
  color: var(--color-gray-900);
  border: 1px solid var(--color-gray-200);
}

#chat-input-container {
  display: flex;
  padding: var(--space-lg);
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-200);
}

#chat-input {
  flex: 1;
  padding: var(--space-md);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-lg);
  outline: none;
  font-size: var(--font-size-base);
  transition: border-color var(--transition-base);
}

#chat-input:focus {
  border-color: var(--color-primary);
}

#chat-send {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  border: none;
  color: var(--color-white);
  padding: var(--space-md);
  margin-left: var(--space-md);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
}

#chat-send:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

#chat-send i {
  font-size: var(--font-size-base);
}

/* Chat message formatting */
.chat-message ul {
  margin: var(--space-sm) 0;
  padding-left: var(--space-lg);
}

.chat-message li {
  margin-bottom: var(--space-xs);
  line-height: var(--line-height-normal);
}

.chat-message strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.chat-message p {
  margin-bottom: var(--space-sm);
}

.chat-message div {
  margin-bottom: var(--space-sm);
}

/* ===========================
    RESPONSIVE STYLES
    =========================== */
@media (max-width: 1082px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
  }

  .benefits-container,
  .lingel-content,
  .trust-content {
    flex-direction: column;
    align-items: center;
  }

  .trust-content {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .trust-left {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 900px;
  }

  .trust-right {
    width: 100%;
    height: auto;
  }

  .divider-arrow {
    margin: var(--space-2xl) 0;
    transform: rotate(90deg);
  }

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

  .key-benefits-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .story-left {
    padding-right: 0;
  }

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

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

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

  .cta-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-4xl: 3rem;
    --space-5xl: 4rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: left;
    position: absolute;
    top: var(--header-height);
    left: 0;
    top: 95px;
    background-color: #ffffff;

    box-shadow: var(--shadow-xl);
    padding-left: 50px;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

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

  .nav-links.active a::after {
    background-color: var(--color-primary);
  }

  .nav-links li {
    margin: 0;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-gray-200);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .dropdown-toggle {
    display: inline-block;
    padding: 0 var(--space-sm);
    cursor: pointer;
  }

  .dropdown-toggle.open {
    transform: rotate(180deg);
  }

  .menu-btn {
    display: block;
  }

  .dropdown-menu {
    position: static;
    margin-top: 20px;
    display: none;
    background-color: var(--color-gray-100);

    box-shadow: none;
    border-radius: var(--radius-md);
  }

  .dropdown-menu.active {
    display: block;
  }

  .slide {
    height: 400px;
  }

  .slideshow-container {
    height: 400px;

    overflow: hidden;
  }

  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-content p {
    font-size: var(--font-size-base);
  }

  .product-cards-grid,
  .trust-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    gap: var(--space-lg);
  }

  .values-grid,
  .choose-grid {
    grid-template-columns: 1fr;
  }

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

  .choose-item {
    flex-direction: column;
    text-align: center;
  }

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

  .btn-trial,
  .btn-demo {
    text-align: center;
    justify-content: center;
  }

  .key-benefits-scroll {
    width: 100%;
    margin-left: 0;
  }

  .key-benefits-scroll .key-benefit-card {
    min-width: auto;
  }

  .trust-cards {
    grid-template-columns: 1fr;
  }

  .trust-card {
    padding: var(--space-md);
  }

  .trust-card-icon {
    width: 50px;
    height: 50px;
  }

  .trust-card-content h3 {
    font-size: var(--font-size-lg);
  }

  .trust-card-content p {
    font-size: var(--font-size-sm);
  }

  .trust-left {
    max-width: 100%;
  }

  .trust-title {
    font-size: var(--font-size-3xl);
  }

  .trust-badge-large {
    padding: var(--space-lg) var(--space-xl);
    gap: var(--space-md);
  }

  .trust-badge-large i {
    font-size: 2.5rem;
  }

  .trust-badge-large span {
    font-size: var(--font-size-base);
  }

  .feature-card {
    padding: var(--space-lg);
    width: 100%;
    box-sizing: border-box;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-2xl);
  }

  .feature-text {
    font-size: var(--font-size-sm);
  }

  .lingel-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .navbar {
    padding: var(--space-md) var(--space-lg);
  }

  .dropdown-menu li {
    padding: var(--space-sm) var(--space-md);
    color: #000;
  }
  .dropdown-menu a {
    color: #000;
    font-size: 0.8em;
    margin-left: 30px;
  }
  .dropdown-menu a:hover {
    background-color: var(--color-gray-50);
    color: var(--color-primary);
    padding-left: calc(var(--space-xl) + 0.5rem);
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    height: 140px;
  }

  .benefit-text p {
    white-space: normal;
  }

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

  .key-benefits-scroll {
    display: grid;
    grid-template-columns: 1fr;
    overflow-x: visible;
    gap: var(--space-lg);
    width: 100%;
    margin-left: 0;
  }

  .key-benefits-scroll .key-benefit-card {
    min-width: auto;
  }

  .story-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .values-grid,
  .choose-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
  }
  .btn-trial,
  .btn-demo {
    text-align: center;
    justify-content: center;
  }

  .footer-widget {
    flex: 1 1 100%;
  }
}
