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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9);
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Features Section */
.features {
    overflow-x: hidden;
}

.features-carousel {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0 4rem;
    width: 100%;
    box-sizing: border-box;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.feature-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-sizing: border-box;
}

.feature-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-btn-left {
    left: 0;
}

.carousel-btn-right {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    transform: scale(1.2);
    background: var(--primary-color);
    opacity: 0.7;
}

.indicator.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
    transform: scale(1);
}

/* Where We're At Section */
.where-were-at {
    background-color: var(--bg-white);
}

.updates-carousel {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0 4rem;
    width: 100%;
    box-sizing: border-box;
}

.update-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-sizing: border-box;
}

.update-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.update-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.update-date {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.update-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Videos Section */
.videos {
    background: var(--bg-light);
}

.videos-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.videos-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    margin-top: 2rem;
    margin-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ff0000;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.youtube-link:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.youtube-icon {
    width: 24px;
    height: 24px;
}

/* Pricing Section */
.pricing {
    background-color: var(--bg-white);
}

.pricing-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.pricing-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 1.5rem;
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.pricing-card-featured::before {
    content: 'Recommended';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.pricing-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.pricing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    text-align: center;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.pricing-features-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    text-align: center;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:first-child {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.125rem;
}

/* Download Section */
.download {
    background-color: var(--bg-light);
}

.download-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.download-message {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.download-btn {
    padding: 1rem 2rem;
    background: #9ca3af;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: var(--shadow-md);
    transition: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.download-btn:disabled {
    cursor: not-allowed;
}

.download-icon {
    width: 20px;
    height: 20px;
}

.download-date {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Support Us Section */
.support-us {
    background-color: var(--bg-light);
}

.support-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.support-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

/* GitHub Section */
.github {
    background-color: var(--bg-white);
}

.github-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.github-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.github-link-container {
    margin-bottom: 3rem;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-primary);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.github-link:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.github-icon {
    width: 28px;
    height: 28px;
}

.github-info {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.github-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.github-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.github-info-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border-color);
    padding-left: 1.5rem;
    position: relative;
}

.github-info-list li:last-child {
    border-bottom: none;
}

.github-info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
}

/* Links Section */
.links {
    background-color: var(--bg-white);
}

.links-content {
    max-width: 800px;
    margin: 0 auto;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.link-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.link-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.link-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.link-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background-color: var(--bg-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-text {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-domain {
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        z-index: 1000;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .nav-link {
        font-size: 1.125rem;
        width: 100%;
        padding: 0.5rem 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-icon {
        width: 100px;
        height: 100px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-carousel,
    .updates-carousel {
        padding: 0 3rem;
        max-width: 100%;
    }

    .carousel-wrapper {
        width: 100%;
    }

    .update-card {
        padding: 2rem;
    }

    .update-title {
        font-size: 1.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-title {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .features-carousel,
    .updates-carousel {
        padding: 0 2.5rem;
        max-width: 100%;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-description {
        font-size: 1rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 250px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        margin-top: 1.5rem;
    }

    .carousel-wrapper {
        width: 100%;
    }

    .update-card {
        padding: 1.5rem;
    }

    .update-title {
        font-size: 1.25rem;
    }

    .update-description {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 1rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 24px;
    }
}

