/* Website Mockup Components - Individual mockup elements and content */

/* Website Mockup Components */
.mockup-content[data-tier="starter"] .device-screen,
.mockup-content[data-tier="professional"] .device-screen,
.mockup-content[data-tier="ecommerce"] .device-screen,
.mockup-content[data-tier="enterprise"] .device-screen {
    overflow-y: auto;
    overflow-x: hidden;
}

.desktop-frame .mockup-content[data-tier="starter"],
.desktop-frame .mockup-content[data-tier="professional"],
.desktop-frame .mockup-content[data-tier="ecommerce"],
.desktop-frame .mockup-content[data-tier="enterprise"] {
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.tablet-frame .mockup-content[data-tier="starter"],
.tablet-frame .mockup-content[data-tier="professional"],
.tablet-frame .mockup-content[data-tier="ecommerce"],
.tablet-frame .mockup-content[data-tier="enterprise"] {
    height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-frame .mockup-content[data-tier="starter"],
.mobile-frame .mockup-content[data-tier="professional"],
.mobile-frame .mockup-content[data-tier="ecommerce"],
.mobile-frame .mockup-content[data-tier="enterprise"] {
    height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.mock-header {
    padding: 1rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.tablet-frame .mock-header,
.mobile-frame .mock-header {
    padding: 0.75rem 1rem;
}

.mock-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #667eea;
}

.mock-menu {
    display: flex;
    gap: 1.5rem;
}

.mock-menu span {
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}

.mock-cart {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Navigation - Hidden by default */
.mock-mobile-nav {
    display: none;
}

.mock-hamburger {
    display: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    padding: 8px;
}

.mock-hamburger span {
    width: 20px;
    height: 2px;
    background: #666;
    border-radius: 1px;
}

.mock-hero {
    padding: 3rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tablet-frame .mock-hero,
.mobile-frame .mock-hero {
    padding: 2rem 1rem;
}

.mock-hero h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.mock-hero p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.mock-btn {
    padding: 0.75rem 2rem;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}

.mock-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 1.5rem;
}

.tablet-frame .mock-features {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 1rem;
}

.mobile-frame .mock-features {
    grid-template-columns: 1fr;
    padding: 1rem;
}

.mock-feature {
    text-align: center;
}

.mock-icon {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.mock-feature h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

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

.mock-cta {
    padding: 2rem 1.5rem;
    background: #f8f9fa;
    text-align: center;
}

.tablet-frame .mock-cta,
.mobile-frame .mock-cta {
    padding: 1.5rem 1rem;
}

.mock-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.tablet-frame .mock-form,
.mobile-frame .mock-form {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.mock-form input {
    padding: 0.75rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 250px;
}

.mock-form button {
    padding: 0.75rem 2rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}

/* Professional Tier Styles */
.mock-hero-slider {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-align: center;
    position: relative;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.dot.active {
    background: white;
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 1.5rem;
}

.tablet-frame .mock-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 1rem;
}

.mobile-frame .mock-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
}

.mock-card {
    text-align: center;
}

.mock-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.mock-blog-preview {
    padding: 3rem 2rem;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-date {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* E-Commerce Styles */
.mock-banner {
    padding: 2rem;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    text-align: center;
    color: white;
}

.mock-products {
    padding: 2rem;
}

.product-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-filters select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tablet-frame .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mobile-frame .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.product-card {
    position: relative;
    text-align: center;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-image {
    width: 100%;
    height: 120px;
    background: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.product-price {
    color: #667eea;
    font-weight: bold;
    margin: 0.5rem 0;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.5rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Enterprise Dashboard Styles */
.dashboard-layout {
    display: flex;
    min-height: 450px;
}

.sidebar {
    width: 200px;
    background: #2c3e50;
    padding: 1rem 0;
}

.sidebar-item {
    padding: 1rem 1.5rem;
    color: #ecf0f1;
    cursor: pointer;
    transition: background 0.3s;
}

.sidebar-item:hover,
.sidebar-item.active {
    background: #34495e;
}

.dashboard-content {
    flex: 1;
    padding: 2rem;
    background: #f8f9fa;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tablet-frame .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mobile-frame .stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

.stat-change {
    font-size: 0.9rem;
}

.stat-change.positive {
    color: #27ae60;
}

.stat-change.negative {
    color: #e74c3c;
}

.chart-container {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.mock-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 150px;
    margin-top: 1rem;
}

.chart-bar {
    width: 40px;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 5px 5px 0 0;
}

.data-table {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
}

.data-table table {
    width: 100%;
}

.data-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    background: #27ae60;
    color: white;
    border-radius: 15px;
    font-size: 0.85rem;
}

.status-badge.pending {
    background: #f39c12;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile App Mockups */
.app-header {
    background: #f8f9fa;
}

.app-status-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #333;
}

.app-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.app-content {
    padding: 1.5rem;
    padding-bottom: 90px; /* Extra padding for bottom navigation */
    height: calc(600px - 120px); /* Fixed height minus header space */
    overflow-y: auto; /* Allow scrolling within the content area */
    overflow-x: hidden;
    box-sizing: border-box;
}

.app-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.app-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-menu-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.app-menu-item:hover {
    background: #e9ecef;
    transform: scale(1.05);
}

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

.app-btn-primary {
    width: 100%;
    padding: 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
}

/* Standard App Styles */
.user-profile {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.app-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
}

.app-list {
    margin-bottom: 2rem;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.item-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.item-content {
    flex: 1;
}

.item-content h4 {
    margin-bottom: 0.25rem;
    color: #333;
}

.item-content p {
    font-size: 0.85rem;
    color: #666;
}

.app-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    box-sizing: border-box;
    z-index: 10; /* Ensure it stays above content */
}

.nav-item {
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
}

.nav-item.active {
    color: #667eea;
}

/* Premium App Styles */
.app-header.premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.app-header.premium .app-status-bar {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
}

.status-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.sync-indicator {
    /* Removed spinning animation */
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.app-nav.premium {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-small {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.nav-title h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.nav-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
}

.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.notification-badge {
    position: relative;
    font-size: 1.2rem;
}

.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.search-icon:hover {
    opacity: 1;
}

.app-content.premium {
    background: #f5f6fa;
    padding: 0.75rem;
    padding-bottom: 90px; /* Extra padding for bottom navigation */
    height: calc(600px - 130px - 70px); /* Fixed height minus header and bottom nav */
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Premium Stats Grid */
.premium-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stat-tile {
    background: white;
    padding: 0.75rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    font-size: 1.8rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 0.25rem;
}

.stat-trend {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

.stat-trend.positive {
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

/* Premium Chart Card */
.premium-chart-card {
    background: white;
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.chart-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1rem;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.chart-controls span {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    color: #7f8c8d;
}

.chart-controls span.active {
    background: #667eea;
    color: white;
}

.premium-chart {
    position: relative;
    height: 80px;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    border-radius: 8px;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 10%, 
        rgba(102, 126, 234, 0.3) 30%, 
        rgba(102, 126, 234, 0.2) 50%, 
        rgba(102, 126, 234, 0.4) 70%, 
        rgba(102, 126, 234, 0.3) 90%);
}

.chart-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, 50%);
}

.chart-point.active {
    background: #ff6b6b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, 50%) scale(1); }
    50% { transform: translate(-50%, 50%) scale(1.2); }
}

/* Activity Feed */
.activity-feed {
    background: white;
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f2f6;
}

.feed-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1rem;
}

.live-indicator {
    font-size: 0.8rem;
    color: #27ae60;
    font-weight: 600;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 50%;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-user {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.activity-action {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.activity-time {
    font-size: 0.75rem;
    color: #bdc3c7;
    margin-top: 0.25rem;
}

.activity-status {
    font-size: 1.2rem;
    color: #27ae60;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.action-tile {
    background: white;
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.action-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.action-tile span {
    font-size: 0.75rem;
    color: #2c3e50;
    font-weight: 600;
}

/* Enhanced Floating Action Button */
.floating-action.premium {
    position: absolute;
    bottom: 80px;
    right: 20px;
    z-index: 10;
}

.fab.premium {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.fab.premium:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.fab-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.fab-menu {
    position: absolute;
    bottom: 65px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    transform-origin: bottom right;
    transform: rotate(135deg); /* Start at upper-left diagonal */
}

.fab.premium:hover .fab-menu {
    opacity: 1;
    pointer-events: auto;
    transform: rotate(90deg); /* End at straight up */
}

.fab-option {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.fab-option:hover {
    transform: scale(1.1);
}

/* Enhanced Bottom Navigation */
.app-bottom-nav.premium {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    box-sizing: border-box;
    z-index: 10; /* Ensure it stays above content */
}

.app-bottom-nav.premium .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.app-bottom-nav.premium .nav-item:hover {
    background: rgba(102, 126, 234, 0.05);
}

.app-bottom-nav.premium .nav-item.active {
    color: #667eea;
}

.nav-icon {
    font-size: 1.3rem;
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #7f8c8d;
}

.app-bottom-nav.premium .nav-item.active .nav-label {
    color: #667eea;
}

.nav-badge {
    position: absolute;
    top: -2px;
    right: 2px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
