* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #1d1d1f;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  
  .navbar {
    height: 44px;
    background: rgba(250, 250, 252, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e5e7;
  }

  .nav-inner {
    width: min(980px, 95%);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .apple-logo {
    font-size: 23px;
    font-weight: bold;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 12px;
    color: #3b3b3d;
  }

  .nav-links a:hover {
    color: #000;
  }

  .nav-icon {
    font-size: 17px;
  }

  /* ================= PROMO BAR ================= */

  .promo-bar {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    color: #424245;
    padding: 0 20px;
  }

  .promo-bar a {
    color: #0066cc;
  }

  /* ================= COMMON HERO ================= */

  .hero {
    min-height: 600px;
    text-align: center;
    overflow: hidden;
    position: relative;
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 56px;
    letter-spacing: -2px;
    font-weight: 700;
    margin-bottom: 6px;
  }

  .hero p {
    font-size: 28px;
    color: #424245;
    margin-bottom: 18px;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
  }

  .btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 980px;
    font-size: 16px;
    border: 1px solid #0071e3;
    transition: .25s;
  }

  .btn-primary {
    background: #0071e3;
    color: white;
  }

  .btn-secondary {
    color: #0066cc;
    background: transparent;
  }

  .btn:hover {
    transform: scale(1.04);
  }

  /* ================= EDUCATION HERO ================= */

  .education {
    background:
      radial-gradient(circle at 50% 100%, #e5e5ea 0%, transparent 42%),
      linear-gradient(180deg, #f7f7f9, #ececf0);
    min-height: 545px;
    padding-top: 45px;
  }

  .education h1 {
    font-size: 58px;
  }

  .education p {
    max-width: 650px;
    margin: 0 auto 18px;
  }

  .student-scene {
    width: 760px;
    height: 310px;
    position: relative;
    left: 210px;
    display: flex;
  }

 
  .iphone-section {
    background: linear-gradient(180deg, #f7f7f9, #e9e9ed);
    min-height: 510px;
  }

  .phone-group {
    height: 340px;
    width: 580px;
    margin: 20px auto 0;
    position: relative;
  }

  
  .macbook-air {
    background:
      radial-gradient(circle at 50% 90%, #c8e1ee, transparent 35%),
      linear-gradient(180deg, #eaf2f7, #f7f7f7);
  }

  .macbook-visual {
    width: 650px;
    height: 330px;
    margin: 15px auto 0;
    position: relative;
  }

  

  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px 0;
  }

  .tile {
    height: 580px;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 48px;
  }

  .tile h2 {
    font-size: 40px;
    margin-bottom: 4px;
  }

  .tile p {
    font-size: 21px;
    margin-bottom: 14px;
  }

  .tile-light {
    background: linear-gradient(145deg, #e7f4fb, #f7f7f7);
  }

  .tile-dark {
    background: #050506;
    color: white;
  }

  .tile-dark p {
    color: #e6e6e8;
  }

  /* ================= IPAD ================= */

  .ipad-art {
    width: 410px;
    height: 300px;
    margin: 55px auto;
    position: relative;
  }

 
.ipad img {
    width: 480px;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
  }
  .ipad-back {
    width: 180px;
    height: 240px;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #e8e7e1, #59616c);
    transform: rotate(10deg);
    box-shadow: 0 15px 25px rgba(0,0,0,.15);
  }

  /* ================= MACBOOK PRO ================= */

  .mac-pro-art {
    width: 430px;
    height: 320px;
    margin: 50px auto;
    position: relative;
  }

  

  .watch-art {
    width: 580px;
    height: 360px;
    margin: 35px auto;
    position: relative;
  }

  .watch {
    width: 480px;
    height: 250px;
    background: linear-gradient(160deg, #d7b39b, #705345);
    border-radius: 80px;
    position: absolute;
    left: 50px;
    top: 40px;
    box-shadow: 0 25px 40px rgba(0,0,0,.18);
  }

 
  /* ================= IPAD PRO ================= */

  .ipad-pro-art {
    width: 330px;
    height: 380px;
    margin: 35px auto;
    border: 7px solid #2b2b2d;
    border-radius: 25px;
    background:
      linear-gradient(135deg, transparent 45%, #f00 47%, #ff0 49%, #00f 51%, transparent 53%),
      repeating-linear-gradient(0deg, #111 0 45px, #333 46px 55px);
    box-shadow: 0 0 30px rgba(255,255,255,.15);
  }

  /* ================= TRADE IN ================= */

  .trade-art {
    width: 550px;
    height: 300px;
    margin: 60px auto;
    position: relative;
  }



  /* ================= ENTERTAINMENT ================= */

  .entertainment {
    background: #f5f5f7;
    padding: 55px 0 20px;
    overflow: hidden;
  }

  .entertainment h2 {
    text-align: center;
    font-size: 54px;
    margin-bottom: 25px;
  }

  .slider {
    display: flex;
    gap: 12px;
    width: max-content;
    transform: translateX(-130px);
  }

  .show {
    width: 930px;
    height: 520px;
    position: relative;
    overflow: hidden;
    background:
      linear-gradient(120deg, rgba(0,0,0,.15), transparent),
      radial-gradient(circle at 25% 45%, #ffdf85, transparent 20%),
      linear-gradient(135deg, #6db4b7, #f4e58d, #69b9bb);
  }

  .show.side {
    width: 320px;
    background: linear-gradient(135deg, #142f59, #060d1d);
  }

  .show h3 {
    position: absolute;
    top: 150px;
    right: 80px;
    color: white;
    font-size: 90px;
    text-transform: uppercase;
  }

  .stream-btn {
    position: absolute;
    bottom: 15px;
    left: 60px;
    padding: 13px 25px;
    border-radius: 30px;
    background: white;
    color: #333;
  }

  /* ================= LEGAL ================= */

  .legal {
    background: #f5f5f7;
    padding: 28px 0 10px;
    color: #6e6e73;
    font-size: 12px;
    line-height: 1.35;
  }

  .legal-inner {
    width: min(980px, 90%);
    margin: auto;
  }

  .legal p {
    margin-bottom: 10px;
  }

  /* ================= FOOTER ================= */

  footer {
    background: #f5f5f7;
    padding-bottom: 22px;
  }

  .footer-inner {
    width: min(980px, 90%);
    margin: auto;
    border-top: 1px solid #d2d2d7;
    padding-top: 18px;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
  }

  .footer-column h4 {
    font-size: 12px;
    margin-bottom: 10px;
    color: #1d1d1f;
  }

  .footer-column a {
    display: block;
    color: #6e6e73;
    font-size: 12px;
    margin-bottom: 10px;
  }

  .footer-column a:hover {
    text-decoration: underline;
  }

  .footer-bottom {
    margin-top: 30px;
    border-bottom: 1px solid #d2d2d7;
    padding-bottom: 20px;
    font-size: 12px;
    color: #6e6e73;
  }

  .copyright {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    color: #6e6e73;
    padding-top: 15px;
  }

  /* ================= RESPONSIVE ================= */

  @media (max-width: 900px) {
    .nav-links {
      gap: 15px;
    }

    .nav-links a:nth-child(n+7) {
      display: none;
    }

    .hero h1 {
      font-size: 44px;
    }

    .hero p {
      font-size: 22px;
    }

    .product-grid {
      grid-template-columns: 1fr;
    }

    .footer-columns {
      grid-template-columns: repeat(2, 1fr);
    }

    .student-scene,
    .phone-group,
    .macbook-visual {
      transform: scale(.8);
      transform-origin: top center;
    }
  }

  @media (max-width: 600px) {
    .nav-links a {
      display: none;
    }

    .nav-links {
      gap: 18px;
    }

    .hero {
      min-height: 540px;
      padding-top: 55px;
    }

    .hero h1 {
      font-size: 38px;
    }

    .hero p {
      font-size: 20px;
      padding: 0 20px;
    }

    .footer-columns {
      grid-template-columns: 1fr 1fr;
    }

    .tile {
      height: 500px;
    }

    .show {
      width: 700px;
      height: 430px;
    }
  }
