
:root {
    --primary: #6B6ED4;
    --primary-dark: #5A5DBD;
    --primary-light: #E8E9FA;
    --accent: #FF9A00;
    --dark: #3E3E42;
    --text: #374151;
    --text-light: #6b7280;
    --background: #ffffff;
    --surface: #f8fafc;
    --border: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    padding-top: 76px; /* Add padding to account for fixed navbar */
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    color: var(--dark);
}

/* REMOVE or COMMENT OUT the custom hamburger menu styles */
/*
@media (max-width: 991px) {
    .navbar-nav {
        display: none;
    }
    
    .navbar-toggler {
        display: block;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }
    
    .navbar-toggler-icon {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--dark);
        position: relative;
    }
    
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: '';
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--dark);
        position: absolute;
    }
    
    .navbar-toggler-icon::before {
        top: -8px;
    }
    
    .navbar-toggler-icon::after {
        top: 8px;
    }
}
*/

.hero {
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.6;
}

/* App Window Styles - Matching Electron App */
.app-window {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    border: 1px solid #404040;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.app-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid #404040;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-app-region: drag;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

.app-content {
    padding: 0;
}

.search-container {
    padding: 20px;
    border-bottom: 1px solid #404040;
    background: rgba(255, 255, 255, 0.05);
    -webkit-app-region: no-drag;
}

.search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #404040;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    width: 100%;
    color: white;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input:focus {
    border-color: #ff9a00;
    background: rgba(255, 255, 255, 0.15);
}

.search-input::placeholder {
    color: #888;
}

.results-container {
    max-height: 400px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 12px 12px;
    padding: 10px;
    backdrop-filter: blur(10px);
    -webkit-app-region: no-drag;
}

.shortcut-item {
    padding: 15px 20px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.shortcut-item:hover {
    background: rgba(255, 154, 0, 0.15);
    border-color: #ff9a00;
    transform: translateX(5px);
}

.shortcut-item.selected {
    background: rgba(255, 154, 0, 0.25);
    border-color: #ff9a00;
}

.shortcut-info {
    flex: 1;
}

.shortcut-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    color: white;
}

.shortcut-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #888;
}

.shortcut-category {
    background: rgba(255, 154, 0, 0.2);
    color: #ff9a00;
    padding: 2px 8px;
    border-radius: 4px;
}

.shortcut-keys {
    display: flex;
    gap: 4px;
    align-items: center;
}

.key {
    background: rgba(255, 154, 0, 0.2);
    color: #ff9a00;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-family: 'Monaco', 'Menlo', monospace;
    border: 1px solid rgba(255, 154, 0, 0.4);
    text-shadow: 0 0 8px rgba(255, 154, 0, 0.7);
    box-shadow: 0 0 5px rgba(255, 154, 0, 0.3);
    font-weight: 600;
}

.key.plus {
    background: transparent;
    border: none;
    padding: 0 2px;
    color: #ff9a00;
    text-shadow: 0 0 5px rgba(255, 154, 0, 0.5);
    box-shadow: none;
    font-weight: normal;
}

.app-badge {
    background: rgba(255, 154, 0, 0.3);
    color: #ff9a00;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    margin-left: 8px;
}

/* Scrollbar styling for the demo */
.results-container::-webkit-scrollbar {
    width: 8px;
}

.results-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.results-container::-webkit-scrollbar-thumb {
    background: rgba(255, 154, 0, 0.3);
    border-radius: 4px;
}

.results-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 154, 0, 0.5);
}

/* Website Component Styles */
.feature-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary);
}

/* REMOVED GRADIENT TEXT */
.gradient-text {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 110, 212, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--surface);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.app-icon {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.app-icon:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.app-icon i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pricing-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(107, 110, 212, 0.15);
    transform: scale(1.05);
}

.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

