/* 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: #374151;
    background-color: #ffffff;
}

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

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #6d28d9);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: transparent;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    padding: 4rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: white;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.platform-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.creator {
    font-size: 0.875rem;
    opacity: 0.75;
}

/* Desktop Mockup */
.desktop-mockup {
    display: flex;
    justify-content: center;
}

.window-frame {
    background: #374151;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #4b5563;
}

.window-header {
    background: #1f2937;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #eab308; }
.control.green { background: #22c55e; }

.window-title {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.window-content {
    background: white;
    overflow: hidden;
}

.window-content img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    color: #111827;
}

.section-header p {
    color: #6b7280;
    font-size: 1.125rem;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

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

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-card:nth-child(1) .feature-icon { background: #dbeafe; color: #2563eb; }
.feature-card:nth-child(2) .feature-icon { background: #f3e8ff; color: #7c3aed; }
.feature-card:nth-child(3) .feature-icon { background: #dcfce7; color: #16a34a; }
.feature-card:nth-child(4) .feature-icon { background: #fed7aa; color: #ea580c; }
.feature-card:nth-child(5) .feature-icon { background: #fef3c7; color: #d97706; }
.feature-card:nth-child(6) .feature-icon { background: #ccfbf1; color: #0d9488; }

/* Architecture Section */
.architecture-section {
    padding: 4rem 0;
    background: white;
}

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

.architecture-card {
    padding: 2rem;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.architecture-card.blue { background: #eff6ff; }
.architecture-card.purple { background: #faf5ff; }
.architecture-card.green { background: #f0fdf4; }

.card-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 6rem;
    height: 6rem;
    border-radius: 0 0 0 100%;
    opacity: 0.7;
}

.architecture-card.blue .card-decoration { background: #dbeafe; }
.architecture-card.purple .card-decoration { background: #f3e8ff; }
.architecture-card.green .card-decoration { background: #dcfce7; }

.architecture-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.architecture-card.blue .architecture-icon { color: #2563eb; }
.architecture-card.purple .architecture-icon { color: #7c3aed; }
.architecture-card.green .architecture-icon { color: #16a34a; }

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.feature-list i {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.architecture-card.blue .feature-list i { color: #2563eb; }
.architecture-card.purple .feature-list i { color: #7c3aed; }
.architecture-card.green .feature-list i { color: #16a34a; }

/* Screenshots Section */
.screenshots-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.tabs-container {
    max-width: 6xl;
    margin: 0 auto;
}

.tabs-list {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #6b7280;
}

.tab-trigger:hover {
    background: #f3f4f6;
    color: #374151;
}

.tab-trigger.active {
    background: #2563eb;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.screenshot-container {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.screenshot-frame {
    aspect-ratio: 16/10;
    max-width: 4xl;
    margin: 0 auto;
    background: #f3f4f6;
    border-radius: 0.75rem;
    overflow: hidden;
}

.screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-info {
    text-align: center;
    margin-top: 1rem;
}

.screenshot-info h3 {
    font-size: 1.125rem;
    font-weight: 500;
}

.screenshot-info p {
    color: #6b7280;
    margin-bottom: 0;
}

/* Implementation Section */
.implementation-section {
    padding: 4rem 0;
    background: white;
}

.implementation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 4xl;
    margin: 0 auto;
}

.implementation-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-description {
    color: #6b7280;
    margin-bottom: 0;
}

.card-content {
    padding: 1.5rem;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.tech-list i {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    color: #2563eb;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0;
}

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

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

.footer-section p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

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

.footer-section li {
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section li i {
    width: 1rem;
    height: 1rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-list {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .tab-trigger {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .implementation-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 2rem 0 3rem;
    }
    
    .features-section,
    .architecture-section,
    .screenshots-section,
    .implementation-section {
        padding: 2rem 0;
    }
    
    .feature-card,
    .architecture-card {
        padding: 1.5rem;
    }
}