/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.6;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Container */
.container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo svg text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    fill: #000;
}


/* Main Content */
.main-content {
    padding: 20px;
    flex: 1;
}

.verification-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Verification Card */
.verification-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.icon-container {
    margin-bottom: 16px;
}

.icon-container svg {
    display: block;
    margin: 0 auto;
}

.card-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.card-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

/* Verification Steps */
.verification-steps {
    margin-bottom: 24px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f3f4;
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step.active .step-number {
    background: #00a87e;
    color: #fff;
}

.step-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.step-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* App Download Section */
.app-download-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.app-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.app-icon {
    flex-shrink: 0;
}

.icon-placeholder svg {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 168, 126, 0.2);
}

.app-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.version {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffc107;
    font-size: 14px;
}

.rating-text {
    color: #666;
    font-size: 12px;
}

.download-btn {
    width: 100%;
    background: #00a87e;
    color: #fff;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 168, 126, 0.3);
}

.download-btn:hover {
    background: #008f6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 168, 126, 0.4);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.download-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Security Info */
.security-info {
    text-align: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d4edda;
    color: #155724;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.security-text {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* Instructions Card */
.instructions-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.instructions-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
    text-align: center;
}

.instructions-card ol {
    padding-left: 20px;
}

.instructions-card li {
    color: #666;
    font-size: 14px;
    padding: 4px 0;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 20px;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: #666;
    font-size: 12px;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #00a87e;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #008f6b;
    text-decoration: underline;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
    animation: slideIn 0.3s ease-out;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid;
}

.notification-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.notification-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.notification-icon {
    font-size: 1.2rem;
}

.notification-text {
    font-weight: 500;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

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

.verification-card {
    animation: fadeIn 0.6s ease-out;
}

.instructions-card {
    animation: fadeIn 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        box-shadow: none;
    }
    
    .main-content {
        padding: 16px;
    }
    
    .verification-card {
        padding: 20px;
    }
    
    .instructions-card {
        padding: 16px;
    }
    
    .app-download-section {
        padding: 16px;
    }
    
    .card-header h1 {
        font-size: 20px;
    }
    
    .card-header p {
        font-size: 14px;
    }
    
    .download-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .main-content {
        padding: 12px;
    }
    
    .verification-card {
        padding: 16px;
    }
    
    .instructions-card {
        padding: 12px;
    }
    
    .app-download-section {
        padding: 12px;
    }
    
    .card-header h1 {
        font-size: 18px;
    }
    
    .download-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Selection styles */
::selection {
    background: transparent;
}

::-moz-selection {
    background: transparent;
}

/* Loading state */
.download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.download-btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0, 168, 126, 0.3);
}