/* ============================================
   VHSoft - Modern Website Stylesheet
   Brand Colors: Navy #1D2C64, Red #D92925
   ============================================ */

/* === CSS Variables === */
:root {
  --navy: #1D2C64;
  --navy-dark: #131E45;
  --navy-light: #2A3F80;
  --red: #D92925;
  --red-dark: #B01F1C;
  --red-light: #E8504D;
  --white: #FFFFFF;
  --gray-50: #F8F9FC;
  --gray-100: #F1F3F8;
  --gray-200: #E2E5EE;
  --gray-300: #C8CDD9;
  --gray-400: #9BA3B5;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --gradient-hero: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  --gradient-red: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  --gradient-card: linear-gradient(180deg, rgba(29,44,100,0.03) 0%, rgba(29,44,100,0.08) 100%);
  --shadow-sm: 0 1px 3px rgba(29,44,100,0.08);
  --shadow-md: 0 4px 20px rgba(29,44,100,0.1);
  --shadow-lg: 0 10px 40px rgba(29,44,100,0.15);
  --shadow-xl: 0 20px 60px rgba(29,44,100,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 41, 37, 0.08);
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

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

.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-navy { color: var(--navy); }

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

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(217, 41, 37, 0.3);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(217, 41, 37, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

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

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

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

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

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

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

.nav-logo img {
  height: 44px;
  transition: var(--transition);
  background: rgba(255,255,255,0.9);
  border-radius: 6px;
  padding: 4px 8px;
}

.navbar.scrolled .nav-logo img {
  height: 38px;
}

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

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

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

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

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

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

.navbar.scrolled .nav-links a:hover {
  color: var(--navy);
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

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

.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

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

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

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(217,41,37,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

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

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

.hero-content h1 span {
  color: var(--red-light);
}

.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 520px;
}

.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-stats .stat h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 4px;
}

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

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

.hero-logo-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrapper img {
  width: 320px;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 80px rgba(255,255,255,0.1);
  animation: logoFloat 6s ease-in-out infinite;
}

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

.hero-ring {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  animation: ringPulse 4s ease-in-out infinite;
}

.hero-ring:nth-child(2) {
  width: 350px;
  height: 350px;
  animation-delay: 0s;
}

.hero-ring:nth-child(3) {
  width: 450px;
  height: 450px;
  animation-delay: 1s;
}

.hero-ring:nth-child(4) {
  width: 550px;
  height: 550px;
  animation-delay: 2s;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.02); }
}

/* === About Section === */
.about {
  background: var(--gray-50);
}

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

.about-content .section-subtitle {
  margin-bottom: 16px;
}

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

.about-content > p {
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-feature .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(217,41,37,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
}

.about-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.about-image {
  position: relative;
}

.about-image-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.about-image-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-red);
}

.about-image-card img {
  border-radius: var(--radius-md);
  width: 100%;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-badge h3 {
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
}

.about-badge p {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* === Systems Section (VHSoft own) === */
.systems {
  background: var(--white);
}

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

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

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

.system-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

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

.system-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-hero);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.system-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

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

.system-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.system-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.system-features li i {
  color: var(--red);
  font-size: 0.7rem;
}

.system-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.system-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0;
}

.system-card-actions .system-link {
  margin-top: 0;
}

.system-link:hover {
  gap: 10px;
}

.system-link-alt {
  color: var(--navy);
}

.system-link-video {
  color: var(--navy-700);
}

.system-link-video i {
  color: var(--red);
}

/* === Videos Section === */
.videos {
  background: var(--navy);
  position: relative;
}

.videos .section-subtitle,
.videos .section-title,
.videos .section-desc {
  color: rgba(255,255,255,.9);
}

.videos .section-subtitle {
  color: var(--red);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.video-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.video-card:hover {
  border-color: rgba(255,255,255,.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  padding: 20px 24px;
}

.video-info h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-info h3 i {
  color: var(--red);
}

.video-info p {
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* === Partner Systems (SosDados) === */
.partner-systems {
  background: var(--gray-50);
  position: relative;
}

.partner-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 40px;
}

.partner-intro-text {
  max-width: 600px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.partner-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.partner-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-6px);
}

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

.partner-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(29,44,100,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.partner-card-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-published {
  background: rgba(16,185,129,0.1);
  color: #059669;
}

.partner-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.partner-card > p {
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.partner-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.partner-card-features span {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.partner-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.partner-card-url {
  color: var(--gray-400);
  font-size: 0.8rem;
  font-weight: 500;
}

.partner-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
}

.partner-card-link:hover {
  gap: 8px;
}

/* === Industries === */
.industries {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.industries::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217,41,37,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.industries .section-subtitle {
  background: rgba(217,41,37,0.15);
  color: var(--red-light);
}

.industries h2 {
  color: var(--white);
}

.industries .section-desc {
  color: rgba(255,255,255,0.7);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.industry-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.industry-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-6px);
}

.industry-card i {
  font-size: 2.5rem;
  color: var(--red-light);
  margin-bottom: 16px;
  display: block;
}

.industry-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.industry-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* === Tech Stack === */
.tech {
  background: var(--white);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-card {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.tech-card i {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

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

.tech-card p {
  font-size: 0.85rem;
}

/* === Contact Section === */
.contact {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 36px;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item .icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: rgba(217,41,37,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.2rem;
}

.contact-item h4 {
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
}

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

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

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === Footer === */
.footer {
  background: var(--navy-dark);
  padding: 60px 0 0;
}

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

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

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

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

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--red-light);
  transform: translateX(4px);
}

.footer-newsletter p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}

.footer-newsletter-form input::placeholder {
  color: rgba(255,255,255,0.3);
}

.footer-newsletter-form input:focus {
  border-color: var(--red);
}

.footer-newsletter-form button {
  padding: 12px 20px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-newsletter-form button:hover {
  background: var(--red-dark);
}

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

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}

/* === Animations (Scroll Reveal) === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === Counter Animation === */
.counter {
  display: inline-block;
}

/* === Scroll to top === */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  font-size: 1.1rem;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

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

  .hero-content p { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .partner-intro {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    gap: 16px;
  }

  .nav-links.open a {
    color: var(--gray-700) !important;
    font-size: 1rem;
  }

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

  .systems-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
