/* Hero Section */
.hero {
  padding: 250px 0 130px;
  overflow: hidden;
  padding-bottom: 0px;
}

.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-bottom: 25px;
  line-height: 1.1;
  color: var(--secondary-color);
  position: relative;
  font-family: "Luciole-Bold";
  max-width: 690px;
  flex: 1;
  position: relative;
  text-align: center;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--Charcoal);
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  position: relative;
  max-width: 500px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-apps {
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
}

.hero-apps::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.2;
}

.app-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.app-button {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-button:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.app-icon {
  height: 28px;
  width: auto;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
}

.app-icon.gray {
  opacity: 1;
}

.app-icon.primary {
  opacity: 0;
  position: absolute;
  top: 12px;
  left: 12px;
  filter: brightness(0) invert(1);
}

.app-button:hover .app-icon.gray {
  opacity: 0;
}

.app-button:hover .app-icon.primary {
  opacity: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #f27721, #ffca2b);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.hero-img {
  max-width: 500px;
  height: auto;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
}

.hero-image:hover .hero-img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-bg-wrapper {
  text-align: center;
  max-width: 100%;
  position: relative;
  padding-top: 50px;
}
.hero-bg-wrapper:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset -50px -95px 60px 10px var(--white);
}
.hero-bg-wrapper img {
  padding: 0px 12px;
  width: 100%;
}

/* Features Section */
.features-section {
  background: var(--gray);
}
html.dark-mode .features-section {
  background: var(--secondary-color);
}
.features-showcase {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feature-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
html.dark-mode .feature-main {
  background: var(--secondary-color);
  border: var(--border);
}
.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-preview {
  background: linear-gradient(135deg, #f8fffe, #e6fffe);
  border: 2px solid rgba(16, 195, 189, 0.2);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(16, 195, 189, 0.15);
  width: 100%;
  max-width: 400px;
}
html.dark-mode .dashboard-preview {
  background: var(--secondary-color);
  border: var(--border);
  box-shadow: unset;
}
.preview-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(16, 195, 189, 0.2);
}

.preview-dots {
  display: flex;
  gap: 0.5rem;
}

.preview-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray);
}

.preview-dots span:first-child {
  background: #ff5f57;
}

.preview-dots span:nth-child(2) {
  background: #ffbd2e;
}

.preview-dots span:nth-child(3) {
  background: #28ca42;
}

.preview-title {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 16px;
}
html.dark-mode .preview-title {
  color: var(--white);
}
.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(16, 195, 189, 0.1);
}

html.dark-mode .stat-item {
  background: var(--secondary-color);
  border: var(--border);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 14px;
  color: var(--light-text);
}

.feature-details h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.feature-details p {
  font-size: 16px;
  color: var(--light-text);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.feature-list li {
  padding-bottom: 12px;
  color: var(--light-text);
  position: relative;
  padding-left: 2rem;
}
.feature-list li:last-child {
  padding-bottom: 0;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

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

.feature-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(16, 195, 189, 0.1);
  transition: all 0.3s ease;
}

html.dark-mode .feature-item {
  background: var(--secondary-color);
  border: var(--border);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(16, 195, 189, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-item h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--light-text);
  font-size: 16px;
  margin: 0;
}

/* responsive-start */
@media (max-width: 1199px) {
  .hero-bg-wrapper img {
    width: 100%;
    padding: 0px 12px;
  }
}

@media (max-width: 1024px) {
  .feature-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-main {
    padding: 20px;
  }

  .dashboard-preview {
    max-width: 100%;
    padding: 20px;
  }

  .preview-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-intro h2 {
    font-size: 2rem;
  }

  .feature-item {
    padding: 20px;
  }
}

/* Face Recognition Technology Section */
.face-recognition-section {
  position: relative;
  overflow: hidden;
}

.face-recognition-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 40%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(16, 195, 189, 0.1) 0%,
    transparent 70%
  );
  transform: rotate(15deg);
  z-index: 0;
}

