:root {
  --clr-bg: #fcfcff;
  --clr-primary: #0047ff;
  --clr-gradient: linear-gradient(90deg, #0047ff 0%, #429bfa 100%);
  --clr-product: #f3f6fa;
  --clr-text: #242629;
  --clr-accent: #22d3ee;
  --clr-footer: #060b1a;
  --shadow: 0 2px 16px 0 rgba(12,29,74,.08);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.header {
  background: var(--clr-gradient);
  color: #fff;
  padding-bottom: 3rem;
  animation: headerFade 1s cubic-bezier(.68,-0.55,.27,1.55) backwards;
}
@keyframes headerFade {
  from { opacity: 0; transform: translateY(-60px); }
  to { opacity: 1; transform: none; }
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 6vw 0 6vw;
}
.logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #22d3ee 0%, #0047ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoReveal 1300ms cubic-bezier(.88,-0.09,.29,1.1) 0.3s both;
}
@keyframes logoReveal {
  from { opacity: 0; transform: scale(.85) translateY(-35px); }
  to { opacity: 1; transform: none; }
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
}
.nav-links li {
  opacity: 0;
  animation: navAppear 900ms cubic-bezier(.82,-0.22,.52,1.16) 0.8s forwards;
}
.nav-links li:nth-child(2) {animation-delay: 1.1s;}
.nav-links li:nth-child(3) {animation-delay: 1.3s;}
.nav-links li:nth-child(4) {animation-delay: 1.5s;}
@keyframes navAppear {
  to { opacity: 1; }
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  position: relative;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a:focus {
  color: var(--clr-accent);
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 6vw 2rem 6vw;
  gap: 1.5rem;
  flex-wrap: wrap-reverse;
}
.hero-text {
  flex: 1.3;
  min-width: 280px;
  animation: heroTextFade 1.7s cubic-bezier(.83,-0.26,.45,1.13) .7s backwards;
}
@keyframes heroTextFade {
  from { opacity: 0; transform: translateY(45px) scale(.9); }
  to { opacity: 1; transform: none; }
}
.hero-text h1 {
  font-size: 2.6rem;
  margin: 0 0 1rem 0;
  background: -webkit-linear-gradient(0deg, #fff, #22d3ee 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text p {
  font-size: 1.25rem;
  margin: 0 0 2rem 0;
  color: #e3eaff;
}
.cta-btn {
  background: var(--clr-accent);
  color: #fff;
  padding: 0.95rem 2.2rem;
  border-radius: 32px;
  font-size: 1.25rem;
  font-weight: 500;
  box-shadow: 0 5px 20px 0 #0001;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .25s, transform .16s;
  animation: ctaRiseIn 1.3s cubic-bezier(.83,-0.26,.45,1.13) 1.1s backwards;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--clr-primary);
  transform: scale(1.05);
}
@keyframes ctaRiseIn {
  from { opacity: 0; transform: translateY(35px) scale(.94); }
  to { opacity: 1; transform: none; }
}
.hero-img {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroImgFade 1.3s cubic-bezier(.85,-0.14,.36,1.14) 1.3s backwards;
}
@keyframes heroImgFade {
  from { opacity: 0; transform: translateX(80px) scale(.8) rotate(-10deg); }
  to { opacity: 1; transform: none; }
}
.hero-img img {
  width: 270px;
  border-radius: 32px;
  filter: drop-shadow(0 18px 30px #02274b16);
  background: #fff4;
  transition: filter .3s;
}
.hero-img img:hover {
  filter: drop-shadow(0 28px 60px #0047ff40);
}
.products {
  background: var(--clr-product);
  padding: 4rem 6vw;
  text-align: center;
}
.products h2 {
  font-size: 2.3rem;
  margin-bottom: 2.2rem;
  color: var(--clr-primary);
}
.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
}
.product-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 2.1rem 1.4rem 2.4rem 1.4rem;
  width: 295px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(70px) scale(0.95);
  animation: cardFade 1.1s cubic-bezier(.75,-0.09,.16,1.12) forwards;
  animation-delay: 0.3s;
  transition: box-shadow 0.18s, transform 0.18s;
}
.product-card:nth-child(2) {animation-delay: 0.44s;}
.product-card:nth-child(3) {animation-delay: 0.58s;}
@keyframes cardFade {
  to { opacity: 1; transform: none; }
}
.product-card img {
  width: 110px;
  margin-bottom: 1.2rem;
  border-radius: 1.5rem;
  background: #eef8ffbb;
  box-shadow: 0 8px 32px #0047ff08;
  transition: transform .21s;
}
.product-card:hover, .product-card:focus-within {
  box-shadow: 0 8px 55px #0047ff33;
  transform: translateY(-10px) scale(1.033);
}
.product-card:hover img, .product-card:focus-within img {
  transform: scale(1.09) rotate(-5deg);
}
.product-card h3 {
  font-size: 1.3rem;
  margin: 1rem 0 0.6rem 0;
  color: var(--clr-primary);
}
.product-card p {
  color: #5875a2;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.product-card span {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: .9rem;
  color: #001047;
}
.buy-btn {
  margin-top: .5rem;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 24px;
  font-weight: 500;
  font-size: 1rem;
  padding: .75rem 2.1rem;
  box-shadow: 0 4px 20px #00114717;
  transition: background .21s, transform .15s;
  cursor: pointer;
  text-decoration: none;
}
.buy-btn:hover, .buy-btn:focus {
  background: var(--clr-accent);
  transform: scale(1.07);
}
.testimonials {
  padding: 3.3rem 6vw 2.3rem 6vw;
  background: #fff;
  text-align: center;
}
.testimonials h2 {
  font-size: 2.1rem;
  color: var(--clr-primary);
  margin-bottom: 2rem;
}
.testimonial-list {
  display: flex;
  justify-content: center;
  gap: 3.2rem;
  flex-wrap: wrap;
}
.testimonial {
  background: #e0f2ff;
  border-radius: 20px;
  padding: 1.6rem 2.1rem;
  max-width: 330px;
  box-shadow: 0 2px 24px #0047ff0f;
  opacity: 0;
  animation: testimonialIn 1.18s cubic-bezier(.62,-0.21,.4,1.1) forwards;
  margin-bottom: 1rem;
}
.testimonial:nth-child(1) {animation-delay: 0.35s;}
.testimonial:nth-child(2) {animation-delay: 0.65s;}
.testimonial:nth-child(3) {animation-delay: 0.92s;}
@keyframes testimonialIn {
  to { opacity: 1; }
}
.testimonial p {
  margin: 0 0 .8rem 0;
  font-size: 1.06rem;
  color: #184086;
}
.testimonial span {
  font-size: .97rem;
  color: #2a2264;
  font-style: italic;
}
.about {
  background: var(--clr-product);
  margin: 0 auto;
  max-width: 820px;
  padding: 3rem 6vw;
  border-radius: 24px;
  text-align: center;
}
.about h2 {
  color: var(--clr-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about p {
  font-size: 1.14rem;
}
.contact {
  padding: 2.5rem 6vw 2.5rem 6vw;
  text-align: center;
}
.contact h2 {
  color: var(--clr-primary);
}
.footer {
  background: var(--clr-footer);
  color: #d3eefb;
  padding: 1.3rem 0;
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.02rem;
}
@media (max-width: 768px) {
  .hero, nav, .products, .testimonials, .about, .contact { padding-left: 4vw; padding-right: 4vw; }
  .hero {
    flex-direction: column;
    gap: 2.8rem;
    padding-top: 2.8rem;
    padding-bottom: 2.5rem;
  }
  .hero-text h1 { font-size: 2.15rem; }
  .hero-img img { width: 175px; }
  .product-list, .testimonial-list {
    flex-direction: column;
    gap: 2.2rem;
    align-items: center;
  }
  .about { padding: 2rem 4vw; }
}
@media (max-width: 570px) {
  nav { flex-direction: column; gap: 0.7rem; padding: 1.1rem 2vw 0 2vw; }
  .nav-links { gap: 1.3rem; }
  .hero-text h1 { font-size: 1.37rem; }
  .products h2, .testimonials h2, .about h2, .contact h2 { font-size: 1.15rem; }
  .product-card { padding: 1rem; width: 95vw; }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');