/* Applications Page Styles */

/* Hero Section */
.app-hero {
    background: var(--gradient-primary);
    padding: 8rem 0 4rem;
    margin-top: var(--header-height);
    text-align: center;
    color: var(--white);
}

.app-hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.app-hero__subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Filter Section */
.filter-section {
    background-color: var(--white);
    padding: 2rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: var(--header-height);
    z-index: 100;
}

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

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

/* Application Cards */
.applications {
    background-color: var(--light-bg);
}

.app-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background-color: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.app-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

/* Device Mockup */
.app-mockup {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 9/16;
    background-color: #1a1a1a;
    border-radius: 2.5rem;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.app-mockup::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background-color: #1a1a1a;
    border-radius: 0 0 1rem 1rem;
    z-index: 10;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.mockup-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.mockup-menu,
.mockup-cart,
.mockup-user,
.mockup-bell,
.mockup-search,
.mockup-phone,
.mockup-emergency,
.mockup-menu-icon {
    font-size: 1.2rem;
    cursor: pointer;
}

.mockup-btn-full {
    width: 90%;
    margin: 1rem auto;
    padding: 0.8rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}

/* Real Estate Mockup */
.realestate-mockup .mockup-hero-small {
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.mockup-hero-small h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.mockup-hero-small p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.property-grid {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
}

.property-card {
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.8rem;
}

.property-image {
    font-size: 2.5rem;
}

.property-info {
    flex: 1;
}

.property-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.property-details {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.property-location {
    font-size: 0.8rem;
    color: var(--text-dark);
}

/* Dental Mockup */
.dental-mockup .mockup-welcome {
    background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
}

.mockup-welcome h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.mockup-welcome p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.service-list {
    padding: 1rem;
    flex: 1;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.8rem;
}

.service-icon {
    font-size: 1.5rem;
}

.service-details {
    flex: 1;
}

.service-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.service-duration {
    font-size: 0.75rem;
    color: var(--text-light);
}

.service-book {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

/* Legal/Attorney Mockup */
.legal-mockup .mockup-hero-legal {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.mockup-hero-legal h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.mockup-hero-legal p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mockup-btn-emergency {
    background-color: white;
    color: #d32f2f;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
}

.legal-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 1rem;
}

.legal-item {
    background-color: var(--light-bg);
    padding: 0.8rem 0.5rem;
    border-radius: 0.4rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.legal-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    padding: 1rem;
    background-color: #f5f5f5;
    margin-top: auto;
}

.cta-stat {
    text-align: center;
}

.cta-stat strong {
    display: block;
    font-size: 1.3rem;
    color: #d32f2f;
    margin-bottom: 0.3rem;
}

.cta-stat span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Plumbing/Service Mockup */
.plumbing-mockup .mockup-hero-service {
    background: linear-gradient(135deg, #f57c00 0%, #ef6c00 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.mockup-hero-service h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mockup-hero-service p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.mockup-btn-call {
    background-color: white;
    color: #f57c00;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 1rem;
    flex: 1;
}

.service-box {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.service-box .service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Restaurant Mockup */
.restaurant-mockup .mockup-hero-food {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.mockup-hero-food h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.mockup-btn-reserve {
    background-color: white;
    color: #e91e63;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.menu-cat {
    font-size: 0.7rem;
    text-align: center;
    padding: 0.5rem 0.2rem;
    background-color: var(--light-bg);
    border-radius: 0.3rem;
}

.menu-item-preview {
    padding: 1rem;
    flex: 1;
}

.dish-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    margin-bottom: 0.6rem;
}

.dish-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.dish-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Services Mockup */
.services-mockup .mockup-hero-services {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
}

.mockup-hero-services h2 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.mockup-hero-services p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.services-showcase {
    padding: 1rem;
    flex: 1;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    margin-bottom: 0.8rem;
}

.showcase-icon {
    font-size: 2rem;
}

.showcase-text {
    flex: 1;
}

.showcase-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.showcase-text span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Insurance Mockup */
.insurance-mockup .mockup-hero-insurance {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.mockup-hero-insurance h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.mockup-hero-insurance p {
    font-size: 0.85rem;
}

.insurance-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    padding: 1rem;
}

.insurance-card {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

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

.insurance-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.insurance-price {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
}

.quote-form-preview {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.quote-input {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.85rem;
    text-align: center;
}

.mockup-btn-quote {
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}

/* Card Content */
.app-card__content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.app-card__category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.app-card__category i {
    font-size: 1.25rem;
}

.app-card__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.app-card__description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.app-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background-color: var(--light-bg);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.app-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

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

/* Quantitative Developer Mockup */
.quant-mockup .mockup-hero-quant {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
}

.mockup-hero-quant h2 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.mockup-hero-quant p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.quant-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    padding: 1rem;
}

.metric-card {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.metric-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.metric-change {
    font-size: 0.75rem;
    font-weight: 600;
}

.metric-change.positive {
    color: #10b981;
}

.metric-change.negative {
    color: #ef4444;
}

.quant-strategies {
    padding: 1rem;
}

.strategy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
}

.strategy-item.active {
    border-left: 3px solid #10b981;
}

.strategy-name {
    font-weight: 600;
}

.strategy-status {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    font-weight: 600;
}

.strategy-item.active .strategy-status {
    background-color: #10b981;
    color: white;
}

.strategy-item:not(.active) .strategy-status {
    background-color: #f59e0b;
    color: white;
}

.quant-code-preview {
    background-color: #1e293b;
    color: #10b981;
    padding: 0.8rem;
    margin: 0 1rem 1rem;
    border-radius: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
}

.code-line {
    margin-bottom: 0.3rem;
}

/* CRM Mockup */
.crm-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
}

.crm-header {
    margin-bottom: 1rem;
}

.crm-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem 0.8rem;
    gap: 0.5rem;
}

.search-bar input {
    border: none;
    background: transparent;
    color: white;
    width: 100%;
    font-size: 0.8rem;
    outline: none;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.crm-pipeline {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.pipeline-stage {
    margin-bottom: 0.5rem;
}

.pipeline-stage:last-child {
    margin-bottom: 0;
}

.stage-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.stage-count {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

.crm-contacts {
    background-color: white;
    border-radius: 0.5rem;
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    margin-bottom: 0.6rem;
}

.contact-card:last-child {
    margin-bottom: 0;
}

.contact-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.2rem;
}

.contact-company {
    font-size: 0.7rem;
    color: #718096;
}

.contact-status {
    font-size: 0.7rem;
    background-color: #e2e8f0;
    color: #4a5568;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    white-space: nowrap;
}

.contact-status.hot {
    background-color: #fed7d7;
    color: #c53030;
    font-weight: 600;
}

.crm-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    flex: 1;
    padding: 0.7rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background-color: white;
    color: #667eea;
}

.action-btn:hover {
    transform: translateY(-2px);
}

/* Backend Web Design Mockup */
.backend-screen {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 0;
}

.backend-header {
    background-color: #0f3460;
    padding: 0.8rem 1rem;
    border-bottom: 2px solid #e94560;
}

.terminal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
}

.terminal-dot.red {
    background-color: #ff5f56;
}

.terminal-dot.yellow {
    background-color: #ffbd2e;
}

.terminal-dot.green {
    background-color: #27c93f;
}

.terminal-text {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.api-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1rem;
    background-color: rgba(15, 52, 96, 0.3);
}

.api-stat-card {
    background-color: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 0.5rem;
    padding: 0.8rem;
    text-align: center;
}

.api-stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.api-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e94560;
    margin-bottom: 0.2rem;
}

.api-stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.endpoint-list {
    padding: 1rem;
    border-bottom: 1px solid rgba(233, 69, 96, 0.2);
}

.endpoint-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    background-color: rgba(15, 52, 96, 0.4);
    border-radius: 0.4rem;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
}

.endpoint-item:last-child {
    margin-bottom: 0;
}

.http-method {
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    font-weight: 700;
    font-size: 0.65rem;
}

.http-method.get {
    background-color: #27c93f;
    color: white;
}

.http-method.post {
    background-color: #3b82f6;
    color: white;
}

.http-method.put {
    background-color: #f59e0b;
    color: white;
}

.endpoint-path {
    flex: 1;
    color: #a8dadc;
}

.status-indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.status-indicator.active {
    background-color: #27c93f;
    box-shadow: 0 0 5px #27c93f;
}

.backend-code {
    background-color: #0f1419;
    margin: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.code-header {
    background-color: #1a1f2e;
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid rgba(233, 69, 96, 0.3);
}

.code-lang {
    font-size: 0.7rem;
    color: #e94560;
    font-weight: 600;
}

.code-snippet {
    padding: 0.8rem;
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    line-height: 1.5;
    color: #a8dadc;
}

.code-keyword {
    color: #e94560;
}

.code-method {
    color: #3b82f6;
}

.code-string {
    color: #27c93f;
}

.tech-stack-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 1rem;
}

.tech-badge {
    background-color: rgba(233, 69, 96, 0.2);
    color: #e94560;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid rgba(233, 69, 96, 0.4);
}

/* Marketing & Promotions Mockup */
.marketing-screen {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 0;
}

.marketing-header {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.marketing-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.date-range {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.metrics-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.15);
}

.metric-box {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    padding: 0.8rem;
    text-align: center;
}

.metric-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.metric-number {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.metric-label {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.metric-growth {
    font-size: 0.7rem;
    font-weight: 700;
}

.metric-growth.up {
    color: #4ade80;
}

.campaign-list {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.campaign-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 0.6rem;
}

.campaign-item:last-child {
    margin-bottom: 0;
}

.campaign-platform {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.campaign-platform.facebook {
    background-color: #1877f2;
    color: white;
}

.campaign-platform.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.campaign-platform.google {
    background-color: white;
    color: #4285f4;
}

.campaign-details {
    flex: 1;
}

.campaign-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.campaign-status {
    font-size: 0.7rem;
    opacity: 0.8;
}

.campaign-performance {
    text-align: right;
}

.performance-indicator {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    display: inline-block;
}

.performance-indicator.high {
    background-color: #4ade80;
    color: #065f46;
}

.performance-indicator.medium {
    background-color: #fbbf24;
    color: #78350f;
}

.marketing-chart {
    padding: 1rem;
}

.chart-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-align: center;
}

.funnel-bars {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.funnel-bar {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.8rem;
    border-radius: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.funnel-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    z-index: -1;
}

/* Chatbot Web Integration Mockup */
.chatbot-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.chatbot-header {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bot-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ade80 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bot-info {
    flex: 1;
}

.bot-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.bot-status {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    opacity: 0.9;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

.status-dot.online {
    background-color: #4ade80;
    box-shadow: 0 0 5px #4ade80;
}

.chat-actions {
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-color: rgba(0, 0, 0, 0.1);
    max-height: 240px;
    overflow-y: auto;
}

.message {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.message-bubble {
    max-width: 75%;
}

.bot-message .message-bubble {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.8rem 0.8rem 0.8rem 0.2rem;
}

.user-message .message-bubble {
    background-color: #4ade80;
    color: #065f46;
    border-radius: 0.8rem 0.8rem 0.2rem 0.8rem;
}

.message-text {
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.65rem;
    opacity: 0.7;
    padding: 0 0.8rem 0.3rem;
}

.quick-replies {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
}

.quick-reply-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-reply-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-input-field {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    color: white;
    outline: none;
}

.chat-input-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.send-btn {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4ade80 0%, #10b981 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.send-btn:hover {
    transform: scale(1.1);
}

.chatbot-metrics {
    display: flex;
    justify-content: space-around;
    padding: 0.8rem;
    background-color: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-small {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.metric-icon {
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* Responsive Design */
@media screen and (max-width: 968px) {
    .app-hero__title {
        font-size: 2rem;
    }
    
    .app-hero__subtitle {
        font-size: 1rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .app-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .app-card__image {
        padding: 2rem;
    }
    
    .app-mockup {
        max-width: 280px;
    }
    
    .app-card__content {
        padding: 2rem;
    }
    
    .app-card__title {
        font-size: 1.5rem;
    }
    
    .app-card__stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .app-hero {
        padding: 6rem 0 3rem;
    }
    
    .filter-section {
        padding: 1.5rem 0;
    }
    
    .app-mockup {
        max-width: 250px;
    }
    
    .mockup-logo {
        font-size: 0.95rem;
    }
    
    .app-card__stats {
        gap: 0.5rem;
    }
    
    .stat strong {
        font-size: 1.2rem;
    }
    
    .stat span {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 480px) {
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .app-card__image {
        padding: 1.5rem;
    }
    
    .app-mockup {
        max-width: 220px;
    }
    
    .app-card__content {
        padding: 1.5rem;
    }
}

/* Filter Animation */
.app-card.hidden {
    display: none;
}

.app-card.show {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
