:root {
    --primary: #6366f1;
    --secondary: #a855f7;
    --accent: #ec4899;
    --dark: #0f172a;
    --light: #f8fafc;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
}

.header {
    background: var(--gradient);
    padding: 4rem 2rem;
    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(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.download-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    margin: 2rem 0;
    position: relative;
    transition: transform 0.3s ease;
}

.download-section:hover {
    transform: translateY(-5px);
}

/* Centered Download Button */
.download-btn {
    display: block; /* Changed from inline-flex to block */
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    margin: 1.5rem auto; /* Auto margins for horizontal centering */
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: fit-content; /* Constrain to content width */
    text-align: center; /* Center text */
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    transition: 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn i {
    font-size: 1.2rem;
}

/* Rest of original CSS remains unchanged */
.download-info {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.checksum {
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checksum:hover {
    background: rgba(255,255,255,0.1);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    opacity: 0.8;
    font-size: 0.95rem;
}

footer {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    text-align: center;
    margin-top: 4rem;
    backdrop-filter: blur(10px);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .download-info {
        flex-direction: column;
    }
}
/* App Screenshot Styles */
.app-screenshot {
    text-align: center;
    margin: 30px 0;
}

.screenshot-img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.screenshot-caption {
    margin-top: 10px;
    color: #666;
    font-style: italic;
}
/* Usage Guide Styles */
.usage-guide {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 2px solid #eee;
}

.guide-title {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
    font-size: 28px;
}

.usage-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
}

.usage-step.reversed {
    direction: rtl;
}

/* Adjust image container */
.step-image {
    max-width: 600px; /* Control maximum width */
    margin: 0 auto; /* Center the image */
}
.step-image-2 img {
    max-height: 500px;
}
/* Control image size */
.step-image img {
    max-width: 100%; /* Never wider than container */
    height: auto; /* Maintain aspect ratio */
    max-height: 300px; /* Maximum height */
    object-fit: cover; /* Prevent distortion */
    border-radius: 8px;
}

.step-text {
    padding: 20px;
}

.step-text h3 {
    color: #3498db;
    font-size: 24px;
    margin-bottom: 15px;
}

.step-text ul {
    list-style: none;
    padding-left: 0;
}

.step-text li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #ffffff;
}

.step-text li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .usage-step {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .usage-step.reversed {
        direction: ltr;
    }
    
    .step-image img {
        max-height: 250px;
    }

.step-image.fixed-size {
    width: 500px;
    height: 300px;
}
}

.usage-step.reversed .step-image {
    order: 2; 
}

.usage-step.reversed .step-text {
    order: 1; /* Move text to left */
    text-align: left; /* Ensure text alignment */
}
.thank-you-section {
    text-align: center;
    padding: 30px 0;
    margin: 40px 0;
    background-color: #0f172a;
    border-radius: 8px;
}

.thank-you-section h2 {
    color:  #d3d3d3;
    margin-bottom: 15px;
}

.thank-you-section p {
    color:  #d3d3d3;
    font-size: 18px;
}
/* Ad Containers */
.ad-container {
    margin: 20px 0;
    padding: 10px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.header-ad {
    margin-bottom: 15px;
}

.content-ad {
    margin: 30px 0;
}

.footer-ad {
    margin-top: 30px;
}

/* Responsive Ads */
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}
.sticky-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(27, 34, 51);
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}
.ad-container {
    margin: 25px auto;
    padding: 15px;
    text-align: center;
    background: rgb(25, 33, 51);
    border-radius: 8px;
    max-width: 1200px;
}