/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --black: #000000;
  --soft-black: #1a1a1a;
  --gray-light: #f5f5f5;
  --gray-border: #e5e5e5;
  --gray-text: #666666;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--white);
  color: var(--soft-black);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== FLOATING NAVBAR ===== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 900px;
  /* Enhanced glassmorphism effect */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 50px;
  padding: 12px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
}

/* Added desktop navigation links */
.navbar-links {
  display: none;
  align-items: center;
  gap: 8px;
}

.navbar-links a {
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--soft-black);
  transition: var(--transition);
}

.navbar-links a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.navbar-cta {
  display: none;
  padding: 10px 24px;
  background-color: var(--black);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.navbar-cta:hover {
  background-color: var(--soft-black);
  transform: scale(1.02);
}

.hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: calc(100% - 48px);
  max-width: 400px;
  /* Enhanced glassmorphism for dropdown */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu ul {
  margin-bottom: 20px;
}

.dropdown-menu li {
  padding: 14px 16px;
  border-radius: 12px;
  transition: var(--transition);
  font-weight: 500;
}

.dropdown-menu li:hover {
  background-color: var(--gray-light);
}

.dropdown-menu a {
  display: block;
}

.dropdown-cta {
  display: block;
  width: 100%;
  padding: 16px;
  background-color: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.dropdown-cta:hover {
  background-color: var(--soft-black);
  transform: scale(1.02);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--soft-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-border);
}

.btn-secondary:hover {
  background-color: var(--gray-light);
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-image {
  max-width: 900px;
  margin: 0 auto;
  background: var(--gray-light);
  border-radius: 16px;
  border: 1px solid var(--gray-border);
  padding: 20px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.dashboard-mockup {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 1.25rem;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 100px 0;
  background-color: var(--gray-light);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title p {
  color: var(--gray-text);
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--gray-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.step {
  text-align: center;
  padding: 40px 24px;
}

.step-number {
  width: 64px;
  height: 64px;
  background-color: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
}

.step h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  color: var(--gray-text);
}

/* ===== PRODUCT DEMO ===== */
.product-demo {
  padding: 100px 0;
  background-color: var(--gray-light);
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.demo-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.demo-content p {
  color: var(--gray-text);
  margin-bottom: 32px;
}

.demo-image {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-border);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.demo-image-inner {
  background: var(--gray-light);
  border-radius: 12px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
}

.floating-element {
  position: absolute;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  font-weight: 500;
  animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(2) {
  top: 20px;
  right: -20px;
}

.floating-element:nth-child(3) {
  bottom: 40px;
  left: -20px;
  animation-delay: 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== INTEGRATIONS ===== */
.integrations {
  padding: 100px 0;
}

.integrations-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.integration-logo {
  width: 120px;
  height: 60px;
  background: var(--gray-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-weight: 500;
  transition: var(--transition);
}

.integration-logo:hover {
  background: var(--gray-border);
}

/* ===== PRICING PREVIEW ===== */
.pricing-preview {
  padding: 100px 0;
  background-color: var(--gray-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid var(--gray-border);
  text-align: center;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  background: var(--black);
  color: var(--white);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-card .period {
  color: var(--gray-text);
  margin-bottom: 24px;
}

.pricing-card.featured .period {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card ul {
  margin-bottom: 32px;
  text-align: left;
}

.pricing-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.95rem;
}

.pricing-card.featured li {
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card .btn-primary {
  width: 100%;
}

.pricing-card.featured .btn-primary {
  background: var(--white);
  color: var(--black);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--gray-light);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--gray-border);
}

.testimonial-card p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--gray-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.testimonial-info h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-info span {
  color: var(--gray-text);
  font-size: 0.875rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 120px 0;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  font-size: 1.125rem;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--black);
}

.cta-section .btn-primary:hover {
  background: var(--gray-light);
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 40px;
  background-color: var(--gray-light);
  border-top: 1px solid var(--gray-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray-text);
  max-width: 280px;
}

.footer-column h4 {
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--gray-text);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--black);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--gray-border);
}

.footer-bottom p {
  color: var(--gray-text);
  font-size: 0.875rem;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-border);
  transition: var(--transition);
  font-size: 0.875rem;
}

.social-icon:hover {
  background: var(--black);
  color: var(--white);
}

/* ===== PAGE HEADERS ===== */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background-color: var(--gray-light);
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-header p {
  color: var(--gray-text);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  padding: 48px 40px;
  border-radius: 24px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow);
}

.auth-container h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.auth-container > p {
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 32px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input {
  padding: 14px 16px;
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--black);
}

.forgot-password {
  text-align: right;
  font-size: 0.875rem;
  color: var(--gray-text);
  transition: var(--transition);
}

.forgot-password:hover {
  color: var(--black);
}

.auth-form .btn {
  width: 100%;
  margin-top: 8px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.auth-divider span {
  color: var(--gray-text);
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-border);
}

.social-auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  font-family: inherit;
}

.social-btn.google {
  background: var(--white);
  border: 1px solid var(--gray-border);
  color: var(--soft-black);
}

.social-btn.google:hover {
  background: var(--gray-light);
}

.social-btn.apple {
  background: var(--black);
  color: var(--white);
}

.social-btn.apple:hover {
  background: var(--soft-black);
}

.social-btn-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--gray-text);
  font-size: 0.875rem;
}

