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

:root {
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --q1-red: #EF4444;
    --q2-green: #10B981;
    --q3-yellow: #F59E0B;
    --q4-gray: #6B7280;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border: #E5E7EB;
}

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

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

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo {
    font-size: 2rem;
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

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

.btn-primary {
    background: white;
    color: var(--primary);
}

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

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

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Matrix Preview */
.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.quadrant {
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.quadrant:hover {
    transform: scale(1.05);
}

.q1 { background: var(--q1-red); }
.q2 { background: var(--q2-green); }
.q3 { background: var(--q3-yellow); }
.q4 { background: var(--q4-gray); }

.q-label {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.q-title {
    font-size: 0.9rem;
    font-weight: 500;
}

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

.features h2,
.how-it-works h2,
.download h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
}

.quadrant-explanation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.quad-item {
    text-align: center;
}

.quad-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.q1-bg { background: var(--q1-red); }
.q2-bg { background: var(--q2-green); }
.q3-bg { background: var(--q3-yellow); }
.q4-bg { background: var(--q4-gray); }

.quad-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.quad-subtitle {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.quad-item p:not(.quad-subtitle) {
    color: var(--text-light);
    line-height: 1.8;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--bg-light);
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.store-button {
    display: block;
    background: black;
    padding: 12px 30px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.store-button:hover {
    transform: scale(1.05);
}

.store-button img {
    height: 50px;
    width: auto;
}

/* Coming Soon Badge */
.coming-soon-badge {
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    padding: 50px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.coming-soon-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.coming-soon-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Legal Pages */
.legal-page {
    padding: 100px 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.legal-page .last-updated {
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

.legal-page h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.legal-page h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.legal-page p,
.legal-page li {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.legal-page ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-page a {
    color: var(--primary);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .matrix-grid {
        gap: 10px;
        padding: 15px;
    }
    
    .quadrant {
        padding: 20px 10px;
    }
    
    .q-label {
        font-size: 1.2rem;
    }
    
    .q-title {
        font-size: 0.8rem;
    }
}
