/**
 * LPA Forms V2 - Frontend Styles
 * Mobile-first, responsive, cross-browser compatible
 * Optimized for Gmail, Outlook, Yahoo, Hotmail
 */

/* ========================================
   iOS SPECIFIC OPTIMIZATIONS
   ======================================== */

/* Prevent iOS text size adjustment */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Smooth scrolling on iOS */
body {
    -webkit-overflow-scrolling: touch;
}

/* Remove iOS input shadows and rounded corners */
input,
textarea,
select,
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Better tap highlighting on iOS */
* {
    -webkit-tap-highlight-color: rgba(59, 130, 246, 0.2);
}

/* Remove iOS button styling */
button,
input[type="submit"],
input[type="button"] {
    -webkit-appearance: none;
    border-radius: 8px; /* Keep our custom radius */
}

/* iOS Safe Area Support (for iPhone X, 11, 12, 13, 14, 15 with notch) */
@supports (padding: max(0px)) {
    .lpa-v2-container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Prevent iOS zoom on input focus (already have 16px, but enforce) */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    textarea,
    select {
        font-size: 16px !important; /* !important to override theme styles */
    }
}

/* Better touch targets for iOS (minimum 44x44px) */
.lpa-v2-button,
.lpa-v2-radio input,
.lpa-v2-service-card {
    min-height: 44px;
    min-width: 44px;
}

/* iOS select dropdown arrow fix */
select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Prevent iOS Safari bottom bar from covering content */
@supports (-webkit-touch-callout: none) {
    .lpa-v2-submit,
    .lpa-v2-final-cta {
        padding-bottom: max(40px, calc(40px + env(safe-area-inset-bottom)));
    }
}

/* iOS input placeholder styling */
input::placeholder,
textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #9ca3af;
}

/* Better momentum scrolling for modals/overflow areas */
.lpa-v2-section,
.lpa-v2-services {
    -webkit-overflow-scrolling: touch;
}

/* Fix iOS date input styling */
input[type="date"] {
    min-height: 44px;
}

/* Prevent iOS from styling telephone links */
a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}



/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.lpa-v2-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .lpa-v2-container {
        padding: 15px;
    }
}

.lpa-v2-checkout,
.lpa-v2-submit-docs,
.lpa-v2-upgrade,
.lpa-v2-track,
.lpa-v2-thank-you {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .lpa-v2-checkout,
    .lpa-v2-submit-docs,
    .lpa-v2-upgrade,
    .lpa-v2-track,
    .lpa-v2-thank-you {
        padding: 25px 20px;
        border-radius: 12px;
    }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.lpa-v2-header {
    text-align: center;
    margin-bottom: 40px;
}

.lpa-v2-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.lpa-v2-header p {
    font-size: 16px;
    color: #6b7280;
}

.lpa-v2-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .lpa-v2-header h1 {
        font-size: 24px;
    }
    
    .lpa-v2-header p,
    .lpa-v2-subtitle {
        font-size: 15px;
    }
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
}

/* ========================================
   FORM ELEMENTS
   ======================================== */

.lpa-v2-form {
    margin: 0;
}

.lpa-v2-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

@media (max-width: 768px) {
    .lpa-v2-section {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
}

.lpa-v2-field {
    margin-bottom: 24px;
}

.lpa-v2-field label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.lpa-v2-field input[type="text"],
.lpa-v2-field input[type="email"],
.lpa-v2-field input[type="tel"],
.lpa-v2-field input[type="date"],
.lpa-v2-field textarea,
.lpa-v2-field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.2s ease;
}

.lpa-v2-field input:focus,
.lpa-v2-field textarea:focus,
.lpa-v2-field select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.lpa-v2-field textarea {
    resize: vertical;
    min-height: 100px;
}

.lpa-v2-field small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .lpa-v2-field input,
    .lpa-v2-field textarea,
    .lpa-v2-field select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Row & Columns */
.lpa-v2-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.lpa-v2-col {
    flex: 1;
}

@media (max-width: 768px) {
    .lpa-v2-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Input Groups */
.lpa-v2-input-group {
    display: flex;
    gap: 12px;
}

@media (max-width: 768px) {
    .lpa-v2-input-group {
        flex-direction: column;
    }
}

/* Radio Buttons */
.lpa-v2-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.lpa-v2-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.lpa-v2-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .lpa-v2-radio-group {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   BUTTONS
   ======================================== */

.lpa-v2-button {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lpa-v2-button-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border-color: #3b82f6;
}

.lpa-v2-button-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.lpa-v2-button-secondary {
    background: #ffffff;
    color: #3b82f6;
    border-color: #3b82f6;
}

.lpa-v2-button-secondary:hover {
    background: #eff6ff;
}

.lpa-v2-button-large {
    padding: 16px 36px;
    font-size: 18px;
}

.lpa-v2-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .lpa-v2-button {
        width: 100%;
        padding: 14px 20px;
    }
    
    .lpa-v2-button-large {
        padding: 16px 20px;
        font-size: 16px;
    }
}

.lpa-v2-button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .lpa-v2-button-group {
        flex-direction: column;
    }
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.lpa-v2-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .lpa-v2-services {
        grid-template-columns: 1fr;
    }
}

