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

:root {
  --bg: #ffffff;
  --prim-text: #111111;
  --secnd-text: #666666;
  --accent: #e53935;
  --border-col: #eaeaea;
  --btn-hov: #c62828;
  --hero-bg: lightgrey;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/*html, body {
  overflow-x: hidden;
}*/

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  align-items: center;
}


/*============
HEADER STYLE
============*/

#header {
  width: 100%;
  height: auto;
  min-height:72px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--prim-text);
  position: sticky;
  top: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar {
  padding-inline:2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: auto;
  font-size: 1.5rem;
  padding: 1.5rem 2rem;
}

.brand {
  display:flex;
  align-items:center;
  gap:1rem;
  
}

.brand > img {
  width: auto;
  height:42px;
  
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 3.5rem;
  /*opacity: 0.5;*/
  
}

.nav-menu a {
  text-decoration-line: none;
  color: var(--secnd-text);
  position: relative;
  transition: color .3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background-color: var(--accent);
  bottom: -10px;
  left: 50%;
  transform:translateX(-50%);
  transition: width .3s ease;
}

.nav-menu a:hover {
  color: var(--prim-text);
}

.nav-menu a:hover::after {
  width: 100%;
}

header button.buy {
  border: none;
  text-wrap: nowrap;
  padding:1.2rem 2.4rem;
  font-size:1.6rem;
  font-weight:600;
  background:var(--accent);
  color:white;
  cursor:pointer;
  transition:.3s;
  border-radius: 50px;
  
}

header button.buy:hover {
  background:var(--btn-hov);
  transform:translateY(-2px);
}

#hamburger {
  display: none;
}


/*==========
MAIN STYLE
==========*/

#main {
  width: 100%;
  flex: 1;
  padding: 0 1rem;
}


/*==================
HERO SECTION STYLE
=================*/

.hero {
  padding: 2% 5%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  min-height: calc(100vh - 72px);
  position: relative;
  /*background-color: #f2f2f2;*/
  background: linear-gradient(135deg, #fafafa 0%, #f2f2f2 100%);
}

.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image::before {
  content: '';
  position: absolute;
  right: 0;
  width: 95%;
  height: 100%;
  background: linear-gradient(to right bottom, white 50%, hsla(0, 100%, 50%,0.12) 100%);
  clip-path: polygon(61% 0, 100% 0%, 100% 100%, 34% 100%); /* slanted shape */
}

.hero-image img{
  width: auto;
  height: 64rem;
  position: relative;
  left: 40px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.25));
}

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

.hero-content {
  max-width: 550px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  
}

.tag {
  background-color: #fdecec;
  color: #e53935;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
}

.main-heading {
  font-size: clamp(4rem,6vw,6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #111111;
}

.hero .description {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 550px;
  color: #666;
}

.brand-tag {
  font-size: 2.2rem;
}

.price-tag {
  font-size: 1.8rem;
}

.price-tag .value {
  font-size: 3rem;
}

.price-tag .value::before {
  content: '\20B9';
}

.availability {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 1.5rem;
}

.availability ul {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
}

.availability li {
  border-radius: 50%;
  width: 18px;
  height: 18px;
}

.availability .black{
  background-color: black;
}

.availability .blue {
  background-color: blue;
  
}

.availability .grey {
  background-color: grey;
  
}

.hero .buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 2rem;
}
.hero .buttons a {
  text-decoration-line: none;
}

.hero .buttons button.buy {
  border: none;
  text-wrap: nowrap;
  padding:1.2rem 2.4rem;
  font-size:1.6rem;
  font-weight:600;
  background:var(--accent);
  color:white;
  cursor:pointer;
  transition:.3s;
  border-radius: 50px;
  box-shadow: 0 3px 1px 1px hsla(1, 77%, 55%,0.5);
}

.hero .buttons button.buy:hover {
  background:var(--btn-hov);
  transform:translateY(-2px);
  box-shadow: 0 5px 1px 1px hsla(1, 77%, 55%,0.5);
}

.explore-features {
  color: #111;
  background: transparent;
  box-shadow: 0 3px 2px 1px hsla(0, 0%, 55%, 0.5);
  border: 2px solid #111;
  border-radius: 999px;
  padding: 1.4rem 3rem;
  transition: background 0.5s, color 0.5s, transform 0.5s;
}

