:root {
  --background: #f2f2f7;
  --card: #ffffff;
  --text: #000000;
  --secondary: #6e6e73;
  --tertiary: #8e8e93;
  --separator: #e5e5ea;
  --blue: #007aff;

  --battery-color: #ff3b30;
  --battery-gradient: linear-gradient(
    135deg,
    #ff3b30,
    #ff9500,
    #ffcc00
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  width: 100%;
  overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.header {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

  height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.brand-icon {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.brand-icon.small {
  width: 28px;
  height: 28px;
}

.mini-battery {
  width: 15px;
  height: 9px;

  border: 1.5px solid #000;
  border-radius: 3px;

  position: relative;
  overflow: visible;
}

.mini-battery::after {
  content: "";

  position: absolute;
  right: -3px;
  top: 2px;

  width: 2px;
  height: 4px;

  background: #000;
  border-radius: 0 1px 1px 0;
}

.mini-battery-fill {
  position: absolute;
  left: 1px;
  top: 1px;

  width: 65%;
  height: 5px;

  border-radius: 1px;

  background: var(--battery-gradient);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 13px;
  font-weight: 600;
}


/* Wi-Fi */

.wifi-icon {
  width: 18px;
  height: 15px;

  position: relative;
}

.wifi-arc {
  position: absolute;

  border: 1.8px solid #000;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;

  border-radius: 50%;
}

.wifi-arc-1 {
  width: 18px;
  height: 18px;

  left: 0;
  top: -1px;
}

.wifi-arc-2 {
  width: 12px;
  height: 12px;

  left: 3px;
  top: 2px;
}

.wifi-arc-3 {
  width: 6px;
  height: 6px;

  left: 6px;
  top: 5px;
}

.wifi-dot {
  width: 3px;
  height: 3px;

  border-radius: 50%;
  background: #000;

  position: absolute;

  left: 7.5px;
  bottom: 0;
}


/* Status battery */

.status-battery {
  width: 22px;
  height: 10px;

  border: 1.5px solid #000;
  border-radius: 3px;

  position: relative;
}

.status-battery::after {
  content: "";

  position: absolute;

  right: -3px;
  top: 2px;

  width: 2px;
  height: 4px;

  border-radius: 0 1px 1px 0;
  background: #000;
}

.status-battery-fill {
  position: absolute;

  left: 1px;
  top: 1px;

  width: 45%;
  height: 6px;

  border-radius: 1px;

  background: var(--battery-gradient);

  transition: width 0.3s ease;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  max-width: 760px;

  margin: 0 auto;
  padding: 90px 24px 60px;

  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 7px 12px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.05);

  color: var(--secondary);

  font-size: 12px;
  font-weight: 600;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.03);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--battery-color);

  box-shadow:
    0 0 0 3px rgba(255, 59, 48, 0.12);
}

.hero h1 {
  margin-top: 24px;

  font-size: clamp(48px, 8vw, 82px);
  line-height: 0.98;

  letter-spacing: -4px;
  font-weight: 700;
}

.hero h1 span {
  display: block;

  background: var(--battery-gradient);
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
}

.hero p {
  max-width: 510px;

  margin: 25px auto 0;

  font-size: 18px;
  line-height: 1.5;

  color: var(--secondary);
  letter-spacing: -0.2px;
}


/* Buttons */

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  margin-top: 32px;

  min-height: 50px;
  padding: 0 21px;

  border-radius: 15px;

  color: #ffffff;

  background: #000000;

  font-size: 15px;
  font-weight: 600;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.14);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.18);
}

.primary-button:active {
  transform: scale(0.97);
}

.button-arrow {
  font-size: 19px;
  line-height: 1;
}

.compatibility {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  margin-top: 14px;

  color: var(--tertiary);

  font-size: 12px;
}

.check {
  width: 16px;
  height: 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #d9f8e1;
  color: #20a446;

  font-size: 10px;
  font-weight: 700;
}


