/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #2b2b2b;
    color: #fff;
    line-height: 1.6;
}

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

/* Header styles */
header {
    padding: 2rem 0;
    text-align: center;
}

h1 {
    font-size: 3rem;
    background: linear-gradient(to bottom, #B386DA, #433D91);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

/* Hero section styles */
.hero {
    text-align: center;
    padding:  0;
}

.hero-image {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 1rem auto;
    border-radius: 30px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

.subtitle {
    font-size: 0.9rem;
    color: #a0aec0;
    margin-bottom: 1rem;
}

.github-link {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.9rem;
}

.github-link:hover {
    color: #B386DA;
}

/* Features section styles */
/* Features section styles */
.features {
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Add gap between cards */
}

.feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem; /* Add spacing at the bottom of each feature */
    padding: 1.5rem; /* Add padding inside each card */
    gap: 1rem; /* Add spacing between image and content */
    border-radius: 15px;
    background-color: #333; /* Optional: add background color for better contrast */
}

/* Adjust alignment and responsiveness for smaller screens */
@media (max-width: 768px) {
    .feature {
        flex-direction: column; /* Stack content vertically on small screens */
        text-align: center;
    }

    .feature-image {
        margin-bottom: 1rem;
    }
}

.feature-image {
    flex: 1;
    margin-right: 2rem;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;

}

.feature-subtitle {
    font-size: 1rem;
    color: #a0aec0;
    margin-bottom: 1rem;
}

.tabs {
    display: flex;
    justify-content: space-around;
    background-color: #333;
    border-radius: 25px;
    padding: 0.5rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.tab {
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab.active {
    background-color: #B386DA;
    color: #2b2b2b;
}

/* FAQ section styles */
.faq {
    padding: 4rem 0;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.accordion-item {
    border-bottom: 1px solid #333;
}

.accordion-header {
    padding: 1rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 200px;
}


/* CTA section styles */
.cta {
    text-align: center;
    padding: 4rem 0;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: #B386DA;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #433D91;
}

/* iOS specific styles */
.ios-frame {
    border: 10px solid #222;
    border-radius: 40px;
    overflow: hidden;
}

.ios-notch {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 25px;
    height: 50%;
    background-color: #222;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    z-index: 10;
}

/* Scroll animation styles */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-image {
        width: 100%;
        height: 0;
        padding-bottom: 50%; /* Maintain 2:1 aspect ratio */
    }
    .feature {
        flex-direction: column;
        gap: 1.5rem;
    }
    .feature-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .tabs {
        max-width: 100%;
    }
}
