/* Photorealistic iPhone Mockup with Wizard Form */

:root {
    --phone-width: min(390px, 90vw);
    --phone-ratio: 2.16;
    --phone-height: calc(var(--phone-width) * var(--phone-ratio));
    --bezel-width: 12px;
    --notch-width: 180px;
    --notch-height: 28px;
    --home-indicator-height: 5px;
    
    --spring-curve: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --bounce-curve: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1a2d4d 50%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

/* Offer Hero */
.ios-offer-hero {
    width: 100%;
    background: linear-gradient(135deg, rgba(18, 33, 69, 0.95) 0%, rgba(37, 67, 145, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: clamp(3rem, 8vw, 5rem) 20px;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.ios-offer-hero::before,
.ios-offer-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.12);
    filter: blur(1px);
}

.ios-offer-hero::before {
    width: clamp(180px, 32vw, 320px);
    height: clamp(180px, 32vw, 320px);
    top: -12%;
    right: -6%;
}

.ios-offer-hero::after {
    width: clamp(140px, 28vw, 260px);
    height: clamp(140px, 28vw, 260px);
    bottom: -18%;
    left: -10%;
}

.ios-offer-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    display: grid;
    gap: 1.6rem;
    color: #f8fafc;
}

.ios-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.5rem;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.25);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ios-offer-content h1 {
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 6px 20px rgba(5, 10, 25, 0.45);
}

.ios-offer-content p {
    margin: 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: clamp(1.05rem, 2.1vw, 1.2rem);
    line-height: 1.85;
}

.ios-offer-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.ios-offer-highlights li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #f1f5f9;
    font-size: 1rem;
}

.ios-offer-highlights li span {
    font-size: 1.2rem;
}

.ios-offer-cta {
    display: grid;
    gap: 0.6rem;
    align-items: flex-start;
}

.ios-offer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.6rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #2b68c1, #1a3a7a);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(43, 104, 193, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ios-offer-button:hover,
.ios-offer-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(43, 104, 193, 0.45);
}

.ios-offer-button:focus {
    outline: 2px solid rgba(226, 232, 240, 0.5);
    outline-offset: 4px;
}

.ios-offer-limited {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(241, 245, 249, 0.85);
}

.ios-offer-hero .ios-offer-cta a.ios-offer-button,
.ios-offer-hero a {
    color: #ffffff;
}

.ios-offer-hero a:hover,
.ios-offer-hero a:focus {
    color: #ffffff;
}

@media (max-width: 768px) {
    .ios-offer-content {
        text-align: left;
    }

    .ios-offer-button {
        width: 100%;
    }
}