/* =========================================================
   PHONE
========================================================= */

.phone-section {
  position: relative;

  width: 100%;
  max-width: 1000px;

  margin: 20px auto 0;

  display: flex;
  justify-content: center;

  padding: 0 20px 100px;
}

.phone {
  position: relative;

  width: 310px;
  height: 630px;

  filter:
    drop-shadow(0 30px 35px rgba(0, 0, 0, 0.13));
}

.phone-frame {
  width: 100%;
  height: 100%;

  padding: 8px;

  border-radius: 48px;

  background: #161616;

  box-shadow:
    inset 0 0 0 1px #444,
    inset 0 0 0 3px #080808;
}

.phone-screen {
  width: 100%;
  height: 100%;

  overflow: hidden;

  position: relative;

  border-radius: 41px;

  background: #f8f8fa;
}

.dynamic-island {
  position: absolute;

  top: 11px;
  left: 50%;

  width: 92px;
  height: 27px;

  transform: translateX(-50%);

  border-radius: 20px;

  background: #000;

  z-index: 5;
}

.phone-status {
  position: absolute;

  top: 14px;
  left: 0;
  right: 0;

  padding: 0 27px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 12px;
  font-weight: 600;

  z-index: 4;
}

.phone-status-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-wifi {
  width: 17px;
  height: 13px;

  position: relative;
}

.phone-wifi::before,
.phone-wifi::after {
  content: "";

  position: absolute;

  left: 50%;

  transform: translateX(-50%);

  border: 1.5px solid #000;

  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;

  border-radius: 50%;
}

.phone-wifi::before {
  width: 17px;
  height: 17px;
  top: -3px;
}

.phone-wifi::after {
  width: 10px;
  height: 10px;
  top: 1px;
}

.phone-wifi span {
  display: none;
}

.phone-battery {
  width: 20px;
  height: 9px;

  border: 1.4px solid #000;
  border-radius: 3px;

  position: relative;
}

.phone-battery::after {
  content: "";

  position: absolute;

  right: -3px;
  top: 2px;

  width: 2px;
  height: 3px;

  border-radius: 0 1px 1px 0;

  background: #000;
}

.phone-battery-level {
  position: absolute;

  left: 1px;
  top: 1px;

  width: 45%;
  height: 5px;

  border-radius: 1px;

  background: var(--battery-gradient);
}

.phone-content {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding-top: 20px;
}

.phone-label {
  color: var(--tertiary);

  font-size: 13px;
  font-weight: 600;

  margin-bottom: 25px;
}

.large-battery {
  display: flex;
  align-items: center;

  transform: translateX(7px);
}

.large-battery-body {
  width: 165px;
  height: 72px;

  padding: 5px;

  border: 3px solid #000;
  border-radius: 19px;

  position: relative;

  overflow: hidden;

  background: #ffffff;
}

.large-battery-fill {
  position: absolute;

  left: 5px;
  top: 5px;
  bottom: 5px;

  width: 45%;

  border-radius: 12px;

  background: var(--battery-gradient);

  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.battery-glow {
  position: absolute;

  inset: 5px;

  border-radius: 12px;

  background:
    linear-gradient(
      105deg,
      rgba(255,255,255,0.35),
      transparent 45%
    );

  pointer-events: none;
}

.large-battery-cap {
  width: 7px;
  height: 26px;

  border-radius: 0 4px 4px 0;

  background: #000;
}

.phone-percentage {
  display: flex;
  align-items: baseline;

  margin-top: 25px;

  letter-spacing: -2px;
}

.phone-percentage strong {
  font-size: 64px;
  line-height: 1;

  font-weight: 700;
}

.phone-percentage span {
  margin-left: 3px;

  font-size: 23px;
  font-weight: 600;

  color: var(--secondary);
}

.phone-subtitle {
  margin-top: 10px;

  color: var(--tertiary);

  font-size: 12px;
}

.phone-home-indicator {
  position: absolute;

  bottom: 8px;
  left: 50%;

  width: 100px;
  height: 4px;

  transform: translateX(-50%);

  border-radius: 10px;

  background: #000;
}


/* Floating cards */

.floating-card {
  position: absolute;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 11px 14px;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.88);

  border: 1px solid rgba(0, 0, 0, 0.05);

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.09);
}

