header {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0e7ff 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-image {
    margin-top: 60px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    background: var(--white);
    max-width: 100%;
    height: auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.features {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 30px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

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

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.screenshot-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

.screenshot-item img {
    width: 100%;
    display: block; /* Removes potential whitespace below image */
}

.info-section {
    padding: 80px 0;
    background: var(--white);
}

.info-section.alt-bg {
    background: var(--bg-light);
}

.steps-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.update-log {
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid var(--primary-color);
    padding-left: 30px;
}

.update-item {
    position: relative;
    margin-bottom: 30px;
}

.update-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.update-date {
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.open-source {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #24292e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
    transition: opacity 0.3s;
}

.github-link:hover {
    opacity: 0.9;
}

.more-extensions {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    text-align: center;
}

.more-extensions h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.more-extensions p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.extension-link {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s;
}

.extension-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .screenshot-grid { grid-template-columns: 1fr; }
    header { padding: 100px 0 60px; }
}

#how-to-use {
    padding: 100px 0;
    background: var(--white);
}

.step-by-step {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
}

.step-content h3 {
    margin-bottom: 5px;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

#update-log {
    padding: 100px 0;
    background: var(--bg-light);
}

.changelog {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.changelog li {
    padding: 25px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.changelog li:not(:last-child) {
    margin-bottom: 20px;
}

.changelog .version {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.changelog .date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.changelog .description p {
    margin: 0;
    line-height: 1.6;
}

#open-source {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

#open-source .subtitle {
    max-width: 600px;
    margin: 20px auto 30px auto;
}

#open-source .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}