/* Promotional Ribbon */
.promo-ribbon {
    width: 100%;
    background: linear-gradient(90deg, #dc2626 0%, #ea580c 25%, #f97316 50%, #ea580c 75%, #dc2626 100%);
    padding: 14px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
    border-bottom: 3px solid rgba(0, 0, 0, 0.15);
}

.promo-ribbon-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.promo-icon {
    font-size: 20px;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.promo-icon:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.promo-text {
    white-space: nowrap;
}

.promo-text strong {
    font-size: 18px;
    font-weight: 800;
    color: #fef3c7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.promo-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shine 3s infinite;
    z-index: 1;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Urgency Banner */
.urgency-banner {
    width: 100%;
    background: linear-gradient(90deg, #7c2d12 0%, #92400e 25%, #b45309 50%, #92400e 75%, #7c2d12 100%);
    padding: 12px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(124, 45, 18, 0.4);
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.urgency-icon {
    font-size: 16px;
    animation: pulse-urgency 1.5s ease-in-out infinite;
}

.urgency-icon:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes pulse-urgency {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.urgency-text {
    white-space: nowrap;
}

.urgency-text strong {
    font-size: 14px;
    font-weight: 800;
    color: #fef08a;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Summary Section */
.ios-summary-section {
    background: linear-gradient(135deg, #0f172a 0%, #1a2d4d 50%, #0f172a 100%);
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.ios-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.ios-summary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(138, 183, 255, 0.05));
    border: 1px solid rgba(138, 183, 255, 0.2);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.ios-summary-card:hover {
    border-color: rgba(138, 183, 255, 0.4);
    box-shadow: 0 8px 32px rgba(138, 183, 255, 0.1);
    transform: translateY(-4px);
}

.ios-summary-card--featured {
    background: linear-gradient(135deg, rgba(43, 104, 193, 0.2), rgba(138, 183, 255, 0.1));
    border: 2px solid rgba(138, 183, 255, 0.4);
    box-shadow: 0 8px 32px rgba(138, 183, 255, 0.15);
}

.ios-summary-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #f97316);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.ios-summary-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.ios-summary-card h2 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.5px;
}

.ios-summary-card p {
    margin: 0 0 16px;
    font-size: 14px;
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.6;
}

.ios-pricing-highlight {
    font-size: 18px !important;
    color: #8ab7ff !important;
    font-weight: 600 !important;
}

.ios-pricing-highlight strong {
    font-size: 24px;
    color: #fef3c7;
    font-weight: 800;
}

.ios-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.ios-summary-list li {
    font-size: 13px;
    color: rgba(226, 232, 240, 0.7);
    padding-left: 20px;
    position: relative;
}

.ios-summary-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8ab7ff;
    font-weight: 700;
}

.ios-cta-link {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #2b68c1, #1a3a7a);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.ios-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(43, 104, 193, 0.3);
}

/* FAQ Section */
.ios-faq-section {
    background: linear-gradient(135deg, #1a2d4d 0%, #0f172a 50%, #1a2d4d 100%);
    padding: 60px 20px;
}

.ios-faq-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 40px;
    letter-spacing: -0.5px;
}

.ios-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 16px;
}

.ios-faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(138, 183, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.ios-faq-toggle {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ios-faq-toggle:hover {
    background: rgba(138, 183, 255, 0.08);
}

.ios-faq-toggle:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(138, 183, 255, 0.3);
}

.ios-faq-question {
    flex: 1;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
}

.ios-faq-icon {
    font-size: 20px;
    color: #8ab7ff;
    font-weight: 700;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.ios-faq-toggle[aria-expanded="true"] .ios-faq-icon {
    transform: rotate(45deg);
}

.ios-faq-answer {
    padding: 0 20px 16px;
    border-top: 1px solid rgba(138, 183, 255, 0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ios-faq-answer p {
    margin: 0;
    font-size: 13px;
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.6;
}

.ios-calculator-hero {
    perspective: 1200px;
    width: 100%;
}

.ios-calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.ios-device-column {
    display: flex;
    justify-content: center;
}

.ios-summary-column {
    display: flex;
    justify-content: center;
}

.ios-faq-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ios-faq-column-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.5px;
}

.ios-faq-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ios-faq-compact .ios-faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(138, 183, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.ios-faq-compact .ios-faq-toggle {
    padding: 12px 14px;
    font-size: 13px;
}

.ios-faq-compact .ios-faq-question {
    font-size: 12px;
}

.ios-faq-compact .ios-faq-answer {
    padding: 0 14px 12px;
    border-top: 1px solid rgba(138, 183, 255, 0.1);
}

.ios-faq-compact .ios-faq-answer p {
    font-size: 12px;
}

/* iPhone Device Container */
.iphone-device {
    position: relative;
    width: var(--phone-width);
    height: var(--phone-height);
    margin: 0 auto;
}

/* iPhone Shell - The Hardware */
.iphone-shell {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 58px;
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.95) 0%,
        rgba(20, 20, 20, 0.98) 50%,
        rgba(10, 10, 10, 0.95) 100%);
    padding: var(--bezel-width);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Top Bezel */
.iphone-bezel-top {
    height: var(--bezel-width);
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.05) 0%,
        transparent 100%);
}

/* Bottom Bezel */
.iphone-bezel-bottom {
    height: var(--bezel-width);
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%);
    margin-top: auto;
}

/* iPhone Screen */
.iphone-screen {
    flex: 1;
    position: relative;
    border-radius: 52px;
    background: linear-gradient(160deg, 
        rgba(12, 20, 35, 0.98) 0%,
        rgba(35, 65, 115, 0.94) 100%);
    overflow: hidden;
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 0 60px rgba(138, 183, 255, 0.08);
    display: flex;
    flex-direction: column;
}

/* Screen Reflections */
.iphone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 65% 25%, rgba(255, 255, 255, 0.02), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Screen Glow */
.iphone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.06) 0%,
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Dynamic Island */
.iphone-dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: var(--notch-width);
    height: var(--notch-height);
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    border-radius: 999px;
    z-index: 10;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.5),
        inset 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Status Bar */
.ios-status-bar {
    position: relative;
    z-index: 5;
    padding: 8px 20px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-top: 6px;
}

.ios-status-bar__time {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Mono', monospace;
    letter-spacing: 0.5px;
}

.ios-status-bar__indicators {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ios-status-bar__signal {
    display: flex;
    align-items: flex-end;
    gap: 1px;
}

.ios-status-bar__signal span {
    width: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.5px;
}

.ios-status-bar__signal span:nth-child(1) { height: 3px; }
.ios-status-bar__signal span:nth-child(2) { height: 5px; }
.ios-status-bar__signal span:nth-child(3) { height: 7px; }
.ios-status-bar__signal span:nth-child(4) { height: 9px; }

.ios-status-bar__indicator {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

/* App Container */
.ios-app-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    padding: 12px 16px 16px;
    overflow: hidden;
}

/* App Header */
.ios-app-header {
    text-align: center;
    margin-bottom: 12px;
}

.ios-app-logo {
    height: 32px;
    width: auto;
    margin-bottom: 8px;
    opacity: 0.95;
    filter: brightness(1.1);
}

.ios-app-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.5px;
}

.ios-app-subtitle {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.7);
    font-weight: 500;
}

/* Wizard Form */
.ios-wizard-form {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ios-form-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s var(--spring-curve);
    padding: 16px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(138, 183, 255, 0.3) transparent;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ios-form-page::-webkit-scrollbar {
    width: 2px;
}

.ios-form-page::-webkit-scrollbar-track {
    background: transparent;
}

.ios-form-page::-webkit-scrollbar-thumb {
    background: rgba(138, 183, 255, 0.3);
    border-radius: 999px;
}

.ios-form-page--active {
    opacity: 1;
    transform: translateX(0);
}

/* Form Header */
.ios-form-header {
    margin-bottom: 12px;
}

.ios-form-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.3px;
}

.ios-form-header p {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.7);
}

/* Form Content */
.ios-form-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Form Options */
.ios-form-option,
.ios-form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    border: 1.5px solid rgba(200, 210, 240, 0.5);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s var(--spring-curve);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ios-form-option:focus-within,
.ios-form-checkbox:focus-within {
    border-color: #2b68c1;
    box-shadow: 0 0 0 3px rgba(138, 183, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ios-form-option::before,
.ios-form-checkbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.ios-form-option:hover,
.ios-form-checkbox:hover {
    border-color: rgba(200, 210, 240, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.ios-form-option:hover::before,
.ios-form-checkbox:hover::before {
    left: 100%;
}

.ios-form-option:active,
.ios-form-checkbox:active {
    transform: scale(0.96);
}

.ios-form-option input,
.ios-form-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2b68c1;
    flex-shrink: 0;
}

.ios-form-option:has(input:checked),
.ios-form-checkbox:has(input:checked) {
    background: linear-gradient(135deg, #2b68c1 0%, #8ab7ff 100%);
    border-color: rgba(138, 183, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 24px rgba(43, 104, 193, 0.35),
        0 0 0 1px rgba(138, 183, 255, 0.2);
}

.ios-form-option:has(input:checked)::before,
.ios-form-checkbox:has(input:checked)::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.ios-form-option:has(input:checked) .ios-option-label,
.ios-form-option:has(input:checked) .ios-option-desc,
.ios-form-checkbox:has(input:checked) .ios-option-label,
.ios-form-checkbox:has(input:checked) .ios-option-desc {
    color: #f8fafc;
}

.ios-option-label {
    font-weight: 700;
    font-size: 13px;
    color: #0f172a;
    transition: color 0.3s ease;
    letter-spacing: -0.3px;
}

.ios-option-desc {
    font-size: 11px;
    color: rgba(15, 20, 35, 0.65);
    transition: color 0.3s ease;
    font-weight: 500;
}

/* Form Section */
.ios-form-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ios-form-section-title {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: #8ab7ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Progress Bar */
.ios-form-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 8px;
}

.ios-progress-bar {
    flex: 1;
    height: 2px;
    background: rgba(138, 183, 255, 0.15);
    border-radius: 999px;
    overflow: hidden;
}

.ios-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8ab7ff, #2b68c1);
    border-radius: 999px;
    transition: width 0.5s var(--spring-curve);
    position: relative;
}

.ios-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.ios-progress-text {
    font-size: 11px;
    font-weight: 600;
    color: rgba(138, 183, 255, 0.8);
    min-width: 40px;
    text-align: right;
}

/* Form Navigation */
.ios-form-nav {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.ios-form-button {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--spring-curve);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    position: relative;
    overflow: hidden;
}

.ios-form-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(138, 183, 255, 0.3);
}

.ios-form-button--next,
.ios-form-button--submit {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(8, 12, 24, 0.2);
}

.ios-form-button--next:hover,
.ios-form-button--submit:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 20px rgba(8, 12, 24, 0.3),
        0 0 20px rgba(138, 183, 255, 0.2);
}

.ios-form-button--next:active,
.ios-form-button--submit:active {
    transform: scale(0.96);
}

.ios-form-button--prev {
    background: rgba(138, 183, 255, 0.1);
    color: #8ab7ff;
    border: 1px solid rgba(138, 183, 255, 0.3);
}

.ios-form-button--prev:hover {
    background: rgba(138, 183, 255, 0.15);
    border-color: rgba(138, 183, 255, 0.5);
    transform: translateY(-1px);
}

.ios-form-button--prev:active {
    transform: scale(0.96);
}

.ios-form-button svg {
    transition: transform 0.3s var(--spring-curve);
}

.ios-form-button:hover svg {
    transform: translateX(2px);
}

/* Estimate Box */
.ios-estimate-box {
    background: linear-gradient(135deg, rgba(42, 110, 226, 0.7), rgba(15, 60, 165, 0.68));
    border: 1px solid rgba(138, 183, 255, 0.4);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.ios-estimate-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.ios-estimate-label {
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    color: rgba(236, 252, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.ios-estimate-value {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 800;
    color: #f8fafc;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.ios-estimate-desc {
    margin: 4px 0 0;
    font-size: 10px;
    color: rgba(236, 252, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* Page Dots */
.ios-page-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 0 0;
    margin-top: auto;
}

.ios-page-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(138, 183, 255, 0.25);
    transition: all 0.3s var(--spring-curve);
    cursor: pointer;
}

.ios-page-dot--active {
    background: #8ab7ff;
    transform: scale(1.5);
    box-shadow: 0 0 8px rgba(138, 183, 255, 0.4);
}

.ios-page-dot:hover {
    background: rgba(138, 183, 255, 0.5);
    transform: scale(1.2);
}

/* Home Indicator */
.iphone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: var(--home-indicator-height);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 999px;
    z-index: 10;
}

/* Reflections & Glow */
.iphone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    border-radius: 58px;
}

.iphone-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(138, 183, 255, 0.1), transparent 70%);
    border-radius: 58px;
    filter: blur(20px);
}

/* Responsive Design */
@media (max-width: 480px) {
    :root {
        --phone-width: min(100vw - 20px, 380px);
    }
    
    .ios-app-title {
        font-size: 18px;
    }
    
    .ios-form-header h2 {
        font-size: 15px;
    }
    
    .ios-estimate-value {
        font-size: 18px;
    }
}

/* Summary Panel */
.ios-summary-panel {
    width: min(320px, 90vw);
    height: var(--phone-height);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(138, 183, 255, 0.05));
    border: 1px solid rgba(138, 183, 255, 0.2);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(138, 183, 255, 0.3) transparent;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
}

.ios-summary-panel::-webkit-scrollbar {
    width: 4px;
}

.ios-summary-panel::-webkit-scrollbar-track {
    background: transparent;
}

.ios-summary-panel::-webkit-scrollbar-thumb {
    background: rgba(138, 183, 255, 0.3);
    border-radius: 999px;
}

.ios-summary-header {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(138, 183, 255, 0.2);
}

.ios-summary-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.5px;
}

