:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Main Content */
main {
    padding-top: 4rem;
}

section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4b5563;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
}

.hero-image {
    position: relative;
    cursor: pointer;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.play-button-overlay:hover {
    background: rgba(37, 99, 235, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button-overlay i {
    color: white;
    font-size: 2rem;
    margin-left: 4px;
}

.play-button-overlay.hidden {
    display: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 80%;
    height: 80%;
    max-width: 1200px;
    max-height: 800px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

#modal-gif {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Features Section */
.features {
    background: var(--light-bg);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* How It Works Section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

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

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

.download-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    max-width: 400px;
    margin: 2rem auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.download-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.download-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 1.5rem 0;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background: var(--secondary-color);
}

.system-req {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Footer */
footer {
    background: #1f2937;
    color: var(--white);
    padding: 4rem 1rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
}

/* Feature Details Page */
.feature-details {
    padding: 4rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-details h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
}

/* Page Header for feature pages */
.page-header {
    padding: 3rem 1rem 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Content page styling */
.screenshots-page .feature-details {
    padding: 0 1rem 3rem 1rem;
    margin-top: 0;
    max-width: 800px;
    margin: 0 auto;
}

.screenshots-page .feature-details h2 {
    color: var(--primary-color);
    margin: 2.5rem 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.screenshots-page .feature-details h2:first-of-type {
    margin: 0 0 1rem 0;
    border-bottom: none;
    padding-bottom: 0;
}

.screenshots-page .feature-details h3 {
    color: var(--text-color);
    margin: 1.8rem 0 0.8rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.screenshots-page .feature-details p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #374151;
}

.screenshots-page .feature-details ul, 
.screenshots-page .feature-details ol {
    margin: 1rem 0 1rem 2rem;
}

.screenshots-page .feature-details li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
    color: #374151;
}

.screenshots-page .feature-details code {
    background: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: #dc2626;
    border: 1px solid #e5e7eb;
}

.screenshots-page .feature-details strong {
    color: var(--text-color);
    font-weight: 600;
}

.screenshots-page .cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0 2rem 0;
    text-align: center;
}

.screenshots-page .cta-section h2 {
    border-bottom: none;
    margin: 0 0 1rem 0;
    padding-bottom: 0;
}

.screenshots-page .cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #4b5563;
}

.feature-details h3 {
    color: var(--text-color);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.3rem;
}

.feature-details p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.feature-details ul, .feature-details ol {
    margin: 1rem 0 1rem 2rem;
}

.feature-details li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.feature-details code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.cta-section {
    text-align: center;
    margin: 4rem 0 2rem 0;
    padding: 3rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    nav ul {
        gap: 1rem;
    }
    
    .feature-details {
        padding: 2rem 1rem;
    }
    
    .feature-details h2 {
        font-size: 1.5rem;
    }
    
    .feature-details h3 {
        font-size: 1.2rem;
    }
} 