/* ===== AARVI INFOSYNC — Enhanced Animated Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg: #f0f0f3;
  --white: #ffffff;
  --dark: #0d0d0d;
  --accent1: #7b61ff;
  --accent2: #4f8cff;
  --accent3: #a855f7;
  --grad: linear-gradient(135deg, #7b61ff 0%, #4f8cff 100%);
  --grad2: linear-gradient(135deg, #a855f7 0%, #7b61ff 50%, #4f8cff 100%);
  --text: #1a1a2e;
  --text2: #6b7280;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 30px;
  --font-head: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}
a, button, input, select, textarea { cursor: none; }

/* ===== CUSTOM CURSOR ===== */
#cursor {
  width: 10px; height: 10px;
  background: var(--accent1);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s, opacity 0.3s;
  mix-blend-mode: multiply;
  will-change: transform;
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(123,97,255,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1), height 0.4s cubic-bezier(0.4,0,0.2,1), border-color 0.3s, background 0.3s;
  will-change: transform;
}
body.cursor-hover #cursor { width: 14px; height: 14px; background: var(--accent2); }
body.cursor-hover #cursor-ring { width: 60px; height: 60px; border-color: rgba(79,140,255,0.25); background: rgba(79,140,255,0.04); }
body.cursor-click #cursor { transform: translate(-50%,-50%) scale(0.6); }

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--grad);
  z-index: 10000;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 10px rgba(123,97,255,0.7), 0 0 20px rgba(123,97,255,0.3);
  transition: width 0.08s linear;
}

/* ===== PAGE TRANSITION OVERLAY ===== */
#page-overlay {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 9997;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
#page-overlay.in  { animation: pgIn  0.5s cubic-bezier(0.76,0,0.24,1) forwards; }
#page-overlay.out { animation: pgOut 0.45s cubic-bezier(0.76,0,0.24,1) forwards; }
@keyframes pgIn  { to { transform: scaleY(1); transform-origin: bottom; } }
@keyframes pgOut { from { transform: scaleY(1); transform-origin: top; } to { transform: scaleY(0); transform-origin: top; } }

/* ===== ANNOUNCEMENT BAR ===== */
.ann-bar {
  background: var(--grad);
  color: #fff; text-align: center;
  padding: 10px 20px; font-size: 13px; letter-spacing: 0.5px;
  position: relative; z-index: 200; overflow: hidden;
}
.ann-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  animation: shimmer 2.8s infinite;
}
.ann-bar span {
  display: inline-block; width: 7px; height: 7px;
  background: rgba(255,255,255,0.85); border-radius: 50%;
  vertical-align: middle; margin-right: 8px;
  animation: dotPulse 1.8s ease-in-out infinite;
}
@keyframes shimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(200%)} }
@keyframes dotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.5)} }

