/* ============================================
   GIVINTECH — Global Self-Service Solutions
   Design System & Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Colors */
  --primary: #0f2b46;
  --primary-light: #1a3d5c;
  --primary-dark: #091c2e;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --accent-light: #e0f2fe;
  --success: #10b981;
  --warning: #f59e0b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --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);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--gray-300);
}

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

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.navbar.scrolled .navbar-logo {
  color: var(--primary);
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 900;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
}

.navbar.scrolled .navbar-menu a {
  color: var(--gray-600);
}

.navbar-menu a:hover {
  color: var(--white);
}

.navbar.scrolled .navbar-menu a:hover {
  color: var(--accent);
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.navbar-menu a:hover::after {
  width: 100%;
}

/* Dropdown */
.navbar-dropdown {
  position: relative;
}

.navbar-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.navbar-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: var(--transition);
}

.navbar-dropdown:hover .navbar-dropdown-toggle svg {
  transform: rotate(180deg);
}

.navbar-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.navbar-dropdown:hover .navbar-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--gray-700) !important;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.navbar-dropdown-menu a:hover {
  background: var(--accent-light);
  color: var(--accent) !important;
}

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

.navbar-cta {
  padding: 10px 24px;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
}

.navbar-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.navbar-cta::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .navbar-toggle span {
  background: var(--primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 4px;
}

.hero-stat p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

.hero-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
  bottom: -20px;
  left: -30px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  top: 20px;
  right: -20px;
  animation-delay: 2s;
}

.hero-float-card .card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero-float-card .card-icon.blue { background: var(--accent-light); }
.hero-float-card .card-icon.green { background: #d1fae5; }

.hero-float-card h4 {
  font-size: 0.85rem;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.hero-float-card p {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin: 0;
}

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

/* --- Trust Bar --- */
.trust-bar {
  padding: 40px 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-bar-text {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
}

.trust-bar-items {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-400);
}

.trust-item svg {
  width: 24px;
  height: 24px;
  opacity: 0.5;
}

/* --- Features / Value Props --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

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

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-icon.blue { background: var(--accent-light); color: var(--accent); }
.feature-icon.green { background: #d1fae5; color: #059669; }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }
.feature-icon.orange { background: #ffedd5; color: #ea580c; }

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.6;
}

/* --- Solutions Preview --- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  group: true;
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.solution-card:hover img {
  transform: scale(1.08);
}

.solution-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 43, 70, 0.95) 0%, rgba(15, 43, 70, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: var(--transition);
}

.solution-card:hover .solution-card-overlay {
  background: linear-gradient(to top, rgba(15, 43, 70, 0.98) 0%, rgba(15, 43, 70, 0.5) 60%, rgba(15, 43, 70, 0.2) 100%);
}

.solution-card .card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}

.solution-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.solution-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.solution-card .card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.solution-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --- Products Section --- */
.products-section {
  background: var(--gray-50);
}

.products-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.products-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.products-tab:hover,
.products-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.products-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

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

.product-card-image {
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 24px;
}

.product-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tag {
  padding: 4px 10px;
  background: var(--gray-100);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* --- Why Givintech / Comparison --- */
.why-section {
  background: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.why-section .section-header .label {
  color: var(--accent);
}

.why-section .section-header h2 {
  color: var(--white);
}

.why-section .section-header p {
  color: rgba(255,255,255,0.6);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.why-card {
  padding: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(14, 165, 233, 0.3);
  transform: translateY(-4px);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.why-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent) 0%, #0284c7 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.cta-buttons .btn-white {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}

.cta-buttons .btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.cta-buttons .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.cta-buttons .btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-column h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* --- Page Hero (for inner pages) --- */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

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

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.page-hero .breadcrumb a:hover {
  color: var(--accent);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 600px;
}

/* --- Solution Detail Page --- */
.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.solution-text h2 {
  margin-bottom: 20px;
}

.solution-text p {
  font-size: 1rem;
  line-height: 1.8;
}

.pain-points {
  margin: 32px 0;
}

.pain-point-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.pain-point-item:last-child {
  border-bottom: none;
}

.pain-point-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ef4444;
  font-size: 1.1rem;
}

.pain-point-solution .pain-point-icon {
  background: #d1fae5;
  color: #059669;
}

.pain-point-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.pain-point-item p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

.solution-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.solution-image-grid img {
  border-radius: var(--radius-md);
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.solution-image-grid img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}

/* --- Product Combo --- */
.product-combo {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.product-combo h3 {
  margin-bottom: 24px;
}

.combo-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.combo-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.combo-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.combo-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.3rem;
}

.combo-item h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.combo-item p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--gray-700);
  transition: var(--transition);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  background: var(--white);
}

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

/* --- Data/Stats Section --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

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

  .hero-visual {
    display: none;
  }

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

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

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

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

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

  .solution-content {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .navbar-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu a {
    color: var(--gray-700) !important;
    font-size: 1.1rem;
  }

  .navbar-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: var(--gray-50);
    box-shadow: none;
    text-align: center;
    min-width: auto;
  }

  .navbar-toggle {
    display: flex;
    z-index: 1001;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

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

  .products-content {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .combo-items {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .trust-bar .container {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* --- Contact Methods --- */
.contact-methods {
  margin: 32px 0;
}

.contact-method {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-method h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-method a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-method a:hover {
  text-decoration: underline;
}

.contact-method span {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.contact-note {
  font-size: 0.75rem !important;
  color: var(--gray-400) !important;
  margin-top: 2px;
}

.contact-partnership {
  margin-top: 32px;
  padding: 24px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
}

.contact-partnership h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.contact-partnership p {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 12px;
}

/* --- Product Catalog --- */
.product-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-catalog-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.product-catalog-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: var(--accent-light);
}

.product-catalog-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--gray-100);
}

.product-catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-catalog-item:hover .product-catalog-image img {
  transform: scale(1.05);
}

.product-catalog-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
}

