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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.nav-logo h2 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #f8fafc;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #5DADE2;
}

.nav-btn {
    background: #5DADE2;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background: #4A94C7;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
}

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

/* Smooth transitions */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 3rem 2rem;
}

.hero-text {
    grid-column: 1;
    grid-row: 1;
}

.hero-image {
    grid-column: 2;
    grid-row: 1 / span 2;
}

/* Hero Downloads Section */
.hero-downloads {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-column: 1;
    grid-row: 2;
}

/* Desktop alignment for downloads */
@media (min-width: 769px) {
    .hero-downloads {
        align-items: flex-start;
        padding-left: 0;
    }

    .qr-section {
        align-items: flex-start !important;
        text-align: left;
    }

    .qr-text {
        text-align: left;
    }
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-text p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.6;
    animation: fadeInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-qr {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 10px -2px rgba(0, 0, 0, 0.15);
    max-width: 380px;
    animation: fadeInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-qr .qr-code {
    animation: gentleFloat 3s ease-in-out infinite;
}

.qr-code {
    width: 160px;
    height: 160px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-qr p {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
}

.hero-image {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.hero-image img {
    max-width: 140%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.15));
    transform: scale(1.08);
    background: transparent;
    animation: fadeInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.features h2.animate-on-scroll {
    transform: translateY(30px);
}

.features h2.animate-on-scroll.visible {
    transform: translateY(0);
}

.features > p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
}

.features > p.animate-on-scroll {
    transform: translateY(30px);
}

.features > p.animate-on-scroll.visible {
    transform: translateY(0);
}

/* New Feature Block Layout */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 3rem;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-block.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.feature-block.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Default: Text left, Image right */
.feature-content {
    order: 1;
}

.feature-visual {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Signature: a soft tinted "stage" behind each real app screen */
.feature-visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: min(360px, 90%);
    height: 90%;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%) rotate(4deg);
    background: linear-gradient(155deg, rgba(93, 173, 226, 0.22), rgba(93, 173, 226, 0.04) 70%);
    border-radius: 32px;
}

.feature-block.reverse .feature-visual::before {
    transform: translate(-50%, -50%) rotate(-4deg);
}

/* Reverse: Image left, Text right */
.feature-block.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-block.reverse .feature-content {
    order: 2;
}

.feature-block.reverse .feature-visual {
    order: 1;
}

.feature-label {
    display: inline-flex;
    align-items: center;
    color: #5DADE2;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Eyebrow reads as a structural marker, not floating text */
.feature-label::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    background: #5DADE2;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-content > p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.feature-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkmark {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item span {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-btn {
    display: inline-block;
    background: #5DADE2;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.feature-btn:hover {
    background: #4A94C7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(93, 173, 226, 0.3);
}

.feature-visual img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.feature-block:hover .feature-visual img {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(93, 173, 226, 0.2);
}

/* Respect reduced-motion: no reveal, no hover transforms */
@media (prefers-reduced-motion: reduce) {
    .feature-block.animate-on-scroll,
    .feature-block.animate-on-scroll.visible {
        opacity: 1;
        transform: none;
    }

    .feature-visual img,
    .feature-block:hover .feature-visual img {
        transform: none;
        transition: none;
    }

    .feature-btn:hover {
        transform: none;
    }
}

/* Download CTA Section */
.download-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #5DADE2 0%, #A9DFBF 100%);
    color: white;
}

.download-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.download-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-cta h2.animate-on-scroll {
    transform: translateY(30px);
}

.download-cta h2.animate-on-scroll.visible {
    transform: translateY(0);
}

.download-container > p {
    font-size: 1.5rem;
    opacity: 0.9;
}

.download-container > p.animate-on-scroll {
    transform: translateY(30px);
}

.download-container > p.animate-on-scroll.visible {
    transform: translateY(0);
}

.celebration-image {
    margin-bottom: 0.5rem;
}

.celebration-image img {
    width: 400px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.download-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0.5rem;
}

.download-qr.animate-on-scroll {
    transform: translateY(30px);
}

.download-qr.animate-on-scroll.visible {
    transform: translateY(0);
}

.download-qr .qr-code.large {
    animation: gentlePulse 4s ease-in-out infinite;
}

.qr-code.large {
    width: 200px;
    height: 200px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 1rem;
    padding: 8px;
}