/* ===== NAVBAR ===== */
nav {
  position: sticky; top: 0; z-index: 100;
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(240,240,243,0.72);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}
nav.scrolled { background: rgba(240,240,243,0.96); padding: 10px 40px; box-shadow: 0 4px 32px rgba(0,0,0,0.07); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark); }
.logo-icon {
  width: 36px; height: 36px; background: var(--dark); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 16px;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.logo:hover .logo-icon { background: var(--accent1); transform: rotate(-8deg) scale(1.1); box-shadow: 0 6px 20px rgba(123,97,255,0.4); }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.nav-links {
  display: flex; gap: 4px; list-style: none;
  background: rgba(255,255,255,0.65); border-radius: 50px;
  padding: 6px; border: 1px solid var(--border);
}
.nav-links a {
  text-decoration: none; color: var(--text2);
  font-size: 14px; font-weight: 500;
  padding: 8px 18px; border-radius: 50px;
  transition: all 0.3s ease; position: relative;
}
.nav-links a:hover { color: var(--accent1); background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.nav-links a.active { color: var(--dark); background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.nav-cta {
  background: var(--dark); color: #fff !important;
  padding: 12px 24px !important; border-radius: 50px !important;
  font-weight: 600 !important; font-size: 14px !important;
  text-decoration: none; display: inline-block;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.nav-cta::after {
  content: ''; position: absolute; inset: 0;
  background: var(--grad); transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); border-radius: 50px;
}
.nav-cta:hover::after { transform: translateX(0); }
.nav-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 12px 32px rgba(123,97,255,0.4) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(240,240,243,0.97); backdrop-filter: blur(24px);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-menu.open { display: flex; animation: menuOpen 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes menuOpen { from{opacity:0;transform:scale(0.95)} to{opacity:1;transform:scale(1)} }
.mobile-menu a { font-family: var(--font-head); font-size: 36px; font-weight: 700; text-decoration: none; color: var(--dark); transition: all 0.3s; }
.mobile-menu a:hover { color: var(--accent1); }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: var(--dark); color: #fff; border: none;
  border-radius: 50%; width: 44px; height: 44px; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.mobile-close:hover { background: var(--accent1); transform: rotate(90deg) scale(1.1); }

/* ===== BADGE ===== */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.85); border: 1px solid var(--border);
  border-radius: 50px; padding: 8px 20px;
  font-size: 13px; color: var(--text2); margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.badge::before {
  content: ''; width: 7px; height: 7px;
  background: var(--accent1); border-radius: 50%; flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

/* ===== PAGE HERO ===== */
.page-hero { text-align: center; padding: 80px 40px 60px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800; color: var(--dark);
  line-height: 1.1; max-width: 700px; margin: 0 auto;
}

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }
.section-title { font-family: var(--font-head); font-size: clamp(28px, 4vw, 48px); font-weight: 800; color: var(--dark); line-height: 1.15; margin-bottom: 16px; }
.section-sub { font-size: 16px; color: var(--text2); max-width: 500px; line-height: 1.7; }
.section-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text2); margin-bottom: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ===== ENHANCED CARDS ===== */
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease, border-color 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 2px;
  background: var(--grad); transition: left 0.5s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(123,97,255,0.15); }
.card:hover::before { left: 0; }

/* GLOWING BORDER ON HOVER */
.glow-card {
  position: relative;
}
.glow-card::after {
  content: ''; position: absolute; inset: -2px;
  border-radius: inherit; background: var(--grad);
  z-index: -1; opacity: 0; filter: blur(16px);
  transition: opacity 0.4s ease;
}
.glow-card:hover::after { opacity: 0.25; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; border: none;
  position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
/* Ripple effect layer */
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.18);
  transform: scaleX(0) skewX(-10deg);
  transform-origin: left; border-radius: 50px;
  transition: transform 0.45s ease;
}
.btn:hover::before { transform: scaleX(1.2) skewX(0deg); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(0.96); }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { box-shadow: 0 14px 36px rgba(0,0,0,0.22); }

.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid rgba(0,0,0,0.18); }
.btn-outline:hover { border-color: var(--accent1); color: var(--accent1); background: rgba(123,97,255,0.05); box-shadow: 0 8px 24px rgba(123,97,255,0.12); }

.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(123,97,255,0.35); }
.btn-grad:hover { box-shadow: 0 16px 40px rgba(123,97,255,0.5); }

/* ===== HOVER LIFT ===== */
.hover-lift { transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease; }
.hover-lift:hover { transform: translateY(-10px) scale(1.01); box-shadow: var(--shadow-lg); }

