/* CRM-specific styles for CRM Talks */

/* CRM-specific navigation adjustments */
/* Navigation styles are now in layout.css */

/* Container override for CRM pages */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles für CRM */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    min-height: 70px;
}

.logo h1 {
    color: #005a73;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.logo h1 a {
    text-decoration: none;
    color: inherit;
}

.tagline {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* CRM-specific navigation styles */
/* Use .main-nav for CRM header navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav > ul > li > a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav > ul > li:hover > a {
    color: #005a73;
    background-color: rgba(0, 90, 115, 0.05);
}

/* CRM-specific dropdown styles */
.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0;
    list-style: none;
    padding: 0.5rem 0;
    display: block !important;
    border: 1px solid #e0e0e0;
}

.main-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu li {
    display: block !important;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
    padding: 0;
}

.main-nav .dropdown-menu li:last-child {
    border-bottom: none;
}

.main-nav .dropdown-menu a {
    display: block !important;
    padding: 0.75rem 1.5rem;
    color: #333;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.main-nav .dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #005a73;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* CRM Detail Hero Section */
.crm-detail-hero {
    background: linear-gradient(135deg, #005a73 0%, #0077a0 100%);
    color: white;
    padding: 3rem 0 2rem 0;
    margin-bottom: 0;
}

.crm-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.crm-logo {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #005a73;
    flex-shrink: 0;
}

.crm-title h1 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 2.5rem;
}

.crm-title p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.crm-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* CRM Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-bottom: 2rem;
}

.main-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1rem;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Pricing Card */
.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.pricing-card h3 {
    color: #005a73;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.price-display {
    font-size: 2.5rem;
    font-weight: bold;
    color: #005a73;
    margin: 1rem 0;
}

.price-display small {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
}

/* CTA Buttons - für Detail-Seiten vertikal */
.crm-detail-page .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-cta {
    display: inline-block;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-cta {
    background: #005a73;
    color: white;
}

.btn-primary-cta:hover {
    background: #004455;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-secondary-cta {
    background: #f0f0f0;
    color: #333;
    border: 2px solid #ddd;
}

.btn-secondary-cta:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

/* Sections - Override global section styles with maximum specificity */
body .container .content-grid .main-content .section {
    padding: 0 !important;
    margin-bottom: 1.2rem !important;
    margin-top: 0 !important;
}

body .container .content-grid .main-content .section:first-child {
    margin-top: 0 !important;
}

body .container .content-grid .main-content .section:last-child {
    margin-bottom: 0 !important;
}

body .container .content-grid .main-content .section h2 {
    color: #005a73;
    margin-bottom: 0.8rem !important;
    margin-top: 0 !important;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    font-size: 1.5rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item strong {
    display: block;
    color: #005a73;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Pricing Plans */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.plan-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card.popular {
    border-color: #005a73;
    background: #f0f8fa;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.plan-price {
    font-size: 2rem;
    color: #005a73;
    margin-bottom: 1rem;
    font-weight: bold;
}

.plan-price small {
    font-size: 0.9rem;
    font-weight: normal;
    color: #666;
}

.plan-features {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin-top: 1rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: "✓";
    color: #28a745;
    margin-right: 0.5rem;
    font-weight: bold;
}

.yearly-price {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.savings {
    color: #28a745;
    font-weight: 500;
}

.user-limit {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.feature-item::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background: #e0e0e0;
    color: #333;
}

.badge.green {
    background: #d4edda;
    color: #155724;
}

/* Similar CRMs */
.similar-crms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.similar-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.similar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #005a73;
}

.similar-card h3 {
    color: #005a73;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.similar-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Rating */
.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #ffd700;
    font-size: 1.1rem;
}

/* CRM Products Grid */
.crm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.crm-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.crm-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.crm-card-logo {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #005a73;
}

.crm-card h3 {
    color: #005a73;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.crm-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.crm-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.crm-price {
    font-weight: bold;
    color: #005a73;
}

/* Search and Filter */
.search-filter-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.search-bar button {
    padding: 0.75rem 2rem;
    background: #005a73;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.search-bar button:hover {
    background: #004455;
}

.filter-options {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.filter-group select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    min-width: 200px;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .crm-header {
        flex-direction: column;
        text-align: center;
    }
    
    .crm-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .crm-grid {
        grid-template-columns: 1fr;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-group select {
        width: 100%;
    }
}

/* Grouped Features */
.features-grouped {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.feature-category h4 {
    color: #005a73;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.feature-category .feature-list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.feature-category .feature-item {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.feature-name {
    font-weight: 500;
}

.feature-value {
    color: #666;
    font-size: 0.9rem;
}

/* Integrations */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.integration-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.integration-category h4 {
    color: #005a73;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.integration-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.integration-item {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.integration-name {
    font-weight: 500;
}

.integration-item .badge {
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

/* Plan card styles */
.plan-name {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #005a73;
}

.price-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #005a73;
}

.price-period {
    font-size: 0.9rem;
    color: #666;
    display: block;
}