:root {
  --brand:        #0057ff;
  --brand-hover:  #0044cc;
  --brand-light:  #eef3ff;

  --deep-blue:    #0a192f;

  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;

  --white: #ffffff;

  --font-display: 'Manrope', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  /* Premium Soft, Diffused Shadows */
  --shadow-sm:  0 2px 8px -2px rgba(27, 33, 44, 0.04), 0 1px 2px -1px rgba(27, 33, 44, 0.04);
  --shadow-md:  0 8px 24px -4px rgba(27, 33, 44, 0.04), 0 2px 6px -1px rgba(27, 33, 44, 0.03);
  --shadow-lg:  0 12px 32px -4px rgba(27, 33, 44, 0.04), 0 4px 12px -2px rgba(27, 33, 44, 0.03);
  --shadow-xl:  0 24px 48px -8px rgba(27, 33, 44, 0.06), 0 12px 24px -4px rgba(27, 33, 44, 0.04);
  --shadow-2xl: 0 32px 64px -12px rgba(27, 33, 44, 0.08), 0 16px 32px -4px rgba(27, 33, 44, 0.05);
  --shadow-brand: 0 24px 48px -8px rgba(0, 87, 255, 0.15), 0 12px 24px -4px rgba(0, 87, 255, 0.08);

  /* 3D Inset Effects for Buttons and Colored Cards */
  --shadow-inset-btn: inset 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  --shadow-inset-card: inset 0 2px 4px rgba(255, 255, 255, 0.1), inset 0 -4px 8px rgba(0, 0, 0, 0.2);

  /* Smoother Premium Transition */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--slate-500);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0;
}

/* ═══════════════════════════════════════════════════
SUBTLE GRAIN OVERLAY & TYPOGRAPHY
═══════════════════════════════════════════════════ */
.noise-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}
p { line-height: 1.7; font-weight: 400; }

.bg-dots {
  background-image: radial-gradient(var(--slate-200) 1px, transparent 1px);
  background-size: 24px 24px;
}
.bg-slate { background-color: var(--slate-50); }

/* ═══════════════════════════════════════════════════
SCROLL REVEAL ANIMATION
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition-property: opacity, transform, filter;
  transition-duration: 0.85s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ═══════════════════════════════════════════════════
BLUR PAGE LOADER
═══════════════════════════════════════════════════ */
#page-loader {
  position: fixed; inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.2rem;
  z-index: 99999;
  transition: opacity 0.8s ease, visibility 0.8s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--ink-900); animation: pulse 1.5s infinite; }
.loader-logo span { color: var(--brand); }
.loader-bar-track { width: 140px; height: 4px; background: var(--slate-200); border-radius: 99px; overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0%; background: var(--brand); border-radius: 99px; animation: loadProgress 0.8s ease-out forwards; }
@keyframes loadProgress { from { width: 0% } to { width: 100% } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

/* ═══════════════════════════════════════════════════
NAVBAR & BUTTONS
═══════════════════════════════════════════════════ */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 1.2rem 0;
  position: sticky; top: 0; z-index: 999;
  transition: var(--transition);
}
.navbar.scrolled { padding: 0.8rem 0; background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-sm); }
.navbar-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink-900) !important; letter-spacing: -0.03em; }
.navbar-brand span { color: var(--brand); }
.nav-link { font-weight: 500; font-size: 0.95rem; color: var(--ink-700) !important; padding: 0.5rem 1.2rem !important; border-radius: var(--radius-sm); transition: var(--transition); }
.nav-link:hover { color: var(--brand) !important; background: var(--brand-light); }
@media (max-width: 991px) { .navbar-collapse { background: var(--white); padding: 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); margin-top: 1rem; border: 1px solid var(--slate-200); } }

/* BUTTONS */
.btn-primary-rf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: var(--white) !important;
  border: none; border-radius: 99px; padding: 0.75rem 1.8rem;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; text-decoration: none;
  transition: var(--transition); 
  box-shadow: var(--shadow-inset-btn), var(--shadow-md);
}
.btn-primary-rf:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: var(--shadow-inset-btn), var(--shadow-brand); }

.btn-outline-rf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--white); color: var(--ink-900) !important;
  border: 1px solid var(--slate-200); border-radius: 99px; padding: 0.75rem 1.8rem;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; text-decoration: none;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.btn-outline-rf:hover { border-color: var(--brand); color: var(--brand) !important; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ═══════════════════════════════════════════════════
HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative; padding: 120px 0 100px; overflow: hidden;
  background: url('https://saasly.demos.tailgrids.com/images/covers/hero.jpg') center bottom / cover no-repeat;
}
.hero-blob {
  position: absolute;
  top: -20%; left: -15%;
  width: 85%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 50%, transparent 80%);
  filter: blur(30px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}