/* ===== FADE UP ===== */
.fade-up {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ===== STAGGER LIST ===== */
.stagger-list > * {
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.stagger-list.visible > *:nth-child(1){opacity:1;transform:none;transition-delay:0s}
.stagger-list.visible > *:nth-child(2){opacity:1;transform:none;transition-delay:0.08s}
.stagger-list.visible > *:nth-child(3){opacity:1;transform:none;transition-delay:0.16s}
.stagger-list.visible > *:nth-child(4){opacity:1;transform:none;transition-delay:0.24s}
.stagger-list.visible > *:nth-child(5){opacity:1;transform:none;transition-delay:0.32s}
.stagger-list.visible > *:nth-child(6){opacity:1;transform:none;transition-delay:0.40s}

/* ===== MARQUEE ===== */
.marquee-wrap { overflow: hidden; padding: 20px 0; }
.marquee-track {
  display: flex; gap: 40px; width: max-content;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--text2); white-space: nowrap;
  display: flex; align-items: center; gap: 16px;
}
.marquee-item::after { content: '✦'; color: var(--accent1); font-size: 12px; }
@keyframes marqueeScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===== FLOATING ===== */
.float-slow { animation: floatY 6s ease-in-out infinite; }
.float-med  { animation: floatY 4s ease-in-out infinite 1s; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

/* ===== PULSE RING ===== */
.pulse-ring { position: relative; }
.pulse-ring::before {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; border: 2px solid var(--accent1);
  opacity: 0; animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing { 0%{opacity:0.6;transform:scale(1)} 100%{opacity:0;transform:scale(1.7)} }

/* ===== GRADIENT ANIMATED BG ===== */
.grad-bg {
  background: linear-gradient(-45deg, #f0f0f3, #ece9ff, #e8f0ff, #f5f0ff);
  background-size: 400% 400%;
  animation: gradBgMove 12s ease infinite;
}
@keyframes gradBgMove { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

/* ===== TILT CARD (perspective) ===== */
.tilt { transform-style: preserve-3d; }

/* ===== IMG ZOOM ===== */
.img-zoom { overflow: hidden; border-radius: var(--radius); }
.img-zoom .img-inner { transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.img-zoom:hover .img-inner { transform: scale(1.08); }

/* ===== PROGRESS BAR ===== */
.progress-bar { height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 3px; background: var(--grad); width: 0;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}

/* ===== UNDERLINE HOVER ===== */
.underline-hover { position: relative; display: inline-block; }
.underline-hover::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--grad); border-radius: 2px;
  transition: width 0.35s ease;
}
.underline-hover:hover::after { width: 100%; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 100px 40px; text-align: center; overflow: hidden; position: relative; }
.cta-section h2 { font-family: var(--font-head); font-size: clamp(48px,8vw,96px); font-weight: 800; color: var(--dark); line-height: 1.1; margin-bottom: 16px; }
.cta-section .highlight {
  background: rgba(255,255,255,0.75); border: 1px solid rgba(123,97,255,0.2);
  border-radius: 20px; padding: 8px 28px; display: inline-block;
  backdrop-filter: blur(10px); color: var(--accent1); font-style: italic;
  position: relative;
}
.cta-section .highlight::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: 21px; background: var(--grad);
  z-index: -1; opacity: 0.15;
  animation: highlightGlow 3s ease-in-out infinite;
}
@keyframes highlightGlow { 0%,100%{opacity:0.1} 50%{opacity:0.28} }
.cta-chip {
  background: var(--grad); color: #fff; border-radius: 50px;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  position: absolute; box-shadow: 0 8px 24px rgba(123,97,255,0.3);
}
.cta-chip.chip1 { right: 18%; top: 38%; animation: chipFloat1 3s ease-in-out infinite; }
.cta-chip.chip2 { left: 14%; bottom: 28%; animation: chipFloat2 4s ease-in-out infinite; }
@keyframes chipFloat1 { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-14px) rotate(2deg)} }
@keyframes chipFloat2 { 0%,100%{transform:translateY(0) rotate(1deg)} 50%{transform:translateY(12px) rotate(-1deg)} }
.cta-brand-bg {
  font-family: var(--font-head);
  font-size: clamp(80px,15vw,200px); font-weight: 800;
  background: linear-gradient(135deg, rgba(123,97,255,0.12), rgba(79,140,255,0.08));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-top: 20px; letter-spacing: -3px;
  animation: brandKern 10s ease-in-out infinite alternate;
}
@keyframes brandKern { from{letter-spacing:-3px} to{letter-spacing:6px} }

/* ===== TOOLTIP ===== */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--dark); color: #fff;
  font-size: 12px; white-space: nowrap;
  padding: 6px 12px; border-radius: 8px;
  pointer-events: none; opacity: 0;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
  font-family: var(--font-body); z-index: 100;
}
[data-tooltip]:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }

/* ===== FOOTER ===== */
footer { background: var(--white); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 48px; padding: 0 40px 48px; max-width: 1200px; margin: 0 auto;
}
.footer-brand p { color: var(--text2); font-size: 14px; margin-top: 12px; line-height: 1.6; max-width: 240px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text2); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--dark); text-decoration: none; font-size: 14px;
  position: relative; display: inline-block;
  transition: all 0.3s ease; padding-left: 0;
}
.footer-col ul li a::before {
  content: '→'; opacity: 0;
  position: absolute; left: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--accent1); font-size: 12px;
}
.footer-col ul li a:hover { color: var(--accent1); padding-left: 18px; }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--dark); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 40px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: none; margin: 0;
}
.footer-bottom p { font-size: 13px; color: var(--text2); }
.back-to-top {
  font-size: 13px; color: var(--text2);
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; font-family: var(--font-body);
  transition: all 0.3s ease;
}
.back-to-top:hover { color: var(--accent1); transform: translateY(-2px); }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 0 40px; }

/* ===== SCROLL DOTS (right sidebar) ===== */
.scroll-dots {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: 50; display: flex; flex-direction: column; gap: 8px;
}
.scroll-dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(0,0,0,0.18); transition: all 0.4s ease;
}
.scroll-dot.active { height: 22px; background: var(--accent1); box-shadow: 0 0 8px rgba(123,97,255,0.5); }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  nav .nav-cta { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .page-hero { padding: 60px 20px 40px; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
  .cta-chip { display: none; }
  .scroll-dots { display: none; }
}
@media(max-width:480px) {
  .page-hero h1 { font-size: 32px; }
  .section-title { font-size: 26px; }
}
