/* ============================================
   Hero Section V2 - Modern Tech-Focused Design
   ============================================ */

/* Base Hero Section Layout */
.hero-section-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 100%);
  padding: 80px 0 40px;
}

/* Code Elements Background */
.hero-code-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.code-tag {
  position: absolute;
  font-family: "Courier New", monospace;
  font-weight: 600;
  color: var(--primary-color);
  opacity: 0.08;
  animation: floatCode 8s ease-in-out infinite;
}

.code-tag-1 {
  top: 10%;
  left: 5%;
  font-size: 1.5rem;
  animation-delay: 0s;
}

.code-tag-2 {
  top: 25%;
  right: 8%;
  font-size: 1.2rem;
  animation-delay: 1s;
}

.code-tag-3 {
  top: 45%;
  left: 3%;
  font-size: 1.8rem;
  animation-delay: 2s;
  color: var(--secondary-color);
}

.code-tag-4 {
  top: 60%;
  right: 12%;
  font-size: 1.3rem;
  animation-delay: 3s;
}

.code-tag-5 {
  bottom: 25%;
  left: 8%;
  font-size: 1.4rem;
  animation-delay: 4s;
}

.code-tag-6 {
  bottom: 15%;
  right: 5%;
  font-size: 1.6rem;
  animation-delay: 5s;
  color: var(--secondary-color);
}

.code-tag-7 {
  top: 35%;
  right: 20%;
  font-size: 1.1rem;
  animation-delay: 6s;
}

.code-tag-8 {
  bottom: 40%;
  left: 15%;
  font-size: 1.3rem;
  animation-delay: 7s;
}

/* New Center Area Tags */
.code-tag-9 {
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  animation-delay: 1.5s;
}

.code-tag-10 {
  top: 40%;
  left: 45%;
  font-size: 1.2rem;
  animation-delay: 2.5s;
  color: var(--secondary-color);
}

.code-tag-11 {
  top: 55%;
  left: 55%;
  font-size: 1.5rem;
  animation-delay: 3.5s;
}

.code-tag-12 {
  top: 70%;
  left: 48%;
  font-size: 1.3rem;
  animation-delay: 4.5s;
  color: var(--secondary-color);
}

/* Right Side Tags */
.code-tag-13 {
  top: 18%;
  right: 18%;
  font-size: 1.2rem;
  animation-delay: 5.5s;
}

.code-tag-14 {
  top: 48%;
  right: 22%;
  font-size: 1.4rem;
  animation-delay: 6.5s;
}

.code-tag-15 {
  top: 65%;
  right: 15%;
  font-size: 1.1rem;
  animation-delay: 7.5s;
  color: var(--secondary-color);
}

/* Bottom Row Tags */
.code-tag-16 {
  bottom: 10%;
  left: 20%;
  font-size: 1.3rem;
  animation-delay: 8s;
}

.code-tag-17 {
  bottom: 12%;
  left: 40%;
  font-size: 1.1rem;
  animation-delay: 8.5s;
}

.code-tag-18 {
  bottom: 8%;
  right: 25%;
  font-size: 1.4rem;
  animation-delay: 9s;
  color: var(--secondary-color);
}

.code-tag-19 {
  bottom: 18%;
  right: 35%;
  font-size: 1.2rem;
  animation-delay: 9.5s;
}

.code-tag-20 {
  bottom: 35%;
  left: 25%;
  font-size: 1.5rem;
  animation-delay: 10s;
}

@keyframes floatCode {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.08;
  }
  50% {
    transform: translateY(-25px) rotate(5deg);
    opacity: 0.12;
  }
}

/* Business Growth Symbols */
.business-symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.symbol {
  position: absolute;
  font-size: 2rem;
  color: var(--secondary-color);
  opacity: 0.15;
  animation: floatSymbol 6s ease-in-out infinite;
}