.hero > .container {
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); border: 1px solid var(--slate-200);
  color: var(--brand); font-size: 0.85rem; font-weight: 600;
  padding: 0.4rem 1.2rem; border-radius: 99px; margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--brand); }
.hero-desc { font-size: 1.15rem; color: var(--slate-500); margin-bottom: 2.5rem; max-width: 90%; }

/* Straight Glassmorphism Login */
.login-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-2xl);
  position: relative;
}
.login-card-header { text-align: center; margin-bottom: 2rem; }
.login-card-header h4 { margin-bottom: 0.25rem; }

.form-control {
  border: 1px solid var(--slate-200); border-radius: var(--radius-sm);
  /* Increased right padding to ensure text doesn't flow under the dynamic eye icon */
  padding: 0.8rem 2.8rem 0.8rem 1rem; 
  background: var(--white); font-size: 0.95rem; font-family: var(--font-body);
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-light); outline: none; }
.input-icon-wrap { position: relative; }

/* Fixed target to specific prefix icon so it doesn't apply to the dynamically added eye icon */
.input-icon-wrap .input-prefix-icon { 
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); 
  color: var(--slate-400); z-index: 2; font-size: 1.2rem; 
}
.input-icon-wrap .form-control { padding-left: 2.8rem; }

.btn-login {
  width: 100%; background: var(--brand); color: var(--white); border: none;
  border-radius: var(--radius-sm); padding: 0.9rem; font-family: var(--font-display);
  font-weight: 800; font-size: 1rem; margin-top: 1rem; transition: var(--transition);
  box-shadow: var(--shadow-inset-btn), var(--shadow-md);
}
.btn-login:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: var(--shadow-inset-btn), var(--shadow-lg); }

/* ═══════════════════════════════════════════════════
GLOBAL SECTIONS
═══════════════════════════════════════════════════ */
.rf-section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1.2rem; }
.section-sub { font-size: 1.1rem; max-width: 650px; margin: 0 auto; color: var(--slate-500); }

/* ═══════════════════════════════════════════════════
WHY CHOOSE US?
═══════════════════════════════════════════════════ */
.wcu-container {
  background: var(--deep-blue);
  border-radius: var(--radius-xl);
  padding: 5rem;
  /* Added Inset Shadow for Colored Background */
  box-shadow: var(--shadow-inset-card), var(--shadow-2xl); 
}
.wcu-header h2 { color: var(--white); margin-bottom: 1rem; }
.wcu-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 500px; margin: 0 auto 4rem; }
.wcu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.wcu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  text-align: left;
}
/* Subtle Premium Hover */
.wcu-card:hover { transform: translateY(-3px) scale(1.01); box-shadow: var(--shadow-xl); }
.wcu-icon {
  width: 48px; height: 48px; background: var(--brand-light); color: var(--brand);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.5rem;
}
.wcu-card h4 { font-size: 1.2rem; color: var(--ink-900); margin-bottom: 0.8rem; }
.wcu-card p { font-size: 0.95rem; color: var(--slate-500); margin: 0; }
@media (max-width: 991px) { .wcu-container { padding: 3rem 2rem; } }

/* ═══════════════════════════════════════════════════
SERVICES: THE 3 CARD RULE
═══════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card {
  padding: 3rem 2.5rem; border-radius: var(--radius-lg); transition: var(--transition);
  display: flex; flex-direction: column; overflow: hidden;
}
/* Subtle Premium Hover */
.service-card:hover { transform: translateY(-3px) scale(1.01); }
.sc-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 2rem; }
.service-card h4 { font-size: 1.3rem; margin-bottom: 1rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 2rem; flex-grow: 1; }
.sc-link { font-family: var(--font-display); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s; }
.service-card:hover .sc-link { gap: 12px; }

.card-white { background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-lg); color: var(--slate-500); }
.card-white:hover { box-shadow: var(--shadow-xl); }
.card-white .sc-icon { background: var(--brand-light); color: var(--brand); }
.card-white h4 { color: var(--ink-900); }
.card-white .sc-link { color: var(--brand); }

