/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    padding-top: 60px; /* Prevent content from hiding under navbar */
}

/* Header */
.header {
    background-color: #fff;
    color: #000;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-image: none;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #000;
    letter-spacing: 0.18em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease, background 0.3s, color 0.3s;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-size: 1rem;
    line-height: 1.2;
    display: inline-block;
}

.nav-menu a.cta-button {
    background: transparent;
    border: 2px solid #000;
    color: #000;
    font-weight: 600;
    padding: 0.3rem 1.2rem;
    margin-left: 0.5rem;
    font-size: 1rem;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.nav-menu a.cta-button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Hero Section */
.hero {
    background-color: #000;
    color: #fff;
    margin: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('/static/images/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hero-content {
    max-width: 800px;
    margin: 0 0;
    padding: 0 0rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* App Preview Section */
.app-preview {
    padding: 3rem 0rem 0rem 0rem;
    max-height: 90vh;
    overflow: hidden;
    background-image: url('/static/images/logo2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #000;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.app-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.preview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.app-preview h2 {
    padding-bottom: 0rem;
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.screenshot-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.app-screenshot {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    opacity: 0.5;
}

.screenshot-cta-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #000;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    white-space: nowrap;
}

.screenshot-cta-button:hover {
    background-color: #f0f0f0;
    transform: translate(-50%, -50%) translateY(-2px);
}

.screenshot-container:hover .screenshot-cta-button {
    opacity: 1;
}

.screenshot-container:hover .app-screenshot {
    opacity: 0;
}

.screenshot-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/images/detail2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.screenshot-container:hover::after {
    opacity: 1;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #fff;
}

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

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.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;
    color: #000;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* Capabilities Section */
.capabilities {
    margin-top: -5rem;
    padding: 2.5rem 0;
    background: #000;
    color: #fff;
    background-image: url('/static/images/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

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

.capabilities h2 {
    margin-top: 5rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

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

.capability-item {
    background-color: #fff;
    color: #000;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
    backdrop-filter: none;
}

.capability-item:hover {
    transform: translateY(-3px);
    background-color: #f8f8f8;
}

.capability-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.capability-item p {
    color: #333;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .app-screenshot {
        max-width: 100%;
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Nav Bar Styles */
.nav-link {
    color: #222 !important;
    background: transparent;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
    box-shadow: none;
    border: none;
}
.nav-link:hover, .nav-link.active, .nav-link.selected {
    background: #f2f2f2;
    color: #111 !important;
}
.brand-link {
    color: #222 !important;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-right: 24px;
    display: inline-block;
}
.index-content-spacer {
    margin-top: 32px;
} 