.lpa-v2-service-card {
    display: block;
    cursor: pointer;
    margin-bottom: 0;
}

.lpa-v2-service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lpa-v2-service-content {
    display: block;
    padding: 24px;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.lpa-v2-service-card:hover .lpa-v2-service-content {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.lpa-v2-service-card input[type="radio"]:checked + .lpa-v2-service-content {
    border-width: 3px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.lpa-v2-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.lpa-v2-service-header h3 {
    font-size: 20px;
    margin: 0;
    color: #1f2937;
}

.lpa-v2-service-price {
    font-size: 28px;
    font-weight: 700;
    color: #1e3a8a;
}

.lpa-v2-service-details {
    font-size: 14px;
    color: #4b5563;
}

.lpa-v2-service-time,
.lpa-v2-service-deadline,
.lpa-v2-service-upgrade,
.lpa-v2-service-express {
    margin-top: 8px;
}

.lpa-v2-service-express {
    color: #10b981;
    font-weight: 600;
}

@media (max-width: 768px) {
    .lpa-v2-service-content {
        padding: 20px;
    }
    
    .lpa-v2-service-header h3 {
        font-size: 18px;
    }
    
    .lpa-v2-service-price {
        font-size: 24px;
    }
}

/* ========================================
   ALERTS & MESSAGES
   ======================================== */

.lpa-v2-alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-left: 4px solid;
}

.lpa-v2-alert-success {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.lpa-v2-alert-error {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

.lpa-v2-alert-warning {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

.lpa-v2-alert-info {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1e3a8a;
}

.lpa-v2-alert h2 {
    margin-bottom: 10px;
    color: inherit;
}

.lpa-v2-alert p {
    margin-bottom: 8px;
}

.lpa-v2-alert p:last-child {
    margin-bottom: 0;
}

/* ========================================
   DEADLINE TIMER
   ======================================== */

.lpa-v2-deadline {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    margin-bottom: 30px;
}

.lpa-v2-deadline-urgent {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #ef4444;
}

.lpa-v2-deadline-icon {
    font-size: 36px;
}

.lpa-v2-deadline-content strong {
    font-size: 16px;
    color: #92400e;
    display: block;
    margin-bottom: 4px;
}

.lpa-v2-deadline-urgent .lpa-v2-deadline-content strong {
    color: #991b1b;
}

.lpa-v2-deadline-time {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.lpa-v2-deadline-remaining {
    font-size: 14px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .lpa-v2-deadline {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* ========================================
   UPGRADE OFFER
   ======================================== */

.lpa-v2-upgrade-timer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.lpa-v2-timer-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.lpa-v2-timer-content h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 24px;
}

.lpa-v2-countdown {
    font-size: 48px;
    font-weight: 700;
    color: #fbbf24;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

.lpa-v2-timer-text {
    color: #dbeafe;
    font-size: 16px;
}

@media (max-width: 768px) {
    .lpa-v2-upgrade-timer {
        padding: 25px 20px;
    }
    
    .lpa-v2-timer-content h3 {
        font-size: 20px;
    }
    
    .lpa-v2-countdown {
        font-size: 36px;
    }
}

.lpa-v2-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.lpa-v2-comparison-item {
    flex: 1;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.lpa-v2-current {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
}

.lpa-v2-upgraded {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 3px solid #3b82f6;
    position: relative;
}

.lpa-v2-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #10b981;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.lpa-v2-comparison-arrow {
    font-size: 36px;
    color: #3b82f6;
    font-weight: 700;
}

.lpa-v2-service-name {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
    color: #1f2937;
}

.lpa-v2-service-time {
    margin: 8px 0;
    color: #6b7280;
}

.lpa-v2-upgrade-addition {
    margin-top: 8px;
    font-size: 16px;
    color: #10b981;
    font-weight: 600;
}

@media (max-width: 768px) {
    .lpa-v2-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .lpa-v2-comparison-arrow {
        transform: rotate(90deg);
    }
}

.lpa-v2-benefits {
    background: #f0fdf4;
    padding: 24px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid #10b981;
}

.lpa-v2-benefits ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.lpa-v2-benefits li {
    padding: 10px 0;
    color: #065f46;
    font-size: 15px;
}

.lpa-v2-pricing {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
}

.lpa-v2-pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.lpa-v2-pricing-row:last-of-type {
    border-bottom: none;
}

.lpa-v2-pricing-upgrade {
    color: #10b981;
}

.lpa-v2-pricing-total {
    font-size: 20px;
    padding-top: 16px;
    border-top: 2px solid #1f2937;
}

.lpa-v2-pricing-savings {
    background: #fef3c7;
    color: #92400e;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-top: 16px;
    font-weight: 600;
}

.lpa-v2-upgrade-actions {
    margin: 30px 0;
    text-align: center;
}

.lpa-v2-upgrade-actions a {
    margin: 10px;
}

.lpa-v2-urgency {
    text-align: center;
    padding: 20px;
    background: #fef2f2;
    border-radius: 8px;
    margin-top: 20px;
}

.lpa-v2-urgency p {
    margin: 5px 0;
    color: #991b1b;
}

/* ========================================
   TRACK ORDER
   ======================================== */

.lpa-v2-search-box {
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.lpa-v2-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .lpa-v2-order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.lpa-v2-upgraded {
    color: #10b981;
    font-weight: 600;
    margin-top: 5px;
}

.lpa-v2-progress {
    margin: 30px 0;
}

.lpa-v2-progress-bar {
    width: 100%;
    height: 20px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.lpa-v2-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    transition: width 0.5s ease;
    border-radius: 10px;
}

.lpa-v2-progress-text {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: #1f2937;
}

.lpa-v2-timeline {
    margin: 40px 0;
}

.lpa-v2-timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.lpa-v2-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    width: 2px;
    height: calc(100% - 30px);
    background: #e5e7eb;
}

.lpa-v2-timeline-done::before {
    background: #10b981;
}

.lpa-v2-timeline-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #f3f4f6;
    border: 3px solid #e5e7eb;
}

.lpa-v2-timeline-done .lpa-v2-timeline-icon {
    background: #ecfdf5;
    border-color: #10b981;
}

.lpa-v2-timeline-active .lpa-v2-timeline-icon {
    background: #eff6ff;
    border-color: #3b82f6;
    animation: pulse 2s infinite;
}

.lpa-v2-timeline-pending .lpa-v2-timeline-icon {
    background: #f9fafb;
    border-color: #d1d5db;
    opacity: 0.6;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
    }
}

.lpa-v2-timeline-content {
    flex: 1;
}

.lpa-v2-timeline-content strong {
    font-size: 16px;
    color: #1f2937;
    display: block;
    margin-bottom: 5px;
}

.lpa-v2-timeline-content p {
    color: #6b7280;
    margin: 4px 0;
    font-size: 14px;
}

.lpa-v2-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.lpa-v2-link:hover {
    text-decoration: underline;
}

.lpa-v2-order-info,
.lpa-v2-next-steps,
.lpa-v2-support {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    margin: 30px 0;
}

.lpa-v2-info-table {
    width: 100%;
    border-collapse: collapse;
}

.lpa-v2-info-table td {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.lpa-v2-info-table tr:last-child td {
    border-bottom: none;
}

.lpa-v2-info-table td:first-child {
    width: 40%;
    color: #6b7280;
}

.lpa-v2-search-again {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   THANK YOU PAGE
   ======================================== */

.lpa-v2-success-icon {
    text-align: center;
    margin-bottom: 30px;
}

.lpa-v2-checkmark {
    display: inline-block;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.lpa-v2-summary-box,
.lpa-v2-next-steps-box,
.lpa-v2-timeline-estimate,
.lpa-v2-important-info,
.lpa-v2-track-cta,
.lpa-v2-support-box {
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.lpa-v2-summary-details {
    margin-top: 20px;
}

.lpa-v2-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.lpa-v2-summary-row:last-child {
    border-bottom: none;
}

.lpa-v2-upgraded-row {
    background: #ecfdf5;
    padding: 12px 16px;
    border-radius: 8px;
    border-bottom: none;
}

.lpa-v2-steps {
    margin-top: 20px;
}

.lpa-v2-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.lpa-v2-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.lpa-v2-step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1f2937;
}

.lpa-v2-step-content p {
    color: #4b5563;
    margin: 5px 0;
}

.lpa-v2-step-note {
    color: #6b7280;
    font-size: 14px;
    font-style: italic;
}

.lpa-v2-express-notice {
    background: #ecfdf5;
    color: #065f46;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    border-left: 4px solid #10b981;
}

.lpa-v2-important-info ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.lpa-v2-important-info li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.lpa-v2-important-info li:last-child {
    border-bottom: none;
}

.lpa-v2-contact-methods {
    margin-top: 20px;
}

.lpa-v2-contact-method {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.lpa-v2-contact-method:last-child {
    border-bottom: none;
}

.lpa-v2-contact-method strong {
    display: block;
    margin-bottom: 5px;
    color: #1f2937;
}

.lpa-v2-contact-method a {
    color: #3b82f6;
    text-decoration: none;
}

.lpa-v2-contact-method code {
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.lpa-v2-reviews {
    margin: 40px 0;
}

.lpa-v2-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .lpa-v2-review-grid {
        grid-template-columns: 1fr;
    }
}

.lpa-v2-review {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #fbbf24;
}

.lpa-v2-stars {
    color: #fbbf24;
    margin-bottom: 10px;
    font-size: 18px;
}

.lpa-v2-review p {
    color: #4b5563;
    font-style: italic;
    margin-bottom: 10px;
    font-size: 14px;
}

.lpa-v2-review cite {
    color: #6b7280;
    font-size: 13px;
    font-style: normal;
}

.lpa-v2-faq {
    margin: 40px 0;
}

.lpa-v2-faq-item {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #3b82f6;
}

.lpa-v2-faq-item h4 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 16px;
}

.lpa-v2-faq-item p {
    color: #4b5563;
    margin: 0;
    font-size: 14px;
}

.lpa-v2-final-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
}

.lpa-v2-final-cta p {
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 20px;
}

/* ========================================
   INFO BOXES & TESTIMONIALS
   ======================================== */

.lpa-v2-info {
    background: #eff6ff;
    padding: 24px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid #3b82f6;
}

.lpa-v2-info h3 {
    color: #1e3a8a;
    margin-bottom: 12px;
}

.lpa-v2-info p,
.lpa-v2-info ul,
.lpa-v2-info ol {
    color: #1f2937;
}

.lpa-v2-info ul,
.lpa-v2-info ol {
    margin: 12px 0;
    padding-left: 24px;
}

.lpa-v2-info li {
    margin: 8px 0;
    color: #374151;
}

.lpa-v2-security {
    background: #ecfdf5;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid #10b981;
}

.lpa-v2-security p {
    margin: 8px 0;
    color: #065f46;
}

.lpa-v2-testimonials {
    margin: 40px 0;
}

.lpa-v2-testimonial {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #3b82f6;
}

.lpa-v2-testimonial p {
    font-style: italic;
    color: #4b5563;
    margin-bottom: 10px;
}

.lpa-v2-testimonial cite {
    color: #6b7280;
    font-size: 14px;
    font-style: normal;
}

/* ========================================
   SUBMIT SECTION
   ======================================== */

.lpa-v2-submit {
    text-align: center;
    margin: 40px 0;
}

.lpa-v2-submit-note {
    margin-top: 12px;
    color: #6b7280;
    font-size: 14px;
}

.lpa-v2-success {
    color: #10b981;
    font-weight: 600;
}

/* ========================================
   UTILITIES
   ======================================== */

.lpa-v2-text-center {
    text-align: center;
}

.lpa-v2-mt-30 {
    margin-top: 30px;
}

.lpa-v2-mb-30 {
    margin-bottom: 30px;
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */

@media (max-width: 480px) {
    .lpa-v2-container {
        padding: 10px;
    }
    
    .lpa-v2-checkout,
    .lpa-v2-submit-docs,
    .lpa-v2-upgrade,
    .lpa-v2-track,
    .lpa-v2-thank-you {
        padding: 20px 15px;
    }
    
    .lpa-v2-section {
        padding: 15px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .lpa-v2-button,
    .lpa-v2-submit {
        display: none;
    }
    
    .lpa-v2-container {
        max-width: 100%;
    }
}



/* ========================================
   IPHONE SPECIFIC MODELS
   ======================================== */

/* iPhone SE (1st gen) - 320px width */
@media only screen and (max-width: 320px) {
    .lpa-v2-header h1 {
        font-size: 20px;
    }
    
    .lpa-v2-service-price {
        font-size: 20px;
    }
    
    .lpa-v2-button {
        padding: 12px 16px;
        font-size: 15px;
    }
}

/* iPhone 12/13/14 Pro Max - handle larger screens */
@media only screen and (min-width: 428px) and (max-width: 768px) {
    .lpa-v2-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Landscape mode on iPhone */
@media only screen and (max-height: 500px) and (orientation: landscape) {
    .lpa-v2-header {
        margin-bottom: 20px;
    }
    
    .lpa-v2-section {
        padding: 20px;
    }
    
    .lpa-v2-success-icon {
        display: none; /* Hide large animations in landscape */
    }
}

/* Dark mode support for iOS */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles here if needed */
    /* For now, we keep light mode for consistency */
}