:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --light-bg: #f8fafc;
    --dark-text: #1e293b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark-text);
    padding-top: 76px;
}

.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem 0;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

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

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.download-card {
    padding: 2rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.platform-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    fill: currentColor;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

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

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 0;
}

.navbar-brand img {
    margin-right: 0.5rem;
}

.nav-link {
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .feature-card, .use-case-card, .download-card {
        padding: 1.5rem;
    }
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.doc-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
}

.coming-soon-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.notify-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.screenshot-container {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
    width: 100%;
    text-align: center;
}

.screenshot-container:hover {
    transform: scale(1.02);
}

.zoom-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.screenshot-container:hover .zoom-hint {
    opacity: 1;
}

@media (min-width: 992px) {
    .screenshot {
        max-width: 120%;
        margin-left: -10%;
        width: 120%;
        height: auto;
    }
}

.modal-dialog.modal-xl {
    max-width: 90vw;
    margin: 1.75rem auto;
}

.modal-content {
    background-color: #1a1a1a;
    border: none;
}

.modal-header {
    top: 0;
    right: 0;
    left: 0;
    background: #1a1a1a;
    border: none;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: white;
    font-size: 1.25rem;
    margin: 0;
    text-align: center;
    width: 100%;
}

.modal-body {
    padding: 0;
    background: #1a1a1a;
    text-align: center;
}

.modal-body img {
    max-height: 85vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.btn-close {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    padding: 0.75rem;
    margin: 0;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    filter: invert(1) grayscale(100%) brightness(200%);
}

.btn-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.modal-backdrop.show {
    opacity: 0.95;
}

.screenshots-slider {
    position: relative;
    margin: 0 -1.5rem;
}

.screenshots-slider .row {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.screenshots-slider .row::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.screenshot-wrapper {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: white;
    height: calc(100vh - 300px);
}

.screenshot-item {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.screenshot-item img {
    width: 100%;
    flex: 1;
    height: 100%;
    object-fit: contain;
    object-position: top;
}

.screenshot-item h3 {
    color: #333;
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    flex-shrink: 0;
    min-height: auto;
    padding-bottom: 1rem;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.screenshot-item img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .screenshot-item h3 {
        font-size: 1.1rem;
        min-height: 4em;
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: white;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

.slider-nav i {
    font-size: 1.5rem;
    color: #333;
}

@media (max-width: 768px) {
    .slider-nav {
        width: 35px;
        height: 35px;
    }
    
    .slider-nav i {
        font-size: 1.2rem;
    }
}

.hero .screenshots-slider {
    margin: 0;
}

.hero .screenshot-wrapper {
    display: flex;
    flex-direction: column;
}

.hero .screenshot-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero .screenshot-item h3 {
    font-size: 1rem;
    margin-top: 1rem;
    min-height: 2em;
    color: #666;
}

.hero .slider-nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 991px) {
    .hero {
        padding: 3rem 0;
    }

    .hero .screenshots-slider {
        margin-top: 2rem;
    }
}

.screenshot-wrapper img {
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.modal-nav:hover {
    background: white;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: 20px;
}

.modal-nav i {
    font-size: 2rem;
    color: #333;
}

@media (max-width: 768px) {
    .modal-nav {
        width: 40px;
        height: 40px;
    }
    
    .modal-nav i {
        font-size: 1.5rem;
    }
    
    .modal-nav.prev {
        left: 10px;
    }
    
    .modal-nav.next {
        right: 10px;
    }
}

#featureModal .modal-content {
    background: #fff;
    border: none;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
}

#featureModal .modal-header {
    position: static;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem;
}

#featureModal .modal-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
    width: auto;
}

#featureModal .modal-body {
    background: #fff;
    padding: 1.5rem;
    color: #4a5568;
    text-align: left;
}

#featureModal .modal-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

#featureModal .btn-close {
    background-color: rgba(0, 0, 0, 0.1);
    filter: none;
    margin: 0;
    padding: 0.75rem;
}

#featureModal .btn-close:hover {
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* Fix for mobile close button */
@media (max-width: 768px) {
    #featureModal .btn-close {
        background: rgba(0, 0, 0, 0.1) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
        filter: none;
        opacity: 0.8;
    }
    
    #featureModal .btn-close:hover {
        opacity: 1;
    }
}

.feature-card .learn-more {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.feature-card:hover .learn-more {
    opacity: 1;
}

.feature-card .learn-more i {
    font-size: 0.8rem;
    margin-left: 0.25rem;
} 