/* landing.css - Immovii Landing Page */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --color-bg: #FDF5F2;
  --color-text: #111111;
  --color-text-muted: #555555;
  --color-primary: #8C43FF;
  --color-secondary: #FF7B54;
  --gradient-main: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-text: linear-gradient(90deg, #8C43FF, #FF7B54);
  --color-white: #FFFFFF;
  --border-radius-pill: 50px;
  --border-radius-card: 24px;
  --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  background: var(--color-text);
  color: var(--color-white);
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  font-family: 'Outfit', sans-serif;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--color-text);
  text-decoration: none;
}

.btn-icon:hover {
  background: rgba(0,0,0,0.05);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--color-white);
  border: none;
  box-shadow: 0 8px 20px rgba(140, 67, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 25px rgba(140, 67, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(0,0,0,0.15);
}

.btn-outline:hover {
  border-color: rgba(0,0,0,0.3);
  background: rgba(0,0,0,0.02);
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-features span::before {
  content: "•";
  color: rgba(0,0,0,0.2);
}

/* Visual Side (Floating Elements) */
.hero-visual {
  position: relative;
  height: 600px;
}

.floating-element {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-float);
  padding: 1.5rem;
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
}

/* Widget 1: Main Dashboard Sneak Peek */
.widget-main {
  width: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation-delay: 0s;
  background: rgba(255, 255, 255, 0.95);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.widget-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.widget-menu-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
}

.widget-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 1rem;
}

.bar {
  flex: 1;
  background: #E5E7EB;
  border-radius: 4px;
}
.bar.active {
  background: var(--gradient-main);
}
.bar:nth-child(1) { height: 40%; }
.bar:nth-child(2) { height: 60%; }
.bar:nth-child(3) { height: 50%; }
.bar:nth-child(4) { height: 80%; }
.bar:nth-child(5) { height: 100%; }
.bar:nth-child(6) { height: 70%; }

.widget-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
}
.stat-badge {
  background: rgba(140, 67, 255, 0.1);
  color: var(--color-primary);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  font-size: 0.8rem;
}

/* Widget 2: Notification */
.widget-notification {
  width: 280px;
  bottom: 20px;
  right: -20px;
  z-index: 3;
  animation-delay: 1s;
}

.notif-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.notif-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.notif-role {
  background: var(--gradient-main);
  color: white;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
}

.notif-text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
  font-weight: 500;
}

/* Widget 3: Small Card (e.g. Property) */
.widget-small {
  top: 40px;
  right: 0px;
  z-index: 1;
  animation-delay: 2s;
  padding: 1rem;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.9rem;
}
.rating-badge i {
  color: #FFB020;
}

/* Floating connections */
.connection-line {
  position: absolute;
  top: 60%;
  left: 20%;
  width: 100px;
  height: 2px;
  background: rgba(140, 67, 255, 0.3);
  transform: rotate(-30deg);
  z-index: 0;
}
.connection-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--gradient-main);
  border-radius: 50%;
  top: 55%;
  left: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  box-shadow: 0 0 0 4px rgba(253, 245, 242, 1);
  z-index: 1;
}


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

.widget-notification {
  animation: float-notif 7s ease-in-out infinite 1s;
}
@keyframes float-notif {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.widget-small {
  animation: float-small 5s ease-in-out infinite 2s;
}
@keyframes float-small {
  0% { transform: translateY(0px); }
  50% { transform: translateY(12px); }
  100% { transform: translateY(0px); }
}

/* Banner / Logos */
.banner {
  background: var(--color-white);
  padding: 2rem 0;
  margin-top: 2rem;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.banner-text {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.banner-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.6;
}

.logo-item {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
}

.logo-item i {
  font-size: 1.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
  }
  .hero-visual {
    height: 500px;
  }
  .nav-links {
    display: none;
  }
}

/* Additional Sections */
html {
  scroll-behavior: smooth;
}

.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: #f9fafb;
}

.section-title {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
}

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

.step-card, .usecase-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover, .usecase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.step-card h3, .usecase-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.usecase-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

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

.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.feature-item i {
  font-size: 2rem;
  margin-top: 0.2rem;
}

.text-primary {
  color: var(--color-primary);
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 350px;
  position: relative;
  text-align: center;
}

.pricing-card.popular {
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-primary);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pricing-card p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2.5rem;
}

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features i {
  color: #10B981;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.faq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--color-text-muted);
}

.footer {
  background: #111827;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  color: #9CA3AF;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  display: block;
  color: #9CA3AF;
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #9CA3AF;
  font-size: 0.9rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F3F4F6;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #9CA3AF;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-close:hover {
  color: #111827;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 1.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  header {
    position: relative;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links.active {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 20px 20px;
    z-index: 1000;
    gap: 1.25rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  header {
    padding: 0.75rem 0;
    gap: 0.5rem;
  }
  .logo-container img {
    height: 55px !important;
  }
  .header-actions {
    gap: 0.4rem;
    margin-left: auto;
  }
  .btn-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .hero {
    padding: 2rem 0;
    gap: 2rem;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
  }
  .hero-description {
    font-size: 1rem;
    margin: 1rem auto;
    text-align: center;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }
  .banner-text {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .logos-grid {
    gap: 1.5rem;
    justify-content: center;
  }
  .logo-item {
    font-size: 1.1rem;
    justify-content: center;
  }
  .section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.8rem;
    text-align: center;
  }
  .section-subtitle {
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
  }
  .steps-grid,
  .usecases-grid,
  .pricing-grid,
  .modules-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .step-card,
  .usecase-card,
  .pricing-card,
  .module-card {
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
    text-align: center;
  }
  .step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .step-number {
    margin: 0 auto 1.25rem auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col a {
    text-align: center;
  }
}

/* Section Modules Light Theme */
.bg-light-modules { background-color: #f9fafb; padding: 5rem 0; }
.bg-light-modules .section-title { color: var(--color-text); }
.bg-light-modules .section-subtitle { color: var(--color-text-light); }
.modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.module-card { background-color: #ffffff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1.5rem; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s; text-align: left; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.module-card:hover { transform: translateY(-5px); border-color: var(--color-primary); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.module-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.module-icon { width: 32px; height: 32px; background-color: rgba(89, 115, 93, 0.1); color: var(--color-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.module-number { color: var(--color-primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; }
.module-title { color: var(--color-text); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; }
.module-desc { color: var(--color-text-light); font-size: 0.9rem; line-height: 1.5; }