.symbol-1 {
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.symbol-2 {
  top: 50%;
  left: 5%;
  animation-delay: 1s;
}

.symbol-3 {
  bottom: 30%;
  right: 15%;
  animation-delay: 2s;
}

.symbol-4 {
  top: 70%;
  right: 8%;
  animation-delay: 3s;
}

.symbol-5 {
  bottom: 20%;
  left: 12%;
  animation-delay: 4s;
}

.symbol-6 {
  top: 30%;
  left: 8%;
  animation-delay: 5s;
}

@keyframes floatSymbol {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 0.25;
  }
}

/* Main Content Container */
.hero-section-v2 .container {
  position: relative;
  z-index: 3;
}

.hero-content-v2 {
  padding: 20px 0;
}

/* Hero Title Styles */
.hero-title-v2 {
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.title-static {
  display: block;
  margin-bottom: 0.5rem;
}

.title-typed-wrapper {
  display: block;
  color: var(--secondary-color);
  min-height: 1.2em;
  position: relative;
}

.title-typed {
  display: inline-block;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--secondary-color);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Hero Description */
.hero-description-v2 {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-description-v2 strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Hero Buttons */
.hero-buttons-v2 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-block;
  padding: 16px 40px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-hero-primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(2, 44, 130, 0.2);
}

.btn-hero-primary:hover {
  background: #033aa8;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(2, 44, 130, 0.3);
}

.btn-hero-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(2, 44, 130, 0.1);
}

.btn-hero-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(2, 44, 130, 0.2);
}

/* Hero Visual Elements - Laptop Animation */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.laptop-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  animation: laptopFloat 4s ease-in-out infinite;
}

@keyframes laptopFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Laptop Structure */
.laptop {
  position: relative;
  width: 100%;
  animation: laptopOpen 2s ease-out forwards;
  transform-origin: bottom center;
}

