/* ===== FONT FACES ===== */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --color-navy: #1B2A4A;
  --color-purple: #7030A0;
  --color-purple-light: #9B59B6;
  --color-gold: #D4A017;
  --color-gold-light: #E8C547;
  --color-white: #FFFFFF;
  --color-gray-50: #F8F9FA;
  --color-gray-100: #E9ECEF;
  --color-gray-600: #6C757D;
  --color-gray-900: #212529;

  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --transition: 0.3s ease;
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--color-purple-light);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; margin-bottom: 16px; }
h3 { font-size: 24px; margin-bottom: 12px; }

p {
  margin-bottom: 16px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1;
}

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

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

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

.btn-secondary:hover {
  background: var(--color-purple);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-white:hover {
  background: var(--color-gray-50);
  border-color: var(--color-gray-50);
  color: var(--color-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-white);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

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

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo img {
  height: 40px;
  width: auto;
}

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

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

.nav-links a {
  padding: 8px 16px;
  color: var(--color-gray-900);
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-purple);
  background: rgba(112, 48, 160, 0.06);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-white);
  z-index: 999;
  transition: right var(--transition);
  padding: calc(var(--header-height) + 32px) 24px 32px;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-gray-900);
  border-bottom: 1px solid var(--color-gray-100);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-purple);
}

.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
  display: block;
  text-align: center;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-gray {
  background: var(--color-gray-50);
}

.section-dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255,255,255,0.85);
}

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

.section-header p {
  color: var(--color-gray-600);
  font-size: 18px;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.8);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--color-navy);
  color: var(--color-white);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/brand/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.95) 0%, rgba(112,48,160,0.3) 100%);
}

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

.hero h1 {
  font-size: 56px;
  color: var(--color-white);
  margin-bottom: 20px;
  max-width: 800px;
}

.hero p {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero .btn {
  font-size: 18px;
  padding: 16px 40px;
}

/* Hero particles (CSS-only decoration) */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(212,160,23,0.4);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; animation-duration: 8s; }
.hero-particles span:nth-child(3) { left: 50%; top: 30%; animation-delay: 2s; animation-duration: 7s; }
.hero-particles span:nth-child(4) { left: 70%; top: 70%; animation-delay: 0.5s; }
.hero-particles span:nth-child(5) { left: 85%; top: 40%; animation-delay: 3s; animation-duration: 9s; }
.hero-particles span:nth-child(6) { left: 40%; top: 80%; animation-delay: 1.5s; animation-duration: 7.5s; }
.hero-particles span:nth-child(7) { left: 60%; top: 15%; animation-delay: 2.5s; animation-duration: 8.5s; }
.hero-particles span:nth-child(8) { left: 90%; top: 55%; animation-delay: 0.8s; animation-duration: 6.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

/* Small hero (subpages) */
.hero-small {
  min-height: auto;
  padding: 140px 0 80px;
}

.hero-small h1 {
  font-size: 48px;
}

/* ===== CARDS ===== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(112,48,160,0.1), rgba(212,160,23,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-purple);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  color: var(--color-navy);
}

.card p {
  color: var(--color-gray-600);
  margin-bottom: 0;
}

/* ===== GRID LAYOUTS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.grid-2x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ===== FEATURE ROWS (alternating image/text) ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
}

.feature-row:not(:last-child) {
  border-bottom: 1px solid var(--color-gray-100);
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-content p {
  color: var(--color-gray-600);
  font-size: 17px;
  line-height: 1.7;
}

.feature-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.feature-visual img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* CSS-created visual illustrations */
.visual-illustration {
  background: linear-gradient(135deg, var(--color-gray-50), var(--color-white));
  border-radius: var(--radius-md);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border: 1px solid var(--color-gray-100);
}

/* Data unification visual */
.visual-data-unify {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.data-sources {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.data-source {
  padding: 8px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gray-600);
  box-shadow: var(--shadow-sm);
}

.data-arrow {
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, var(--color-purple), var(--color-gold));
  position: relative;
}

.data-arrow::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  transform: rotate(45deg);
}

.data-platform {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--color-purple), var(--color-navy));
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-md);
}

/* Chat visual */
.visual-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.chat-bubble {
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 85%;
  animation: fadeInChat 0.5s ease both;
}

.chat-user {
  background: var(--color-purple);
  color: var(--color-white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-ai {
  background: var(--color-white);
  color: var(--color-gray-900);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 8px 0;
  justify-content: center;
}

.voice-wave span {
  display: block;
  width: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: voiceWave 1s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { height: 12px; animation-delay: 0s; }
.voice-wave span:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { height: 24px; animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { height: 12px; animation-delay: 0.4s; }
.voice-wave span:nth-child(6) { height: 20px; animation-delay: 0.5s; }
.voice-wave span:nth-child(7) { height: 16px; animation-delay: 0.6s; }

@keyframes voiceWave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

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

/* Agent visual */
.visual-agents {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.agent-hub {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-purple), var(--color-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.agent-hub svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2;
}

.agent-lines {
  display: flex;
  gap: 40px;
}

.agent-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.agent-line .line {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--color-purple), transparent);
}

.agent-task {
  padding: 8px 14px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gray-600);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* ===== STEP FLOW (Platform page) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-purple), var(--color-navy));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step p {
  color: var(--color-gray-600);
  font-size: 15px;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--color-purple), var(--color-gold));
}

/* ===== PARTNER SHOWCASE ===== */
.partner-feature {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
}

.partner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.partner-header h3 {
  font-size: 28px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,42,74,0.0);
  transition: background var(--transition);
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(27,42,74,0.1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

/* ===== INTEGRATION GRID ===== */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

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

.integration-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-purple);
}

.integration-item svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  stroke: var(--color-purple);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.integration-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gray-600);
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  margin-bottom: 24px;
}

.cta-section p {
  margin-bottom: 32px;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-gray-900);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(112,48,160,0.1);
}

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

.form-group .error {
  border-color: #dc3545;
}

.form-error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-success {
  background: #d4edda;
  color: #155724;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  display: none;
}

.form-success.visible {
  display: block;
}

.contact-info {
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  padding: 32px;
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-purple);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item p {
  margin-bottom: 0;
}

.contact-info-item a {
  color: var(--color-purple);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer h4 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 44px;
  }

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

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

  .step:not(:last-child)::after {
    display: none;
  }

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-small {
    padding: 110px 0 60px;
  }

  .hero-small h1 {
    font-size: 30px;
  }

  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  .section {
    padding: 60px 0;
  }

  .grid-3,
  .grid-2,
  .grid-2x3 {
    grid-template-columns: 1fr;
  }

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

  .feature-row.reverse {
    direction: ltr;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

  .partner-feature {
    padding: 24px;
  }

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

  .gallery-item img {
    height: 200px;
  }

  .feature-content h3 {
    font-size: 24px;
  }

  .agent-lines {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

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

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

  .hero .btn {
    font-size: 16px;
    padding: 14px 32px;
    width: 100%;
  }

  .hero h1 {
    font-size: 28px;
  }

  .partner-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
