/* ===========================================================
   WHOHOAI - Premium AI SaaS Theme
   Cleaned & Refactored CSS
=========================================================== */

:root {
  --primary: #4f46e5;
  --secondary: #6366f1;
  --accent: #06b6d4;

  --success: #22c55e;
  --danger: #ef4444;

  --dark: #0f172a;
  --dark2: #111827;

  --text: #1e293b;
  --muted: #64748b;

  --white: #ffffff;
  --bg: #f8fafc;

  --border: #e2e8f0;

  --radius: 18px;

  --shadow: 0 15px 40px rgba(15, 23, 42, 0.08);

  --transition: 0.35s ease;
}

/* ===========================================================
   BASE & RESET
=========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
width:100%;
padding:1%; margin:1%:
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.main-wrapper,
.content-area {
  width: 100%;
  max-width: 1200px;
  margin: 10px auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ===========================================================
   AURORA BACKGROUND
=========================================================== */

.aurora {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2;
  background: 
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.18), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15), transparent 35%),
    radial-gradient(circle at 60% 80%, rgba(79, 70, 229, 0.16), transparent 35%),
    #f8fafc;
  animation: auroraMove 12s ease-in-out infinite;
}

@keyframes auroraMove {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-40px);
  }
}

/* ===========================================================
   HEADER & NAVIGATION
=========================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
}
.mobile-menu{
    display:none;
    background:none;
    border:none;
    font-size:28px;
    cursor:pointer;
    color:#111827;
}

@media (max-width:992px){

.mobile-menu{
    display:block;
}

nav{

position:fixed;

top:80px;
left:-100%;

width:280px;
height:calc(100vh - 80px);

background:#fff;

box-shadow:0 10px 30px rgba(0,0,0,.15);

transition:.35s;

padding:30px;

overflow-y:auto;

z-index:999;

}

nav.active{

left:0;

}

nav ul{

display:flex;
flex-direction:column;
align-items:flex-start;
gap:20px;

}

.nav-buttons{

display:none;

}

}
/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 15px 30px rgba(79, 70, 229, 0.35);
}

.logo-text h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
}

.logo-text span {
  font-size: 13px;
  color: var(--muted);
}

/* Nav Menu */
nav ul {
  display: flex;
  gap: 34px;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav ul li a {
  font-weight: 600;
  transition: 0.3s;
  color: var(--dark);
}

nav ul li a:hover {
  color: var(--primary);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 70px;
  left: -120px;
  width: 760px;
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s;
}

.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  top: 58px;
}

.mega-menu h4 {
  margin-bottom: 18px;
  font-size: 18px;
}

.mega-menu a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: var(--muted);
}

.mega-menu a:hover {
  color: var(--primary);
}

/* ===========================================================
   BUTTONS
=========================================================== */

.nav-buttons {
  display: flex;
  gap: 15px;
}

.login-btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}

.login-btn:hover {
  background: #eef2ff;
}

.demo-btn,
.primary-btn {
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.25);
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.demo-btn:hover,
.primary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px rgba(79, 70, 229, 0.35);
}

.secondary-btn {
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  transition: 0.3s;
}

.secondary-btn:hover {
  background: #eef2ff;
}

/* ===========================================================
   HERO SECTION
=========================================================== */

.hero {
  padding-top: 170px;
  padding-bottom: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #eef2ff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 68px;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 25px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 45px;
}

.hero-stats h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
}

.hero-stats p {
  font-size: 14px;
  margin-top: 5px;
  color: var(--muted);
  margin-bottom: 0;
}

/* ===========================================================
   DASHBOARD SECTION
=========================================================== */

.dashboard {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1);
  position: relative;
  overflow: hidden;
}

.dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.08),
    rgba(6, 182, 212, 0.05)
  );
  pointer-events: none;
}
.dashboard-image{
    width:100%;
    border-radius:24px;
    box-shadow:0 20px 60px rgba(0,0,0,.15);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dashboard-title {
  font-size: 20px;
  font-weight: 700;
}

.dashboard-preview {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
}

.sidebar {
  width: 240px;
  min-width: 240px;
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.sidebar .menu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 8px;
}

.sidebar .menu:hover,
.sidebar .menu.active {
  background: #eef2ff;
  color: #4f46e5;
}

.dashboard-content {
  flex: 1;
}

.chart-placeholder {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.chart-placeholder img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.chart-container,
.interactive-chart-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stat-card h3 {
  font-size: 42px;
  margin-bottom: 10px;
  color: #4f46e5;
}

.stat-card p {
  margin: 0;
  color: #64748b;
}

.online {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-weight: 600;
}

.online span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

.dashboard-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 16px;
  transition: var(--transition);
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.icon {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  color: #fff;
}

.blue { background: #4f46e5; }
.green { background: #16a34a; }
.orange { background: #f97316; }
.purple { background: #7c3aed; }
.pink { background: #ec4899; }
.dark { background: #0f172a; }

.status {
  padding: 8px 16px;
  border-radius: 100px;
  background: #eef2ff;
  font-size: 13px;
  font-weight: 600;
}

.success {
  background: #dcfce7;
  color: #166534;
}

.analytics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.metric {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}

.metric h3 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

/* ===========================================================
   TRUSTED SECTION
=========================================================== */

.trusted {
  padding: 80px 0;
}

.section-mini-title {
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
}

.trusted-slider {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.company {
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.company:hover {
  transform: translateY(-8px);
}

/* ===========================================================
   SECTION HEADINGS
=========================================================== */

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

.section-heading span {
  color: var(--primary);
  font-weight: 700;
}

.section-heading h2 {
  font-size: 48px;
  margin: 18px 0;
}

.section-heading p {
  font-size: 19px;
  color: var(--muted);
}

/* ===========================================================
   SOLUTIONS SECTION
=========================================================== */

.solutions {
  padding: 110px 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.solution-card {
  background: #fff;
  padding: 35px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-10px);
}

.solution-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.solution-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 25px;
}

.solution-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.solution-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

.solution-card a {
  font-weight: 700;
  color: var(--primary);
}

.featured {
  border: 2px solid var(--primary);
}

.feature-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  border-radius: 50px;
  font-weight: 700;
}

/* ===========================================================
   PLATFORM SECTION
=========================================================== */

.platform {
  padding: 120px 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.feature-list {
  margin: 40px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 17px;
}

.feature-list i {
  color: var(--success);
}

.workflow-card {
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.workflow-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #eef2f7;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
}

/* ===========================================================
   INTEGRATIONS SECTION
=========================================================== */

.integrations {
  padding: 110px 0;
  background: #fff;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.integration-card {
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  font-size: 18px;
  font-weight: 700;
}

.integration-card i {
  display: block;
  font-size: 38px;
  margin-bottom: 15px;
  color: var(--primary);
}

.integration-card:hover {
  transform: translateY(-8px);
}

/* ===========================================================
   CTA SECTION
=========================================================== */

.cta {
  padding: 120px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 32px;
  padding: 70px;
  text-align: center;
  color: #fff;
}

.cta-box h2 {
  font-size: 52px;
  margin-bottom: 20px;
}

.cta-box p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.cta .secondary-btn {
  background: #fff;
}

/* ===========================================================
   FOOTER
=========================================================== */

footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 90px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-grid h3,
.footer-grid h4 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-grid li {
  margin-bottom: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-grid li:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: #94a3b8;
}

/* ===========================================================
   RESPONSIVE MEDIA QUERIES
=========================================================== */

/* Desktop / Laptop Breakpoints */
@media (max-width: 991px) {
  .hero-grid,
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trusted-slider {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard-preview {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet & Mobile Screens */
@media screen and (max-width: 768px) {
  .grid-container,
  .flex-container,
  .layout-wrapper,
  .row {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .sidebar,
  .content-main {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  /* Responsive Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  p, body { font-size: 0.95rem; }

  /* Navigation Bar Adjustments */
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-item {
    width: 100%;
    margin: 5px 0;
  }

  .interactive-chart {
    min-width: 300px;
    height: auto;
  }

  .solution-grid,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .cta-box h2 {
    font-size: 32px;
  }
}

/* Mobile Devices */
@media (max-width: 576px) {
  .stats-grid,
  .sidebar,
  .analytics,
  .trusted-slider,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
}

/* Small Smartphone Screen Adjustments */
@media screen and (max-width: 480px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .btn,
  button,
  input[type="submit"] {
    width: 100%;
    display: block;
    padding: 12px 20px;
  }
}

@media (max-width: 991.98px) {

    nav {
        display: none !important;
    }

    nav.active {
        display: block !important;
        position: fixed;
        top: 80px;
        left: 0;
        width: 320px;
        height: calc(100vh - 80px);
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0,0,0,.15);
        padding: 20px;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .nav-buttons {
        display: none !important;
    }

    .mobile-menu {
        display: block !important;
    }
}

.nav-right{
    display:flex;
    align-items:center;
    gap:15px;
}

.dark-toggle{

width:45px;
height:45px;

border:none;
border-radius:50%;

background:#EEF2FF;

cursor:pointer;

font-size:20px;

display:flex;
justify-content:center;
align-items:center;

transition:.3s;

}

.dark-toggle:hover{

background:#4F46E5;
color:#fff;

transform:rotate(180deg);

}