/* ============================================
   ShopWa.net - Professional Stylesheet
   WhatsApp Business Solutions Provider
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #25D366;
  --primary-dark: #1DA851;
  --secondary: #075E54;
  --accent: #128C7E;
  --dark: #0B1D26;
  --dark-light: #1A2E3B;
  --text-primary: #1A1A2E;
  --text-secondary: #4A5568;
  --text-light: #718096;
  --bg-white: #FFFFFF;
  --bg-light: #F7FAFB;
  --bg-gray: #EDF2F7;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
}

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

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

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

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

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

h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2.4rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { color: var(--text-secondary); }

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

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  background: rgba(37, 211, 102, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.8;
}

.section-subtitle.centered {
  margin: 0 auto;
}

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

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

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

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

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--dark-light);
  border-color: var(--dark-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 94, 84, 0.3);
}

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

.btn-outline:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--secondary);
  border-color: #fff;
}

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

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

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

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

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo .logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

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

.nav-cta {
  margin-left: 12px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

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

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 30%, #f0fdfa 60%, #f7fafb 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(18, 140, 126, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 28px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

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

.hero p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

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

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  z-index: -1;
  opacity: 0.3;
}

.chat-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-avatar svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.chat-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.chat-info p {
  font-size: 0.78rem;
  color: var(--primary-dark);
  margin: 0;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0;
}

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.chat-msg:nth-child(1) { animation-delay: 0.3s; }
.chat-msg:nth-child(2) { animation-delay: 0.8s; }
.chat-msg:nth-child(3) { animation-delay: 1.3s; }
.chat-msg:nth-child(4) { animation-delay: 1.8s; }

.chat-msg.received {
  background: var(--bg-light);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-msg.sent {
  background: #DCF8C6;
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-msg .time {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 4px;
  text-align: right;
}

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

/* --- Trusted By / Logos --- */
.trusted-by {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.trusted-by p {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 32px;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.trusted-logos .logo-placeholder {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 211, 102, 0.2);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 211, 102, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card .learn-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.service-card:hover .learn-more {
  gap: 10px;
}

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.why-content {
  max-width: 520px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.why-item {
  display: flex;
  gap: 18px;
}

.why-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 211, 102, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h4 {
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.why-visual {
  background: linear-gradient(135deg, var(--secondary), var(--dark));
  border-radius: var(--radius-xl);
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.why-visual::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}

.stat-card h3 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

/* --- How It Works --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.step-card::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -15px;
  width: 30px;
  height: 2px;
  background: var(--border);
}

.step-card:last-child::after {
  display: none;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px;
}

.step-card h4 {
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
}

.testimonial-card .quote-icon {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}

.testimonial-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.testimonial-author-info h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.testimonial-author-info p {
  font-size: 0.8rem;
  font-style: normal;
  margin: 0;
}

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

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(18, 140, 126, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

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

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

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

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

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

/* --- Page Hero (Internal Pages) --- */
.page-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 30%, #f0fdfa 60%, #f7fafb 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

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

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

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

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

/* --- About Page --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-content h2 {
  margin-bottom: 20px;
}

.about-intro-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-visual {
  background: linear-gradient(135deg, var(--secondary), var(--dark));
  border-radius: var(--radius-xl);
  padding: 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.mv-card h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.mv-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

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

.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(37, 211, 102, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h4 {
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  text-align: center;
  padding: 30px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

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

.team-avatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.team-card h4 {
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Company Details */
.company-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.detail-card {
  padding: 30px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.detail-card h4 {
  color: var(--secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Services Page --- */
.services-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 50px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-content h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-detail-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-dark);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.service-detail-visual {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.05), rgba(18, 140, 126, 0.08));
  border-radius: var(--radius-xl);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.service-detail-visual .big-icon {
  width: 120px;
  height: 120px;
  background: rgba(37, 211, 102, 0.12);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-visual .big-icon svg {
  width: 56px;
  height: 56px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

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

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

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  gap: 18px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(37, 211, 102, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-content h4 {
  margin-bottom: 6px;
}

.contact-info-content p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-info-content a {
  color: var(--primary-dark);
  font-weight: 500;
}

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

/* --- Legal Pages (Privacy & Terms) --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-content a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.legal-meta {
  background: var(--bg-light);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- Compliance Banner --- */
.compliance-banner {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.compliance-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
}

.compliance-badge svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-dark);
  fill: none;
  stroke-width: 2;
}

.compliance-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Tech Provider Section --- */
.tech-provider {
  padding: 80px 0;
  background: var(--bg-light);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.tech-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
}

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

.tech-card h4 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-card h4 svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary-dark);
  fill: none;
  stroke-width: 2;
}

.tech-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Partners Section --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.partner-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.partner-card .partner-icon {
  width: 72px;
  height: 72px;
  background: rgba(37, 211, 102, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.partner-card .partner-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 1.8;
}

.partner-card h4 {
  margin-bottom: 8px;
}

.partner-card p {
  font-size: 0.88rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 { font-size: 2.8rem; }

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

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

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

  .hero-visual {
    display: none;
  }

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

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

  .about-intro {
    grid-template-columns: 1fr;
  }

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

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

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

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

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

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

  .step-card::after {
    display: none;
  }

  .company-details {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  html { font-size: 15px; }

  .section {
    padding: 70px 0;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero {
    min-height: auto;
    padding: 130px 0 70px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-cta {
    margin-left: 0;
  }

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

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

  .cta-section h2 {
    font-size: 2rem;
  }

  .page-hero {
    padding: 140px 0 60px;
  }

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

  .compliance-banner {
    flex-direction: column;
    text-align: center;
  }

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

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

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

  .mission-vision {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

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