.explore-features:hover {
  background: black;
  color: #ffffff;
  box-shadow: 0 5px 2px 1px hsl(0, 0%, 70%);
  transform:translateY(-3px);
}


/*==================
STATISTICS SECTION
==================*/

.statistics {
  padding-top: 100px;
  padding-bottom: 40px;
  background: linear-gradient(to right bottom, #fafafa 0%, white 100%);
  margin-bottom: 30px;
}

.stat-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 90%;
  margin: auto;
  
}

.stat-card {
  position: relative;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 24px;
  border-left: 4px solid red;
  padding: 1.5rem 3rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.8);
  cursor: pointer;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  animation-name: stat-float;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.customers {animation-delay: 0s;}
.battery {animation-delay: 0.2s;}
.sports {animation-delay: 0.4s;}
.ratings {animation-delay: 0.6s;}

@keyframes stat-float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 3px 1.5px rgba(0,0,0,0.4);
}

.stat-card .stat{
  color: hsl(358, 100%, 48%);
  font-size: 4rem;
  font-weight: 750;
}

.stat-card .stat:hover{
  color: hsl(358, 100%, 38%);
}

.stat-card .label {
  color: grey;
  font-size: 1.6rem;
}

.stat-card .label:hover {
  color: hsl(0, 0%, 40%);
}



/*=================
TRUSTED BY SECTION
================*/

section.trusted-by {
  background: linear-gradient(to right bottom, white 10%, #f2f2f2 100%);
  margin-top: 30px;
  /*margin-bottom: 50px;*/
  padding: 40px 10%;
}

.trusted-by h5 {
  font-size: 1.2rem;
  text-align: center;
  color: gray;
  margin-bottom: 2.5rem;
}

.company-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 100px;
}

.company-icons a {
  text-decoration-line: none;
  color: gray;
  opacity: 0.5;
  font-weight: 600;
  font-size: 2rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.company-icons a:hover {
  opacity: 1;
  transform: scale(1.05);
  color: #000;
}


/*================
Features Section
===============*/

.features {
  padding: 7rem 8%;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 10rem;
  height: auto;
}

.features h2 {
  font-size: 4rem;
}

.features .grid-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(20rem,40rem));
  grid-template-rows: repeat(3, minmax(12.5rem,25rem));
  column-gap: 10rem;
  row-gap: 5.5rem;
  margin: auto;
  
}