/* Colored Card Insets */
.card-brand { background: var(--brand); box-shadow: var(--shadow-inset-card), var(--shadow-xl); color: rgba(255,255,255,0.9); }
.card-brand:hover { box-shadow: var(--shadow-inset-card), var(--shadow-2xl); }
.card-brand .sc-icon { background: rgba(255,255,255,0.2); color: var(--white); }
.card-brand h4 { color: var(--white); }
.card-brand .sc-link { color: var(--white); }

.card-deep { background: var(--deep-blue); box-shadow: var(--shadow-inset-card), var(--shadow-xl); color: rgba(255,255,255,0.7); }
.card-deep:hover { box-shadow: var(--shadow-inset-card), var(--shadow-2xl); }
.card-deep .sc-icon { background: rgba(255,255,255,0.1); color: var(--white); }
.card-deep h4 { color: var(--white); }
.card-deep .sc-link { color: var(--white); }

/* ═══════════════════════════════════════════════════
BENTO GRID & INFINITE UI ANIMATIONS
═══════════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.bento-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem; display: flex; flex-direction: column; position: relative;
  transition: var(--transition);
}
/* Subtle Premium Hover */
.bento-card:hover { transform: translateY(-3px) scale(1.01); }
.bento-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.bento-card p { font-size: 0.95rem; margin-bottom: 2rem; }

.bento-wide { grid-row: 1 / 3; }

.bento-white { background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-md); color: var(--slate-500); }
.bento-white h3 { color: var(--ink-900); }
.bento-white:hover { box-shadow: var(--shadow-xl); }
.bento-white .ui-widget { background: var(--slate-50); border: 1px solid var(--slate-200); }

/* Colored Card Insets */
.bento-brand { background: var(--brand); box-shadow: var(--shadow-inset-card), var(--shadow-brand); color: rgba(255,255,255,0.9); }
.bento-brand h3 { color: var(--white); }
.bento-brand:hover { box-shadow: var(--shadow-inset-card), var(--shadow-xl); }
.bento-brand .ui-widget { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); }

.bento-deep { background: var(--deep-blue); box-shadow: var(--shadow-inset-card), var(--shadow-xl); color: rgba(255,255,255,0.7); }
.bento-deep h3 { color: var(--white); }
.bento-deep:hover { box-shadow: var(--shadow-inset-card), var(--shadow-2xl); }
.bento-deep .ui-widget { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }

.ui-widget { flex-grow: 1; border-radius: var(--radius-md); padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }

/* LIVELY UI ANIMATION: Bar Chart */
.ui-bars { display: flex; align-items: flex-end; gap: 12px; height: 140px; margin-top: auto; }
.ui-bar { flex: 1; border-radius: 4px 4px 0 0; transition: height 1s ease; }

@keyframes barH1 { 0%,100%{ height: 30%; } 50%{ height: 40%; } }
@keyframes barH2 { 0%,100%{ height: 50%; } 50%{ height: 65%; } }
@keyframes barH3 { 0%,100%{ height: 85%; } 50%{ height: 95%; } }
@keyframes barH4 { 0%,100%{ height: 60%; } 50%{ height: 45%; } }
@keyframes barH5 { 0%,100%{ height: 40%; } 50%{ height: 55%; } }

.ui-bar:nth-child(1) { animation: barH1 4s ease-in-out infinite; }
.ui-bar:nth-child(2) { animation: barH2 5s ease-in-out infinite; }
.ui-bar:nth-child(3) { animation: barH3 6s ease-in-out infinite; }
.ui-bar:nth-child(4) { animation: barH4 4.5s ease-in-out infinite; }
.ui-bar:nth-child(5) { animation: barH5 5.5s ease-in-out infinite; }

.bento-deep .ui-bar { background: rgba(255,255,255,0.1); }
.bento-deep .ui-bar.active { background: var(--brand); position: relative; }
.bento-white .ui-bar { background: var(--slate-200); }
.bento-white .ui-bar.active { background: var(--brand); position: relative; }
.ui-bar.active::after { content:'+124%'; position:absolute; top:-30px; left:50%; transform:translateX(-50%); background:var(--ink-900); color:white; font-size:0.7rem; font-weight:800; padding:4px 8px; border-radius:4px; }