/* Apple Store Button Styles */
.apple-store-btn {
    display: inline-block;
}

.apple-store-img {
    width: 200px;
    height: auto;
    animation: gentleFloat 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.apple-store-img:hover {
    transform: translateY(-2px);
}

/* QR Section Styles */
.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0.5rem;
}

.qr-text {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Privacy Badge Styles */
.privacy-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #5DADE2;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    max-width: 450px;
}

.privacy-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.privacy-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.privacy-text strong {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 700;
}

.privacy-text span {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.4;
}

.download-qr p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Support Section */
.support {
    padding: 6rem 0;
    background: white;
}

.support-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.support h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.support p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.support-email {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #5DADE2;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid #5DADE2;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.support-email:hover {
    background: #5DADE2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(93, 173, 226, 0.3);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: #1e293b;
    color: white;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.faq h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.faq h2.animate-on-scroll {
    transform: translateY(30px);
}

.faq h2.animate-on-scroll.visible {
    transform: translateY(0);
}

.faq > p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.animate-on-scroll {
    transform: translateY(30px);
}

.faq-item.animate-on-scroll.visible {
    transform: translateY(0);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #5DADE2;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #5DADE2;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #5DADE2;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-answer p {
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 2px solid rgba(93, 173, 226, 0.3);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.footer-brand p {
    color: #94a3b8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-link {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    color: white;
    background: #5DADE2;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Laptop and medium screen responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content {
        gap: 2.5rem 1.5rem;
    }
}

/* Tablet and small desktop responsiveness */
@media (max-width: 1024px) {
    .features-list {
        gap: 4rem;
    }

    .feature-block {
        gap: 3rem;
    }

    .feature-content h3 {
        font-size: 1.75rem;
    }

    .feature-visual img {
        width: 350px;
    }

    .feature-benefits {
        gap: 0.75rem;
    }
}

/* Force single column on mobile and tablet screens */
@media (max-width: 900px) {
    .features-list {
        gap: 3rem;
    }

    .feature-block {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* Stack vertically on mobile - image always on top */
    .feature-content {
        order: 2 !important;
    }

    .feature-visual {
        order: 1 !important;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-benefits {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-visual img {
        width: 100%;
        max-width: 350px;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .nav-logo img {
        width: 28px;
        height: 28px;
    }

    .nav-logo h2 {
        font-size: 1.25rem;
    }

    .footer-logo img {
        width: 32px;
        height: 32px;
    }

    /* Mobile menu styling */
    .mobile-menu-btn {
        color: white !important;
    }

    .nav-menu[style*="flex-direction: column"] .nav-link {
        color: white !important;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu[style*="flex-direction: column"] .nav-btn {
        margin-top: 0.5rem;
        /* align-self: flex-start; */
    }

    /* Mobile touch effects */
    @media (hover: none) and (pointer: coarse) {
        .nav-link:active {
            color: #5DADE2 !important;
            background: rgba(93, 173, 226, 0.1);
            transform: scale(0.98);
        }

        .nav-btn:active {
            background: #4A94C7 !important;
            transform: scale(0.95);
        }

        .mobile-menu-btn:active {
            transform: scale(0.9);
            opacity: 0.8;
        }
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-bottom: 0;
    }

    .hero-downloads {
        order: 3;
        align-items: center;
        margin-top: 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-qr {
        justify-content: center;
        margin: 0 auto;
        max-width: 320px;
        padding: 1.5rem;
        gap: 1rem;
    }

    .qr-code {
        /* width: 100px; */
        /* height: 100px; */
        padding: 6px;
    }

    .hero-image img {
        max-width: 100%;
        transform: scale(1);
    }

    /* Mobile Apple Store Button */
    .apple-store-img {
        width: 180px;
        max-width: 100%;
    }

    .qr-text {
        font-size: 0.95rem;
        /* margin-bottom: 1.25rem; */
    }

    .privacy-badge {
        padding: 0.875rem 1.25rem;
        margin-top: 1.5rem;
        max-width: 100%;
    }

    .privacy-icon {
        width: 36px;
        height: 36px;
    }

    .privacy-text strong {
        font-size: 0.95rem;
    }

    .privacy-text span {
        font-size: 0.825rem;
    }

    .features h2 {
        font-size: 2rem;
    }

    .features > p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .features-list {
        gap: 2.5rem;
    }

    .feature-content h3 {
        font-size: 1.35rem;
    }

    .feature-content > p {
        font-size: 0.95rem;
    }

    .benefit-item span {
        font-size: 0.9rem;
    }

    .feature-btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }

    .feature-visual img {
        max-width: 300px;
    }

    .celebration-image img {
        width: 240px;
    }

    .download-container {
        gap: 0.75rem;
        padding: 0 20px;
    }

    .download-cta h2 {
        font-size: 1.75rem;
    }

    .download-container > p {
        font-size: 1.2rem;
    }

    .support h2 {
        font-size: 1.75rem;
    }

    .support p {
        font-size: 1.1rem;
    }

    .support-email {
        font-size: 1.25rem;
        padding: 0.875rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-links {
        justify-content: center;
        gap: 0.75rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 2rem;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .features {
        padding: 4rem 0;
    }

    .download-cta {
        padding: 4rem 0;
    }

    .features-list {
        gap: 2rem;
    }

    .feature-content h3 {
        font-size: 1.25rem;
    }

    .feature-content > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .feature-benefits {
        margin-bottom: 1.5rem;
    }

    .benefit-item span {
        font-size: 0.85rem;
    }

    .feature-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-visual img {
        max-width: 280px;
    }

    .qr-code.large {
        width: 150px;
        height: 150px;
    }

    /* Extra small mobile Apple Store Button */
    .apple-store-img {
        width: 160px;
    }

    .qr-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-image {
        padding: 0.5rem;
    }

    .privacy-badge {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .privacy-text {
        text-align: center;
    }

    .privacy-text strong {
        font-size: 0.9rem;
    }

    .privacy-text span {
        font-size: 0.8rem;
    }

    /* FAQ Mobile Responsive */
    .faq h2 {
        font-size: 2rem;
    }

    .faq > p {
        font-size: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        max-height: 250px;
        padding: 1rem;
    }

    .faq-icon {
        font-size: 1.25rem;
    }
}

/* Accessibility - Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    /* Disable all animations for users who prefer reduced motion */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    /* Remove floating and pulsing animations */
    .hero-qr .qr-code,
    .download-qr .qr-code.large {
        animation: none !important;
    }

    /* Simplify transforms for better accessibility */
    .animate-on-scroll {
        transform: none !important;
    }

    .animate-on-scroll.visible {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ==========================================================================
   Why NoGambling (brand narrative) + Compare section
   ========================================================================== */

.why-nogambling {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    padding: 5rem 1.5rem;
}

.why-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.why-nogambling h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.why-lede {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #334155;
    text-align: left;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #5DADE2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.why-lede strong {
    color: #1e293b;
}

.why-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.why-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.compare-section {
    padding: 5rem 1.5rem;
    background: #ffffff;
}

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

.compare-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.compare-lede {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #64748b;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.compare-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.compare-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #5DADE2;
}

.compare-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.compare-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 1.25rem;
    flex: 1;
}

.compare-card .compare-link {
    color: #5DADE2;
    font-weight: 600;
    font-size: 0.9375rem;
}

.compare-card-pillar {
    background: linear-gradient(135deg, #5DADE2 0%, #3b82f6 100%);
    border-color: #3b82f6;
    color: #ffffff;
}

.compare-card-pillar h3,
.compare-card-pillar p,
.compare-card-pillar .compare-link {
    color: #ffffff;
}

.compare-card-pillar:hover {
    border-color: #ffffff;
}

@media (max-width: 768px) {
    .why-nogambling,
    .compare-section {
        padding: 3rem 1rem;
    }

    .why-nogambling h2,
    .compare-section h2 {
        font-size: 1.75rem;
    }

    .why-lede {
        font-size: 1rem;
        padding: 1.5rem;
    }

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

/* ==========================================================================
   Comparison page template (used by /compare/*.html)
   ========================================================================== */

.cmp-breadcrumbs {
    max-width: 900px;
    margin: 6rem auto 1.5rem;
    padding: 0 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.cmp-breadcrumbs a {
    color: #5DADE2;
    text-decoration: none;
}

.cmp-breadcrumbs a:hover {
    text-decoration: underline;
}

.cmp-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 1.5rem 4rem;
    color: #334155;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.cmp-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.cmp-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cmp-tldr {
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #5DADE2;
    padding: 1.5rem 1.75rem;
    border-radius: 8px;
    margin: 2rem 0 3rem;
}

.cmp-tldr h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1e40af;
    margin: 0 0 0.75rem;
}

.cmp-tldr p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #1e293b;
}

.cmp-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 3rem 0 1rem;
    line-height: 1.3;
}

.cmp-container h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2rem 0 0.75rem;
}

.cmp-container p {
    margin: 0 0 1.25rem;
}

.cmp-container ul,
.cmp-container ol {
    margin: 0 0 1.5rem 1.5rem;
}

.cmp-container li {
    margin-bottom: 0.5rem;
}

.cmp-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0 2.5rem;
    -webkit-overflow-scrolling: touch;
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
    font-size: 0.9375rem;
}

.cmp-table th,
.cmp-table td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
}

.cmp-table thead th {
    background: #f1f5f9;
    font-weight: 700;
    color: #1e293b;
}

.cmp-table tbody th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.cmp-table .cmp-yes { color: #16a34a; font-weight: 700; }
.cmp-table .cmp-no { color: #dc2626; font-weight: 700; }
.cmp-table .cmp-partial { color: #d97706; font-weight: 700; }

.cmp-verdict {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.cmp-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.5rem 0 2.5rem;
}

.cmp-pros,
.cmp-cons {
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.cmp-pros {
    background: #ecfdf5;
    border-color: #bbf7d0;
}

.cmp-cons {
    background: #fef2f2;
    border-color: #fecaca;
}

.cmp-pros h3,
.cmp-cons h3 {
    margin: 0 0 0.75rem;
    font-size: 1.0625rem;
}

.cmp-pros ul,
.cmp-cons ul {
    margin: 0 0 0 1.25rem;
}

.cmp-faq {
    margin: 2rem 0;
}

.cmp-faq details {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.cmp-faq summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    list-style: none;
}

.cmp-faq summary::-webkit-details-marker {
    display: none;
}

.cmp-faq summary::after {
    content: '+';
    float: right;
    font-weight: 700;
    color: #5DADE2;
}

.cmp-faq details[open] summary::after {
    content: '−';
}

.cmp-faq details[open] summary {
    background: #eef6ff;
}

.cmp-faq details p {
    padding: 1rem 1.25rem;
    margin: 0;
}

.cmp-cta {
    text-align: center;
    margin: 3rem 0 1rem;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #5DADE2 0%, #3b82f6 100%);
    color: #ffffff;
    border-radius: 16px;
}

.cmp-cta h2 {
    color: #ffffff;
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
}

.cmp-cta p {
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.5rem;
}

.cmp-cta a {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: #ffffff;
    color: #1e40af;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.cmp-cta a:hover {
    transform: translateY(-2px);
}

.cmp-cta small {
    display: block;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
}

.cmp-footer-note {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    font-size: 0.9375rem;
    color: #78350f;
}

.cmp-related {
    margin: 2.5rem 0 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #5DADE2;
}

.cmp-related h3 {
    margin: 0 0 1rem;
    color: #1e293b;
}

.cmp-related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cmp-related li {
    margin-bottom: 0.5rem;
}

.cmp-related a {
    color: #5DADE2;
    font-weight: 600;
    text-decoration: none;
}

.cmp-related a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cmp-container h1 { font-size: 1.875rem; }
    .cmp-container h2 { font-size: 1.4rem; }
    .cmp-pros-cons { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Feature landing page template
   ========================================================================== */

.feat-hero {
    padding: 8rem 1.5rem 3rem;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.feat-hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.feat-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.feat-hero-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.75rem;
}

.feat-hero-image img {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.feat-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    color: #334155;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.feat-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 3rem 0 1rem;
}

.feat-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2rem 0 0.75rem;
}

.feat-body p {
    margin: 0 0 1.25rem;
}

.feat-body ul, .feat-body ol {
    margin: 0 0 1.5rem 1.5rem;
}

.feat-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feat-related-card {
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
}

.feat-related-card:hover {
    border-color: #5DADE2;
    transform: translateY(-2px);
}

.feat-related-card h4 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: #1e293b;
}

.feat-related-card p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .feat-hero {
        padding: 6rem 1rem 2rem;
    }
    .feat-hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .feat-hero-text h1 { font-size: 1.875rem; }
}
