/* ======================================================
   VISITIX — Landing Page Stylesheet
   Colors: Violet (#5B21B6), Amber (#F59E0B), Dark (#1E1B4B)
   ====================================================== */

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

:root {
  --primary:        #5B21B6;
  --primary-dark:   #3B0764;
  --primary-mid:    #4C1D95;
  --primary-light:  #EDE9FE;
  --accent:         #F59E0B;
  --accent-dark:    #D97706;
  --dark:           #1E1B4B;
  --dark2:          #2D2460;
  --gray-900:       #111827;
  --gray-700:       #374151;
  --gray-500:       #6B7280;
  --gray-300:       #D1D5DB;
  --gray-100:       #F3F4F6;
  --gray-50:        #F9FAFB;
  --white:          #FFFFFF;
  --radius-sm:      6px;
  --radius:         12px;
  --radius-lg:      20px;
  --shadow:         0 4px 24px rgba(91,33,182,0.12);
  --shadow-lg:      0 12px 48px rgba(91,33,182,0.18);
  --transition:     0.2s ease;
}

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

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
p  { color: var(--gray-700); }

.text-center { text-align: center; }
.text-white  { color: white !important; }

/* --- LAYOUT --- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { font-size: 1.15rem; color: var(--gray-500); max-width: 600px; margin: 16px auto 0; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1rem; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: white; border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-mid); border-color: var(--primary-mid); color: white; }
.btn-secondary {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-secondary:hover { background: var(--primary-light); color: var(--primary); }
.btn-white {
  background: white; color: var(--primary); border-color: white;
}
.btn-white:hover { background: var(--primary-light); color: var(--primary); }
.btn-outline-white {
  background: transparent; color: white; border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); color: white; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  padding: 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img, .nav-logo svg { height: 36px; width: auto; display: block; }
.nav-logo-text {
  font-size: 1.35rem; font-weight: 800; color: var(--dark);
  letter-spacing: -0.02em; line-height: 1;
}
.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 0.95rem; font-weight: 600; color: var(--gray-700);
  padding: 4px 0; border-bottom: 2px solid transparent; transition: all var(--transition);
}
.nav-links a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; gap: 4px; align-items: center; }
.lang-switcher-mobile { display: none; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-size: 0.85rem; font-weight: 700; padding: 4px 8px;
  color: var(--gray-500); border-radius: 4px; transition: all var(--transition);
}
.lang-btn.active, .lang-btn:hover { color: var(--primary); background: var(--primary-light); }
.lang-sep { color: var(--gray-300); font-size: 0.75rem; }
.nav-cta { display: flex; align-items: center; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 4px;
}
.hamburger span { width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; display: block; transition: all var(--transition); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 40%, var(--primary-mid) 100%);
  padding: 0;
  position: relative; overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 72px);
}
.hero::before {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 56px 64px;
  position: relative; z-index: 1;
  align-items: stretch;
  flex: 1;
  align-content: center;
  padding: 40px 0;
}
.hero-main   { grid-column: 1; grid-row: 1; }
.hero-visual { grid-column: 2; grid-row: 1; align-self: stretch; }
.hero-stats  { grid-column: 1 / -1; grid-row: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3);
  color: var(--accent); font-size: 0.85rem; font-weight: 700;
  padding: 6px 14px; border-radius: 100px; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero h1 { color: white; margin-bottom: 24px; font-size: clamp(2rem, 3.8vw, 3rem); }
.hero h1 span { color: var(--accent); }
.hero p {
  color: rgba(255,255,255,0.75); font-size: 1.2rem;
  margin-bottom: 40px; max-width: 520px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap;
}
.hero-stat {
  display: flex; flex-direction: column;
}
.hero-stat .num {
  font-size: 1.8rem; font-weight: 800; color: white;
}
.hero-stat .num span { color: var(--accent); }
.hero-stat .label {
  font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 2px;
}
.hero-visual {
  position: relative; z-index: 1;
  display: flex;
  min-height: 0;
  max-height: 540px;
}
.hero-visual .browser-mockup {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  max-height: 540px;
}
.hero-visual .browser-content {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.hero-visual .browser-content::-webkit-scrollbar {
  width: 6px;
}
.hero-visual .browser-content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
}
.hero-visual .browser-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

/* =====================================================
   BROWSER MOCKUP
   ===================================================== */