.face-recognition-wrapper {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 18px;
  color: var(--light-text);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.face-recognition-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.showcase-left {
  position: relative;
}

.face-recognition-demo {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

html.dark-mode .face-recognition-demo {
  background: var(--secondary-color);
}
.demo-header {
  background: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #e9ecef;
}
html.dark-mode .demo-header {
  background: var(--secondary-color);
  border-bottom: var(--border);
}

.demo-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f57;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #28ca42;
}

.demo-title {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 16px;
}
html.dark-mode .demo-title {
  color: var(--white);
}
.demo-content {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.demo-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.face-recognition-demo:hover .demo-image {
  transform: scale(1.02);
}

.showcase-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.showcase-right .btn-primary {
  text-align: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(16, 195, 189, 0.1);
  transition: all 0.3s ease;
}

html.dark-mode .feature-card {
  background: var(--secondary-color);
  border: var(--border);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 195, 189, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--light-text);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.privacy-notice {
  background: var(--white);
  border: 1px solid rgba(0, 204, 102, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
}

.privacy-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 195, 189, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-header h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
}

.privacy-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.privacy-points li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--light-text);
  font-size: 14px;
}

.privacy-points li:last-child {
  margin-bottom: 0;
}

.privacy-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00cc66;
  font-weight: bold;
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .face-recognition-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .face-recognition-demo {
    transform: none;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .feature-icon {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .face-recognition-showcase {
    gap: 2rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .feature-card {
    padding: 1rem;
    gap: 0.75rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .feature-content h4 {
    font-size: 16px;
  }

  .feature-content p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
  }

  .demo-header {
    padding: 0.75rem 1rem;
  }

  .demo-title {
    font-size: 14px;
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
  }

  .privacy-header {
    justify-content: center;
  }
  .feature-details h3 {
    font-size: 1.5rem;
  }
  .privacy-icon {
    margin: 0 auto 0px;
  }
  .feature-content {
    width: 100%;
  }
  .feature-icon {
    margin: 0 auto 1.5rem;
  }
}

/* why-us-section-start */
.why-us-section {
  position: relative;
  overflow: visible;
}

.why-us-card.featured-card button {
  margin-top: 20px;
}

.why-us-section-container {
  display: flex;
  gap: 50px;
}

.why-us-section-container .why-us-title {
  position: sticky;
  top: 40%;
  max-height: fit-content;
  z-index: 10;
}

/* Grid */
.why-us-section .why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .why-us-section .why-us-grid {
    margin-top: 0px;
  }
}

/* Grid */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Card */
.why-us-card {
  background: var(--gray);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 64px;
  gap: 50px;
  justify-content: space-between;
  padding-left: 24px;
  padding-right: 24px;
}
.why-us-card:nth-child(1) {
  grid-column: span 2;
}

.why-us-card:nth-child(4) {
  grid-column: span 2;
}
.why-us-card .title-box {
  margin: 0;
}
.card-content {
  max-width: 350px;
  margin-bottom: 1rem;
}

.card-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.card-text {
  font-size: 1rem;
  color: var(--light-text);
}

/* Card image */
.card-image {
  max-width: 100%;
  height: auto;
  max-height: 350px;
}

.card-floating-img {
  position: absolute;
  top: 0;
  left: 20px;
  transform: translateY(-100%);
  height: 48px;
  width: auto;
}

/* Simple Why Us Section Design */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 3rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--gray);
  border-radius: 12px;
  transition: transform 0.3s ease;
}
html.dark-mode .benefit-item {
  background: var(--secondary-color);
}
.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.benefit-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.benefit-content p {
  color: var(--light-text);
  line-height: 1.6;
  margin: 0;
}

.cta-section {
  text-align: center;
  background: var(--gray);
  padding: 3rem 2rem;
  border-radius: 16px;
}
html.dark-mode .cta-section {
  background: var(--secondary-color);
}
.cta-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}
.cta-section .cta-content p {
  margin-bottom: 20px;
}
html.dark-mode .cta-content p {
  color: var(--light-text);
}
@media (min-width: 1024px) {
  .why-us-section .why-us-grid {
    margin-top: 0px;
  }
}

@media (max-width: 768px) {
  .why-us-section-container {
    flex-direction: column;
  }

  .why-us-section-container .why-us-title {
    position: relative;
  }

  .why-us-section {
    padding-top: 0px !important;
  }

  .why-us-grid {
    margin-top: 0px;
  }
  .action-wrapper .hero-buttons {
    margin-top: 40px;
  }
  .hero {
    padding: 150px 0 60px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-item {
    padding: 20px;
    gap: 20px;
    flex-direction: column;
  }

  .cta-section {
    padding: 20px;
  }
  .benefit-item:hover {
    transform: unset;
  }
}