/* LIVELY UI ANIMATION: Folders */
.ui-folder { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; margin-bottom: 10px; }
.bento-brand .ui-folder { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
.bento-brand .ui-folder .ti { color: var(--white); font-size: 1.2rem; }
.bento-brand .ui-folder-line { height: 8px; background: rgba(255,255,255,0.3); border-radius: 4px; width: 60%; }
.bento-white .ui-folder { background: var(--white); border: 1px solid var(--slate-200); }
.bento-white .ui-folder .ti { color: var(--brand); font-size: 1.2rem; }
.bento-white .ui-folder-line { height: 8px; background: var(--slate-200); border-radius: 4px; width: 60%; }

@keyframes folderLoad { 0%, 100% { width: 60%; opacity: 0.7; } 50% { width: 85%; opacity: 1; } }
@keyframes folderLoadAlt { 0%, 100% { width: 40%; opacity: 0.7; } 50% { width: 65%; opacity: 1; } }
.ui-folder:nth-child(1) .ui-folder-line { animation: folderLoad 4s ease-in-out infinite; }
.ui-folder:nth-child(2) .ui-folder-line { animation: folderLoadAlt 4.5s ease-in-out infinite; }

/* LIVELY UI ANIMATION: Ring */
.ui-ring-wrap { display: flex; justify-content: center; padding: 1rem 0; }
.bento-white .ui-ring { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--brand) 85%, var(--slate-200) 0); display: flex; justify-content: center; align-items: center; transition: background 0.1s linear; }
.bento-white .ui-ring-inner { width: 90px; height: 90px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink-900); }

.bento-brand .ui-ring { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--white) 85%, rgba(255,255,255,0.2) 0); display: flex; justify-content: center; align-items: center; }
.bento-brand .ui-ring-inner { width: 90px; height: 90px; background: var(--brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--white); }

/* LIVELY UI ANIMATION: Feed/Alerts */
.keyword-feed { display: flex; flex-direction: column; overflow: hidden; height: 96px; }
.keyword-alert-item {
  display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(-15px) scale(0.95);
  height: 0; overflow: hidden; margin-bottom: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.keyword-alert-item.show {
  opacity: 1; transform: translateY(0) scale(1);
  height: 40px; margin-bottom: 8px;
}

/* LIVELY UI ANIMATION: Progress */
.ui-progress-item { margin-bottom: 15px; }
.ui-progress-label { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 800; margin-bottom: 5px; }
.bento-white .ui-progress-label { color: var(--ink-900); }
.bento-brand .ui-progress-label { color: var(--white); }
.ui-progress-track { height: 6px; border-radius: 3px; overflow: hidden; }
.bento-white .ui-progress-track { background: var(--slate-200); }
.bento-brand .ui-progress-track { background: rgba(255,255,255,0.2); }
.ui-progress-fill { height: 100%; border-radius: 3px; }

@keyframes progressSweep { 0%, 100% { width: 95%; } 50% { width: 88%; } }
@keyframes progressSweepAlt { 0%, 100% { width: 70%; } 50% { width: 80%; } }

.bento-white .ui-progress-fill.primary { background: var(--brand); animation: progressSweep 5s ease-in-out infinite; }
.bento-brand .ui-progress-fill.primary { background: var(--white); animation: progressSweep 5s ease-in-out infinite; }
.bento-white .ui-progress-fill.warning { background: #f59e0b; animation: progressSweepAlt 4.5s ease-in-out infinite; }
.bento-brand .ui-progress-fill.warning { background: #fde68a; animation: progressSweepAlt 4.5s ease-in-out infinite; }

@media (max-width: 1200px) { .bento-grid { grid-template-columns: 1fr 1fr; } .bento-wide { grid-row: auto; grid-column: 1 / 3; } }
@media (max-width: 768px) { .bento-grid { grid-template-columns: 1fr; } .bento-wide { grid-column: 1; } }

/* ═══════════════════════════════════════════════════
THE METHODOLOGY
═══════════════════════════════════════════════════ */
.methodology-bg {
  background: url('https://saasly.demos.tailgrids.com/images/covers/integration-bg.jpg') center/cover no-repeat;
  position: relative;
}
.methodology-icon {
  width: 56px; height: 56px; background: var(--brand-light); color: var(--brand);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.5rem; transition: var(--transition);
}
.methodology-card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 2.5rem; height: 100%; transition: var(--transition); box-shadow: var(--shadow-md);
}
/* Removed Border Hover, Added subtle scale */
.methodology-card:hover { transform: translateY(-3px) scale(1.01); box-shadow: var(--shadow-xl); }
.methodology-card:hover .methodology-icon { background: var(--brand); color: var(--white); box-shadow: var(--shadow-brand); }
.methodology-card h4 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--ink-900); }
.methodology-card p { font-size: 0.95rem; color: var(--slate-500); margin: 0; }

