/* CRM AGENT PAGE SPECIFIC STYLES */

/* CRM HERO */
.crm-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-bg) 100%);
    position: relative;
    overflow: hidden;
}

.crm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234c67f6' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-11.046-8.954-20-20-20v20h20zM0 20c11.046 0 20 8.954 20 20H0V20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.crm-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.feature-item i {
    color: #00f2fe;
    font-size: 1.1rem;
}

.cta-button.large {
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 30px;
}

/* CRM MOCKUP */
.hero-demo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.crm-mockup {
    width: 400px;
    background: var(--primary-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.crm-interface {
    background: var(--dark-bg);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.crm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.crm-header h4 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.1rem;
}

.status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.crm-tasks {
    margin-bottom: 1.5rem;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.task-item.completed {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.task-item.in-progress {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.task-item.pending {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: #00f2fe;
}

.crm-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 242, 254, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 242, 254, 0.1);
}

.stat .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00f2fe;
    margin-bottom: 0.25rem;
}

.stat .label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* INTEGRATIONS GRID */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.integration-card {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.integration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.3);
}

.integration-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.integration-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    background: none;
    -webkit-text-fill-color: initial;
}

.integration-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* AUTOMATION TASKS GRID */
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.task-category {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.task-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 242, 254, 0.2);
}

.category-header i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.category-header h3 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.3rem;
    background: none;
    -webkit-text-fill-color: initial;
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s ease;
}

.task-list li:hover {
    color: var(--text-color);
}

.task-list li::before {
    content: '✓';
    background: var(--accent-gradient);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.task-list li:last-child {
    border-bottom: none;
}

/* PRICING GRID */
.pricing-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 350px);
    grid-template-rows: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0 2rem;
    box-sizing: border-box;
    justify-content: center;
    align-items: stretch;
}

.pricing-grid > * {
    display: flex;
    flex-direction: column;
}

.pricing-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Responsive pricing grid */
@media (max-width: 1600px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 320px);
        gap: 1.5rem;
    }
}

@media (max-width: 1400px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 350px);
        grid-template-rows: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        width: 100%;
        margin-left: 0;
        transform: none;
        padding: 0 1rem;
        max-width: 400px;
        margin: 3rem auto 0;
    }
}

.pricing-card-wrapper {
    position: relative;
    height: 100%;
}

.pricing-card-container {
    position: relative;
    height: 100%;
    padding-top: 35px;
}

.featured-card-container {
    position: relative;
    height: 100%;
    padding-top: 35px;
}

.pricing-card {
    background: var(--primary-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: #00f2fe;
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.2);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.plan-button-top {
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 20px 20px 0 0;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.plan-button-top:hover {
    background: linear-gradient(135deg, #0099cc, #3d5afe);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.plan-button-top.featured {
    background: linear-gradient(135deg, #00f2fe, #4c67f6);
    font-size: 1.2rem;
    padding: 18px 24px;
    margin-top: 0;
}

.plan-header {
    padding: 2rem 2.5rem 1rem 2.5rem;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    background: none;
    -webkit-text-fill-color: initial;
}

.price {
    margin-bottom: 2rem;
}

.setup {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00f2fe;
    line-height: 1;
}

.setup-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.monthly {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1;
}

.monthly-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.plan-focus {
    color: #00f2fe;
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 1.5rem;
    text-align: center;
    background: none;
    -webkit-text-fill-color: initial;
}

.plan-features {
    padding: 0 2.5rem 2.5rem 2.5rem;
    flex: 1;
}

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

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.plan-features li i {
    color: #4CAF50;
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}


.pricing-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(0, 242, 254, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.pricing-note p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.pricing-note i {
    color: #00f2fe;
    margin-right: 0.5rem;
}

/* WORKFLOW STEPS */
.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    background: var(--dark-bg);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

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

.workflow-step h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.workflow-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--text-light);
    flex-shrink: 0;
}

/* CONTACT CTA */
#contact {
    text-align: center;
    background: var(--accent-gradient);
}

#contact h2 {
    color: #fff;
    margin-bottom: 1rem;
}

#contact h2::after {
    background: #fff;
}

#contact p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    background: #fff;
    color: #4c67f6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: var(--dark-bg);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-button.secondary:hover {
    background: #fff;
    color: #4c67f6;
}

/* SECTION SUBTITLE */
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin: -2rem auto 3rem auto;
    max-width: 800px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .crm-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .crm-mockup {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .workflow-steps {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .integrations-grid,
    .tasks-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .crm-hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .crm-mockup {
        width: 300px;
        padding: 1.5rem;
    }
}

/* Enterprise Card Styling */
.pricing-card.enterprise {
    border-color: #ff6b35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.02));
}

.plan-button-top.enterprise {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    font-size: 1.1rem;
    padding: 16px 24px;
}

.plan-button-top.enterprise:hover {
    background: linear-gradient(135deg, #e55a2b, #e0841a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.custom-pricing {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff6b35;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.custom-pricing-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}
