/* Inner Pages Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/pattern.svg') repeat;
    opacity: 0.1;
}

.min-vh-50 {
    min-height: 50vh;
}

/* AI Feature Cards */
.ai-feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.ai-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.ai-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
}

/* Feature List */
.feature-list {
    font-size: 1.05rem;
}

.feature-item {
    display: flex;
    align-items: start;
}

.feature-item i {
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Metrics Visual */
.metrics-visual {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.metric-card {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 600;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.metrics-list {
    list-style: none;
    padding: 0;
}

.metrics-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

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

/* Integration Grid */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.integration-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.integration-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.integration-logo {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.integration-item:hover .integration-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Feature Image */
.feature-image {
    position: relative;
}

.feature-image img {
    background: var(--white);
    padding: 20px;
}

/* Review Card */
.review-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.review-platform {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-icon {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.platform-icon.booking {
    background: #003580;
    color: white;
}

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

.platform-icon.tripadvisor {
    background: #00af87;
    color: white;
}

.review-rating {
    color: #ffc107;
}

.review-content {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

.review-author {
    font-weight: 600;
    color: var(--dark-color);
}

.review-date {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Analytics Dashboard */
.analytics-dashboard {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.chart-container {
    position: relative;
    height: 300px;
    margin: 20px 0;
}

/* Ticket System */
.ticket-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.flow-step::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--gray-light);
}

.flow-step:last-child::after {
    display: none;
}

.flow-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    position: relative;
    z-index: 1;
}

/* Automation Features */
.automation-card {
    background: #ffffff !important;
    border: 2px solid #dee2e6;
    color: #2C3E50;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.automation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #FF6B35;
}

/* Ensure all text is visible */
.automation-card * {
    position: relative;
    z-index: 1;
}

.automation-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 20px;
}

.automation-content h4 {
    color: #2C3E50;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.4rem;
}

.automation-content p {
    color: #495057;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.automation-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    margin-top: 15px;
}

.automation-stats .stat-item {
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.automation-stats .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #FF6B35;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.automation-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.timeline-item {
    position: relative;
    padding: 20px 0 20px 100px;
}

.timeline-marker {
    position: absolute;
    left: 35px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(255, 107, 53, 0.2);
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: #6c757d;
    margin: 0;
}

/* Use Case Cards */
.use-case-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.use-case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.use-case-header {
    margin-bottom: 20px;
}

.use-case-content p {
    color: #6c757d;
    font-style: italic;
}

.use-case-content h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.use-case-content small {
    color: #6c757d;
}

/* Security Items */
.security-item {
    padding: 20px;
}

.security-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    margin-bottom: 15px;
}

.security-item h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.security-item p {
    color: #6c757d;
}

/* Category Cards */
.category-card {
    padding: 20px;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

/* Metric Cards */
.metric-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

/* Benefit Cards */
.benefit-card {
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.benefit-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

/* Social Media Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.social-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.social-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-header.facebook {
    background: #1877f2;
    color: white;
}

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

.social-header.linkedin {
    background: #0077b5;
    color: white;
}

.social-icon {
    font-size: 24px;
}

.social-content {
    padding: 20px;
}

.social-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid var(--gray-light);
}

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

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

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}