/* ==========================================================================
   Elevate Agency Theme - Pure CSS
   Theme: Premium, Scalable, Clean
   Colors: Base: #FFFFFF, Gradient: #6366F1 -> #A855F7, Accent: #22C55E
   ========================================================================== */

:root {
  --bg-base: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --color-grad-start: #6366f1;
  --color-grad-end: #a855f7;
  --color-accent: #22c55e;
  --border-color: #e2e8f0;

  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.4);

  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-md: 12px;
  --radius-lg: 24px;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-base);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-padding {
  padding: 100px 0;
}
.text-center {
  text-align: center;
}
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--color-grad-start),
    var(--color-grad-end)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-grad-start);
  font-weight: 600;
  margin-bottom: 10px;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: var(--transition);
  opacity: 0;
}
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-grad-start),
    var(--color-grad-end)
  );
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.btn-primary::before {
  background: linear-gradient(
    135deg,
    var(--color-grad-end),
    var(--color-grad-start)
  );
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}
.btn-accent:hover {
  transform: translateY(-3px);
  background: #1ea34d;
}

/* ================= HEADER (GLOBAL) ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  padding: 15px 0;
}
.site-header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 60px;
  filter: invert(1);
  transition: var(--transition);
}
.main-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 30px;
}
.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}
.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
}

/* ================= FOOTER (GLOBAL) ================= */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--color-grad-start),
    var(--color-grad-end),
    var(--color-accent)
  );
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-logo img {
  height: 60px;
  filter: invert(1);
  margin-bottom: 20px;
}
.footer-col p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.social-links {
  display: flex;
  gap: 15px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--color-grad-start);
  transform: translateY(-3px);
}
.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
  display: inline-block;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
}
.footer-col ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}
.footer-col ul li i {
  color: var(--color-grad-start);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.legal-links a {
  color: var(--text-muted);
}
.legal-links a:hover {
  color: #fff;
}
.legal-links .separator {
  margin: 0 10px;
  opacity: 0.3;
}

/* ================= HERO SECTION ================= */
.hero {
  min-height: 100vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}
.hero-bg-blob {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.15) 0%,
    rgba(99, 102, 241, 0) 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  animation: floatBlob 10s infinite alternate;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ================= MARQUEE / LOGOS ================= */
.logo-strip {
  padding: 40px 0;
  background: var(--bg-base);
  border-block: 1px solid var(--border-color);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.logo-strip::before,
.logo-strip::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}
.logo-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-base), transparent);
}
.logo-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-base), transparent);
}
.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 80px;
  animation: scrollMarquee 30s linear infinite;
}
.marquee-item {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #cbd5e1;
  opacity: 0.6;
  transition: var(--transition);
}
.marquee-item:hover {
  opacity: 1;
  color: var(--text-main);
}

/* ================= SERVICES GRID ================= */
.services-section {
  background: var(--bg-base);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05),
    rgba(168, 85, 247, 0.05)
  );
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.3);
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-grad-start);
  margin-bottom: 25px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--color-grad-start);
  color: #fff;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ================= INTERACTIVE CALCULATOR ================= */
.calculator-section {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
}
.calc-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 50px;
  max-width: 800px;
  margin: 50px auto 0;
  backdrop-filter: blur(10px);
}
.calc-row {
  margin-bottom: 30px;
}
.calc-row label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 500;
}
.calc-row span {
  color: var(--color-accent);
  font-weight: 700;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.calc-result-box {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.calc-result-box h4 {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.calc-total {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

/* ================= CAMPAIGN REPORTS / CASE STUDIES ================= */
.reports-section {
  background: var(--bg-alt);
}
.reports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.report-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.report-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.report-metrics {
  display: flex;
  gap: 20px;
  margin: 25px 0;
  padding: 20px 0;
  border-block: 1px solid var(--border-color);
}
.metric {
  flex: 1;
}
.metric-val {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-grad-start);
}
.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================= INDUSTRY / ACCORDION ================= */
.industry-section {
  background: var(--bg-base);
}
.accordion-item {
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion-header {
  padding: 20px 30px;
  background: var(--bg-alt);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}
.accordion-header:hover {
  background: #f1f5f9;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fff;
}
.accordion-content p {
  padding: 20px 30px;
  color: var(--text-muted);
}
.accordion-item.active .accordion-content {
  max-height: 300px;
}
.accordion-item.active .accordion-header {
  background: var(--color-grad-start);
  color: #fff;
}

/* ================= TESTIMONIALS ================= */
.testimonials-section {
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}
.testi-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.testi-card i.fa-quote-left {
  font-size: 2rem;
  color: var(--color-accent);
  opacity: 0.5;
  margin-bottom: 20px;
}
.testi-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 15px;
}
.testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-grad-start),
    var(--color-grad-end)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
}
.testi-name h5 {
  font-size: 1.1rem;
}
.testi-name span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ================= CONTACT CTA ================= */
.cta-section {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--color-grad-start),
    var(--color-grad-end)
  );
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
}

/* ================= LEGAL PAGES CONTENT ================= */
.page-header {
  padding: 180px 0 80px;
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
}
.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
}
.page-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
}
.legal-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(-50px);
}
.legal-content-wrapper h2 {
  margin: 40px 0 20px;
  font-size: 1.8rem;
  color: var(--text-main);
  border-bottom: 2px solid var(--bg-alt);
  padding-bottom: 10px;
}
.legal-content-wrapper p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.legal-content-wrapper ul {
  margin: 0 0 20px 20px;
  list-style-type: disc;
  color: var(--text-muted);
}
.legal-content-wrapper li {
  margin-bottom: 10px;
}

/* ================= CONTACT PAGE ================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  transform: translateY(-50px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-info-block {
  background: var(--bg-dark);
  color: #fff;
  padding: 50px;
}
.contact-info-block h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.info-item {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}
.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-accent);
}
.info-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.info-text p,
.info-text a {
  color: var(--text-muted);
  transition: var(--transition);
}
.info-text a:hover {
  color: #fff;
}
.contact-form-block {
  padding: 50px;
}
.form-group {
  margin-bottom: 25px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-alt);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-grad-start);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  background: #fff;
}
textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* ================= LIVE CHAT WIDGET ================= */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-grad-start),
    var(--color-grad-end)
  );
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.chat-toggle:hover {
  transform: scale(1.1);
}
.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  pointer-events: none;
}
.chat-box.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chat-header {
  background: var(--bg-dark);
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.chat-body {
  height: 300px;
  padding: 20px;
  overflow-y: auto;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.95rem;
}
.chat-msg.bot {
  background: #e2e8f0;
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--color-grad-start);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-input {
  padding: 15px;
  background: #fff;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
}
.chat-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  outline: none;
}
.chat-input button {
  background: var(--color-accent);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= ANIMATIONS & REVEALS ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}
@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .reports-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .legal-content-wrapper {
    padding: 40px 20px;
  }
}
@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  .nav-list.active {
    left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .header-actions .btn {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