.browser-mockup {
  background: #1E1E2E;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.browser-bar {
  background: #2A2A3E;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 12px; height: 12px; border-radius: 50%; display: block;
}
.browser-dots .dot-red   { background: #FF5F56; }
.browser-dots .dot-yellow { background: #FFBD2E; }
.browser-dots .dot-green  { background: #27C93F; }
.browser-url {
  flex: 1; background: rgba(255,255,255,0.07);
  border-radius: 6px; padding: 5px 12px;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  font-family: monospace;
}
.browser-content { overflow: hidden; }

/* Frontend mockup */
.fm-hero {
  background: linear-gradient(to bottom, #1E3A5F, #2D5986);
  padding: 24px 20px 20px;
  text-align: center;
}
.fm-logo-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 12px;
}
.fm-logo-icon {
  width: 28px; height: 28px; background: white; border-radius: 5px;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #1E3A5F;
}
.fm-event-name { font-size: 1rem; font-weight: 700; color: white; }
.fm-event-sub  { font-size: 0.65rem; color: rgba(255,255,255,0.65); margin-bottom: 14px; }
.fm-nav {
  display: flex; gap: 12px; justify-content: center; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px;
}
.fm-nav span { font-size: 0.6rem; color: rgba(255,255,255,0.7); padding: 3px 6px; border-radius: 4px; }
.fm-nav span.active { color: white; font-weight: 700; background: rgba(255,255,255,0.15); }
.fm-body { background: white; padding: 16px; }
.fm-section-title { font-size: 0.7rem; font-weight: 700; color: #1E3A5F; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.fm-tickets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.fm-ticket {
  border: 1px solid #E5E7EB; border-radius: 8px; padding: 10px 12px;
}
.fm-ticket .t-name { font-size: 0.65rem; font-weight: 700; color: #111827; }
.fm-ticket .t-desc { font-size: 0.55rem; color: #6B7280; margin: 2px 0; }
.fm-ticket .t-price { font-size: 0.7rem; font-weight: 700; color: #1E3A5F; }
.fm-map { background: #E8F0FE; border-radius: 6px; height: 52px; position: relative; overflow: hidden; }
.fm-map::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px; background: #EA4335; border-radius: 50%; border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(234,67,53,0.2);
}

/* Admin panel mockup */
.am-header {
  background: white; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #E5E7EB;
}
.am-title { font-size: 0.75rem; font-weight: 700; color: #111827; display: flex; align-items: center; gap: 6px; }
.am-logo-dot { width: 20px; height: 20px; border-radius: 4px; background: #5B21B6; display: inline-flex; align-items: center; justify-content: center; }
.am-btns { display: flex; gap: 8px; }
.am-btn { padding: 4px 10px; border-radius: 5px; font-size: 0.6rem; font-weight: 700; }
.am-btn-green { background: #22C55E; color: white; }
.am-btn-gray  { background: #F3F4F6; color: #374151; }
.am-table { background: white; }
.am-table-head {
  display: grid; grid-template-columns: 24px 1fr 1fr 1fr 70px;
  padding: 7px 16px; background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  font-size: 0.58rem; font-weight: 700; color: #6B7280; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.am-table-row {
  display: grid; grid-template-columns: 24px 1fr 1fr 1fr 70px;
  padding: 8px 16px; border-bottom: 1px solid #F3F4F6; gap: 8px;
  align-items: center; font-size: 0.62rem; color: #374151;
}
.am-table-row:last-child { border-bottom: none; }
.am-badge {
  display: inline-block; padding: 2px 8px; border-radius: 100px;
  font-size: 0.55rem; font-weight: 700; background: #EDE9FE; color: #5B21B6;
}
.am-badge-green { background: #DCFCE7; color: #16A34A; }
.am-check { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid #D1D5DB; }

/* =====================================================
   FEATURES GRID
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: white; border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 32px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity var(--transition);
}
.feature-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem; color: var(--primary);
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; color: var(--dark); }
.feature-card p  { font-size: 0.92rem; color: var(--gray-500); line-height: 1.65; }

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.hiw-section { background: var(--gray-50); }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 28px; left: 17%; right: 17%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.2; z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: white;
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 0 8px var(--primary-light);
}
.step h3 { margin-bottom: 12px; color: var(--dark); }
.step p  { font-size: 0.95rem; color: var(--gray-500); }

/* =====================================================
   SCREENSHOTS GALLERY
   ===================================================== */
.screenshots-section { background: var(--dark); }
.screenshots-section .section-header p { color: rgba(255,255,255,0.55); }
.screenshots-section h2 { color: white; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 16px;
  grid-auto-flow: dense;
}
.gallery-item {
  background: #1E1E2E;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.gallery-item:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
/* Bento mosaic spans — items pack tightly without strict row alignment */
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 3; }
.gallery-item:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(3) { grid-column: span 1; grid-row: span 3; }
.gallery-item:nth-child(4) { grid-column: span 1; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(7) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(8) { grid-column: span 2; grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  flex: 1;
}
.gallery-item:hover img {
  transform: scale(1.03);
}
.gallery-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-align: center;
  background: rgba(0,0,0,0.35);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(4px);
}

/* =====================================================
   ICONS
   ===================================================== */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  color: inherit;
}
.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

/* =====================================================
   USE CASES
   ===================================================== */
.usecases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.usecase-card {
  background: white; border-radius: var(--radius); padding: 36px;
  border: 1px solid var(--gray-100); transition: all var(--transition);
  display: flex; gap: 20px;
}
.usecase-card:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
.usecase-icon {
  width: 56px; height: 56px; min-width: 56px; border-radius: var(--radius-sm);
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--primary);
}
.usecase-content h3 { margin-bottom: 10px; }
.usecase-content p { font-size: 0.92rem; color: var(--gray-500); }

/* =====================================================
   INTEGRATIONS
   ===================================================== */
.integrations-section { background: var(--gray-50); }
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.integration-item {
  background: white; border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm); padding: 20px 16px;
  text-align: center; transition: all var(--transition);
}
.integration-item:hover { border-color: var(--primary-light); box-shadow: 0 4px 16px rgba(91,33,182,0.08); }
.integration-icon { font-size: 1.8rem; margin-bottom: 8px; color: var(--primary); }
.integration-name { font-size: 0.78rem; font-weight: 600; color: var(--gray-700); }

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-200, #E5E7EB);
  border-radius: var(--radius-sm); margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left;
  padding: 20px 24px; background: white;
  font-size: 1rem; font-weight: 600; color: var(--gray-900);
  cursor: pointer; border: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question.open { background: var(--primary-light); color: var(--primary); }
.faq-chevron { font-size: 1.2rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0; max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: white;
}
.faq-answer.open {
  max-height: 300px; padding: 0 24px 20px;
}
.faq-answer p { font-size: 0.95rem; color: var(--gray-700); line-height: 1.7; }

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-section { background: var(--primary-light); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start;
}
.contact-info h2 { color: var(--dark); }
.contact-info p { margin: 16px 0 32px; font-size: 1.05rem; color: var(--gray-700); }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.contact-detail .icon { font-size: 1.3rem; margin-top: 2px; }
.contact-detail .text strong { display: block; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 2px; }
.contact-detail .text a, .contact-detail .text span { font-size: 0.95rem; color: var(--dark); font-weight: 600; }

.contact-form-wrap {
  background: white; border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-lg);
}
.contact-form h3 { margin-bottom: 28px; color: var(--dark); font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.875rem; 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: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  font-size: 0.95rem; color: var(--gray-900);
  background: white; transition: border-color var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,33,182,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.8rem; color: var(--gray-500); text-align: center; margin-top: 12px; }
.form-success {
  display: none; text-align: center; padding: 32px;
  color: #16A34A; font-weight: 600; font-size: 1rem;
}
.form-success .check { font-size: 2.5rem; display: block; margin-bottom: 12px; }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: -50%; right: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.2), transparent 70%);
}
.cta-banner h2 { color: white; margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 36px; }
.cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--dark);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; margin: 16px 0 24px; max-width: 300px; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: all var(--transition);
  text-decoration: none;
}
.footer-social:hover { background: var(--primary); color: white; }
.footer-col h4 { color: white; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: gap;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: white; }
.footer-bottom-right { display: flex; align-items: center; gap: 16px; }
.footer-bottom-right .lang-switcher .lang-btn { color: rgba(255,255,255,0.5); }
.footer-bottom-right .lang-btn.active, .footer-bottom-right .lang-btn:hover { color: white; background: rgba(255,255,255,0.1); }

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-bar {
  background: var(--primary-dark); padding: 0;
}
.stats-bar-inner {
  display: flex; justify-content: space-around; flex-wrap: wrap;
}
.stat-bar-item {
  padding: 28px 24px; text-align: center; flex: 1;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 16px;
}
.stat-bar-item:last-child { border-right: none; }
.stat-bar-icon { font-size: 1.8rem; color: white; }
.stat-bar-num { font-size: 1.6rem; font-weight: 800; color: white; line-height: 1; }
.stat-bar-num span { color: var(--accent); }
.stat-bar-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 3px; }

/* =====================================================
   IMAGE MODAL
   ===================================================== */
.img-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.85);
  display: none; align-items: center; justify-content: center;
  padding: 40px; backdrop-filter: blur(6px);
}
.img-modal.active {
  display: flex;
}
.img-modal img {
  max-width: 100%; max-height: calc(100vh - 80px);
  border-radius: var(--radius); box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  object-fit: contain;
}
.img-modal-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: white;
  font-size: 2.5rem; cursor: pointer; line-height: 1;
  transition: color var(--transition);
}
.img-modal-close:hover { color: var(--accent); }