@keyframes laptopOpen {
  0% {
    transform: rotateX(90deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}

/* Laptop Screen */
.laptop-screen {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 12px 12px 0 0;
  border: 8px solid #2a2a3e;
  border-bottom: none;
  box-shadow: 0 -5px 20px rgba(2, 44, 130, 0.3),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Dashboard Inside Laptop - Corporate White Background */
.dashboard {
  width: 100%;
  height: 100%;
  padding: 12px;
  background: #ffffff;
  opacity: 1;
  position: relative;
}

/* Dashboard Header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.dash-logo {
  width: 45px;
  height: 10px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
  animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
  0%,
  100% {
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
  }
  50% {
    box-shadow: 0 2px 15px rgba(102, 126, 234, 0.6);
  }
}

.dash-menu {
  display: flex;
  gap: 6px;
}

.dash-menu span {
  width: 22px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.dash-menu span:hover {
  opacity: 1;
  transform: scaleX(1.1);
}

/* Dashboard Content */
.dashboard-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.dash-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  animation: cardPulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.dash-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dash-card:hover::before {
  opacity: 1;
}

.dash-card:nth-child(1) {
  animation-delay: 0s;
}

.dash-card:nth-child(1)::before {
  background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.dash-card:nth-child(2) {
  animation-delay: 0.5s;
}

.dash-card:nth-child(2)::before {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.dash-card:nth-child(3) {
  animation-delay: 1s;
}

.dash-card:nth-child(3)::before {
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.dash-card:nth-child(4) {
  animation-delay: 1.5s;
}

.dash-card:nth-child(4)::before {
  background: linear-gradient(90deg, #fa709a 0%, #fee140 100%);
}

@keyframes cardPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
  }
}

.dash-value {
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 3px;
  animation: valueUpdate 4s ease-in-out infinite;
  text-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
}

@keyframes valueUpdate {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-2px) scale(1.05);
  }
}

.dash-label {
  font-size: 9px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.dash-icon {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: iconFloat 3s ease-in-out infinite;
  position: relative;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(5deg);
  }
}

.dash-card:nth-child(1) .dash-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.dash-card:nth-child(2) .dash-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.dash-card:nth-child(3) .dash-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  box-shadow: 0 4px 15px rgba(67, 233, 123, 0.4);
}

.dash-card:nth-child(4) .dash-icon {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  box-shadow: 0 4px 15px rgba(250, 112, 154, 0.4);
}

/* Removed old dash-bar styles - no longer needed */

/* Dashboard Chart */
.dash-chart {
  grid-column: 1 / -1;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  opacity: 1;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(
    180deg,
    var(--secondary-color),
    var(--primary-color)
  );
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
}

@keyframes chartBarGrow {
  from {
    height: 0;
  }
  to {
    height: var(--bar-height, 50%);
  }
}

/* Laptop Base */
.laptop-base {
  width: 100%;
  height: 12px;
  background: linear-gradient(180deg, #3a3a4e 0%, #2a2a3e 100%);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Laptop Bottom */
.laptop-bottom {
  width: 110%;
  height: 8px;
  background: linear-gradient(180deg, #2a2a3e 0%, #1a1a2e 100%);
  border-radius: 8px;
  margin: 0 auto;
  position: relative;
  left: -5%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .code-tag,
  .symbol,
  .laptop-container,
  .laptop,
  .dashboard,
  .dash-card,
  .dash-bar,
  .dash-chart,
  .chart-bar,
  .typing-cursor {
    animation: none !important;
  }

  .laptop {
    transform: rotateX(0deg);
  }

  .dashboard {
    opacity: 1;
  }

  .dash-card {
    opacity: 1;
    transform: translateY(0);
  }

  .dash-bar {
    width: 100%;
  }

  .chart-bar {
    height: var(--bar-height, 50%);
  }

  .btn-hero-primary:hover,
  .btn-hero-secondary:hover {
    transform: none;
  }
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet Landscape (768px - 1199px) */
@media (max-width: 1199px) {
  .hero-title-v2 {
    font-size: 3rem;
  }

  .hero-description-v2 {
    font-size: 1.1rem;
  }

  .laptop-container {
    max-width: 380px;
  }

  .laptop-screen {
    height: 240px;
  }

  .code-tag {
    font-size: 1.2rem !important;
  }

  .symbol {
    font-size: 1.6rem;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
  .hero-section-v2 {
    padding: 100px 0 60px;
  }

  .hero-content-v2 {
    text-align: center;
    padding: 40px 20px;
  }

  .hero-title-v2 {
    font-size: 2.8rem;
  }

  .hero-description-v2 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons-v2 {
    justify-content: center;
  }

  .code-tag {
    opacity: 0.05;
  }

  .symbol {
    opacity: 0.1;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
  .hero-section-v2 {
    min-height: 100vh;
    padding: 120px 0 60px;
  }

  .hero-title-v2 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-description-v2 {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 14px 32px;
    font-size: 0.9rem;
  }

  .hero-buttons-v2 {
    gap: 15px;
  }

  .code-tag {
    font-size: 1rem !important;
    opacity: 0.06;
  }

  .symbol {
    font-size: 1.3rem;
    opacity: 0.1;
  }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
  .hero-section-v2 {
    padding: 100px 0 40px;
  }

  .hero-content-v2 {
    padding: 20px 15px;
  }

  .hero-title-v2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .title-static {
    margin-bottom: 0.3rem;
  }

  .hero-description-v2 {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-buttons-v2 {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 300px;
    padding: 14px 30px;
  }

  .code-tag {
    font-size: 0.9rem !important;
    opacity: 0.05;
  }

  .symbol {
    font-size: 1.2rem;
    opacity: 0.08;
  }

  .code-tag-3,
  .code-tag-6,
  .symbol-4,
  .symbol-5,
  .symbol-6 {
    display: none;
  }
}

/* Extra Small Devices (320px) */
@media (max-width: 374px) {
  .hero-title-v2 {
    font-size: 1.6rem;
  }

  .hero-description-v2 {
    font-size: 0.9rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
}

/* Legacy Support - Keep old hero section styles for backward compatibility */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

.hero-section .container-fluid {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-section .row {
  width: 100%;
  margin: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  z-index: 1;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(228, 239, 255, 0.943) 0%,
    rgba(228, 239, 255, 0.731) 50%,
    transparent 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 30px 40px;
  height: auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero-title span {
  color: var(--secondary-color);
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: var(--dark-gray);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Additional Code Tags - Center and More Coverage */
.code-tag-9 {
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  animation-delay: 1.5s;
}

.code-tag-10 {
  top: 40%;
  left: 45%;
  font-size: 1.2rem;
  animation-delay: 2.5s;
  color: var(--secondary-color);
}

.code-tag-11 {
  top: 55%;
  left: 55%;
  font-size: 1.5rem;
  animation-delay: 3.5s;
}

.code-tag-12 {
  top: 70%;
  left: 48%;
  font-size: 1.3rem;
  animation-delay: 4.5s;
  color: var(--secondary-color);
}

.code-tag-13 {
  top: 15%;
  right: 25%;
  font-size: 1.2rem;
  animation-delay: 5.5s;
}

.code-tag-14 {
  top: 50%;
  right: 30%;
  font-size: 1.4rem;
  animation-delay: 6.5s;
}

.code-tag-15 {
  bottom: 35%;
  right: 22%;
  font-size: 1.1rem;
  animation-delay: 7.5s;
  color: var(--secondary-color);
}

.code-tag-16 {
  bottom: 10%;
  left: 20%;
  font-size: 1.3rem;
  animation-delay: 0.5s;
}

.code-tag-17 {
  bottom: 45%;
  left: 25%;
  font-size: 1.2rem;
  animation-delay: 1.8s;
}

.code-tag-18 {
  top: 30%;
  left: 12%;
  font-size: 1.4rem;
  animation-delay: 2.8s;
  color: var(--secondary-color);
}

.code-tag-19 {
  bottom: 20%;
  right: 18%;
  font-size: 1.1rem;
  animation-delay: 3.8s;
}

.code-tag-20 {
  top: 80%;
  left: 35%;
  font-size: 1.5rem;
  animation-delay: 4.8s;
}

/* Responsive Code Tags - Hide some on smaller screens */
@media (max-width: 991px) {
  .code-tag-9,
  .code-tag-10,
  .code-tag-11,
  .code-tag-12,
  .code-tag-13,
  .code-tag-14,
  .code-tag-15 {
    opacity: 0.04;
  }
}

@media (max-width: 767px) {
  .code-tag-9,
  .code-tag-10,
  .code-tag-11,
  .code-tag-12 {
    display: none;
  }

  .code-tag-13,
  .code-tag-14,
  .code-tag-15,
  .code-tag-16,
  .code-tag-17,
  .code-tag-18,
  .code-tag-19,
  .code-tag-20 {
    font-size: 1rem !important;
    opacity: 0.05;
  }
}

@media (max-width: 575px) {
  .code-tag-13,
  .code-tag-14,
  .code-tag-15,
  .code-tag-16,
  .code-tag-17,
  .code-tag-18,
  .code-tag-19,
  .code-tag-20 {
    display: none;
  }
}

/* Dashboard Card Fade Animations */
.dash-card.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

.dash-card.fade-in {
  animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile Laptop Size Reduction (30% smaller) */
@media (max-width: 991px) {
  .hero-visual-mobile .laptop-container {
    max-width: 275px; /* 380px * 0.7 = 266px */
  }

  .hero-visual-mobile .laptop-screen {
    height: 180px; /* 200px * 0.7 = 140px */
  }

  .hero-visual-mobile {
    height: 200px; /* 250px * 0.7 = 175px */
  }
}

@media (max-width: 767px) {
  .hero-visual-mobile .laptop-container {
    max-width: 238px; /* 340px * 0.7 = 238px */
  }

  .hero-visual-mobile .laptop-screen {
    height: 126px; /* 180px * 0.7 = 126px */
  }

  .hero-visual-mobile {
    height: 154px; /* 220px * 0.7 = 154px */
  }

  .hero-visual-mobile .dashboard {
    padding: 7px;
  }

  .hero-visual-mobile .dashboard-header {
    padding: 5px;
    margin-bottom: 7px;
  }

  .hero-visual-mobile .dash-logo {
    width: 24px;
    height: 5px;
  }

  .hero-visual-mobile .dash-menu span {
    width: 12px;
    height: 2px;
  }

  .hero-visual-mobile .dashboard-content {
    gap: 5px;
    margin-bottom: 7px;
  }

  .hero-visual-mobile .dash-card {
    padding: 7px 5px;
  }

  .hero-visual-mobile .dash-icon {
    width: 18px;
    height: 18px;
    font-size: 8px;
    margin-bottom: 3px;
  }

  .hero-visual-mobile .dash-value {
    font-size: 10px;
  }

  .hero-visual-mobile .dash-label {
    font-size: 6px;
  }

  .hero-visual-mobile .dash-chart-container {
    padding: 7px;
  }

  .hero-visual-mobile .dash-chart {
    height: 32px;
    gap: 3px;
  }
}

@media (max-width: 575px) {
  .hero-visual-mobile .laptop-container {
    max-width: 210px; /* 300px * 0.7 = 210px */
  }

  .hero-visual-mobile .laptop-screen {
    height: 112px; /* 160px * 0.7 = 112px */
  }

  .hero-visual-mobile {
    height: 140px; /* 200px * 0.7 = 140px */
  }

  .hero-visual-mobile .dashboard {
    padding: 5px;
  }

  .hero-visual-mobile .dashboard-header {
    padding: 4px;
    margin-bottom: 5px;
  }

  .hero-visual-mobile .dash-logo {
    width: 21px;
    height: 4px;
  }

  .hero-visual-mobile .dash-menu span {
    width: 10px;
    height: 2px;
  }

  .hero-visual-mobile .dashboard-content {
    gap: 4px;
    margin-bottom: 5px;
  }

  .hero-visual-mobile .dash-card {
    padding: 5px 4px;
  }

  .hero-visual-mobile .dash-icon {
    width: 15px;
    height: 15px;
    font-size: 7px;
    margin-bottom: 2px;
  }

  .hero-visual-mobile .dash-value {
    font-size: 8px;
    margin-bottom: 1px;
  }

  .hero-visual-mobile .dash-label {
    font-size: 5px;
  }

  .hero-visual-mobile .dash-chart-container {
    padding: 5px;
  }

  .hero-visual-mobile .dash-chart {
    height: 24px;
    gap: 2px;
  }
}

@media (max-width: 374px) {
  .hero-visual-mobile .laptop-container {
    max-width: 196px; /* 280px * 0.7 = 196px */
  }

  .hero-visual-mobile .laptop-screen {
    height: 98px; /* 140px * 0.7 = 98px */
  }

  .hero-visual-mobile {
    height: 126px; /* 180px * 0.7 = 126px */
  }

  .hero-visual-mobile .dashboard {
    padding: 4px;
  }

  .hero-visual-mobile .dash-icon {
    width: 14px;
    height: 14px;
    font-size: 6px;
  }

  .hero-visual-mobile .dash-value {
    font-size: 7px;
  }

  .hero-visual-mobile .dash-label {
    font-size: 4px;
  }

  .hero-visual-mobile .dash-chart {
    height: 21px;
  }
}

/* Center Mobile Laptop */
.hero-visual-mobile {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.hero-visual-mobile .laptop-container {
  margin: 0 auto;
}

/* ============================================
   Advanced Dashboard Layouts
   ============================================ */

/* Layout 1: Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.stat-card {
  background: white;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.stat-icon {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-card:nth-child(2) .stat-icon {
  color: var(--secondary-color);
}

.stat-card:nth-child(3) .stat-icon {
  color: var(--primary-color);
}

.stat-card:nth-child(4) .stat-icon {
  color: var(--secondary-color);
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3px;
}

.stat-label {
  font-size: 8px;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  height: 40px;
  background: white;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.mini-chart .chart-bar {
  flex: 1;
  background: var(--primary-color);
  border-radius: 3px 3px 0 0;
  animation: chartPulse 2s ease-in-out infinite;
}

.mini-chart .chart-bar:nth-child(even) {
  background: var(--secondary-color);
}

@keyframes chartPulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

/* Layout 2: Analytics View */
.analytics-container {
  background: white;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.big-stat {
  text-align: center;
  margin-bottom: 10px;
}

.big-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3px;
}

.big-label {
  font-size: 9px;
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.trend-up {
  display: inline-block;
  font-size: 10px;
  color: #10b981;
  font-weight: 600;
}

.trend-up i {
  font-size: 8px;
}

.mini-stats {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--dark-gray);
}

.mini-stat i {
  color: var(--secondary-color);
  font-size: 10px;
}

.progress-bars {
  background: white;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.progress-item {
  margin-bottom: 8px;
}

.progress-item:last-child {
  margin-bottom: 0;
}

.progress-item span {
  font-size: 8px;
  color: var(--dark-gray);
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}

.progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  animation: progressGrow 1.5s ease-out;
}

.progress-item:nth-child(2) .progress-fill {
  background: var(--secondary-color);
}

.progress-item:nth-child(3) .progress-fill {
  background: var(--primary-color);
}

@keyframes progressGrow {
  from {
    width: 0;
  }
}

/* Layout 3: Activity Feed */
.activity-header {
  background: white;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.activity-header i {
  color: var(--secondary-color);
}

.activity-list {
  background: white;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.activity-item {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.activity-item:last-child {
  margin-bottom: 0;
}

.activity-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  flex-shrink: 0;
}

.activity-icon.primary {
  background: var(--primary-color);
}

.activity-icon.secondary {
  background: var(--secondary-color);
}

.activity-text {
  flex: 1;
}

.activity-title {
  font-size: 9px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.activity-time {
  font-size: 7px;
  color: var(--dark-gray);
}

/* Layout 4: Performance Dashboard */
.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.perf-card {
  background: white;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.perf-icon {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  flex-shrink: 0;
}

.perf-card:nth-child(2) .perf-icon {
  background: var(--secondary-color);
}

.perf-metric {
  flex: 1;
}

.perf-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Colorful Dashboard Chart */
.dash-chart-container {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.dash-chart-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  height: 60px;
  position: relative;
}

.chart-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  animation: chartBarAnimate 4s ease-in-out infinite;
  position: relative;
  transition: all 0.3s ease;
}

.chart-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 100%
  );
  border-radius: 6px 6px 0 0;
}

.chart-bar:nth-child(1) {
  animation-delay: 0s;
  height: 40%;
  background: linear-gradient(180deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 -2px 15px rgba(245, 87, 108, 0.4);
}

.chart-bar:nth-child(2) {
  animation-delay: 0.3s;
  height: 70%;
  background: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
  box-shadow: 0 -2px 15px rgba(79, 172, 254, 0.4);
}

.chart-bar:nth-child(3) {
  animation-delay: 0.6s;
  height: 55%;
  background: linear-gradient(180deg, #43e97b 0%, #38f9d7 100%);
  box-shadow: 0 -2px 15px rgba(67, 233, 123, 0.4);
}

.chart-bar:nth-child(4) {
  animation-delay: 0.9s;
  height: 85%;
  background: linear-gradient(180deg, #fa709a 0%, #fee140 100%);
  box-shadow: 0 -2px 15px rgba(250, 112, 154, 0.4);
}

.chart-bar:nth-child(5) {
  animation-delay: 1.2s;
  height: 65%;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 -2px 15px rgba(102, 126, 234, 0.4);
}

.chart-bar:nth-child(6) {
  animation-delay: 1.5s;
  height: 75%;
  background: linear-gradient(180deg, #ffecd2 0%, #fcb69f 100%);
  box-shadow: 0 -2px 15px rgba(252, 182, 159, 0.4);
}

@keyframes chartBarAnimate {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.9;
  }
  50% {
    transform: scaleY(1.1);
    opacity: 1;
  }
}

/* ============================================
   CORPORATE DASHBOARD - PRIMARY & SECONDARY COLORS ONLY
   ============================================ */

/* Override Dashboard Styles - Corporate White Background */
.dashboard {
  background: #ffffff !important;
  padding: 12px !important;
}

.dashboard::before {
  display: none !important;
}

/* Corporate Dashboard Header */
.dashboard-header {
  background: var(--primary-color) !important;
  padding: 10px !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  box-shadow: 0 2px 8px rgba(2, 44, 130, 0.15) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.dash-logo {
  background: var(--secondary-color) !important;
  width: 40px !important;
  height: 8px !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  animation: none !important;
}

.dash-menu span {
  background: white !important;
  width: 18px !important;
  height: 3px !important;
  opacity: 0.9 !important;
}

/* Corporate Dashboard Cards */
.dashboard-content {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}

.dash-card {
  background: white !important;
  padding: 10px 8px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  text-align: center !important;
  border: 1px solid #e5e7eb !important;
  animation: cardPulse 3s ease-in-out infinite !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.dash-card::before {
  display: none !important;
}

.dash-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  margin: 0 auto 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-size: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  animation: none !important;
}

.dash-card:nth-child(1) .dash-icon {
  background: var(--primary-color) !important;
}

.dash-card:nth-child(2) .dash-icon {
  background: var(--secondary-color) !important;
}

.dash-card:nth-child(3) .dash-icon {
  background: var(--primary-color) !important;
}

.dash-card:nth-child(4) .dash-icon {
  background: var(--secondary-color) !important;
}

.dash-value {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--primary-color) !important;
  margin-bottom: 3px !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  text-shadow: none !important;
}

.dash-label {
  font-size: 9px !important;
  color: #6b7280 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-weight: 600 !important;
}

/* Corporate Chart Container */
.dash-chart-container {
  grid-column: 1 / -1 !important;
  background: white !important;
  padding: 10px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e5e7eb !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.dash-chart-container::before {
  display: none !important;
}

.dash-chart {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 5px !important;
  height: 50px !important;
}

.chart-bar {
  flex: 1 !important;
  border-radius: 4px 4px 0 0 !important;
  animation: chartBarAnimate 4s ease-in-out infinite !important;
  position: relative !important;
}

.chart-bar::after {
  display: none !important;
}

.chart-bar:nth-child(1) {
  height: 40% !important;
  background: var(--primary-color) !important;
  box-shadow: 0 -2px 8px rgba(2, 44, 130, 0.2) !important;
}

.chart-bar:nth-child(2) {
  height: 70% !important;
  background: var(--secondary-color) !important;
  box-shadow: 0 -2px 8px rgba(235, 190, 0, 0.2) !important;
}

.chart-bar:nth-child(3) {
  height: 55% !important;
  background: var(--primary-color) !important;
  box-shadow: 0 -2px 8px rgba(2, 44, 130, 0.2) !important;
}

.chart-bar:nth-child(4) {
  height: 85% !important;
  background: var(--secondary-color) !important;
  box-shadow: 0 -2px 8px rgba(235, 190, 0, 0.2) !important;
}

.chart-bar:nth-child(5) {
  height: 65% !important;
  background: var(--primary-color) !important;
  box-shadow: 0 -2px 8px rgba(2, 44, 130, 0.2) !important;
}

.chart-bar:nth-child(6) {
  height: 75% !important;
  background: var(--secondary-color) !important;
  box-shadow: 0 -2px 8px rgba(235, 190, 0, 0.2) !important;
}

@keyframes chartBarAnimate {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(1.03);
    opacity: 0.98;
  }
}

@keyframes cardPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }
  50% {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 3px 12px rgba(2, 44, 130, 0.1);
  }
}

/* Dashboard Card Fade Animations for Rotation */
.dash-card.fade-out {
  animation: fadeOut 0.3s ease-out forwards !important;
}

.dash-card.fade-in {
  animation: fadeIn 0.5s ease-in forwards !important;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   MOBILE DASHBOARD FIX - Better Responsive Design
   ============================================ */

/* Mobile Laptop - Larger Size for Better Visibility */
@media (max-width: 991px) {
  .hero-visual-mobile {
    height: 280px !important;
    margin-top: 30px !important;
  }

  .hero-visual-mobile .laptop-container {
    max-width: 350px !important;
  }

  .hero-visual-mobile .laptop-screen {
    height: 200px !important;
  }

  .hero-visual-mobile .dashboard {
    padding: 10px !important;
  }

  .hero-visual-mobile .dashboard-header {
    padding: 8px !important;
    margin-bottom: 8px !important;
  }

  .hero-visual-mobile .dash-logo {
    width: 35px !important;
    height: 7px !important;
  }

  .hero-visual-mobile .dash-menu span {
    width: 16px !important;
    height: 3px !important;
  }

  .hero-visual-mobile .dashboard-content {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-bottom: 6px !important;
  }

  .hero-visual-mobile .dash-card {
    padding: 8px 6px !important;
  }

  .hero-visual-mobile .dash-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }

  .hero-visual-mobile .dash-value {
    font-size: 12px !important;
    margin-bottom: 2px !important;
  }

  .hero-visual-mobile .dash-label {
    font-size: 7px !important;
  }

  .hero-visual-mobile .dash-chart-container {
    padding: 6px !important;
  }

  .hero-visual-mobile .dash-chart {
    height: 35px !important;
    gap: 4px !important;
  }
}

@media (max-width: 767px) {
  .hero-visual-mobile {
    height: 260px !important;
  }

  .hero-visual-mobile .laptop-container {
    max-width: 320px !important;
  }

  .hero-visual-mobile .laptop-screen {
    height: 180px !important;
  }
}

@media (max-width: 575px) {
  .hero-visual-mobile {
    height: 240px !important;
  }

  .hero-visual-mobile .laptop-container {
    max-width: 300px !important;
  }

  .hero-visual-mobile .laptop-screen {
    height: 170px !important;
  }

  .hero-visual-mobile .dashboard {
    padding: 8px !important;
  }

  .hero-visual-mobile .dashboard-content {
    gap: 5px !important;
  }

  .hero-visual-mobile .dash-card {
    padding: 7px 5px !important;
  }

  .hero-visual-mobile .dash-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 10px !important;
  }

  .hero-visual-mobile .dash-value {
    font-size: 11px !important;
  }

  .hero-visual-mobile .dash-label {
    font-size: 6px !important;
  }

  .hero-visual-mobile .dash-chart {
    height: 30px !important;
  }
}

@media (max-width: 374px) {
  .hero-visual-mobile {
    height: 220px !important;
  }

  .hero-visual-mobile .laptop-container {
    max-width: 280px !important;
  }

  .hero-visual-mobile .laptop-screen {
    height: 155px !important;
  }
}

/* ============================================
   DASHBOARD LAYOUT ANIMATIONS & NEW LAYOUTS
   ============================================ */

/* Dashboard Fade Animations - Smooth & Coordinated */
.dashboard-fade-out {
  animation: dashboardFadeOut 0.4s cubic-bezier(0.4, 0, 0.6, 1) forwards !important;
}

.dashboard-fade-in {
  animation: dashboardFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}

/* Pause all child animations during transition */
.dashboard-fade-out *,
.dashboard-fade-in * {
  animation-play-state: paused !important;
}

@keyframes dashboardFadeOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.96) translateY(-5px);
  }
}

@keyframes dashboardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(5px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Layout 2: Line Graph */
.graph-layout {
  padding: 5px;
}

.graph-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-align: center;
}

.line-graph {
  background: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  height: 100px;
}

.graph-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat-item-1 {
  background: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 8px;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}

.stat-value {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-color);
}

/* Layout 3: Pie Chart */
.pie-layout {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.pie-chart {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-color);
}

.pie-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-text {
  font-size: 9px;
  color: #374151;
  font-weight: 600;
}

/* Mobile Responsive for New Layouts */
@media (max-width: 991px) {
  .graph-title {
    font-size: 10px;
  }

  .line-graph {
    height: 70px;
    padding: 10px;
  }

  .stat-label {
    font-size: 7px;
  }

  .stat-value {
    font-size: 13px;
  }

  .pie-layout {
    gap: 10px;
  }

  .pie-chart {
    width: 70px;
    height: 70px;
  }

  .pie-center {
    font-size: 14px;
  }

  .legend-item {
    padding: 5px 6px;
  }

  .legend-dot {
    width: 8px;
    height: 8px;
  }

  .legend-text {
    font-size: 7px;
  }
}

@media (max-width: 575px) {
  .line-graph {
    height: 60px;
  }

  .pie-chart {
    width: 60px;
    height: 60px;
  }

  .pie-center {
    font-size: 12px;
  }

  .legend-text {
    font-size: 6px;
  }
}