.floating-card-left {
  left: calc(50% - 390px);
  top: 270px;
}

.floating-card-right {
  right: calc(50% - 390px);
  top: 390px;
}

.floating-icon {
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  color: #ffffff;

  background: #000;

  font-size: 14px;
}

.gradient-icon {
  background:
    linear-gradient(
      135deg,
      #ff3b30,
      #ff9500,
      #007aff,
      #af52de
    );
}

.floating-card strong {
  display: block;

  font-size: 12px;
}

.floating-card small {
  display: block;

  margin-top: 2px;

  color: var(--tertiary);

  font-size: 10px;
}


/* =========================================================
   SECTIONS
========================================================= */

.customization,
.how-it-works {
  width: 100%;
  max-width: 760px;

  margin: 0 auto;

  padding: 90px 20px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading.center {
  text-align: center;
}

.section-kicker {
  display: block;

  color: var(--tertiary);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 1.5px;
}

.section-heading h2 {
  margin-top: 8px;

  font-size: 36px;
  line-height: 1.05;

  letter-spacing: -1.8px;
}

.section-heading p {
  max-width: 520px;

  margin-top: 10px;

  color: var(--secondary);

  font-size: 15px;
  line-height: 1.5;
}


/* =========================================================
   CARDS
========================================================= */

.card {
  padding: 22px;

  margin-bottom: 14px;

  border-radius: 20px;

  background: #ffffff;

  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.025);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  display: block;

  font-size: 16px;
  font-weight: 600;

  letter-spacing: -0.2px;
}

.card-description {
  display: block;

  margin-top: 4px;

  color: var(--tertiary);

  font-size: 12px;
}


/* Live */

.live-pill {
  display: flex;
  align-items: center;
  gap: 5px;

  padding: 6px 9px;

  border-radius: 999px;

  background: #f2f2f7;

  color: var(--secondary);

  font-size: 10px;
  font-weight: 600;
}

.live-pill span {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #34c759;
}


/* Colors */

.color-grid {
  display: grid;

  grid-template-columns: repeat(6, 1fr);

  gap: 12px;

  margin-top: 22px;
}

.color {
  width: 100%;
  aspect-ratio: 1;

  max-width: 46px;

  justify-self: center;

  border-radius: 50%;

  background: var(--color);

  cursor: pointer;

  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08);

  position: relative;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.color:hover {
  transform: scale(1.08);
}

.color.active {
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 4px #000000;
}

.color[data-color="#FFFFFF"] {
  border: 1px solid #d1d1d6;
}


/* Gradients */

.gradient-toggle {
  width: 38px;
  height: 23px;

  border-radius: 20px;

  padding: 2px;

  background: #34c759;
}

.gradient-toggle span {
  display: block;

  width: 19px;
  height: 19px;

  margin-left: 13px;

  border-radius: 50%;

  background: #ffffff;

  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.2);
}

.gradient-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 10px;

  margin-top: 20px;
}

