/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
  padding: 16px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.logo-text {
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #1a1a1a;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 20px;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-nav a:hover {
  background: #f5f5f5;
}

/* Buttons */
.btn-primary {
  background: #ffcc00;
  color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:active {
  transform: translateY(-2px) scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s;
  border: 1px solid #e5e5e5;
}

.btn-secondary:hover {
  background: #f5f5f5;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(to bottom, #fffef5, #ffffff);
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

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

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff9e6;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  width: fit-content;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a1a;
}

.hero-description {
  font-size: 20px;
  color: #666;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Animated Background */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(255, 204, 0, 0.05));
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 10%;
  animation-delay: 5s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 50%;
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, -50px) rotate(90deg);
  }
  50% {
    transform: translate(0, -100px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, -50px) rotate(270deg);
  }
}

/* Fade In Up Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3D Card Effect */
.card-3d {
  perspective: 1000px;
  animation: fadeInRight 1s ease-out;
}

.card-3d-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  animation: rotate3d 20s infinite linear;
}

.card-3d:hover .card-3d-inner {
  animation-play-state: paused;
}

.card-3d-inner img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rotate3d {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  25% {
    transform: rotateY(5deg) rotateX(5deg);
  }
  50% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  75% {
    transform: rotateY(-5deg) rotateX(-5deg);
  }
  100% {
    transform: rotateY(0deg) rotateX(0deg);
  }
}

/* Advantages Section */
.advantages {
  padding: 100px 0;
  background: #ffffff;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.advantage-card {
  padding: 40px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  transition: all 0.3s;
  position: relative;
}

.advantage-card:hover {
  border-color: #ffcc00;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 204, 0, 0.3);
}

.advantage-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 72px;
  font-weight: 800;
  color: #f5f5f5;
}

.advantage-icon {
  margin-bottom: 24px;
  transition: transform 0.3s;
}

.advantage-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.advantage-description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.advantage-card:hover .advantage-icon {
  transform: translateZ(30px) scale(1.1);
}

/* Services Section */
.services {
  padding: 100px 0;
  background: #f9f9f9;
}

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

.services-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.services-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}

.service-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.service-item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
  color: #1a1a1a;
}

.service-item p {
  color: #666;
  font-size: 14px;
}

/* Cabinet Section */
.cabinet {
  padding: 100px 0;
  background: #ffffff;
}

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

.cabinet-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cabinet-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.cabinet-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #1a1a1a;
}

.cabinet-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* App Section */
.app-section {
  padding: 100px 0;
  background: #1a1a1a;
  color: #ffffff;
}

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

.app-phone img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.app-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.app-text .section-title {
  color: #ffffff;
}

.app-text .section-description {
  color: #999;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  flex-grow: 1;
}

.app-features li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.app-feature-icon {
  font-size: 32px;
}

.app-features strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
  color: #ffffff;
}

.app-features p {
  color: #999;
  font-size: 14px;
}

.app-download {
  display: flex;
  gap: 16px;
}

.app-store-btn img {
  height: 50px;
  width: auto;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: #f9f9f9;
}

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

.pricing-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.4s ease;
  animation: zoomIn 0.8s ease-out;
  animation-fill-mode: both;
  transform-style: preserve-3d;
}

.pricing-card:nth-child(1) {
  animation-delay: 0.1s;
}
.pricing-card:nth-child(2) {
  animation-delay: 0.2s;
}
.pricing-card:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.pricing-card:hover {
  transform: perspective(1000px) translateZ(20px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.pricing-featured {
  border-color: #ffcc00;
  border-width: 2px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(255, 204, 0, 0);
  }
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.pricing-description {
  font-size: 14px;
  color: #666;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
}

.price-currency {
  font-size: 16px;
  color: #666;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #1a1a1a;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffcc00;
  color: #1a1a1a;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.4);
}

/* Safety Section */
.safety {
  padding: 100px 0;
  background: #ffffff;
}

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

.safety-card {
  text-align: center;
  padding: 32px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  transition: all 0.3s;
}

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

.safety-icon {
  margin: 0 auto 24px;
}

.safety-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.safety-description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: #f9f9f9;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}
.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}
.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}
.testimonial-card:nth-child(4) {
  animation-delay: 0.4s;
}

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

.testimonial-rating {
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.6;
}

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

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.author-name {
  font-weight: 700;
  color: #1a1a1a;
}

.author-position {
  font-size: 14px;
  color: #666;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: #ffffff;
}

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

.feature-card {
  text-align: center;
  padding: 32px;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  transition: all 0.3s;
  animation: fadeInRight 1s ease-out;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.feature-card:hover {
  border-color: #ffcc00;
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.feature-description {
  font-size: 14px;
  color: #666;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: #f9f9f9;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-icon {
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffcc00 0%, #ffb800 50%, #ffcc00 100%);
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.cta-description {
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.cta-buttons .btn-primary {
  background: #1a1a1a;
  color: #ffffff;
}

.cta-buttons .btn-primary:hover {
  background: #000000;
}

.cta-buttons .btn-secondary {
  background: #ffffff;
  border-color: #ffffff;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 80px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-description {
  color: #999;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  border-radius: 8px;
  color: #ffffff;
  transition: all 0.2s;
}

.social-link:hover {
  background: #ffcc00;
  color: #1a1a1a;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffcc00;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #999;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid #2a2a2a;
  color: #666;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #ffcc00;
}

/* Section Headers with animation */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1a1a1a;
  background: linear-gradient(135deg, #1a1a1a 0%, #666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 20px;
  color: #666;
}

/* Stats Section with flip animation */
.stats {
  padding: 60px 0;
  background: #1a1a1a;
  color: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-card {
  text-align: center;
  perspective: 1000px;
}

.flip-card {
  animation: flipIn 0.8s ease-out;
  animation-fill-mode: both;
}

.flip-card:nth-child(1) {
  animation-delay: 0.1s;
}
.flip-card:nth-child(2) {
  animation-delay: 0.2s;
}
.flip-card:nth-child(3) {
  animation-delay: 0.3s;
}
.flip-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes flipIn {
  from {
    transform: perspective(1000px) rotateY(-90deg);
    opacity: 0;
  }
  to {
    transform: perspective(1000px) rotateY(0);
    opacity: 1;
  }
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #ffcc00;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
}

.stat-label {
  font-size: 16px;
  color: #999;
}

/* Tilt card effect */
.tilt-card {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

/* Ripple effect for buttons */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 36px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 36px;
  }

  .services-content {
    grid-template-columns: 1fr;
  }

  .cabinet-content {
    grid-template-columns: 1fr;
  }

  .app-content {
    grid-template-columns: 1fr;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

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

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