/* =========================
   IPHONE MODEL PAGE
========================= */

.iphone-model-page {
    padding: 80px 0px;
    background: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.iphone-model-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   HERO
========================= */

.iphone-hero {
    background: #fff;
    border-radius: 32px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 30px;
}

.iphone-image {
    flex-shrink: 0;
}

.iphone-image img {
    width: 320px;
    max-width: 100%;
    display: block;
}

.iphone-content {
    flex: 1;
}

.iphone-badge {
    display: inline-block;
    background: rgba(0,113,227,.1);
    color: #0071e3;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.iphone-content h1 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.iphone-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #6e6e73;
}

/* =========================
   SPECS
========================= */

.iphone-specs {
    margin-bottom: 30px;
}

.iphone-specs h2 {
    text-align: center;
    font-size: 38px;
    color: #1d1d1f;
    margin-bottom: 40px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 20px;
}

.spec-card {
    background: #fff;
    border-radius: 24px;
    padding: 25px;
    text-align: center;
    transition: .3s;
}

.spec-card:hover {
    transform: translateY(-4px);
}

.spec-card span {
    display: block;
    font-size: 14px;
    color: #86868b;
    margin-bottom: 10px;
}

.spec-card strong {
    display: block;
    font-size: 18px;
    color: #1d1d1f;
}

/* =========================
   PRICE
========================= */

.iphone-price {
    background: #fff;
    border-radius: 32px;
    padding: 50px;
    margin-bottom: 30px;
}

.iphone-price h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;
    color: #1d1d1f;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table tr {
    border-bottom: 1px solid #ececec;
}

.price-table td {
    padding: 18px 0;
    font-size: 17px;
}

.price-table td:first-child {
    color: #1d1d1f;
}

.price-table td:last-child {
    text-align: right;
    color: #0071e3;
    font-weight: 700;
}

/* =========================
   CTA
========================= */

.iphone-cta {
    background: linear-gradient(135deg,#0071e3,#2997ff);
    border-radius: 32px;
    text-align: center;
    padding: 70px 30px;
    margin-bottom: 30px;
}

.iphone-cta h2 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 15px;
}

.iphone-cta p {
    color: rgba(255,255,255,.85);
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0071e3;
    text-decoration: none;
    padding: 16px 34px;
    border-radius: 999px;
    font-weight: 600;
    transition: .3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.price-table a {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
    transition: .2s;
}

.price-table a:hover {
    color: #0071e3;
}

.price-table tr:hover {
    background: rgba(0,113,227,0.04);
}

/* =========================
   FAQ
========================= */

.iphone-faq {
    background: #fff;
    border-radius: 32px;
    padding: 50px;
}

.iphone-faq h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;
    color: #1d1d1f;
}

.faq-item {
    padding: 25px 0;
    border-bottom: 1px solid #ececec;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 20px;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.faq-item p {
    color: #6e6e73;
    line-height: 1.7;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 992px) {

    .iphone-hero {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        gap: 30px;
    }

    .iphone-content h1 {
        font-size: 40px;
    }

    .iphone-image img {
        width: 250px;
    }
}

@media (max-width: 768px) {

    .iphone-model-page {
        padding: 20px 0px;
    }

    .iphone-hero,
    .iphone-price,
    .iphone-faq,
    .iphone-cta {
        border-radius: 24px;
        padding: 30px 20px;
    }

    .iphone-content h1 {
        font-size: 32px;
    }

    .iphone-content p {
        font-size: 16px;
    }

    .iphone-specs h2,
    .iphone-price h2,
    .iphone-faq h2 {
        font-size: 28px;
    }

    .iphone-cta h2 {
        font-size: 30px;
    }

    .price-table td {
        font-size: 15px;
        padding: 15px 0;
    }

    .specs-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 480px) {

    .iphone-content h1 {
        font-size: 28px;
    }

    .iphone-image img {
        width: 200px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .price-table td {
        font-size: 14px;
    }

    .price-table td:last-child {
        white-space: nowrap;
    }

    .cta-button {
        width: 100%;
    }
}