/* App Window Styles - Matching Electron App */
.app-window {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    border: 1px solid #404040;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.app-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid #404040;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-app-region: drag;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

.app-content {
    padding: 0;
}

.search-container {
    padding: 20px;
    border-bottom: 1px solid #404040;
    background: rgba(255, 255, 255, 0.05);
    -webkit-app-region: no-drag;
}

.app-selector {
    margin-bottom: 10px;
    -webkit-app-region: no-drag;
}

.app-select {
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #404040;
    border-radius: 6px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-app-region: no-drag;
    cursor: pointer;
}

.app-select:focus {
    border-color: #ff9a00;
    background: rgba(255, 255, 255, 0.15);
}

.app-select option {
    background: #2d2d2d;
    color: white;
}

.auto-detection-hint {
    font-size: 11px;
    color: #ff9a00;
    margin-top: 4px;
    text-align: center;
    font-style: italic;
}

.search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #404040;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    width: 100%;
    color: white;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input:focus {
    border-color: #ff9a00;
    background: rgba(255, 255, 255, 0.15);
}

.search-input::placeholder {
    color: #888;
}

.results-container {
    max-height: 400px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 12px 12px;
    padding: 10px;
    backdrop-filter: blur(10px);
    -webkit-app-region: no-drag;
}

.shortcut-item {
    padding: 12px 16px;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.shortcut-item:hover {
    background: rgba(255, 154, 0, 0.15);
    border-color: #ff9a00;
    transform: translateX(5px);
}

.shortcut-item.selected {
    background: rgba(255, 154, 0, 0.25);
    border-color: #ff9a00;
}

.shortcut-info {
    flex: 1;
}

.shortcut-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: white;
}

.shortcut-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #cccccc;
}

.shortcut-category {
    background: rgba(255, 154, 0, 0.3);
    color: #ff9a00;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.shortcut-keys {
    display: flex;
    gap: 4px;
    align-items: center;
}

.key {
    background: rgba(255, 154, 0, 0.3);
    color: #ff9a00;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-family: 'Monaco', 'Menlo', monospace;
    border: 1px solid rgba(255, 154, 0, 0.6);
    text-shadow: 0 0 8px rgba(255, 154, 0, 0.7);
    box-shadow: 0 0 5px rgba(255, 154, 0, 0.4);
    font-weight: 600;
}

.key.plus {
    background: transparent;
    border: none;
    padding: 0 2px;
    color: #ff9a00;
    text-shadow: 0 0 5px rgba(255, 154, 0, 0.5);
    box-shadow: none;
    font-weight: normal;
}

.app-badge {
    background: rgba(255, 154, 0, 0.3);
    color: #ff9a00;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
}

/* Scrollbar styling for the demo */
.results-container::-webkit-scrollbar {
    width: 6px;
}

.results-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.results-container::-webkit-scrollbar-thumb {
    background: rgba(255, 154, 0, 0.4);
    border-radius: 3px;
}

.results-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 154, 0, 0.6);
}

/* Badge and icon color updates */
.badge.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-info {
    color: var(--primary) !important;
}

.text-purple {
    color: var(--primary) !important;
}

/* Update app icon colors to use purple */
.app-icon .fab.fa-adobe.text-danger,
.app-icon .fab.fa-adobe.text-warning,
.app-icon .fas.fa-film.text-primary,
.app-icon .fas.fa-video.text-info,
.app-icon .fas.fa-cube.text-success,
.app-icon .fas.fa-music.text-purple {
    color: var(--primary) !important;
}

/* Update download icon to use purple */
.feature-card .fas.fa-download.gradient-text {
    color: var(--primary) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

/* ============================================
   MOBILE RESPONSIVE ADDITIONS
   ============================================ */

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Adjust for smaller navbar on mobile */
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .app-window {
        max-width: 100%;
    }
    
    .app-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    
    .app-icon {
        padding: 1.2rem;
    }
    
    .app-icon i {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .app-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    
    .app-icon {
        padding: 1rem 0.5rem;
    }
    
    .app-icon i {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .app-icon .small {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .app-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .app-icon {
        padding: 0.8rem 0.4rem;
    }
    
    .app-icon i {
        font-size: 1.3rem;
    }
    
    .app-icon .small {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

/* Mobile Menu Fix - UPDATED */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        box-shadow: var(--shadow);
        border: 1px solid var(--border);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 6px;
        transition: all 0.2s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: var(--primary-light);
    }
    
    .navbar-nav .btn-primary {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
    }
}

/* Step Cards Styling */
.step-card {
    padding: 2rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}

/* Legal Content Styles */
.legal-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

.legal-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary-dark);
}

.legal-content strong {
    font-weight: 600;
    color: var(--dark);
}

.legal-content .table {
    margin-bottom: 2rem;
}

.legal-content .table th {
    background: var(--surface);
    font-weight: 600;
    color: var(--dark);
}

.legal-content .table-bordered {
    border: 1px solid var(--border);
}

.legal-content .table-bordered th,
.legal-content .table-bordered td {
    border: 1px solid var(--border);
    padding: 0.75rem;
}
