/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #ffffff;
    overflow-x: hidden;
}

/* Animated Background Elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
    z-index: -2;
    animation: backgroundFloat 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    animation: gridMove 30s linear infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(1deg) scale(1.02); }
    66% { transform: rotate(-1deg) scale(0.98); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #5b21b6 0%, #16a34a 60%, #16a34a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
    padding-top: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    position: relative;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.hero h1::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: expandLine 2s ease-out 0.5s both;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 100px; }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4rem;
    font-weight: 400;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.screenshot-showcase {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 900px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.1);
    animation: pulseGlow 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.2),
            0 4px 20px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow:
            0 15px 50px rgba(0, 0, 0, 0.25),
            0 6px 25px rgba(0, 0, 0, 0.15);
    }
}

.gui-screenshot {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.features-quick {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 4rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #16a34a, #22c55e, #5b21b6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 1.5rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2) rotateY(360deg);
}

.feature-item span {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1rem;
}

.cta-section {
    margin-top: 4rem;
}

.github-star-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.download-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 3rem;
    background: #ffffff;
    color: #16a34a;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s ease;
}

.download-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 16px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover::after {
    opacity: 1;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.25);
}

.download-btn i {
    transition: transform 0.3s ease;
}

.download-btn:hover i {
    transform: scale(1.2);
}

.download-info {
    margin-top: 1rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* Comparison Section */
.comparison-section {
    padding: 4rem 0;
    background: linear-gradient(180deg,
        rgba(248, 250, 252, 0.5) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(248, 250, 252, 0.5) 100%);
    position: relative;
}

.comparison-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.comparison-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1e293b 0%, #16a34a 50%, #5b21b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.comparison-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #16a34a, #5b21b6);
    border-radius: 2px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.comparison-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.9) 100%);
    border-radius: 24px;
    padding: 2.5rem;
    border: 2px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.comparison-card.after::before {
    background: linear-gradient(90deg, #10b981, #06b6d4);
}

.comparison-card:hover::before {
    transform: scaleX(1);
}

.comparison-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 25px 60px rgba(99, 102, 241, 0.15),
        0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 2rem;
    color: #ef4444;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.after .card-header i {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-card:hover .card-header i {
    transform: scale(1.2) rotateY(360deg);
}

.card-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
}

.time-badge {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1));
    color: #dc2626;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 2px solid rgba(239, 68, 68, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.time-badge.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    color: #059669;
    border-color: rgba(16, 185, 129, 0.2);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    color: #475569;
    position: relative;
    padding-left: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.comparison-card li:hover {
    color: #1e293b;
    padding-left: 3rem;
}

.comparison-card li::before {
    content: '✗';
    position: absolute;
    left: 0;
    top: 1rem;
    color: #ef4444;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.after li::before {
    content: '✓';
    color: #10b981;
}

.comparison-card li:hover::before {
    transform: scale(1.3);
}

.final-cta-section {
    padding: 6rem 0 6rem 0;  /* Add bottom padding to match top */
    background: linear-gradient(180deg,
        rgba(248, 250, 252, 0.5) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(248, 250, 252, 0.5) 100%);
    position: relative;
}

.final-cta {
    text-align: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 250, 252, 0.95) 100%);
    border-radius: 32px;
    border: 2px solid rgba(22, 163, 74, 0.2);
    backdrop-filter: blur(20px);
    box-shadow:
        0 20px 60px rgba(99, 102, 241, 0.1),
        0 8px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.1), rgba(99, 102, 241, 0.1));
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.final-cta h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.download-btn.secondary {
    background: linear-gradient(135deg, #5b21b6 0%, #16a34a 100%);
    color: #ffffff;
}

.download-btn.secondary:hover {
    background: linear-gradient(135deg, #4c1d95 0%, #15803d 100%);
}

.trust-signals {
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}


/* Getting Started Section */
.getting-started {
    padding: 4rem 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(248, 250, 252, 0.9) 50%,
        rgba(255, 255, 255, 0.8) 100%);
    position: relative;
}

.getting-started::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.3), transparent);
}

.getting-started h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1e293b 0%, #16a34a 50%, #5b21b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.getting-started h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #16a34a, #5b21b6);
    border-radius: 2px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 2px solid rgba(22, 163, 74, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #16a34a, #5b21b6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(22, 163, 74, 0.3);
    box-shadow:
        0 20px 50px rgba(22, 163, 74, 0.15),
        0 8px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #16a34a 0%, #5b21b6 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
    transition: transform 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotateY(360deg);
}

.step-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.step-card p {
    color: #475569;
    line-height: 1.6;
    font-size: 1rem;
}

.step-card a {
    color: #16a34a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.step-card a:hover {
    color: #5b21b6;
    text-decoration: underline;
}




/* Responsive Design */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-quick {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .comparison-section {
        padding: 4rem 0;
    }

    .screenshot-showcase {
        padding: 1.5rem;
        margin: 2rem auto;
    }

    .final-cta {
        padding: 2.5rem 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.download-btn:focus,
.feature-item:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.comparison-section .download-btn:focus {
    outline: 3px solid rgba(99, 102, 241, 0.5);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