.product-catalog-badge.best-seller {
  background: var(--success);
}

.product-catalog-info {
  padding: 24px;
}

.product-catalog-model {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.product-catalog-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-catalog-info > p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-catalog-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-400);
}

.spec-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* --- Module Summary --- */
.module-summary {
  margin-top: 60px;
  text-align: center;
}

.module-summary h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.module-tag {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.module-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* --- Responsive: Product Catalog --- */
@media (max-width: 1024px) {
  .product-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-catalog {
    grid-template-columns: 1fr;
  }

  .product-catalog-image {
    height: 220px;
  }

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

/* --- Product Detail Page --- */
.page-hero {
  padding: 140px 0 60px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.page-hero .label {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--gray-300);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}

.product-detail:last-child {
  border-bottom: none;
}

.product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-detail-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  object-fit: cover;
  max-height: 400px;
}

.product-detail-gallery img:first-child {
  max-height: 480px;
}

.product-detail-model {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.product-detail-info h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-detail-specs {
  margin-bottom: 24px;
}

.product-detail-specs h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.product-detail-specs table {
  width: 100%;
  border-collapse: collapse;
}

.product-detail-specs td {
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-100);
}

.product-detail-specs td:first-child {
  font-weight: 600;
  color: var(--gray-700);
  width: 35%;
  white-space: nowrap;
}

.product-detail-specs td:last-child {
  color: var(--gray-500);
}

.product-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.product-detail-tags span {
  padding: 4px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* --- Module Grid --- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.module-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
  transform: translateY(-3px);
}

.module-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.module-card h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.module-card p {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

/* --- Responsive: Product Detail --- */
@media (max-width: 1024px) {
  .module-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 40px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .product-detail-gallery img,
  .product-detail-gallery img:first-child {
    max-height: 300px;
  }

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

@media (max-width: 480px) {
  .module-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Language Switcher --- */
.lang-switcher {
  position: relative;
}

.lang-switcher-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.lang-switcher-toggle:hover {
  background: var(--gray-200);
  border-color: var(--gray-300);
}

.lang-switcher-toggle .globe-icon {
  font-size: 0.9rem;
}

.lang-switcher-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 160px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}

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

.lang-btn {
  display: block;
  width: 100%;
  padding: 8px 14px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.lang-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
}

/* RTL Support */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .navbar-menu {
  flex-direction: row-reverse;
}

body.rtl .hero-content {
  text-align: right;
}

body.rtl .hero-visual {
  order: -1;
}

body.rtl .section-header {
  text-align: right;
}

body.rtl .feature-card {
  text-align: right;
}

body.rtl .product-catalog-info {
  text-align: right;
}

body.rtl .product-detail-info {
  text-align: right;
}

body.rtl .footer-grid {
  direction: rtl;
}

body.rtl .lang-btn {
  text-align: right;
}

body.rtl .lang-switcher-dropdown {
  right: auto;
  left: 0;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
