/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --primary-color: #4F46E5;
    --primary-hover: #4338CA;
    --primary-light: #EEF2FF;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 1rem;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 800px;
    margin: 0 auto;
}

.screen {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.screen.active {
    display: block;
}

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

/* ============================================
   Header
   ============================================ */
.header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
}

/* ============================================
   Progress Bar
   ============================================ */
.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    height: 8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #34D399);
    border-radius: 1rem;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.progress-text {
    text-align: center;
    color: white;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ============================================
   Start Screen
   ============================================ */
.start-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.start-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.disclaimer-small {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ============================================
   Quiz Screen
   ============================================ */
.quiz-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.btn-back {
    background: var(--bg-tertiary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.btn-back:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.question-container h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.question-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.options-grid {
    display: grid;
    gap: 1rem;
}

.option-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.option-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.option-card.selected {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.option-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.option-content {
    flex: 1;
}

.option-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: block;
}

.option-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.option-card input[type="checkbox"] {
    display: none;
}

.checkbox-indicator {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: auto;
}

.option-card.selected .checkbox-indicator {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-indicator::after {
    content: '✓';
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s;
}

.option-card.selected .checkbox-indicator::after {
    opacity: 1;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-large {
    padding: 1.125rem 3rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-affiliate {
    background: var(--secondary-color);
    color: white;
    width: 100%;
    font-size: 1.125rem;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-affiliate:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -5px rgba(16, 185, 129, 0.4);
}

.btn-affiliate:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -3px rgba(16, 185, 129, 0.3);
}

/* Popular Choice Styling */
.popular-choice-banner {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3);
}

/* Enhanced banner for NordVPN */
.popular-choice-banner.nordvpn-banner {
    background: linear-gradient(135deg, #D97706 0%, #EA580C 100%);
    box-shadow: 0 6px 10px -2px rgba(217, 119, 6, 0.4);
}

.popular-icon {
    font-size: 1.25rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

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

/* Standard button (non-NordVPN) */
.btn-affiliate.btn-standard {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    font-size: 1.125rem;
    padding: 1rem;
    box-shadow: 0 4px 12px -3px rgba(59, 130, 246, 0.3);
}

.btn-affiliate.btn-standard:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -3px rgba(59, 130, 246, 0.4);
}

/* NordVPN Enhanced Button - 10% larger, green/gold gradient */
.btn-affiliate.btn-nordvpn {
    background: linear-gradient(135deg, #10B981 0%, #D97706 100%);
    font-size: 1.25rem;
    padding: 1.25rem 1.375rem;
    box-shadow: 0 8px 16px -3px rgba(16, 185, 129, 0.4), 0 0 20px rgba(217, 119, 6, 0.2);
    animation: subtle-glow 2.5s ease-in-out infinite;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.btn-affiliate.btn-nordvpn .btn-badge {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.95;
    letter-spacing: 0.025em;
}

.btn-affiliate.btn-nordvpn:hover {
    background: linear-gradient(135deg, #059669 0%, #B45309 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 28px -5px rgba(16, 185, 129, 0.5), 0 0 30px rgba(217, 119, 6, 0.3);
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 8px 16px -3px rgba(16, 185, 129, 0.4), 0 0 20px rgba(217, 119, 6, 0.2);
    }
    50% {
        box-shadow: 0 8px 16px -3px rgba(16, 185, 129, 0.5), 0 0 25px rgba(217, 119, 6, 0.3);
    }
}

/* Deprecated - keeping for backwards compatibility */
.btn-affiliate.btn-popular {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    font-size: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 8px 16px -3px rgba(16, 185, 129, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-affiliate.btn-popular:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-4px);
    box-shadow: 0 16px 24px -5px rgba(16, 185, 129, 0.5);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 16px -3px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 8px 16px -3px rgba(16, 185, 129, 0.6), 0 0 20px rgba(16, 185, 129, 0.3);
    }
}

.btn-share {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* ============================================
   Results Screen
   ============================================ */
.results-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-xl);
}

.results-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.results-header h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.results-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

/* Recommendation Cards */
.recommendation-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s;
}

.recommendation-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.recommendation-card.rank-1 {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.rank-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.rank-badge.rank-1 {
    background: var(--secondary-color);
}

.rank-badge.rank-2 {
    background: var(--primary-color);
}

.rank-badge.rank-3 {
    background: var(--accent-color);
}

.vpn-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vpn-logo {
    font-size: 3rem;
}

.vpn-title h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.vpn-tagline {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.match-score {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.why-section {
    margin-bottom: 1.5rem;
}

.why-section h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.match-reasons {
    list-style: none;
    margin-bottom: 1rem;
}

.match-reasons li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-secondary);
}

.match-reasons li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.pros-cons h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.pros-cons ul {
    list-style: none;
    font-size: 0.875rem;
}

.pros-cons li {
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--text-secondary);
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--error-color);
    font-weight: bold;
}

.pricing-section {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.price-display {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.discount-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.money-back {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison-section {
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

.comparison-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
}

.comparison-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.875rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table tr:hover {
    background: var(--bg-secondary);
}

.check-mark {
    color: var(--secondary-color);
    font-weight: bold;
}

.x-mark {
    color: var(--error-color);
}

/* ============================================
   Affiliate Disclosure
   ============================================ */
.affiliate-disclosure {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-color);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.affiliate-disclosure p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Share Section
   ============================================ */
.share-section {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.share-section p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .start-content {
        padding: 2rem 1.5rem;
    }

    .start-content h2 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .quiz-content,
    .results-content {
        padding: 1.5rem 1rem;
    }

    .question-container h3 {
        font-size: 1.375rem;
    }

    .option-card {
        padding: 1rem;
    }

    .option-icon {
        font-size: 1.5rem;
    }

    .option-label {
        font-size: 1rem;
    }

    .pros-cons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .results-header h2 {
        font-size: 1.5rem;
    }

    .results-subtitle {
        font-size: 1rem;
    }

    .recommendation-card {
        padding: 1.5rem 1rem;
    }

    .vpn-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vpn-logo {
        font-size: 2.5rem;
    }

    .vpn-title h3 {
        font-size: 1.375rem;
    }

    .price-display {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .btn-share {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .option-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkbox-indicator {
        align-self: flex-end;
    }
}

/* ============================================
   Animations & Transitions
   ============================================ */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recommendation-card {
    animation: slideInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.recommendation-card:nth-child(1) {
    animation-delay: 0.1s;
}

.recommendation-card:nth-child(2) {
    animation-delay: 0.2s;
}

.recommendation-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================
   Enhanced Features - Social Proof & Trust
   ============================================ */
.social-proof {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
}

.trust-badge.users {
    background: #DBEAFE;
    color: #1E40AF;
}

.trust-badge.rating {
    background: #FEF3C7;
    color: #92400E;
}

.trust-badge.verified {
    background: #D1FAE5;
    color: #065F46;
}

.trust-badge-icon {
    font-size: 1rem;
}

/* Match Score Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.match-score.counting {
    animation: countUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Share Buttons Enhanced */
.btn-share {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    min-width: 150px;
    transition: all 0.2s ease;
}

.btn-share:hover {
    background: var(--border-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-share.x-twitter {
    background: #000000;
    color: white;
}

.btn-share.x-twitter:hover {
    background: #333333;
}

.btn-share.reddit {
    background: #FF4500;
    color: white;
}

.btn-share.reddit:hover {
    background: #E63E00;
}

.btn-share.facebook {
    background: #1877F2;
    color: white;
}

.btn-share.facebook:hover {
    background: #166FE5;
}

.btn-share.copy {
    background: var(--secondary-color);
    color: white;
}

.btn-share.copy:hover {
    background: #059669;
}

/* Comparison Table Mobile Enhancements */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.625rem 0.5rem;
    }

    .comparison-table-container {
        -webkit-overflow-scrolling: touch;
        box-shadow: inset -2px 0 4px rgba(0,0,0,0.1);
    }

    .trust-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Touch Target Optimization for Mobile */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .option-card,
    .btn-share {
        min-height: 44px;
        min-width: 44px;
    }

    .option-card {
        padding: 1.25rem;
    }
}

/* Loading State for Match Score */
.match-score.loading {
    opacity: 0.5;
}

/* Pulse animation for CTA buttons */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.btn-affiliate.pulse {
    animation: pulse 2s infinite;
}

/* Smooth transitions for all interactive elements */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

button,
a,
.option-card,
.recommendation-card {
    transition-duration: 0.2s;
}

/* Focus states for accessibility */
button:focus-visible,
a:focus-visible,
.option-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