.ios-summary-subtitle {
    margin: 6px 0 0;
    font-size: 13px;
    color: rgba(226, 232, 240, 0.7);
    font-weight: 500;
}

.ios-summary-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.ios-summary-section {
    animation: slideIn 0.4s var(--spring-curve);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ios-summary-section-title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #8ab7ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ios-summary-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ios-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(138, 183, 255, 0.1);
    border: 1px solid rgba(138, 183, 255, 0.2);
    border-radius: 8px;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.9);
    font-weight: 500;
    animation: popIn 0.3s var(--bounce-curve);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.ios-summary-item::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #8ab7ff, #2b68c1);
    border-radius: 50%;
    font-size: 10px;
    color: #f8fafc;
    font-weight: 700;
    flex-shrink: 0;
}

.ios-summary-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(138, 183, 255, 0.2);
}

.ios-summary-estimate {
    background: linear-gradient(135deg, rgba(42, 110, 226, 0.15), rgba(138, 183, 255, 0.1));
    border: 1px solid rgba(138, 183, 255, 0.3);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.ios-estimate-label {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    color: rgba(138, 183, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ios-estimate-display {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 800;
    color: #8ab7ff;
    letter-spacing: -0.5px;
}

.ios-estimate-savings {
    margin: 8px 0 0;
    font-size: 12px;
    color: #fbbf24;
    font-weight: 600;
    animation: pulse-savings 2s ease-in-out infinite;
}

@keyframes pulse-savings {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Email Capture Modal */
.ios-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s var(--spring-curve);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ios-modal {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.92));
    border-radius: 24px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s var(--spring-curve);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ios-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.ios-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.ios-modal-header p {
    margin: 8px 0 0;
    font-size: 14px;
    color: rgba(15, 20, 35, 0.7);
}

.ios-modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.ios-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ios-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.ios-form-input,
.ios-form-textarea {
    padding: 12px 14px;
    border: 1.5px solid rgba(200, 210, 240, 0.5);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.98);
    transition: all 0.3s var(--spring-curve);
}

.ios-form-input:focus,
.ios-form-textarea:focus {
    outline: none;
    border-color: #2b68c1;
    box-shadow: 0 0 0 3px rgba(138, 183, 255, 0.1);
    background: #ffffff;
}

.ios-form-input::placeholder,
.ios-form-textarea::placeholder {
    color: rgba(15, 20, 35, 0.5);
}

.ios-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.ios-modal-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ios-modal-button {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--spring-curve);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ios-modal-button--primary {
    background: linear-gradient(135deg, #2b68c1, #8ab7ff);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(43, 104, 193, 0.3);
}

.ios-modal-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(43, 104, 193, 0.4);
}

.ios-modal-button--primary:active {
    transform: scale(0.96);
}

.ios-modal-button--secondary {
    background: rgba(138, 183, 255, 0.1);
    color: #2b68c1;
    border: 1.5px solid rgba(138, 183, 255, 0.3);
}

.ios-modal-button--secondary:hover {
    background: rgba(138, 183, 255, 0.15);
    border-color: rgba(138, 183, 255, 0.5);
    transform: translateY(-1px);
}

.ios-modal-button--secondary:active {
    transform: scale(0.96);
}

.ios-modal-privacy {
    text-align: center;
    font-size: 12px;
    color: rgba(15, 20, 35, 0.6);
    margin: 0;
}

.ios-modal-privacy a {
    color: #2b68c1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.ios-modal-privacy a:hover {
    color: #8ab7ff;
}

/* Responsive */
@media (max-width: 1024px) {
    .ios-calculator-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ios-summary-panel {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 300px;
    }
}

@media (max-width: 1024px) {
    .ios-calculator-layout {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .ios-faq-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --phone-width: min(100vw - 20px, 360px);
    }

    .ios-calculator-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .ios-device-column {
        order: 1;
    }

    .ios-summary-column {
        order: 2;
    }

    .ios-faq-column {
        order: 3;
        grid-column: auto;
    }

    .ios-summary-panel {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 250px;
        position: static;
        max-height: none;
    }

    .ios-app-title {
        font-size: 18px;
    }

    .ios-form-header h2 {
        font-size: 16px;
    }

    .ios-estimate-value {
        font-size: 16px;
    }

    .promo-ribbon-content {
        font-size: 12px;
        gap: 8px;
    }

    .promo-text {
        white-space: normal;
    }

    .promo-text strong {
        font-size: 14px;
    }

    .ios-faq-column-title {
        font-size: 16px;
    }

    .ios-faq-compact .ios-faq-toggle {
        padding: 10px 12px;
    }
}

/* iOS Calculator Footer */
.ios-calculator-footer {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, #0f1325 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 20px 40px;
    margin-top: 80px;
    margin-left: -20px;
    margin-right: -20px;
    border-top: 1px solid rgba(138, 183, 255, 0.1);
    width: calc(100% + 40px);
}

.ios-calculator-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ios-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.ios-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ios-footer-logo {
    max-width: 140px;
    height: auto;
}

.ios-footer-tagline {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #8ab7ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ios-footer-description {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.ios-footer-links h4,
.ios-footer-contact h4 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ios-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ios-footer-links a,
.ios-footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.ios-footer-links a:hover,
.ios-footer-contact a:hover {
    color: #8ab7ff;
}

.ios-footer-contact p {
    margin: 0 0 8px;
    font-size: 13px;
}

.ios-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.ios-footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(138, 183, 255, 0.1);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ios-footer-social a:hover {
    background: rgba(138, 183, 255, 0.2);
    transform: translateY(-2px);
}

.ios-footer-bottom {
    border-top: 1px solid rgba(138, 183, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ios-footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.ios-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.ios-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ios-footer-bottom-links a:hover {
    color: #8ab7ff;
}

.ios-footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .ios-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .ios-calculator-footer {
        padding: 40px 20px 30px;
        margin-top: 60px;
    }

    .ios-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ios-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .ios-footer-bottom-links {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
