* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #040102;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navbar styles */
.navbar {
    background-color: rgba(4, 1, 2, 0.30);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);  /* For Safari support */
    padding: 8px 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000; 
    font-family: 'Nunito Sans', sans-serif; 
    transition: transform 0.3s ease-in-out;
}

.navbar--hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 100%;
    margin: 0 112px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 112px;
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
}

.nav-links a:hover {
    opacity: 0.8;
}

.cta-button {
    background: linear-gradient(to right, #0062FF, #00B2FF);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
}

.cta-button:hover {
    opacity: 0.9;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

/* Hero section styles */
.hero {
    position: relative;
    text-align: center;
    padding: 40px 24px 8px;
    max-width: 800px;
    margin: 80px auto 0 auto;
}

.hero-label {
    color: #F5F5F4;
    box-shadow: 
        0 1px 4px rgba(255, 255, 255, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 8px 24px;
    border-radius: 100px;
    margin-bottom: 16px;
    font-size: 14px;
    font-family: 'Nunito Sans', sans-serif; 
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
    color: white;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: white;
    margin-bottom: 24px;
    max-width: 712px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Nunito Sans', sans-serif;
}

.hero-cta {
    background: linear-gradient(to right, #0062FF, #00B2FF);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 16px 32px;
    cursor: pointer;
    font-size: 16px;
}

.hero-cta:hover {
    opacity: 0.9;
}

.hero-image {
    position: relative;
    margin-top: 0px;
    width: 100%;
}

.hero-floating-elements {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-image {
    content: url("../assets/images/Hero image w elements.svg");
}

.hero-background {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    width: 1440px;
}

/* How it works section styles */
.how-it-works {
    text-align: center;
    padding: 40px 24px;
    max-width: 712px;
    margin: 0 auto;
}

.section-label {
    color: #F5F5F4;
    box-shadow: 
        0 1px 4px rgba(255, 255, 255, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 8px 24px;
    border-radius: 100px;
    margin-bottom: 16px;
    font-size: 14px;
    font-family: 'Nunito Sans', sans-serif; 
}

.section-title {
    font-size: 36px;
    font-weight: 500; 
    line-height: 40px;
    color: white;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: white;
    margin-bottom: 24px;
    font-family: 'Nunito Sans', sans-serif; 
}

.how-it-works-container {
    position: relative;
    margin: 0 auto;
}

.works-overlay-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.how-it-works-cards {
    position: relative;
    backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 112px 40px 112px;
}

.card {
    border-radius: 12px;
    border: 0.5px solid #F8FAFC;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
}

.card-title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: white;
    margin: 16px 0;
    font-family: 'Nunito Sans', sans-serif; 
}

.card-text {
    font-size: 16px;
    line-height: 24px;
    color: #A1A1AA;
    font-family: 'Nunito Sans', sans-serif; 
}

.card-icon {
    width: 48px;
    height: 48px;
}

/* Features section styles */
.features {
    text-align: center;
    padding: 40px 24px;
    max-width: 712px;
    margin: 0 auto;
}

.features-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 40px;
    color: white;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
}

.features-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: white;
    margin-bottom: 32px;
}

.features-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 24px;
    align-items: start;
}

.features-tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-tab {
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 24px;
    border-radius: 12px;
    transition: background-color 0.3s;
}

.feature-tab.active {
    background: rgba(255, 255, 255, 0.05);
}

.feature-tab h3 {
    color: white;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.feature-tab p {
    color: #A1A1AA;
    font-size: 14px;
    line-height: 20px;
    font-family: 'Nunito Sans', sans-serif; 
}

.feature-preview {
    background: linear-gradient(135deg, rgba(0, 98, 255, 0.1), rgba(0, 178, 255, 0.1));
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    height: 415px;
    position: relative;
}

.feature-preview img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
}

.feature-preview img.active {
    opacity: 1;
    position: relative;
}

/* FAQs section styles */
.faqs {
    text-align: center;
    padding: 40px 24px;
    max-width: 712px;
    margin: 0 auto;
}

.faqs-container {
    max-width: 768px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.faq-item {
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #A1A1AA;
    border-radius: 16px;
    overflow: hidden; 
}

.faq-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: transparent;
    border: none;
    color: white;
    text-align: left;
    cursor: pointer;
}

.faq-button span {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    font-family: 'Nunito Sans', sans-serif; 
}

.faq-button .collapse-icon,
.faq-button .expand-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-button .collapse-icon {
    display: none;
    transform: rotate(0deg);
}

.faq-button .expand-icon {
    transform: rotate(0deg);
}

.faq-item.active .collapse-icon {
    display: block;
    transform: rotate(180deg);
}

.faq-item.active .expand-icon {
    display: none;
    transform: rotate(-180deg);
}

.faq-content {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-20px);
    transition: 
        height 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-content {
    opacity: 1;
    transform: translateY(0);
    padding: 0 24px 24px; 
}

.faq-content p {
    color: #A1A1AA;
    font-size: 14px;
    line-height: 20px;
    font-family: 'Nunito Sans', sans-serif; 
    margin: 0;
    padding-top: 4px;
}

/* Footer CTA styles */
.footer-cta {
    text-align: center;
    padding: 40px 24px;
    background-size: cover;
    color: white; 
}

.footer-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-title {
    margin-bottom: 16px; 
}

.footer-cta-button {
    background: linear-gradient(to right, #0062FF, #00B2FF);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif; 
}

.footer-cta-button:hover {
    opacity: 0.9;
}

/* Footer styles */
.footer {
    color: white;
    max-width: 1200px; 
    padding: 64px 40px 40px 40px; 
    margin: 0 auto; 
    text-align: left;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    height: 100%; 
    width: 100%;
}

.footer-left {
    width: 312px; 
}

.footer-logo {
    width: 72px;
    height: 48px;
}

.footer-slogan {
    margin-bottom: 16px;
    font-family: 'Nunito Sans', sans-serif; 
    font-size: 14px;
    line-height: 20px;
    color: #A1A1AA;
}

.footer-email {
    display: flex;
    align-items: center;
    font-family: 'Nunito Sans', sans-serif; 
}

.email-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

.footer-right {
    /* max-width: calc(100% - 312px);  */
    width: 120px; 
}

.quick-links {
    font-family: 'Nunito Sans', sans-serif; 
    list-style: none;
    padding: 0;
    text-align: left;
}

.quick-links li a {
    color: #A1A1AA;
    text-decoration: none;
}

.quick-links li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #A1A1AA;
}

.quick-links a {
    color: white;
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif; 
}

.quick-links a:hover {
    opacity: 0.8;
}

.footer-divider {
    border-top: 0.5px solid #3F3F46;
    margin: 24px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links p {
    font-family: 'Nunito Sans', sans-serif; 
    font-size: 14px; 
    line-height: 20px; 
    color: #A1A1AA;
}

.footer-links a {
    color: #A1A1AA;
    font-family: 'Nunito Sans', sans-serif; 
    text-decoration: none;
    font-size: 14px;
    line-height: 20px;
}

.footer-links a:hover {
    opacity: 0.8;
}

.social-icons a {
    margin-left: 16px;
}

.social-icons img {
    width: 32px; 
    height: 32px;
}

.footer-right h4 {
    font-family: 'Nunito Sans', sans-serif; 
    font-size: 16px; 
    font-weight: 600;
    color: white; 
    margin-bottom: 12px; 
    text-align: left;
}

.footer-email a {
    color: white; 
    font-size: 16px; 
    text-decoration: none; 
}

.footer-email a:hover {
    opacity: 0.8; 
}

.footer-blur {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    z-index: -1;
}

/* Scroll animation */
.scroll-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Early access container */

.early-access-container {
    display: flex;
    gap: 16px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 16px 20px 0 20px;
}

.email-input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 12px;
    border: 0.5px solid #A1A1AA;
    background: #1C1C1E;
    color: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    min-width: 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none; /* Removes iOS default styling */
    -webkit-tap-highlight-color: transparent; /* Removes tap highlight on mobile */
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
    border-color: #0062FF; 
    box-shadow: 0 0 0 1px #0062FF;
    -webkit-box-shadow: 0 0 0 1px #0062FF; /* For Safari support */
}

/* Override WebKit's autofill styles */
.email-input:-webkit-autofill,
.email-input:-webkit-autofill:hover,
.email-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1px #0062FF, 0 0 0 30px #1C1C1E inset;
    transition: background-color 5000s ease-in-out 0s;
}
