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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: #1a1a1a;
}

h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.75rem;
    color: #2c3e50;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

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

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Badges */
.badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* Video Section */
.video-section {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-wrapper:hover {
    transform: scale(1.02);
}

.video-wrapper a {
    display: block;
    position: relative;
}

.video-thumbnail {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    font-size: 4rem;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding-left: 8px;
}

.video-wrapper:hover .play-button {
    background: rgba(102, 126, 234, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-caption {
    margin-top: 1.5rem;
    color: #666;
    font-style: italic;
}

/* Hero Screenshot */
.hero-screenshot {
    background: #f8f9fa;
    padding: 60px 0;
}

.main-screenshot {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Why Maestro Section */
.why-maestro {
    background: white;
    padding: 80px 0;
}

.intro-text {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
}

/* Screenshots Section */
.screenshots {
    background: #f8f9fa;
    padding: 80px 0;
}

.screenshot-category {
    margin-bottom: 60px;
}

.screenshot-category h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #667eea;
}

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

.screenshot-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.screenshot-item img {
    width: 100%;
    display: block;
}

.screenshot-item p {
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

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

.mobile-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.center {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

/* Quick Start Section */
.quick-start {
    background: white;
    padding: 80px 0;
}

.code-block {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 30px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.8;
    white-space: pre;
}

.install-description {
    font-size: 1.1rem;
    margin: 2rem 0 1rem;
    color: #555;
}

.check-list {
    list-style: none;
    margin: 1rem 0;
}

.check-list li {
    padding: 8px 0;
    font-size: 1.05rem;
}

.post-install {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 3rem;
}

.post-install ul {
    list-style: none;
    margin-top: 1rem;
}

.post-install li {
    padding: 8px 0;
    font-size: 1.05rem;
}

.post-install code {
    background: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #667eea;
}

/* Features Detailed Section */
.features-detailed {
    background: #f8f9fa;
    padding: 80px 0;
}

.feature-section {
    margin-bottom: 4rem;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #667eea;
}

.feature-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-column h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-column ul {
    list-style: none;
}

.feature-column li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #666;
}

.feature-column li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Use Cases Section */
.use-cases {
    background: white;
    padding: 80px 0;
}

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

.use-case {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.use-case .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case h3 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.use-case p {
    color: #666;
}

/* Requirements Section */
.requirements {
    background: #f8f9fa;
    padding: 80px 0;
}

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

.req-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.req-card h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
}

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

.req-card li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.req-card li:last-child {
    border-bottom: none;
}

.req-card strong {
    color: #333;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: #bdc3c7;
}

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

.footer-section li {
    margin-bottom: 10px;
}

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

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

    .tagline {
        font-size: 1.2rem;
    }

    .features-grid,
    .screenshot-grid,
    .use-case-grid,
    .req-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .play-button {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }

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

    .code-block {
        padding: 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .video-section,
    .why-maestro,
    .screenshots,
    .quick-start,
    .features-detailed,
    .use-cases,
    .requirements {
        padding: 40px 0;
    }
}

/* Related Projects Section */
.related-projects {
    background: #f8f9fa;
    padding: 80px 0;
}

.project-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.project-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.8rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    text-decoration: none;
}

.project-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-use-cases {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.project-use-cases h4 {
    margin-bottom: 12px;
    color: #2c3e50;
}

.project-use-cases ul {
    list-style-position: inside;
    color: #555;
}

.project-use-cases li {
    margin-bottom: 8px;
}

.project-quick-start {
    background: #263238;
    padding: 20px;
    border-radius: 8px;
}

.project-quick-start h4 {
    color: #fff;
    margin-bottom: 12px;
}

.project-quick-start pre {
    margin: 0;
}

.project-quick-start code {
    color: #aed581;
    font-size: 0.9rem;
}