/* =====================================================
   NOTIFICATION TOAST
   ===================================================== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: #1F2937; color: white; padding: 14px 24px;
  border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 600;
  z-index: 9999; transition: transform 0.4s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero p { max-width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0;
    background: white; padding: 24px; gap: 24px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
  }
  .hamburger { display: flex; }
  .nav-right .lang-switcher { display: none; }
  .nav-cta { display: none; }
  .lang-switcher-mobile { display: block; padding-top: 8px; border-top: 1px solid var(--gray-100); margin-top: 8px; }
  .lang-switcher-mobile .lang-switcher { justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .usecases-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-inner { padding: 24px 16px; gap: 24px; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero p { font-size: 1rem; margin-bottom: 24px; }
  .hero-stats { gap: 16px; margin-top: 0; }
  .stats-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-bar-item {
    flex-direction: column;
    gap: 4px;
    padding: 14px 8px;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    align-items: center;
  }
  .stat-bar-item:nth-child(2n) { border-right: none; }
  .stat-bar-item:nth-child(n+3) { border-bottom: none; }
  .stat-bar-num { font-size: 1.15rem; }
  .stat-bar-label { font-size: 0.7rem; line-height: 1.3; }
  .stat-bar-icon svg { width: 20px; height: 20px; }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item { min-height: 240px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 28px 20px; }
}