.grid-card .card {
  /*width: 40rem;
  height: 25rem;
  max-width: 40rem;
  max-height: 25rem;*/
  align-self: center;
  background-color: white;
  border-radius: 2.4rem;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.grid-card .card:hover {
  transform: translateY(-5px);
}

/*.grid-card .card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); 
  transform: scale(0.8); 
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: -1;
  opacity: 0;
}

.card:hover::after {
  opacity: 1; 
  transform: scale(1.05);
}*/


.card svg {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 1.4rem;
}

.card .card-name {
  margin-bottom: 1.6rem;
  font-size: 2.2rem;
}

.card .text {
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.8;
}


/*==============
Specifications
=============*/

.specifications {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 50px;
  padding: 10rem 5% 3rem;
}

.specifications figure > img {
  position: relative;
  height: 70rem;
  top: -60px;
  left: -30px;
  transition: transform 0.3s ease;
}

.specifications figure > img:hover {
  transform: translateY(-5px);
}

.specific-desc h2 {
  font-size: 4rem;
  margin-bottom: 2.5rem;
}

.specific-desc p {
  font-size: 2rem;
  line-height: 1.8;
  color: hsl(0, 0%, 36%);
  margin-bottom: 4rem;
}

.specific-desc ul {
  list-style: none;
}

.specific-desc ul > li {
  font-size: 2rem;
  line-height: 2;
  color: hsl(0, 0%, 36%);
}

li.warranty {
  font-weight: 600;
}

.specific-desc li::before {
  content: "\2713";
  position: relative;
  left: 0;
  padding: 2px 5px;
  background-color: #c62828;
  color: white;
  font-weight: bold;
  margin-right: 1rem;
}


/*=======
Reviews
======*/

.reviews {
  background-image: linear-gradient( to right bottom, white 0%, hsl(0, 0%, 95%) 100%);
  padding: 10rem 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews h2 {
  font-size: 3.5rem;
  margin-bottom: 8rem;
}

.review-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.review-card {
  background-color: white;
  width: 35rem;
  height: 15rem;
  padding: 1.5rem 2.5rem;
  border-radius: 24px;
  z-index: 1;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.review-card .star {
  font-size: 2rem;
}

.review-card > blockquote p {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.review-card > blockquote footer {
  position: relative;
  text-align: right;
  bottom: -10px;
  font-size: 1.2rem;
  color: grey;
  font-style: italic;
}

.review-card:hover {
  transform: scale(1.03) translateY(-8px);
  background-color: hsl(0, 100%, 95%);
  z-index: 99;
}


/*=======
Pricing
======*/

section.pricing {
  padding: 10rem 8%;
  background: linear-gradient( 135deg, white 0%, #f3f3f3 100% );
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pricing .limited-tag {
  font-size: 1.2rem;
  font-weight: 600;
  background-color: #fdecec;
  color: #c62828;
  border-radius: 24px;
  padding: 0.2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -2.5rem;
}

.pricing .limited-tag > i {
  margin-right: 0.7rem;
}

.pricing-about {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.sales-pitch h1 {
  font-size: 4.3rem;
}

.sales-pitch h3 {
  
  font-size: 1.8rem;
  color: hsl(0, 0%, 30%);
  font-weight: 500;
  padding: 3rem 0;
  padding-right: 1rem;
  line-height: 1.5;
  padding-right: 5rem;
}

.sales-about {
  display: flex;
  column-gap: 2rem;
  border-radius: 14px ;
  background-color: white;
  box-shadow: 0 10px 24px lightgrey;
  padding: 1rem 3rem;
  position: relative;
  left: -1rem;
  margin-bottom: 3rem;
}

.sales-about .price-tag {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-right: 5rem;
  border-right: 1px solid lightgrey;
}

.sales-about .only {
  color: grey;
  font-size: 1.8rem;
}

.sales-about .value {
  color: #c62828;
  font-size: 4rem;
  font-weight: 750;
}

.sales-about .availability {
  display: flex;
  flex-direction: column;
  justify-content: center;
  
  
}

.pricing ul.feat {
  list-style: none;
  font-size: 1.5rem;
  display: flex;
  gap: 1.5rem;
}

.pricing ul.feat > li {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  color: grey;
}

.pricing ul.feat > li > i {
  padding: 10px;
  background-color: #fdecec;
  margin-right: 3px;
  font-size: 1.4rem;
}

.pricing ul.feat > li span.feat-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000;
}

.cta-btns {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.cta-btns svg {
  width: 25px;
  height: 25px;
}

.cta-btns a {
  text-decoration-line: none;
  color: hsl(0, 0%, 30%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.8rem;
  border: 2px solid hsl(0, 0%, 30%);
  border-radius: 10px;
  padding: 0.9rem 2rem;
  margin: 3rem 2rem;
}

.cta-btns a:hover {
  color: black;
  border-color: black;
}

.cta-btns button.buy {
  border: none;
  text-wrap: nowrap;
  padding:1.2rem 2.4rem;
  font-size:1.6rem;
  font-weight:600;
  background:var(--accent);
  color:white;
  cursor:pointer;
  transition:.3s;
  border-radius: 10px;
  
}

.cta-btns button.buy:hover {
  background:var(--btn-hov);
  transform:translateY(-2px);
}

figure.pricing-image {
  position: relative;
  background: linear-gradient(to left bottom, #fdecec, white);
  padding: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  right: -30px;
}

figure.pricing-image > img {
  position: relative;
  height: 60rem;
  filter: drop-shadow(0 20px 10px grey);
  transition: transform 0.3s ease;
}

figure.pricing-image > img:hover {
  transform: translateY(-5px);
}


/*===
FAQ
===*/

section.faq {
  background-color: white;
  padding: 10rem 8%;
}

.faq h2 {
  font-size: 3.5rem;
  margin-bottom: 2.5rem;
}

.faq h4 {
  font-size: 1.7rem;
  margin-bottom: 2rem;
  color: grey;
}

.faq-item {
      background: #ffffff;
      margin-bottom: 1.5rem;
      border-radius: 4px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
      overflow: hidden;
    }

    .faq-question {
      width: 100%;
      text-align: left;
      padding: 1.5rem;
      background-color: none;
      border: none;
      font-size: 1.6rem;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
      padding: 0 1.5rem;
      font-size: 1.5rem;
      color: #666666;
    }

    .faq-answer p {
      padding-bottom: 1.5rem;
    }


/*======
Footer
====*/

#footer {
  background-color: #161616;
  color: white;
  width: 100%;
  cursor: pointer;
  padding-bottom: 4rem;
}

#footer .col1 h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

#footer .col1 h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

#footer .social-icons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 2rem;
  font-size: 1.5rem;

}

#footer a {
  text-decoration-line: none;
  color: #cfcfcf;
}

p.col-name {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

#footer ul {
  list-style: none;
  font-size: 1.5rem;
}

#footer ul > li {
  line-height: 1.8;
}

#footer a:hover {
  color:#ef3a37;
  transform:translateY(-3px);
}

#footer .grid-column {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  padding: 10rem 2rem;
}

#footer p.rights {
  border-top: 2px solid white;
  text-align: center;
  position: relative;
  top: -50%;
  font-size: 1.1rem;
}

@media screen and (max-width: 1045px) {
  .features .grid-card { column-gap: 4rem; row-gap: 2.5rem;}
  .specifications figure > img { height: 50rem;}
  .specific-desc h2 { font-size: 3rem;}
  .specific-desc p { font-size: 1.5rem;}
  .specific-desc ul > li { font-size: 1.5rem;}
}
@media screen and (max-width: 990px) {  
  .navbar { gap: 1rem;}
  .nav-menu { gap: 1.75rem;}
}
@media screen and (max-width: 900px) {
  .nav-menu { display: none;}
  .hero-image img{ height: 50rem; left: 20px;}
  .hero-image::before { clip-path: polygon(61% 0, 100% 0%, 100% 100%, 40% 100%);}
  section.pricing { grid-template-columns: 1fr;}
  .sales-about { margin: auto; margin-bottom: 3rem;}
  .feat { margin: auto;}
  .cta-btns { margin: auto;}
  figure.pricing-image {right: 0;}
}

@media screen and (max-width: 720px) {
  #header {min-height: 28px;}
  .navbar { padding: 1rem 2rem;}
  .brand > img { height: 26px;}
  header button.buy { padding: 0.9rem 1.8rem; font-size: 1.1rem;}
  .hero { flex-direction: column; align-items: center; padding-top: 40px;}
  .hero .buttons { flex-direction: column; width: 100%;}
  .hero .buttons .buy { width: 100%;}
  .hero .buttons .explore-features { width: 100%; text-align: center;}
  .hero-image::before { display: none;}
  .hero-image { width: 100%; }
  .hero-image img { object-fit: cover; height: 375px; left: 0; margin: auto;margin-top: 3rem;}
  .stat-container { grid-template-columns: 1fr; gap: 3rem; width: 100%;}
  .stat-card { width: 90%;}
  .features { gap: 5rem;}
  .features .grid-card { display: flex; flex-direction: column; align-items: center; justify-content: space-evenly;}
  .grid-card .card { text-align: center;}
  .specifications { display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; gap: 2.5rem; padding-top: 5rem;}
  .specifications figure > img { height: 35rem; top: 0; left: 0;}
  .review-container { flex-direction: column; align-items: center; justify-content: space-evenly; gap: 2.5rem;}
  .review-card { width: 90%;}
  section.pricing { display: flex; flex-direction: column; justify-content: space-evenly;}
  .pricing-about { justify-content: space-evenly;}
  .sales-about { flex-direction: column;}
  .sales-about .price-tag { border-right: none;}
  .sales-about .availability { flex-direction: row; margin-top: 2rem;}
  .cta-btns { flex-direction: column; justify-content: center; gap: 1rem; margin-top: 3rem;}
  .cta-btns>.buy, .cta-btns>.checkout { width: 100%; margin-top: 0;}
  section.pricing .pricing-image img { height: 30rem; width: auto; object-fit: cover;}
  .faq details {width: 100%;}
  #footer .grid-column { grid-template-columns: repeat(2, 1fr);}
}