:root {
    --primary-color: #030213; /* App Primary Color */
    --secondary-color: #666666; /* App Secondary Color */
    --background-color: #FAF9F6; /* App Background */
    --surface-color: #FFFFFF;
    --accent-color: #FF8800; /* App Accent (Orange) */
    --text-primary: #030213;
    --text-secondary: #666666;
    --button-text: #FFFFFF;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    background-color: var(--surface-color);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--button-text);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--surface-color);
    color: var(--primary-color);
    border: 1px solid #ddd;
}
.btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* App Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.app-mockup {
    width: 280px;
    height: 560px;
    background-color: #111;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
}

.screen {
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background-color: var(--surface-color);
    padding: 15px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.mockup-list {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-item {
    background-color: var(--surface-color);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.mockup-item.completed {
    color: var(--text-secondary);
    text-decoration: line-through;
}

.mockup-item i {
    color: var(--text-secondary);
}

.mockup-item.completed i {
    color: var(--primary-color);
}


/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--surface-color);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

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

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

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(3, 2, 19, 0.1); /* Primary with opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Download Section */
.download-section {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--button-text);
    text-align: center;
}

.download-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.center {
    justify-content: center;
}

/* Footer */
footer {
    background-color: #f5f5f5;
    padding: 4rem 0 1rem;
    color: var(--text-secondary);
}

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

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-top: 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }
    
    .nav-links {
        display: none; /* Simple mobile hide for now */
    }
}

/* Custom Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--surface-color);
    margin: 15% auto; 
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: slideIn 0.3s;
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-body i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-body h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.modal-close-btn {
    width: 100%;
}

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

@keyframes slideIn {
    from {transform: translateY(-20px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}