.gradient {
  min-width: 0;

  padding: 6px;

  border-radius: 14px;

  background: #f2f2f7;

  cursor: pointer;

  text-align: left;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.gradient:hover {
  transform: translateY(-1px);
}

.gradient.active {
  background: #e5e5ea;

  box-shadow:
    inset 0 0 0 1px #d1d1d6;
}

.gradient-preview {
  display: block;

  width: 100%;
  height: 50px;

  border-radius: 9px;
}

.gradient > span:last-child {
  display: block;

  padding: 7px 4px 3px;

  color: var(--secondary);

  font-size: 12px;
  font-weight: 500;

  text-align: center;
}

.gradient.active > span:last-child {
  color: #000;
  font-weight: 600;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.steps {
  margin-top: 45px;
}

.step {
  display: grid;

  grid-template-columns: 60px 1fr;

  gap: 20px;

  padding: 25px 0;

  border-bottom: 1px solid var(--separator);
}

.step:first-child {
  padding-top: 0;
}

.step:last-child {
  border-bottom: 0;
}

.step-number {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: #ffffff;

  color: var(--secondary);

  font-size: 11px;
  font-weight: 700;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;

  letter-spacing: -0.2px;
}

.step p {
  margin-top: 5px;

  color: var(--secondary);

  font-size: 13px;
  line-height: 1.5;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
  width: calc(100% - 40px);
  max-width: 760px;

  margin: 30px auto 90px;

  padding: 75px 25px;

  position: relative;
  overflow: hidden;

  text-align: center;

  border-radius: 28px;

  background: #ffffff;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.05);
}

.cta-glow {
  position: absolute;

  width: 300px;
  height: 300px;

  left: 50%;
  top: -160px;

  transform: translateX(-50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 59, 48, 0.18),
      rgba(0, 122, 255, 0.08),
      transparent 70%
    );

  filter: blur(10px);

  pointer-events: none;
}

.final-cta > *:not(.cta-glow) {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin-top: 10px;

  font-size: clamp(36px, 6vw, 54px);
  line-height: 1;

  letter-spacing: -2.5px;
}

.final-cta p {
  max-width: 430px;

  margin: 18px auto 0;

  color: var(--secondary);

  font-size: 15px;
  line-height: 1.5;
}

.primary-button.large {
  min-height: 54px;

  padding: 0 24px;

  margin-top: 27px;
}

.cta-note {
  display: block;

  margin-top: 13px;

  color: var(--tertiary);

  font-size: 11px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  max-width: 1100px;

  margin: 0 auto;

  padding: 25px 28px 35px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--tertiary);

  font-size: 11px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #000;

  font-size: 13px;
  font-weight: 600;
}


/* =========================================================
   TOAST
========================================================= */

.toast {
  position: fixed;

  left: 50%;
  bottom: 25px;

  transform:
    translate(-50%, 20px);

  display: flex;
  align-items: center;
  gap: 9px;

  padding: 11px 15px;

  border-radius: 14px;

  background: rgba(0, 0, 0, 0.88);
  color: #ffffff;

  font-size: 13px;
  font-weight: 500;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.2);

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;

  z-index: 100;
}

.toast.visible {
  opacity: 1;

  transform:
    translate(-50%, 0);
}

.toast-icon {
  width: 18px;
  height: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #34c759;

  font-size: 10px;
  font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

  .header {
    padding: 0 20px;
  }

  .floating-card {
    display: none;
  }

  .phone-section {
    padding-bottom: 70px;
  }

}


@media (max-width: 600px) {

  .header {
    height: 60px;
  }

  .brand {
    font-size: 15px;
  }

  .header-status {
    font-size: 12px;
  }

  .hero {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 48px;

    letter-spacing: -2.8px;
  }

  .hero p {
    font-size: 16px;
  }

  .primary-button {
    width: 100%;
    max-width: 300px;
  }

  .phone {
    width: 270px;
    height: 550px;
  }

  .phone-frame {
    border-radius: 42px;
  }

  .phone-screen {
    border-radius: 35px;
  }

  .large-battery-body {
    width: 145px;
    height: 63px;
  }

  .phone-percentage strong {
    font-size: 55px;
  }

  .customization,
  .how-it-works {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .card {
    padding: 18px;
  }

  .color-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 9px;
  }

  .gradient-preview {
    height: 42px;
  }

  .final-cta {
    margin-bottom: 50px;
    padding: 60px 20px;
  }

  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

}


@media (max-width: 380px) {

  .color-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gradient-grid {
    grid-template-columns: 1fr;
  }

}