/* --- VARIABLES & THEME --- */
:root {
  --bg-dark: #050505;
  --bg-darker: #000000;
  --bg-panel: rgba(20, 20, 20, 0.6);
  --bg-panel-hover: rgba(30, 30, 30, 0.8);
  
  --text-primary: #ffffff;
  --text-muted: #888888;
  --text-dark: #333333;
  
  /* Brand Colors from Logo */
  --accent-light-blue: #1A75CE;
  --accent-dark-blue: #15437E;
  --accent-orange: #F7931E;
  --accent-purple: #7C2982;
  
  --accent: var(--accent-light-blue);
  --accent-glow: rgba(26, 117, 206, 0.15);
  
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-hover: rgba(255, 255, 255, 0.25);
  
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

.section-spacing {
  padding: var(--spacing-xl) 0;
}

.bg-darker {
  background-color: var(--bg-darker);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.text-muted { color: var(--text-muted); }
.text-dark { color: var(--text-dark); }
.text-white { color: var(--text-primary); }
.text-gradient {
  background: linear-gradient(135deg, var(--accent-light-blue) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 2rem; }
.text-center { text-align: center; }
.fw-500 { font-weight: 500; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-2 { margin-left: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.w-full { width: 100%; }
.d-block { display: block; }

.section-title {
  font-size: clamp(1.75rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  word-wrap: break-word;
}
.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* --- UTILITIES & GLASSMORPHISM --- */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.glass-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: transform var(--transition-normal), border-color var(--transition-fast), background var(--transition-fast);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  background: var(--bg-panel-hover);
}

.grid {
  display: grid;
  gap: 2rem;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2-uneven { grid-template-columns: 1fr 1.5fr; }
@media (max-width: 768px) {
  .grid-2-uneven { grid-template-columns: 1fr; }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 100px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent-light-blue);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-dark-blue);
  transform: scale(1.02);
}
.btn-secondary {
  background: rgba(247, 147, 30, 0.1);
  color: var(--accent-orange);
  border-color: rgba(247, 147, 30, 0.3);
}
.btn-secondary:hover {
  background: rgba(247, 147, 30, 0.2);
  border-color: var(--accent-orange);
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: var(--border-color);
}
.btn-outline:hover {
  background: rgba(26, 117, 206, 0.1);
  border-color: var(--accent-light-blue);
  color: var(--accent-light-blue);
}
.btn-lg {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}
.arrow {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

/* --- BACKGROUND EFFECTS --- */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  animation: float 20s infinite alternate ease-in-out;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(26, 117, 206, 0.15);
  top: -100px;
  right: -100px;
}
.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(124, 41, 130, 0.15);
  bottom: 20%;
  left: -50px;
  animation-delay: -5s;
}

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

/* --- NAVIGATION --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: background var(--transition-fast), padding var(--transition-fast);
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  flex: 1;
  display: flex;
  justify-content: flex-start;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links a:hover {
  color: #ffffff;
}
.nav-actions {
  display: flex;
  gap: 1rem;
  flex: 1;
  justify-content: flex-end;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 102;
  width: 30px;
  height: 20px;
  position: relative;
}
.mobile-menu-btn span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  left: 0;
  transition: all 0.3s ease;
}
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 98;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  width: 80%;
  max-width: 300px;
}
.mobile-link {
  font-size: 2rem;
  font-family: var(--font-display);
  font-weight: 600;
}

@media (max-width: 992px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: block; }
}

/* --- HERO SECTION --- */
.hero {
  padding-top: 12rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(26, 117, 206, 0.1);
  border: 1px solid rgba(26, 117, 206, 0.3);
  color: var(--accent-light-blue);
  border-radius: 100px;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 6rem);
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}
@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; }
}

.hero-dashboard {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1000px;
}
.dashboard-mockup {
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  transform: rotateX(10deg) scale(0.95);
  box-shadow: 0 30px 100px rgba(0,0,0,0.8);
  transition: transform var(--transition-slow);
}
.dashboard-mockup:hover {
  transform: rotateX(0) scale(1);
}
.mockup-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.mockup-body {
  padding: 2rem;
  height: 300px;
  background: rgba(0, 0, 0, 0.4);
}
.skeleton-line { height: 20px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 1rem; }
.skeleton-title { height: 40px; background: rgba(255,255,255,0.05); border-radius: 4px; margin-bottom: 2rem; }
.w-30 { width: 30%; }
.w-70 { width: 70%; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 1rem; height: 150px;}
.stat-box { background: rgba(255,255,255,0.03); border-radius: 8px; border: 1px solid var(--border-color); padding: 1rem;}
.skeleton-chart { height: 50%; background: linear-gradient(to top, rgba(255,255,255,0.1), transparent); margin-top: auto; border-radius: 4px;}
.h-full { height: 100%; }

