:root {
  --primary-color: #5865F2;
  --primary-hover: #4752c4;
  --bg-color: #f7faff;
  --text-dark: #0b1220;
  --text-light: #64748b;
  --white: #ffffff;
  --phone-bezel: #1a1a1a;
  --trans-smooth: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-hero {
  background-color: var(--bg-color);
  padding: 80px 20px;
  overflow: hidden;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

/* --- Left Column: Visuals --- */
.visual-column {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ring-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(88, 101, 242, 0.1);
  background: radial-gradient(circle, rgba(88, 101, 242, 0.05) 0%, transparent 70%);
  transform: scale(0.9);
  opacity: 0;
  transition: var(--trans-smooth);
}

.phone-stack {
  position: relative;
  width: 300px;
  height: 500px;
  opacity: 0;
  transform: translateY(40px);
  transition: var(--trans-smooth);
}

.phone-frame {
  position: absolute;
  width: 220px;
  height: 440px;
  background: var(--phone-bezel);
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: var(--trans-smooth);
}

.screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 10px;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* Fake UI Components */
.ui-card { height: 80px; border-radius: 12px; width: 100%; }
.ui-card.red { background: #ff5f5f; }
.ui-card.blue { background: var(--primary-color); }
.ui-card.yellow { background: #ffcc00; }
.ui-card.white-shadow { background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.ui-list-item { height: 40px; background: #f0f3f8; border-radius: 8px; }
.ui-block-top { height: 120px; background: #eee; margin: -15px -15px 0 -15px; }

/* Fan Rotations */
.phone-left { transform: translateX(-60px) rotate(-8deg); z-index: 1; }
.phone-center { transform: rotate(-2deg) scale(1.05); z-index: 3; left: 40px; top: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.phone-right { transform: translateX(140px) rotate(8deg); z-index: 2; top: 10px; }

/* Center phone hover effect */
.phone-stack:hover .phone-center {
  transform: rotate(-2deg) scale(1.1) translateY(-10px);
  box-shadow: 0 40px 80px rgba(88, 101, 242, 0.2);
}

/* --- Right Column: Content --- */
.content-column {
  flex: 1;
  opacity: 0;
  transform: translateX(40px);
  transition: var(--trans-smooth);
  position: relative;
  z-index: 5;
}

.top-tag { color: var(--primary-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 15px; display: block; }
.main-title { font-size: 3rem; color: var(--text-dark); line-height: 1.1; margin-bottom: 20px; }
.description { color: var(--text-light); line-height: 1.6; margin-bottom: 35px; max-width: 480px; }

.features-list { margin-bottom: 40px; }
.feature-row { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.icon-badge {
  width: 50px; height: 50px; background: var(--white); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.04); color: var(--primary-color);
}
.feature-text h3 { font-size: 1.1rem; margin: 0 0 4px 0; color: var(--text-dark); }
.feature-text p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

.cta-group { display: flex; align-items: center; gap: 25px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color); color: white; padding: 18px 32px;
  border-radius: 12px; border: none; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: 0.3s ease; box-shadow: 0 10px 20px rgba(88, 101, 242, 0.2);
  text-decoration: none;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-3px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 12px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}
.btn-outline:hover {
  background: rgba(88, 101, 242, 0.1);
  transform: translateY(-3px);
}
.link-more { text-decoration: none; color: var(--text-light); font-weight: 600; }

.dots-pattern {
  position: absolute; bottom: -40px; right: 0; width: 150px; height: 100px;
  background-image: radial-gradient(#d1d9e6 1.5px, transparent 1.5px);
  background-size: 12px 12px; opacity: 0.5; z-index: -1;
}

/* Animation trigger classes */
.is-visible .ring-bg { transform: scale(1); opacity: 1; }
.is-visible .phone-stack { transform: translateY(0); opacity: 1; }
.is-visible .content-column { transform: translateX(0); opacity: 1; }

/* Responsive */
@media (max-width: 992px) {
  .hero-container { flex-direction: column; gap: 100px; text-align: center; }
  .phone-stack { width: 100%; height: 460px; left: -40px; }
  .content-column { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .main-title { font-size: 2.2rem; }
  .feature-row { text-align: left; }
  .cta-group { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .phone-stack { transform: scale(0.8); height: 400px; left: -80px; }
  .phone-left, .phone-right { opacity: 0.4; } /* Simplify on tiny screens */
}

:root {
    --primary-blue: #4f46e5;
    --text-main: #111827;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.popular-features {
    position: relative;
    padding: 100px 20px;
    background-color: var(--bg-white);
    font-family: 'Inter', system-ui, sans-serif;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Halftone Background Pattern */
.halftone {
    position: absolute;
    width: 400px;
    height: 400px;
    background-image: radial-gradient(#d1d5db 1.5px, transparent 0);
    background-size: 15px 15px;
    mask-image: radial-gradient(circle, black, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black, transparent 70%);
    opacity: 0.4;
    z-index: 1;
}
.halftone-top { top: -100px; left: -100px; }
.halftone-bottom { bottom: -100px; right: -100px; }

/* Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.top-label {
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}
.main-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-main);
    margin-top: 10px;
    line-height: 1.2;
}

/* Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: 40px;
}

/* Feature Cards */
.feature-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f3f4f6;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.number-badge {
    width: 42px;
    height: 42px;
    background: #f3f4f6;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 12px;
    transition: background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .number-badge {
    background: var(--primary-blue);
    color: white;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Phones */
.phone-display {
    display: flex;
    justify-content: center;
}

.phone-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 500px;
}

.phone {
    position: absolute;
    width: 240px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    border: 8px solid #111;
}

.phone-1 {
    z-index: 2;
    left: 0;
    top: 107px;
    transform: rotate(-5deg);
}

.phone-2 {
    z-index: 1;
    right: 10;
    bottom: 0;
     top: 137px;
    transform: rotate(5deg);
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .phone-display {
        grid-row: 1;
        margin-bottom: 40px;
    }
    .feature-column {
        flex-direction: row;
        justify-content: center;
    }
    .feature-card {
        flex: 1;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .feature-column {
        flex-direction: column;
        align-items: center;
    }
    .feature-card {
        width: 100%;
    }
    .phone-wrapper {
        height: 400px;
        max-width: 320px;
    }
    .phone {
        width: 180px;
    }
}

:root {
  --showcase-bg: #f8faff;
  --showcase-accent: #5e60ce;
  --showcase-text: #1a1a1a;
  --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.ui-showcase {
  position: relative;
  background-color: var(--showcase-bg);
  padding: 100px 0;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ui-showcase__bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(94, 96, 206, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.ui-showcase__container {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.ui-showcase__header {
  margin-bottom: 60px;
  padding: 0 20px;
}

.ui-showcase__label {
  display: inline-block;
  color: var(--showcase-accent);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.ui-showcase__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--showcase-text);
  line-height: 1.2;
}

/* Collage & Perspective */
.ui-showcase__perspective-box {
  width: 110%;
  margin-left: -5%;
  perspective: 1500px;
  transform: rotate(-6deg) skew(-2deg, 0deg);
  will-change: transform;
}

.ui-showcase__collage-strip {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 0;
}

.ui-showcase__row {
  display: flex;
  gap: 30px;
  white-space: nowrap;
}

.ui-card {
  flex: 0 0 240px;
  height: 480px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.ui-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ui-card.card-lg {
  flex: 0 0 280px;
  height: 560px;
  margin-top: -40px; /* Create staggered depth */
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .ui-showcase__perspective-box {
    transform: rotate(-3deg) skew(-1deg, 0deg);
    width: 100%;
    margin-left: 0;
  }
  .ui-card { flex: 0 0 200px; height: 400px; }
  .ui-card.card-lg { flex: 0 0 220px; height: 440px; margin-top: -20px; }
}

@media (max-width: 768px) {
  .ui-showcase { padding: 60px 0; }
  .ui-showcase__perspective-box { 
    transform: none; /* Flatten for mobile scroll feel */
  }
  .ui-showcase__collage-strip {
    overflow-x: auto;
    flex-direction: row; /* Single line for mobile row */
    padding: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .ui-showcase__row { gap: 15px; }
  .ui-card { scroll-snap-align: center; }
  .row-left, .row-right { animation: none !important; } /* Stop auto-move on mobile */
}