.auth-footer a {
  color: var(--black);
  font-weight: 500;
}

/* ===== DOCS PAGE ===== */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding: 40px 0 100px;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.docs-sidebar h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-text);
  margin-bottom: 16px;
}

.docs-sidebar ul {
  margin-bottom: 32px;
}

.docs-sidebar li {
  margin-bottom: 8px;
}

.docs-sidebar a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--gray-text);
  transition: var(--transition);
  font-size: 0.95rem;
}

.docs-sidebar a:hover,
.docs-sidebar a.active {
  background: var(--gray-light);
  color: var(--black);
}

.docs-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 48px;
}

.docs-content h2:first-child {
  margin-top: 0;
}

.docs-content p {
  color: var(--gray-text);
  margin-bottom: 24px;
  line-height: 1.7;
}

.docs-content pre {
  background: var(--soft-black);
  color: var(--white);
  padding: 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin-bottom: 24px;
  font-family: "SF Mono", Monaco, "Courier New", monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

.docs-content code {
  font-family: "SF Mono", Monaco, "Courier New", monospace;
}

/* ===== ABOUT PAGE ===== */
.about-section {
  padding: 100px 0;
}

.about-section:nth-child(even) {
  background: var(--gray-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-image {
  background: var(--gray-light);
  border-radius: 16px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  border: 1px solid var(--gray-border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  background: var(--gray-border);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.team-card p {
  color: var(--gray-text);
  font-size: 0.875rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.value-card {
  padding: 32px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-border);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--gray-text);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
/* Show desktop nav on laptop screens (768px+) */
@media (min-width: 768px) {
  .navbar {
    max-width: 900px;
  }

  .navbar-links {
    display: flex;
  }

  .navbar-cta {
    display: block;
  }

  .hamburger {
    display: none;
  }

  .dropdown-menu {
    display: none !important;
  }
}

@media (max-width: 968px) {
  .demo-container,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .demo-image {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .navbar {
    width: calc(100% - 32px);
    padding: 10px 20px;
  }

  /* Hide desktop nav on mobile */
  .navbar-links,
  .navbar-cta {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .auth-container {
    padding: 32px 24px;
  }
}

.hero-image img {
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
    .hero-image img{
        height: 100%;
        width:100%;
    }
}

@media (max-width: 425px) {
    .hero-image img{
        height: auto-fit;
        width:100%;
    }
}

.demo-image-inner{
  height: 100%;
  width: 100%;
}

.about-image{
  height: 100%;
  width: 100%;
}

.Mgraphix{
  text-decoration: none;
}

.Mgraphix:hover{
  color: #000000;
}