:root {
  --primary-color: #0f172a;
  --secondary-color: #2563eb;
  --secondary-dark: #1d4ed8;
  --accent-purple: #7c3aed;
  --accent-blue-soft: #eaf2ff;
  --accent-purple-soft: #f3edff;
  --background-color: #f8fbff;
  --background-alt: #f3f7fd;
  --card-color: rgba(255, 255, 255, 0.9);
  --text-color: #1e293b;
  --text-light: #64748b;
  --footer-color: #020617;
  --border-color: #e2e8f0;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(37, 99, 235, 0.12);
  --radius: 20px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.07), transparent 28%),
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.06), transparent 22%),
    var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(90%, 1150px);
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.15rem;
  color: var(--primary-color);
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  display: block;
  width: 78px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-purple));
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
  color: var(--text-light);
  font-size: 1rem;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-menu a {
  font-weight: 600;
  color: var(--text-color);
  position: relative;
  transition: var(--transition);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-purple));
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* HERO */
#home {
  padding: 60px 0 60px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.12));
  color: var(--secondary-dark);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.hero-text h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-text p {
  font-size: 1.04rem;
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 560px;
}

.highlight-text {
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-purple));
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary-dark);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.28);
}

.hero-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eef4ff, #f7f4ff);
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.10), transparent 45%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ABOUT */
#about {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.85);
  text-align: center;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.about-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-purple));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.about-card h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.about-card p {
  color: var(--text-light);
}

/* BRANDS */
#brands {
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.brand-card {
  display: block;
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
}

.brand-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.brand-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.brand-card h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.brand-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.brand-card.apple {
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
  border-top: 4px solid #94a3b8;
}

.brand-card.samsung {
  background: linear-gradient(180deg, #ffffff, #eef4ff);
  border-top: 4px solid #2563eb;
}

.brand-card.xiaomi {
  background: linear-gradient(180deg, #ffffff, #fff4eb);
  border-top: 4px solid #f97316;
}

.brand-card.realme {
  background: linear-gradient(180deg, #ffffff, #fffbea);
  border-top: 4px solid #eab308;
}

.brand-card.oppo {
  background: linear-gradient(180deg, #ffffff, #eefcf3);
  border-top: 4px solid #22c55e;
}

.brand-card.vivo {
  background: linear-gradient(180deg, #ffffff, #f3efff);
  border-top: 4px solid #7c3aed;
}

/* PRODUCTS */
#products {
  background: #ffffff;
}

.brand-section {
  margin-bottom: 58px;
}

.brand-heading {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 24px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  letter-spacing: -0.03em;
}

.brand-heading::before {
  content: "";
  width: 6px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--secondary-color), var(--accent-purple));
  flex-shrink: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  gap: 24px;
}

.product-card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #f3f7ff 0%, #e8eefc 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.product-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  color: var(--primary-color);
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.brand-label {
  color: var(--secondary-color);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.spec-item span:first-child {
  color: var(--text-light);
  font-weight: 600;
}

.spec-item span:last-child {
  color: var(--text-color);
  text-align: right;
  font-weight: 600;
}

.price {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--secondary-dark);
  margin-bottom: 16px;
}

.card-btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  transition: var(--transition);
  font-size: 0.95rem;
  margin-top: auto;
  text-align: center;
  font-weight: 700;
}

.card-btn:hover {
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-purple));
  transform: translateY(-2px);
}

/* TEAM ASIDE */
aside {
  padding: 24px 0 80px;
}

.team-box {
  background: linear-gradient(135deg, #0f172a, #1d4ed8 55%, #7c3aed);
  color: #fff;
  border-radius: 30px;
  padding: 42px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-box::before,
.team-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.team-box::before {
  width: 220px;
  height: 220px;
  top: -80px;
  left: -80px;
}

.team-box::after {
  width: 180px;
  height: 180px;
  right: -60px;
  bottom: -60px;
}

.team-box h2,
.team-description,
.team-grid {
  position: relative;
  z-index: 1;
}

.team-box h2 {
  font-size: 2.3rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.team-description {
  color: #dbeafe;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.team-card {
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 26px 18px;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  background-color: rgba(255, 255, 255, 0.18);
}

.team-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card h3 {
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #ffffff;
}

.team-card p {
  color: #dbeafe;
  font-size: 0.98rem;
}

/* CONTACT */
#contact {
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.85);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  margin-bottom: 14px;
  color: var(--primary-color);
  font-size: 1.15rem;
}

.contact-card p {
  color: var(--text-light);
  margin-bottom: 10px;
}

.contact-link {
  color: var(--secondary-color);
  font-weight: 700;
}

.contact-link:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  background-color: var(--footer-color);
  color: #fff;
  padding: 26px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-content p {
  color: #cbd5e1;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: #cbd5e1;
  transition: var(--transition);
  font-weight: 600;
}

.social-links a:hover {
  color: #93c5fd;
}

/* TABLET */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-text h1 {
    font-size: 2.9rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 14px;
  }

  .nav-menu {
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text p {
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* SMARTPHONE */
@media (max-width: 480px) {
  section {
    padding: 68px 0;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    gap: 12px;
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .team-box h2 {
    font-size: 1.8rem;
  }

  .team-box {
    padding: 34px 20px;
  }

  .brand-heading {
    font-size: 1.2rem;
    padding: 8px 14px;
  }

  .contact-card,
  .about-card,
  .product-info {
    padding: 20px;
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }
}