/* --- STATS --- */
.stats-wrapper {
  display: flex;
  justify-content: space-around;
  padding: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 3.5rem;
  background: linear-gradient(to right, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

/* --- SERVICES --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.service-card {
  padding: 3rem;
  transition: transform var(--transition-normal);
}
.service-card:hover {
  transform: translateY(-10px);
}
.service-category {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}
.service-list li {
  margin-bottom: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}
.service-list li::before {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 10px;
  color: var(--accent-light-blue);
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
}
.service-card:hover .service-list li::before {
  opacity: 1;
  transform: translateX(5px);
}

/* --- CA PARTNERSHIP --- */
.ca-wrapper {
  display: flex;
  gap: 4rem;
  padding: 4rem;
  align-items: center;
}
.badge-gold {
  background: rgba(247, 147, 30, 0.1);
  border-color: rgba(247, 147, 30, 0.3);
  color: var(--accent-orange);
}
.gradient-border {
  position: relative;
  background-clip: padding-box;
  border: 1px solid transparent;
}
.gradient-border::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  margin: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
}
.ca-content { flex: 1; }
.ca-graphic { flex: 1; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.abstract-shape {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite alternate;
  border: 1px solid var(--border-color);
}
@keyframes morph {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}
.check-list li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}
.check { color: #fff; margin-right: 10px; font-weight: bold; }
@media (max-width: 768px) {
  .ca-wrapper { flex-direction: column; padding: 2rem; }
}

/* --- PROCESS --- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-step {
  padding: 2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-normal);
}
.process-step:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-5px);
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.1);
  margin-bottom: 1rem;
  line-height: 1;
}
@media (max-width: 1024px) {
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process-timeline { grid-template-columns: 1fr; }
}

/* --- DIFFERENT --- */
.massive-text {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

/* --- INDUSTRIES & TECH --- */
.pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.pill {
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s;
}
.pill:hover {
  background: #fff;
  color: #000;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.tech-item {
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s;
}
.tech-item:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

/* --- FAQ --- */
.accordion {
  border-top: 1px solid var(--border-color);
}
.accordion-item {
  border-bottom: 1px solid var(--border-color);
}
.accordion-header {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.accordion-header h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
}
.accordion-header .icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
}
.accordion-item.active .icon {
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.accordion-item.active .accordion-body {
  max-height: 200px;
}
.accordion-body p {
  padding-bottom: 2rem;
  color: var(--text-muted);
}

/* --- FINAL CTA --- */
.cta-box {
  padding: 6rem 2rem;
}
.massive-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 6rem 0 2rem;
  background: var(--bg-darker);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.footer ul li {
  margin-bottom: 0.8rem;
}
.footer ul li a {
  color: var(--text-muted);
}
.footer ul li a:hover {
  color: #fff;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.3s;
}
.social-links a:hover {
  border-color: #fff;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-wrapper { padding: 2rem 1rem; }
}

/* --- MOBILE STICKY CTA --- */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  display: none;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 10px;
  z-index: 99;
}
.btn-sticky {
  flex: 1;
  text-align: center;
  padding: 10px 5px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-sticky.whatsapp { background: #25D366; color: #fff; }
.btn-sticky.call { background: var(--accent-light-blue); color: #fff; }
@media (max-width: 600px) {
  .mobile-sticky-cta { display: flex; gap: 10px; }
  .footer { padding-bottom: 80px; } /* Space for sticky cta */
}

/* --- ANIMATIONS (SCROLL REVEAL) --- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- SCROLL TO TOP --- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-light-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: var(--accent-dark-blue);
  transform: translateY(-3px);
}
@media (max-width: 600px) {
  .scroll-to-top {
    bottom: 80px; /* Above the sticky mobile CTA */
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
