/* Reset default margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* purple e387fc */
/* blue 6090d4 */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;  /* viewport height */
    line-height: 1.6;
    padding: 0;
    margin: 0;
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #f5f4fc;
    position: relative;
}

/* Add radial gradient to fade out center */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        #f5f4fc 0%,
        #f5f4fc 30%,
        rgba(245, 244, 252, 0) 70%
    );
    z-index: -1;
    pointer-events: none;
}

/* Update the pattern background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    z-index: -2;
    opacity: 0.2;
    pointer-events: none;
}

h1 {
    padding-bottom: 1rem;
    font-size: 3.4rem;
    font-family: "Barlow", serif;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
}

h2 {
    padding-bottom: 1rem;
    font-size: 1.8rem;
    font-family: "Barlow", serif;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
    margin-top: 2rem;
}

h3 {
    padding-bottom: 0.6rem;
    font-size: 1.8rem;
    font-family: "Barlow", serif;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
    margin-top: 1.5rem;
}

p {
    padding-bottom: 1rem;
    font-size: 1.1rem;
    font-size: 14px;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 2rem;
}

.medium-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

.small-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

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

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

.text-align-right {
    text-align: right;
}

.max-width-300 {
    max-width: 300px;
    margin: auto;
}

.max-width-400 {
    max-width: 400px;
    margin: auto;
}


.max-width-500 {
    max-width: 500px;
    margin: auto;
}

.max-width-600 {
    max-width: 600px;
    margin: auto;
}

.max-width-700 {
    max-width: 700px;
    margin: auto;
}

.nav {
    padding: 0rem;
    margin: 0.5rem;
}

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

.nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav .logo img {
    width: 50px;
}

.nav .menu ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav .menu ul li a {
    text-decoration: none;
    color: #333;
}

.nav .menu ul li a:hover {
    color: #007bff;
}

.nav .menu ul li a:active {
    color: #007bff;
}

.nav .menu ul li a.active {
    color: #007bff;
}

.nav .menu ul li a.button {
    margin: 0;
}

/* Make the Help button more subtle */
.nav .menu ul li:first-child a.button {
    background: #f0f0f0;
    color: #666 !important;
    box-shadow: none;
    animation: none;
}

.nav .menu ul li:first-child a.button:hover {
    background: #e6e6e6;
    color: #e387fc !important;
}

.grey-video-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(227, 135, 252, 0.2);
}

.grey-video-box img {
    width: 100%;
    border-radius: 1rem;
}

.grey-video-box img:hover {
    opacity: 0.8;
}

.grey-video-box img:active {
    opacity: 0.8;
}

.grey-video-box img:focus {
    opacity: 0.8;
}

.grey-video-box video {
    cursor: pointer;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 
            0 4px 15px rgba(227, 135, 252, 0.2),
            0 0 0 2px rgba(227, 135, 252, 0.1),
            0 0 0 4px rgba(227, 135, 252, 0.05);
    }
    50% {
        box-shadow: 
            0 4px 15px rgba(96, 144, 212, 0.2),
            0 0 0 2px rgba(96, 144, 212, 0.1),
            0 0 0 4px rgba(96, 144, 212, 0.05);
    }
}

a.button {
    background: linear-gradient(90deg, #e387fc 0%, #6090d4 100%);
    background-size: 200% 100%;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    margin: 1rem 0;
    display: inline-block;
    font-size: 14px;
    color: #fff !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: none;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 4px 15px rgba(227, 135, 252, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a.button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(227, 135, 252, 0.4),
        0 0 20px rgba(96, 144, 212, 0.3);
}

a.button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 10px 20px rgba(227, 135, 252, 0.3);
}

.store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.store-buttons ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.store-buttons ul li img {
    height: 70px;
}

.store-buttons ul li:hover {
    opacity: 0.8;
}

.store-buttons ul li:active {
    opacity: 0.8;
}

.footer {
    margin-top: auto;  /* This pushes the footer down */
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    width: 40px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e387fc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Add these styles for standard content lists */
.medium-container ul {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.medium-container li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Make sure navigation and footer lists aren't affected */
.nav ul,
.footer ul {
    padding-left: 0;
    margin-bottom: 0;
}

.nav li,
.footer li {
    margin-bottom: 0;
}

.image-grids-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .image-grids-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .image-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image-grid:nth-child(2) .tooltip-container {
        margin-top: 10px;
    }

    .browser-tooltip {
        position: relative;
        left: auto;
        transform: none;
    }
}

.image-grid {
    margin: 0;  /* Remove the existing margin */
}

.image-grid img {
    height: 30px;
    width: auto;
    filter: drop-shadow(0 0 4px rgba(227, 135, 252, 0.3));
    transition: all 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(227, 135, 252, 0.5));
}

.tooltip-container {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
}

.browser-tooltip {
    background-color: #f0f0f0;
    color: #666666;
    padding: 6px 12px;
    border-radius: 20px;
    position: relative;
    font-size: 12px;
    z-index: 1;
    text-align: center;
    display: inline-block;
    width: auto;
    min-width: fit-content;
    white-space: nowrap;
}

.browser-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.browser-icons img {
    height: 24px;
    width: auto;
    cursor: pointer;
}

/* Adjust spacing for header elements */
header .small-container {
    padding-bottom: 0.5rem;
}

/* Reduce spacing above video */
.medium-container {
    padding-top: 1rem;
}

.button img {
    height: 16px;
    width: auto;
    vertical-align: middle;
    margin-left: 8px;
}

.browser-icons a {
    text-decoration: none;
}

.help-text {
    display: inline-block;
    color: #666666;
    font-size: 14px;
    margin-right: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.help-text:hover {
    color: #e387fc;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #e387fc;
}

.modal-footer {
    text-align: center;
    margin-top: 1rem;
}

.modal-close-button {
    background: #f0f0f0;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-button:hover {
    background: #e6e6e6;
    color: #e387fc;
}

.faq-container {
    padding: 0 1rem;
    width: 100%;
}

.faq-section {
    width: 100%;
    margin: 2rem 0;
}

.faq-item {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(227, 135, 252, 0.2);
    transition: box-shadow 0.3s ease;
    box-sizing: border-box;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(227, 135, 252, 0.3);
    transform: none;
}

.faq-item h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.help-link {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: #e387fc;
}

.nav-link {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e387fc;
}

.faq-video {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-video video {
    display: block;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.faq-header h3 {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
}

.faq-header:hover {
    opacity: 0.8;
}

.faq-arrow {
    color: #666;
    transition: transform 0.3s ease;
    font-size: 16px;
}

.faq-content {
    display: none;
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-content p, 
.faq-content li {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.faq-content ol {
    margin: 0.5rem 0 1rem 1.2rem;
}

.faq-content ol li {
    padding-left: 0.3rem;
    margin-bottom: 0.5rem;
}

.faq-content ol li:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-content {
    display: block;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.search-container {
    margin: 2rem auto;
    max-width: 500px;
}

#faqSearch {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#faqSearch:focus {
    outline: none;
    border-color: #e387fc;
    box-shadow: 0 0 10px rgba(227, 135, 252, 0.2);
}

.faq-item.hidden {
    display: none;
}

.icon-container {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.icon-tooltip {
    position: absolute;
    bottom: -30px;
    background: #000000;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: fit-content;
}

.icon-tooltip::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #000000;
}

.icon-container:hover .icon-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}