/* ═══════════════════════════════════════════════════
PRODUCTS DIRECTORY
═══════════════════════════════════════════════════ */
.product-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px;
}
.product-card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 2.5rem; display: flex; flex-direction: column; transition: var(--transition);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
/* Removed Border Hover, Added subtle scale */
.product-card:hover { transform: translateY(-3px) scale(1.01); box-shadow: var(--shadow-2xl); }
.pc-icon {
  width: 64px; height: 64px; border-radius: 16px; background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.5rem; transition: var(--transition);
}
.product-card:hover .pc-icon { background: var(--brand); color: var(--white); }
.product-card h4 { font-size: 1.35rem; margin-bottom: 0.8rem; color: var(--ink-900); }
.product-card p { font-size: 0.95rem; color: var(--slate-500); margin-bottom: 2rem; flex-grow: 1; }
.pc-footer {
  display: flex; align-items: center; justify-content: flex-end;
  border-top: 1px solid var(--slate-100); padding-top: 1.5rem; margin-top: auto;
}
.pc-link {
  font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--brand);
  display: inline-flex; align-items: center; gap: 5px; transition: var(--transition);
}
.pc-link:hover { gap: 8px; }

/* ═══════════════════════════════════════════════════
INFINITE MARQUEE TESTIMONIALS
═══════════════════════════════════════════════════ */
.testi-marquee-container {
  overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 24px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 10px 0;
}
.testi-marquee-track { display: flex; gap: 24px; width: max-content; }
.testi-marquee-track.track-left { animation: marquee-left 45s linear infinite; }
.testi-marquee-track.track-right { animation: marquee-right 45s linear infinite; }
.testi-marquee-track:hover { animation-play-state: paused; }

.testi-card {
  width: 380px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 2.5rem; display: flex; flex-direction: column; box-shadow: var(--shadow-md);
  transition: var(--transition); position: relative; white-space: normal;
}
.testi-card::before { content: '\201C'; position: absolute; top: 1rem; right: 1.5rem; font-size: 4rem; line-height: 1; color: var(--slate-100); font-family: Georgia, serif; z-index: 0; }
/* Removed Border Hover, Added subtle scale */
.testi-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px) scale(1.01); }
.testi-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.testi-quote { font-size: 1rem; color: var(--ink-700); margin-bottom: 2rem; position: relative; z-index: 1; line-height: 1.6; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; position: relative; z-index: 1; }
.testi-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-meta strong { display: block; font-family: var(--font-display); color: var(--ink-900); font-size: 1rem; }
.testi-meta span { font-size: 0.85rem; color: var(--slate-500); }

@keyframes marquee-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* ═══════════════════════════════════════════════════
FINAL CTA
═══════════════════════════════════════════════════ */
.cta-box-container {
  background: var(--brand);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; overflow: hidden;
  /* Applied Requested Normal Box-Shadow */
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  position: relative;
}
.cta-box-text { flex: 1 1 45%; padding: 5rem; z-index: 2; }
.cta-box-text h2 { color: var(--white); font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 1.2rem; }
.cta-box-text p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; }

.cta-box-image-wrap { flex: 1 1 55%; height: 100%; min-height: 400px; padding: 4rem 0 0 4rem; display: flex; align-items: flex-start; position: relative; }
.cta-3d-image {
  width: 140%; max-width: none; border-radius: 12px;
  /* Maintained twig form base transform */
  transform: perspective(1500px) rotate(8deg) rotateX(15deg) rotateY(-5deg);
  transform-origin: top left; 
  /* Applied Requested Softer Shadow */
  box-shadow: -15px 25px 50px -10px rgba(0,0,0,0.3);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 991px) { .cta-box-container { flex-direction: column; } .cta-box-text { padding: 3rem; text-align: center; } .cta-box-image-wrap { padding: 2rem 0 0 2rem; width: 100%; min-height: 300px; } .cta-3d-image { width: 120%; } }

/* ═══════════════════════════════════════════════════
FOOTER
═══════════════════════════════════════════════════ */
footer { background: var(--white); padding: 80px 0 40px; border-top: 1px solid var(--slate-200); }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink-900); margin-bottom: 1rem; }
.footer-brand span { color: var(--brand); }
.footer-title { font-weight: 800; color: var(--ink-900); margin-bottom: 1.5rem; font-family: var(--font-display); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--slate-500); text-decoration: none; transition: color 0.2s; font-weight: 500;}
.footer-links a:hover { color: var(--brand); }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--slate-50); border: 1px solid var(--slate-200); color: var(--slate-500); text-decoration: none; transition: var(--transition); margin-right: 10px; font-size: 1.2rem; }
.footer-social a:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }