/* ========================================
   Custard Landing Page Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-yellow: #FACC15;
    --primary-yellow-dark: #EAB308;
    --dark-slate: #1E293B;
    --dark-slate-light: #334155;
    --accent-green: #059669;
    --accent-green-dark: #047857;
    --accent-green-light: #10B981;
    --bg-warm: #FAFAF9;
    --bg-white: #FFFFFF;
    --text-dark: #0F172A;
    --text-medium: #475569;
    --text-light: #94A3B8;
    --border-light: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-warm);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--bg-white);
    box-shadow: var(--shadow-md), 0 4px 6px -1px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 8px 12px -2px rgba(5, 150, 105, 0.4);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    border-radius: var(--border-radius-lg);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ========================================
   Header
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.logo-icon {
    color: var(--primary-yellow);
    font-size: 28px;
}

.logo-text {
    color: var(--dark-slate);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-medium);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-green);
}

.header-cta {
    padding: 10px 20px;
    font-size: 14px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-warm) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 24px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--accent-green);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 12px;
}

/* ========================================
   Bonus Badge Styles
   ======================================== */

.bonus-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #FBBF24 100%);
    border-radius: var(--border-radius-lg);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.bonus-icon {
    font-size: 24px;
}

.bonus-text {
    color: var(--dark-slate);
}

.bonus-text strong {
    font-size: 22px;
    color: #059669;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 25px rgba(250, 204, 21, 0.6);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark-slate);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    margin-bottom: 24px;
}

.hero-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-medium);
}

.hero-note .bonus-highlight {
    color: var(--accent-green);
    font-weight: 700;
}

/* ========================================
   QR Code Section
   ======================================== */

.qr-section {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    padding: 16px 24px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.qr-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.qr-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-green);
}

/* ========================================
   Trust Badges
   ======================================== */

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
}

.trust-icon {
    font-size: 18px;
}

/* Floating Cards Animation */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.card-emoji {
    font-size: 24px;
}

.card-text {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-green);
}

.card-1 {
    top: 25%;
    left: 8%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 8%;
    animation-delay: 2s;
}

.card-3 {
    top: 60%;
    left: 12%;
    animation-delay: 4s;
}

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

/* ========================================
   How It Works Section
   ======================================== */

.how-it-works {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-medium);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 32px 24px;
    background-color: var(--bg-warm);
    border-radius: var(--border-radius-xl);
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background-color: var(--primary-yellow);
    color: var(--dark-slate);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 36px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-description {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 16px;
    margin-top: 60px;
}

.connector-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--accent-green) 100%);
}

.connector-arrow {
    font-size: 24px;
    color: var(--accent-green);
    margin-left: 8px;
}

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: 100px 0;
    background-color: var(--bg-warm);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-yellow);
}

.highlight-card {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, rgba(250, 204, 21, 0.05) 100%);
    border-color: var(--accent-green);
}

.highlight-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 10px 40px -10px rgba(5, 150, 105, 0.3);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: var(--bg-warm);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 28px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
}

.feature-description strong {
    color: var(--accent-green);
}

/* ========================================
   Screenshots Section
   ======================================== */

.screenshots {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.screenshot-card {
    position: relative;
    background-color: var(--bg-warm);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.screenshot-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background-color: var(--primary-yellow);
    color: var(--dark-slate);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    z-index: 10;
}

.screenshot-image {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border-light);
}

.screenshot-info {
    padding: 24px;
}

.screenshot-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-slate);
}

.screenshot-info p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ========================================
   Stats Section
   ======================================== */

.stats {
    padding: 80px 0;
    background-color: var(--dark-slate);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-yellow);
    margin-bottom: 8px;
}

.stat-unit {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-yellow-dark);
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
    padding: 100px 0;
    background-color: var(--bg-warm);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

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

.testimonial-rating {
    color: var(--primary-yellow);
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.author-badge {
    font-size: 12px;
    color: var(--accent-green);
    font-weight: 500;
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-slate) 0%, var(--dark-slate-light) 100%);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-note {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-note .bonus-highlight {
    color: var(--primary-yellow);
    font-weight: 700;
}

/* ========================================
   UK Notice Banner
   ======================================== */

.uk-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.3);
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.uk-notice-icon {
    font-size: 18px;
}

/* ========================================
   Secondary CTA
   ======================================== */

.hero-secondary-cta {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-green);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.hero-secondary-cta:hover {
    color: var(--accent-green-dark);
}

/* ========================================
   Comparison Section
   ======================================== */

.comparison {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.comparison-table th {
    background-color: var(--dark-slate);
    color: var(--bg-white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table th.highlight-col {
    background-color: var(--accent-green);
}

.comparison-table td {
    font-size: 15px;
    color: var(--text-medium);
}

.comparison-table td.highlight-col {
    background-color: rgba(5, 150, 105, 0.05);
    color: var(--text-dark);
    font-weight: 500;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background-color: var(--bg-warm);
}

.comparison-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
    padding: 100px 0;
    background-color: var(--bg-warm);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    padding: 28px;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-yellow);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-slate);
}

.faq-answer {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 60px 0 30px;
    background-color: var(--bg-warm);
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-description {
    font-size: 15px;
    color: var(--text-medium);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 12px;
    color: var(--text-light);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        height: 64px;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 85px 0 50px;
    }

    .hero-title {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .bonus-badge {
        font-size: 13px;
        padding: 8px 14px;
        margin-bottom: 14px;
    }

    .uk-notice {
        font-size: 13px;
        padding: 6px 12px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .btn-large {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
        font-size: 16px;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-note {
        font-size: 13px;
    }

    .hero-secondary-cta {
        font-size: 13px;
    }

    .bonus-text strong {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-connector {
        display: none;
    }

    .step-card {
        max-width: 100%;
    }

    .features-grid,
    .testimonials-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        gap: 16px;
    }

    .trust-badge {
        font-size: 13px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-number {
        font-size: 32px;
    }

    .qr-image {
        width: 80px;
        height: 80px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px;
        font-size: 13px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 0 40px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .btn-large {
        padding: 14px 20px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 24px;
    }

    .stat-number {
        font-size: 26px;
    }

    .cta-title {
        font-size: 24px;
    }

    .qr-section {
        padding: 12px 16px;
    }

    .qr-image {
        width: 70px;
        height: 70px;
    }

    .faq {
        padding: 60px 0;
    }

    .comparison {
        padding: 60px 0;
    }
}

/* ========================================
   Animations
   ======================================== */

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

.hero-content > * {
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-content > *:nth-child(2) {
    animation-delay: 0.1s;
}

.hero-content > *:nth-child(3) {
    animation-delay: 0.2s;
}

.hero-content > *:nth-child(4) {
    animation-delay: 0.3s;
}

.hero-content > *:nth-child(5) {
    animation-delay: 0.4s;
}

/* ========================================
   Screen Reader Only (Accessibility)
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Show sr-only text on focus for accessibility */
.sr-only:focus {
    position: absolute;
    width: auto;
    height: auto;
    padding: 8px 16px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: var(--bg-warm);
    color: var(--text-dark);
    z-index: 10000;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    max-width: 400px;
}

/* ========================================
   Lightbox Styles
   ======================================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 16px;
    color: var(--bg-white);
    font-size: 16px;
    text-align: center;
    max-width: 600px;
    line-height: 1.5;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--bg-white);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--primary-yellow);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: var(--bg-white);
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px;
    transition: color var(--transition-fast), transform var(--transition-fast);
    z-index: 10001;
}

.lightbox-nav:hover {
    color: var(--primary-yellow);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Screenshot hover effect for clickable images */
.screenshot-card {
    cursor: pointer;
}

.screenshot-card .screenshot-image {
    transition: transform var(--transition-normal), filter var(--transition-normal);
}

.screenshot-card:hover .screenshot-image {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Click indicator */
.screenshot-card::after {
    content: '🔍 Click to enlarge';
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background-color: rgba(5, 150, 105, 0.9);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 10;
}

.screenshot-card:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 30px;
        padding: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 32px;
    }

    .lightbox-caption {
        font-size: 14px;
        padding: 0 16px;
    }

    .screenshot-card::after {
        display: none;
    }
}
