/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: auto;
    overflow-y: auto;
}

/* Remember Me Checkbox Styles */
.remember-me-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #2c3e50;
    user-select: none;
}

.remember-me-checkbox {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #667eea;
}

.checkmark {
    margin-left: 4px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible !important;
}

/* Main Content */
.main-content {
    overflow: visible !important;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 185px;
    height: 43px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.logo a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 10px; }

/* Search Styles */
.search-container {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
    position: relative;
}

.search-box {
    display: flex;
    background: #f8f9fa;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.search-box:focus-within {
    border-color: #3498db;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
}

.search-btn {
    padding: 12px 20px;
    background: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #2980b9;
}

.language-selector,
.currency-selector {
    position: relative;
    display: inline-block;
}

.language-selector select,
.currency-selector select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    min-width: 80px;
    transition: all 0.3s ease;
}

.language-selector select:hover,
.currency-selector select:hover {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.language-selector select:focus,
.currency-selector select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.language-selector select option,
.currency-selector select option {
    padding: 8px 12px;
    background: white;
    color: #333;
}

.language-selector select option:hover,
.currency-selector select option:hover {
    background: #f8f9fa;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1001;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

.suggestion-item:hover {
    background: #f8f9fa;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Cart in header */
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background:#ecf0f1; border-radius: 50%; color:#2c3e50; text-decoration:none; }
.cart-link:hover { background:#dfe6eb; }
.cart-count { position:absolute; top:-6px; right:-6px; min-width:18px; height:18px; padding:0 5px; background:#e74c3c; color:#fff; border-radius: 20px; font-size:11px; display:flex; align-items:center; justify-content:center; }

/* Basket page */
.basket-container { max-width: 980px; margin: 30px auto; background:#fff; border-radius:12px; box-shadow:0 4px 20px rgba(0,0,0,0.1); padding:20px; }
.basket-item { display:grid; grid-template-columns: 80px 1fr 220px 80px; gap:16px; align-items:center; padding:12px 0; border-bottom:1px solid #eee; }
.basket-item:last-child { border-bottom:none; }
.basket-thumb { width:80px; height:60px; object-fit:cover; border-radius:8px; }
.basket-title { font-weight:600; color:#2c3e50; }
.basket-meta { color:#7f8c8d; font-size:13px; }
.license-select { width:100%; padding:8px 10px; border:1px solid #ddd; border-radius:6px; }
.basket-remove { background:#ffe9e7; color:#e74c3c; padding:6px 8px; border-radius:6px; }
.basket-options { color:#6b7280; font-size:12px; margin-top:4px; display:flex; gap:8px; flex-wrap:wrap; }
.basket-option-chip { background:#eef2ff; color:#3743ac; padding:3px 8px; border-radius:999px; font-weight:600; }
.basket-details { color:#475569; font-size:13px; margin-top:6px; }
.price-dual { color:#6b7280; font-size:12px; margin-top:4px; }
.basket-summary { display:flex; justify-content:space-between; align-items:center; padding-top:16px; }
.basket-upsell { margin-top:20px; border-top:1px solid #eee; padding-top:16px; }
.upsell-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:12px; }
.upsell-card { border:1px solid #e6e9ef; border-radius:10px; padding:12px; background:#fff; }
.upsell-title { font-weight:700; color:#2c3e50; margin-bottom:6px; }
.upsell-muted { color:#6b7280; font-size:13px; margin-bottom:8px; }
.upsell-actions { display:flex; gap:8px; align-items:center; }
.upsell-total { margin-top:12px; font-weight:700; display:flex; justify-content:flex-end; gap:12px; }

/* Checkout wizard */
.wizard { max-width: 980px; margin: 30px auto; background:#fff; border-radius:12px; box-shadow:0 4px 20px rgba(0,0,0,0.1); padding:20px; }
.wizard-steps { display:flex; gap:10px; margin-bottom:16px; }
.wizard-step { flex:1; text-align:center; padding:10px; border-radius:8px; background:#ecf0f1; color:#2c3e50; font-weight:600; }
.wizard-step.active { background:#3498db; color:#fff; }
.preview-table { width:100%; border-collapse:collapse; }
.preview-table th, .preview-table td { padding:10px; border-bottom:1px solid #eee; text-align:left; }

/* Review two-column info */
.review-grid { display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin-bottom:16px; }
.review-card { border:1px solid #e6e9ef; border-radius:10px; background:#fff; padding:14px; }
.review-card h4 { margin-bottom:8px; color:#2c3e50; }
.review-row { color:#555; font-size:14px; }

@media (max-width: 768px) {
  .review-grid { grid-template-columns: 1fr; }
}

/* Agreement styles on Review page */
.agreement-box { max-height: 180px; overflow:auto; padding:10px; border:1px solid #e6e9ef; border-radius:8px; background:#fcfcfd; }
.agreement-actions { display:flex; align-items:center; justify-content:space-between; margin-top:10px; gap:10px; flex-wrap:wrap; }
.agreement-hint { font-size:12px; color:#777; }

/* Review page item rows */
.review-item { display:flex; align-items:center; gap:10px; }
.review-item-thumb { width:40px; height:40px; object-fit:cover; border-radius:6px; border:1px solid #e6e9ef; }
.review-item-info { display:flex; flex-direction:column; }
.review-item-title { font-weight:600; }
.review-item-subtitle { font-size:12px; color:#6b7280; }
.cycle-prices { font-size:12px; color:#6b7280; }

/* License/Billing cards */
.card-list { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap:16px; }
.card { border:1px solid #e6e9ef; border-radius:10px; padding:14px; background:#fff; position:relative; }
.card.selected { border-color:#3498db; box-shadow:0 0 0 3px rgba(52,152,219,0.2); }
.card-title { font-weight:700; color:#2c3e50; margin-bottom:6px; }
.card-sub { color:#7f8c8d; font-size:13px; margin-bottom:8px; }
.card-actions { display:flex; gap:8px; position:absolute; top:10px; right:10px; }
.muted { color:#7f8c8d; }
.inline { display:flex; align-items:center; gap:8px; }

.language-selector select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.currency-selector select {
    padding: 8px 12px;
    border: 1px solid #cfe0ff;
    border-radius: 4px;
    background: #eef6ff;
    cursor: pointer;
}

.user-menu {
    position: relative;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 14px;
}

.login-btn:hover {
    background: #2980b9;
}

.user-dropdown.active {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}


/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.banner-content.banner-slider { display: block; }

.banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.banner-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
}

.banner-slider { position: relative; }
.banner-slider .slide { display: none; align-items: center; grid-template-columns: 1fr 1fr; gap: 60px; }
.banner-slider .slide.active { display: grid; }
.banner-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.banner-nav.prev { left: 10px; }
.banner-nav.next { right: 10px; }

/* Section Styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    color: #2c3e50;
}

.view-all-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #2980b9;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

/* Horizontal scroller for Most Popular */
#popularApps {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
#popularApps .app-card { flex: 0 0 320px; scroll-snap-align: start; margin: 6px; display:flex; flex-direction:column; }
#popularApps .app-card .app-content { flex:1; }
#popularApps::-webkit-scrollbar { height: 0; }

.app-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.app-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Compact app card layout (icon left, title right, full-width CTA at bottom) */
.app-card.compact { display:flex; flex-direction:column; padding:0; height:100%; }
.app-card.compact .app-image { display:none; }
.app-card.compact .app-content { padding:0; }
.app-card.compact .app-header-row { display:flex; align-items:center; gap:14px; padding:16px; }
.app-card.compact .app-thumb { width:56px; height:56px; border-radius:12px; object-fit:cover; flex-shrink:0; }
.app-card.compact .app-header-info { display:flex; flex-direction:column; }
.app-card.compact .app-title { font-size:18px; margin:0; }
.app-card.compact .app-developer { margin:2px 0 0; font-size:13px; color:#6b7280; }
.app-card.compact .app-brief { padding:0 16px 8px; color:#555; font-size:14px; min-height:40px; }
.app-card.compact .app-compact-meta { display:flex; align-items:center; justify-content:space-between; padding:0 16px 8px; }
.app-card.compact .app-compact-meta .price { font-weight:700; color:#27ae60; font-size:16px; }
.app-card.compact .app-compact-meta .price.paid { color:#e74c3c; }
.app-card.compact .mini-rating { display:flex; align-items:center; gap:6px; color:#6b7280; font-size:13px; }
.app-card.compact .category-tags { display:flex; gap:6px; flex-wrap:wrap; padding:0 16px 12px; }
.app-card.compact .category-chip { background:#eef6ff; color:#2563eb; padding:4px 8px; border-radius:999px; font-size:12px; font-weight:600; }
.app-card.compact .cta-full { display:flex; align-items:center; justify-content:space-between; background:#3498db; color:#fff; padding:12px 16px; text-decoration:none; font-weight:600; border-top:1px solid rgba(255,255,255,0.1); border-radius:0 0 12px 12px; }
.app-card.compact .cta-full { margin-top:auto; }
.app-card.compact .cta-full:hover { background:#2980b9; }

.app-content {
    padding: 20px;
}

.app-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #2c3e50;
}

.app-developer {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.app-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.app-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #f39c12;
}

.rating-count {
    font-size: 12px;
    color: #7f8c8d;
}

.app-price {
    font-weight: bold;
    color: #27ae60;
}

.app-price.free {
    color: #27ae60;
}

.app-price.paid {
    color: #e74c3c;
}

.app-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.badge.featured {
    background: #f39c12;
    color: white;
}

.badge.verified {
    background: #27ae60;
    color: white;
}

.badge.trial {
    background: #3498db;
    color: white;
}

.app-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.btn-secondary:hover {
    background: #bdc3c7;
}

/* Category Highlights */
.category-highlights {
    padding: 32px 0;
    background: #f8f9fa;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.category-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-card-header i {
    font-size: 24px;
    color: #3498db;
}

.category-card-header h3 {
    font-size: 20px;
    color: #2c3e50;
}

.category-apps {
    margin-bottom: 20px;
}

.category-app-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.category-app-item:last-child {
    border-bottom: none;
}

.category-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.category-app-info {
    flex: 1;
}

.category-app-title {
    font-weight: 500;
    margin-bottom: 4px;
}

.category-app-developer {
    font-size: 12px;
    color: #7f8c8d;
}

.category-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

/* Info Section */
.info-section {
    padding: 32px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    text-align: center;
    padding: 40px 20px;
}

.info-icon {
    width: 80px;
    height: 80px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 32px;
    color: white;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.info-card p {
    color: #666;
    margin-bottom: 20px;
}

.info-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

/* Category Page Styles */
.category-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2px 0;
    margin-bottom: 20px;
}

.category-title { font-size: 36px; font-weight: 800; margin-bottom: 8px; letter-spacing: 0.3px; }
.category-info { padding-left: 8px; }
.category-description { margin-left: 8px; }

.category-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.category-stats {
    display: flex;
    gap: 30px;
}

.category-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.filters-header h3 {
    font-size: 18px;
    color: #2c3e50;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.clear-filters-btn:hover {
    color: #2980b9;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.filter-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: #eee;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.filter-option:hover .checkmark {
    background-color: #ddd;
}

.filter-option input:checked ~ .checkmark {
    background-color: #3498db;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-option input:checked ~ .checkmark:after {
    display: block;
}

/* Results Section */
.results-section {
    flex: 1;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.results-count {
    font-size: 16px;
    color: #666;
}

.results-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-control label {
    font-size: 14px;
    color: #666;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

.view-control {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #f8f9fa;
}

.view-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.results-grid.list-view {
    grid-template-columns: 1fr;
}

.results-grid.list-view .app-card {
    display: flex;
    align-items: center;
    padding: 20px;
}

.results-grid.list-view .app-image {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    flex-shrink: 0;
}

.results-grid.list-view .app-content {
    flex: 1;
    padding: 0;
}

.results-grid.list-view .app-actions {
    margin-top: 0;
    margin-left: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.pagination-btn:hover {
    background: #f8f9fa;
}

.pagination-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-content i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results-content h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.no-results-content p {
    color: #666;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* App Detail Page Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 12px;
}

.app-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* App Info Column */
.app-info-column {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-basic-info {
    flex: 1;
}

.app-title {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

.app-developer {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.app-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-text {
    font-size: 14px;
    color: #666;
}

.app-downloads {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

/* App Gallery */
.app-gallery {
    margin-bottom: 40px;
}

.gallery-main {
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(0,0,0,0.9);
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: #3498db;
}

/* App Description */
.app-description-section,
.app-features-section,
.app-reviews-section {
    margin-bottom: 40px;
}

.app-faq-section { margin-bottom: 40px; }
.app-deps-section { margin-bottom: 30px; }
.dep-list { display:grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap:12px; }
.dep-item { display:flex; gap:12px; align-items:center; background:#fff; border:1px solid #e6e9ef; border-radius:10px; padding:10px; cursor:pointer; transition: box-shadow .2s ease; }
.dep-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.dep-icon { width:40px; height:40px; border-radius:8px; object-fit:cover; }
.dep-info { display:flex; flex-direction:column; }
.dep-title { font-weight:600; color:#1f2937; }
.dep-meta { font-size:12px; color:#6b7280; display:flex; gap:8px; flex-wrap:wrap; }
.dep-chip { background:#eef2ff; color:#3743ac; padding:2px 8px; border-radius:999px; font-weight:700; font-size:11px; }
.faq-item { background:#f1f5fb; border-radius:10px; margin-bottom:12px; overflow:hidden; }
.faq-q { display:flex; justify-content:space-between; align-items:center; padding:14px 16px; cursor:pointer; font-weight:600; color:#2c3e50; }
.faq-a { display:none; padding:14px 16px; background:#fff; }
.faq-item.active .faq-a { display:block; }
.faq-toggle { color:#3498db; }

.app-description-section h2,
.app-features-section h2,
.app-reviews-section h2 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.app-description {
    line-height: 1.6;
    color: #555;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Reviews */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.reviews-summary {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
}

.rating-stars {
    margin: 10px 0;
}

.rating-count {
    font-size: 14px;
    color: #666;
}

.rating-bars {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-bar-label {
    font-size: 12px;
    color: #666;
    min-width: 30px;
}

.rating-bar-bg {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: #f39c12;
    border-radius: 4px;
}

.rating-bar-count {
    font-size: 12px;
    color: #666;
    min-width: 40px;
}

.reviews-list {
    max-height: 400px;
    overflow-y: auto;
}

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 500;
    color: #2c3e50;
}

.review-date {
    font-size: 12px;
    color: #666;
}

.review-stars {
    color: #f39c12;
    margin-bottom: 10px;
}

.review-title {
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c3e50;
}

.review-text {
    color: #555;
    line-height: 1.5;
}

/* Purchase Column */
.app-purchase-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.purchase-card,
.app-info-card,
.developer-info-card,
.support-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Plan selector styles */
.plan-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:14px; }
.plan-card { border:1px solid #e6e9ef; border-radius:12px; padding:14px; background:#fff; position:relative; }
.plan-card.selected { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,0.15); }
.plan-badge { position:absolute; top:10px; left:10px; background:#e7f5ee; color:#16a34a; padding:6px 10px; border-radius:999px; font-weight:700; font-size:12px; }
.plan-title { font-weight:700; color:#1f2937; margin:26px 0 6px; }
.plan-price { font-size:22px; font-weight:800; color:#e74c3c; }
.plan-old { text-decoration:line-through; color:#9ca3af; font-size:13px; }
.plan-sub { color:#6b7280; font-size:12px; }
.plan-features { margin-top:10px; list-style:none; padding-left:0; }
.plan-features li { display:flex; gap:8px; align-items:flex-start; padding:6px 0; color:#4b5563; font-size:14px; }
.plan-actions { margin-top:12px; }
.toggle { display:flex; gap:12px; align-items:center; }
.toggle input { margin-right:6px; }

.purchase-card h3,
.app-info-card h3,
.developer-info-card h3,
.support-card h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.price-section {
    text-align: center;
    margin-bottom: 25px;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 5px;
}

.price-type {
    font-size: 14px;
    color: #666;
}

.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-large {
    padding: 15px 25px;
    font-size: 16px;
}

.purchase-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.info-item i {
    color: #3498db;
    width: 16px;
}

/* App Info Card */
.app-info-card .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.app-info-card .info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #2c3e50;
}

.info-value {
    color: #3498db;
    text-decoration: none;
}

.info-value:hover {
    text-decoration: underline;
}

/* Developer Info Card */
.developer-info {
    text-align: center;
}

.developer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
}

.developer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developer-info h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.developer-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.developer-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.developer-stats .stat {
    text-align: center;
}

.developer-stats .stat-number {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.developer-stats .stat-label {
    font-size: 12px;
    color: #666;
}

/* Support Card */
.support-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3498db;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.support-link:hover {
    background: #f8f9fa;
}

/* Similar Apps */
.similar-apps-section {
    margin-top: 60px;
}

.similar-apps-section h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.similar-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Review Modal */
.rating-input {
    margin-bottom: 20px;
}

.rating-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #2c3e50;
}

.stars-input {
    display: flex;
    gap: 5px;
}

.stars-input i {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.stars-input i:hover,
.stars-input i.active {
    color: #f39c12;
}

/* Responsive App Detail Layout */
@media (max-width: 768px) {
    .app-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .app-header {
        flex-direction: column;
        text-align: center;
    }
    
    .app-meta {
        justify-content: center;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .reviews-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .similar-apps-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Responsive Category Layout */
@media (max-width: 768px) {
    .category-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filters-sidebar {
        position: static;
        order: 2;
    }
    
    .results-section {
        order: 1;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .results-controls {
        justify-content: space-between;
    }
    
    .results-grid.list-view .app-card {
        flex-direction: column;
        text-align: center;
    }
    
    .results-grid.list-view .app-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .results-grid.list-view .app-actions {
        margin-left: 0;
        margin-top: 15px;
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #3498db;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Featured and Popular Sections */
.featured-apps,
.popular-apps {
    padding: 24px 0;
}

/* Popular scroller UI */
.popular-apps { background: linear-gradient(180deg,#f7f9fc 0%, #ffffff 100%); }
.popular-apps .container { background: transparent; }
.scroller-wrapper { position: relative; background:#f7f9fc; border-radius:14px; box-shadow:0 6px 22px rgba(16,24,40,0.06); padding:14px 44px; }
.scroller-btn { position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border:none; border-radius:50%; background:#eaf1ff; color:#2563eb; box-shadow:0 2px 8px rgba(0,0,0,0.1); cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:2; }
.scroller-btn:hover{ background:#dce9ff; }
.scroller-btn.prev{ left:6px; }
.scroller-btn.next{ right:6px; }

#popularApps { scrollbar-color: #9db8ff #ecf2ff; scrollbar-width: thin; padding:8px 6px; scroll-padding-left:6px; scroll-padding-right:6px; }
#popularApps::-webkit-scrollbar { height: 0; }
#popularScroll { overflow-x: auto; }
#popularScroll::-webkit-scrollbar { height: 8px; }
#popularScroll::-webkit-scrollbar-track { background:#ecf2ff; border-radius:8px; }
#popularScroll::-webkit-scrollbar-thumb { background: linear-gradient(90deg,#89a7ff,#5c85ff); border-radius: 8px; }
#popularApps::-webkit-scrollbar-track { background:#ecf2ff; border-radius:8px; }
#popularApps::-webkit-scrollbar-thumb { background: linear-gradient(90deg,#89a7ff,#5c85ff); border-radius: 8px; }

/* CRPortal styles */
.crp-hero{ background:linear-gradient(135deg,#eef4ff 0%,#ffffff 100%); border-radius:16px; padding:28px; margin:20px 0; box-shadow:0 6px 22px rgba(16,24,40,0.06); }
.crp-hero-grid{ display:grid; grid-template-columns: 3fr 2fr; gap:18px; align-items:center; }
.crp-hero-visual img{ width:100%; border-radius:12px; }
.crp-hero h1{ font-size:34px; margin-bottom:10px; }
.crp-hero-actions{ display:flex; gap:10px; margin-top:10px; }
.crp-section{ margin:24px 0; }
.crp-head{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.crp-head.small h3{ margin:0; }
.crp-icon{ width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:18px; }
.gradient-blue{ background:linear-gradient(45deg,#60a5fa,#2563eb); }
.gradient-green{ background:linear-gradient(45deg,#34d399,#059669); }
.gradient-purple{ background:linear-gradient(45deg,#c084fc,#7c3aed); }
.gradient-orange{ background:linear-gradient(45deg,#f59e0b,#ef4444); }
.crp-tabs{ display:flex; gap:8px; margin-bottom:12px; }
.crp-tab{ padding:10px 14px; border:1px solid #d7e2ff; background:#f5f8ff; color:#2563eb; border-radius:8px; cursor:pointer; }
.crp-tab.active{ background:#2563eb; color:#fff; }
.crp-panel{ display:none; }
.crp-panel.active{ display:block; }
.crp-note{ background:#fff; border:1px dashed #cfe0ff; padding:10px 12px; border-radius:8px; margin-bottom:12px; color:#334155; }
.crp-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.crp-card{ background:#fff; border:1px solid #e6e9ef; border-radius:12px; padding:14px; display:flex; flex-direction:column; gap:8px; box-shadow:0 2px 8px rgba(0,0,0,0.04); }
.crp-card h4{ margin:0; font-size:16px; color:#1f2937; }
.crp-card .crp-price{ font-weight:800; color:#e74c3c; }
.crp-card .crp-actions{ margin-top:auto; display:flex; justify-content:space-between; align-items:center; }
.crp-addon-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.crp-addon{ background:#fff; border:1px solid #e6e9ef; border-radius:10px; padding:12px; display:flex; justify-content:space-between; align-items:center; }
.crp-total{ text-align:right; font-weight:800; color:#111827; margin-top:10px; }
.crp-downloads{ display:flex; gap:10px; }
.crp-links{ list-style:disc; padding-left:18px; }

/* CRPortal Landing Page */
:root{--crp-accent:#6366f1;--crp-accent-600:#4f46e5;--crp-secondary:#ec4899;--crp-tertiary:#06b6d4;--crp-success:#10b981;--crp-warning:#f59e0b;--crp-purple:#8b5cf6;--crp-text:#0b1220;--crp-muted:#64748b;--crp-border:#e2e8f0;--crp-card:#ffffff;--crp-bg-soft:#f8fafc}
.crp-landing{color:var(--crp-text);background:#ffffff;min-height:auto}
.crp-landing .container{background:#fff;border-radius:0;margin:0 auto;box-shadow:none;overflow:visible}
.crp-landing .crp-hero{background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#f093fb 100%);color:#ffffff;padding:60px 40px;position:relative;overflow:hidden;border-radius:24px;margin:20px 0;box-shadow:0 20px 60px rgba(102,126,234,0.2)}
.crp-landing .crp-hero::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=800&h=600&fit=crop&crop=focalpoint&fp-x=0.5&fp-y=0.3&auto=format&q=80') center/cover;opacity:0.08;z-index:1;border-radius:24px}
.crp-landing .crp-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center;position:relative;z-index:2}
.crp-landing .crp-hero-content h1{font-size:52px;margin:0 0 16px;font-weight:800;color:#ffffff;text-shadow:0 2px 20px rgba(0,0,0,0.1)}
.crp-landing .crp-hero-content p{color:#f1f5f9;font-size:18px;line-height:1.7;text-shadow:0 1px 10px rgba(0,0,0,0.1)}
.crp-landing .crp-hero-actions{margin:24px 0;display:flex;gap:12px;flex-wrap:wrap}
.crp-landing .crp-hero-actions .btn{display:inline-flex;align-items:center;gap:8px;padding:14px 24px;border-radius:12px;font-weight:600;text-decoration:none;transition:all .3s ease;border:2px solid transparent}
.crp-landing .crp-hero-actions .btn.btn-primary{background:#ffffff;color:var(--crp-accent);border-color:#ffffff;box-shadow:0 8px 32px rgba(255,255,255,.4)}
.crp-landing .crp-hero-actions .btn.btn-secondary{background:rgba(255,255,255,.15);color:#ffffff;border-color:rgba(255,255,255,.3);backdrop-filter:blur(10px)}
.crp-landing .crp-hero-actions .btn:hover{transform:translateY(-3px);box-shadow:0 12px 40px rgba(0,0,0,.15)}
.crp-landing .trust{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.crp-landing .trust li{display:flex;gap:8px;align-items:center;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);padding:8px 12px;border-radius:12px;backdrop-filter:blur(10px);color:#ffffff;font-weight:500}
.crp-landing .crp-hero-visual{position:relative}
.crp-landing .crp-hero-visual img{border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.15);border:3px solid rgba(255,255,255,.2)}
.crp-landing .crp-section{padding:60px 40px;position:relative;margin:30px 0;border-radius:24px;overflow:hidden}
.crp-landing .crp-section.info-section{background:linear-gradient(135deg,#e0f2fe 0%,#bae6fd 100%);box-shadow:0 16px 40px rgba(6,182,212,0.1)}
.crp-landing .crp-section.architecture-section{background:linear-gradient(135deg,#f3e8ff 0%,#e9d5ff 100%);box-shadow:0 16px 40px rgba(139,92,246,0.1)}
.crp-landing .crp-section.use-cases-section{background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%);box-shadow:0 16px 40px rgba(16,185,129,0.1)}
.crp-landing .crp-section.deploy-section{background:linear-gradient(135deg,#fff7ed 0%,#fed7aa 100%);box-shadow:0 16px 40px rgba(245,158,11,0.1)}
.crp-landing .crp-section.why-section{background:linear-gradient(135deg,#fdf2f8 0%,#fce7f3 100%);box-shadow:0 16px 40px rgba(236,72,153,0.1)}
.crp-landing .crp-section.plans-section{background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);box-shadow:0 16px 40px rgba(99,102,241,0.1)}
.crp-landing .crp-section.download-section{background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);box-shadow:0 16px 40px rgba(71,85,105,0.1)}
.crp-landing .crp-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:24px}
.crp-landing .crp-head h2{font-size:36px;font-weight:800;margin:0 0 8px;background:linear-gradient(45deg,var(--crp-accent),var(--crp-secondary));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.crp-landing .crp-icon{width:56px;height:56px;display:inline-flex;align-items:center;justify-content:center;border-radius:18px;color:#fff;box-shadow:0 12px 32px rgba(0,0,0,.2);font-size:22px}
.crp-landing .gradient-blue{background:linear-gradient(135deg,#06b6d4,#0891b2)}
.crp-landing .gradient-purple{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}
.crp-landing .gradient-orange{background:linear-gradient(135deg,#f59e0b,#d97706)}
.crp-landing .gradient-green{background:linear-gradient(135deg,#10b981,#059669)}
.crp-landing .gradient-pink{background:linear-gradient(135deg,#ec4899,#db2777)}
.crp-landing .grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.crp-landing .card{background:var(--crp-card);border:1px solid var(--crp-border);border-radius:24px;box-shadow:0 16px 40px rgba(0,0,0,.08);padding:28px;transition:all .4s ease;position:relative;overflow:hidden}
.crp-landing .card::before{content:'';position:absolute;top:0;left:0;right:0;height:6px;background:linear-gradient(90deg,var(--crp-accent),var(--crp-secondary),var(--crp-tertiary),var(--crp-success));transition:all .4s ease}
.crp-landing .card:hover{transform:translateY(-8px);box-shadow:0 24px 60px rgba(0,0,0,.15)}
.crp-landing .card:hover::before{height:12px}
.crp-landing .card h4{font-size:22px;font-weight:800;margin:0 0 16px;color:var(--crp-text)}
.crp-landing .card p{color:var(--crp-muted);line-height:1.6;margin:0;font-size:15px}
.crp-landing .card-image{width:100%;height:140px;background-size:cover;background-position:center;border-radius:16px;margin-bottom:20px;position:relative;overflow:hidden}
.crp-landing .card-image::after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,rgba(99,102,241,0.1),rgba(236,72,153,0.1))}
.crp-landing .crp-richtext{color:var(--crp-muted);line-height:1.8;font-size:16px}
.crp-landing .crp-list{margin:16px 0 0 20px;color:var(--crp-muted);line-height:1.8}
.crp-landing .crp-list li{margin-bottom:10px;font-weight:500}
.crp-landing .section-pattern{position:absolute;top:0;right:0;width:300px;height:300px;opacity:0.03;background:url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=600&h=600&fit=crop&auto=format&q=80') center/cover;border-radius:50%;filter:blur(1px)}
.crp-landing .floating-elements{position:absolute;top:20px;right:20px;display:flex;gap:12px}
.crp-landing .floating-dot{width:12px;height:12px;border-radius:50%;background:var(--crp-accent);opacity:0.2;animation:float 3s ease-in-out infinite}
.crp-landing .floating-dot:nth-child(2){background:var(--crp-secondary);animation-delay:0.5s}
.crp-landing .floating-dot:nth-child(3){background:var(--crp-tertiary);animation-delay:1s}
@keyframes float{0%,100%{transform:translateY(0px)}50%{transform:translateY(-10px)}}

/* Developer Profile Page */
.developer-profile .profile-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 24px;
  margin: 20px 0;
  overflow: hidden;
  position: relative;
}

.developer-profile .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1200&h=400&fit=crop&auto=format&q=80') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.developer-profile .profile-header {
  position: relative;
  z-index: 2;
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
}

.developer-profile .profile-avatar {
  position: relative;
}

.developer-profile .profile-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.developer-profile .avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--crp-success);
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  font-size: 14px;
}

.developer-profile .profile-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.developer-profile .developer-type {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 500;
}

.developer-profile .profile-info h1 {
  font-size: 36px;
  color: white;
  margin: 8px 0;
  font-weight: 700;
}

.developer-profile .profile-info p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.developer-profile .profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.developer-profile .stat {
  text-align: center;
  background: rgba(255,255,255,0.1);
  padding: 16px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.developer-profile .stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.developer-profile .stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.developer-profile .profile-links {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.developer-profile .link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.developer-profile .link-item:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.developer-profile .profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.developer-profile .profile-actions .btn {
  backdrop-filter: blur(10px);
}

.developer-profile .profile-actions .btn-primary {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.developer-profile .profile-actions .btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

/* About Section */
.developer-profile .developer-about {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 24px;
  padding: 40px;
  margin: 30px 0;
}

.developer-profile .about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 24px;
}

.developer-profile .about-text #devDescription p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--crp-text);
  margin-bottom: 24px;
}

.developer-profile .specializations,
.developer-profile .technologies {
  margin-bottom: 24px;
}

.developer-profile .specializations h4,
.developer-profile .technologies h4 {
  font-size: 18px;
  color: var(--crp-text);
  margin-bottom: 12px;
  font-weight: 600;
}

.developer-profile .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.developer-profile .tag {
  background: var(--crp-accent);
  color: white;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

.developer-profile .tag.tech {
  background: var(--crp-tertiary);
}

.developer-profile .about-sidebar .info-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.developer-profile .info-card h4 {
  font-size: 18px;
  color: var(--crp-text);
  margin-bottom: 16px;
  font-weight: 600;
}

.developer-profile .info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--crp-muted);
}

.developer-profile .info-item i {
  color: var(--crp-accent);
  width: 16px;
}

.developer-profile .cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--crp-text);
}

.developer-profile .cert-item i {
  color: var(--crp-warning);
}

/* Apps Section */
.developer-profile .developer-apps {
  background: white;
  border-radius: 24px;
  padding: 40px;
  margin: 30px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.developer-profile .section-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 24px;
}

.developer-profile .section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  color: var(--crp-text);
  font-weight: 600;
  margin: 0;
}

.developer-profile .section-title i {
  color: var(--crp-accent);
}

.developer-profile .section-controls .filter-select {
  padding: 8px 16px;
  border: 1px solid var(--crp-border);
  border-radius: 8px;
  background: white;
  color: var(--crp-text);
  font-size: 14px;
}

.developer-profile .no-apps,
.developer-profile .no-reviews {
  text-align: center;
  padding: 60px 20px;
  color: var(--crp-muted);
}

.developer-profile .no-apps-content i,
.developer-profile .no-reviews-content i {
  font-size: 48px;
  color: var(--crp-border);
  margin-bottom: 16px;
}

.developer-profile .no-apps-content h3,
.developer-profile .no-reviews-content h3 {
  font-size: 20px;
  color: var(--crp-text);
  margin-bottom: 8px;
}

/* Reviews Section */
.developer-profile .developer-reviews {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  border-radius: 24px;
  padding: 40px;
  margin: 30px 0;
}

.developer-profile .rating-overview {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.developer-profile .overall-rating {
  text-align: center;
}

.developer-profile .rating-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--crp-warning);
  display: block;
}

.developer-profile .rating-count {
  font-size: 14px;
  color: var(--crp-muted);
  margin-top: 8px;
  display: block;
}

/* Achievements Section */
.developer-profile .developer-achievements {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-radius: 24px;
  padding: 40px;
  margin: 30px 0;
}

.developer-profile .achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.developer-profile .achievement-badge {
  background: white;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.developer-profile .achievement-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.developer-profile .achievement-badge i {
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.developer-profile .achievement-badge.verified i {
  background: var(--crp-success);
  color: white;
}

.developer-profile .achievement-badge.quality i {
  background: var(--crp-warning);
  color: white;
}

.developer-profile .achievement-badge.prolific i {
  background: var(--crp-accent);
  color: white;
}

.developer-profile .achievement-badge.popular i {
  background: var(--crp-secondary);
  color: white;
}

.developer-profile .badge-info h4 {
  font-size: 16px;
  color: var(--crp-text);
  margin: 0 0 4px;
  font-weight: 600;
}

.developer-profile .badge-info p {
  font-size: 14px;
  color: var(--crp-muted);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .developer-profile .profile-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .developer-profile .about-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .developer-profile .profile-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .developer-profile .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .developer-profile .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Error Message */
.error-message {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 16px;
  margin: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.error-message i {
  font-size: 48px;
  color: #ef4444;
  margin-bottom: 16px;
}

.error-message h3 {
  font-size: 24px;
  color: var(--crp-text);
  margin-bottom: 8px;
}

.error-message p {
  color: var(--crp-muted);
  margin-bottom: 24px;
}

/* App Cards for Developer Profile */
.developer-profile .apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.developer-profile .app-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.developer-profile .app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.developer-profile .app-image {
  position: relative;
  margin-bottom: 16px;
}

.developer-profile .app-image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.developer-profile .trial-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--crp-success);
  color: white;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

.developer-profile .app-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--crp-text);
  margin: 0 0 8px;
}

.developer-profile .app-description {
  color: var(--crp-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.developer-profile .app-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.developer-profile .stars {
  color: var(--crp-warning);
  font-size: 14px;
}

.developer-profile .rating-text {
  font-size: 12px;
  color: var(--crp-muted);
}

.developer-profile .app-stats {
  font-size: 12px;
  color: var(--crp-muted);
  margin-bottom: 12px;
}

.developer-profile .app-price {
  text-align: right;
}

.developer-profile .app-price .price {
  font-size: 16px;
  font-weight: 600;
  color: var(--crp-accent);
}
@media (max-width:900px){.crp-landing .crp-hero-grid,.crp-landing .grid-3{grid-template-columns:1fr}.crp-landing .crp-hero{padding:40px 20px}.crp-landing .crp-section{padding:40px 20px}.crp-landing .crp-hero-content h1{font-size:36px}}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-container {
        margin: 0;
        max-width: 100%;
    }
    
    .category-list {
        flex-direction: column;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .banner-title {
        font-size: 36px;
    }
    
    .banner-stats {
        justify-content: center;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .category-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .modal-content {
        width: 95%;
    }
}

/* Enhanced Developer Info Card */
.developer-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.developer-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.developer-info-card h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.developer-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.developer-avatar {
    position: relative;
}

.developer-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.developer-avatar img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.developer-basic h4 {
    margin: 0 0 8px 0;
    font-size: 1.3em;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.developer-type {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: inline-block;
    margin-bottom: 8px;
    backdrop-filter: blur(10px);
}

.developer-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.developer-badges .badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge.verified {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.badge.quality {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
}

.badge.prolific {
    background: linear-gradient(45deg, #dc3545, #e83e8c);
}

.badge.popular {
    background: linear-gradient(45deg, #6f42c1, #e83e8c);
}

.developer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 16px 0;
    font-size: 0.95em;
}

.developer-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
}

.developer-stats .stat {
    text-align: center;
    flex: 1;
}

.developer-stats .stat-number {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 4px;
}

.developer-stats .stat-label {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.developer-actions {
    text-align: center;
    margin-top: 20px;
}

.developer-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.developer-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.developer-btn i {
    font-size: 1.1em;
}

/* ===============================
   MODERN HOME PAGE STYLES
   =============================== */

/* Hero Section Enhancements */
.hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    max-height: 55vh;
    display: flex;
    align-items: center;
    padding: 40px 0 30px;
    margin-top: 20px;
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.slide.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 35vh;
}

.banner-text {
    padding-right: 30px;
}

.banner-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #f5576c 75%, 
        #4facfe 100%);
    opacity: 0.8;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-dot.dot-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-dot.dot-2 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.floating-dot.dot-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 8%;
    animation-delay: 2s;
}

.floating-dot.dot-4 {
    width: 40px;
    height: 40px;
    top: 80%;
    right: 15%;
    animation-delay: 3s;
}

.floating-dot.dot-5 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    left: 15%;
    animation-delay: 4s;
}

.floating-dot.dot-6 {
    width: 50px;
    height: 50px;
    top: 40%;
    right: 5%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 0.3;
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    color: white;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge.featured {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    border-color: rgba(255, 215, 0, 0.3);
}

.hero-badge.enterprise {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border-color: rgba(42, 82, 152, 0.3);
}

/* Enhanced Banner Title */
.banner-title {
    font-size: 2.8em;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
}

.title-highlight {
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.title-normal {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.title-decoration {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #fff, transparent);
    border-radius: 2px;
    animation: slideIn 1s ease-out 0.5s both;
}

@keyframes slideIn {
    from { 
        width: 0; 
        opacity: 0; 
    }
    to { 
        width: 60%; 
        opacity: 1; 
    }
}

/* Enhanced Banner Subtitle */
.banner-subtitle {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    max-width: 500px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-hero {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-hero:hover:before {
    left: 100%;
}

.btn-primary.btn-hero {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary.btn-hero {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced Stats */
.banner-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 12px;
    transition: all 0.3s ease;
    min-width: 0;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.stat-number {
    display: block;
    font-size: 1.8em;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Enhanced Image Container */
.image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    max-width: 420px;
    width: 100%;
    aspect-ratio: 4/3;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.image-glow.featured {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
}

.image-glow.enterprise {
    background: radial-gradient(circle, rgba(42, 82, 152, 0.2) 0%, transparent 70%);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Banner Navigation */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.banner-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.banner-nav.prev {
    left: 20px;
}

.banner-nav.next {
    right: 20px;
}

/* Banner Dots */
.banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.banner-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dots .dot.active {
    background: white;
    transform: scale(1.3);
}

/* Clean Section Headers with Background */
.section-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-header.centered {
    max-width: 700px;
    margin: 0 auto 32px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #667eea;
    color: white;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.7em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-badge.trending {
    background: #ff6b6b;
}

.section-badge.categories {
    background: #a55eea;
}

.section-badge.platform {
    background: #fd79a8;
}

.section-title {
    font-size: 1.75em;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e293b;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.title-highlight {
    color: #667eea;
}

.title-normal {
    color: #475569;
    font-weight: 500;
}

.title-underline {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

.title-underline.trending {
    background: #ff6b6b;
}

.title-underline.categories {
    background: #a55eea;
}

.title-underline.platform {
    background: #fd79a8;
}

.section-subtitle {
    font-size: 0.95em;
    color: #64748b;
    line-height: 1.5;
    max-width: 480px;
    margin: 0 auto;
    font-weight: 400;
}

/* Clean View All Button */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85em;
    transition: all 0.3s ease;
    margin-top: 16px;
    box-shadow: 0 1px 3px rgba(102, 126, 234, 0.3);
}

.view-all-btn:hover {
    background: #5a67d8;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.view-all-btn i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(2px);
}

/* Apps Showcase */
.apps-showcase {
    margin-top: 24px;
}

.apps-grid.modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.apps-grid.horizontal {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
}

/* Scroller Wrapper */
.scroller-wrapper.modern {
    position: relative;
    margin: 40px 0;
}

.scroller-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroller-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.scroller-btn.prev {
    left: -25px;
}

.scroller-btn.next {
    right: -25px;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroller-btn:hover .btn-glow {
    opacity: 1;
}

/* Category Cards Modern */
.category-cards.modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    opacity: 0.1;
    z-index: 0;
}

.card-background.hr {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.card-background.crm {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.card-background.finance {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.category-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: #667eea;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    z-index: 1;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.category-desc {
    color: #666;
    font-size: 0.9em;
    margin: 8px 0 20px;
    line-height: 1.5;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: #764ba2;
    text-decoration: none;
    transform: translateX(5px);
}

.link-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.category-link:hover .link-glow {
    width: 100%;
}

/* Info Section Modern */
.info-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.info-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.info-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.05) 0%, 
        rgba(118, 75, 162, 0.05) 50%, 
        rgba(240, 147, 251, 0.05) 100%);
}

.info-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
}

.info-grid.modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.info-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.info-card.developer {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    opacity: 0.05;
    z-index: -1;
}

.card-background.quick {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.card-background.secure {
    background: linear-gradient(135deg, #26de81, #20bf6b);
}

.card-background.support {
    background: linear-gradient(135deg, #a55eea, #8854d0);
}

.card-background.developer {
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0.1;
}

.info-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.info-card.developer .info-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.icon-glow.quick {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, transparent 70%);
}

.icon-glow.secure {
    background: radial-gradient(circle, rgba(38, 222, 129, 0.3) 0%, transparent 70%);
}

.icon-glow.support {
    background: radial-gradient(circle, rgba(165, 94, 234, 0.3) 0%, transparent 70%);
}

.icon-glow.developer {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.info-card h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.info-card.developer h3 {
    color: white;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-card.developer p {
    color: rgba(255, 255, 255, 0.9);
}

.card-features {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.feature-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
}

.info-card.developer .feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.info-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.cta-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-cta:hover .cta-glow {
    opacity: 1;
}

/* Fade In Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-banner {
        min-height: 45vh;
        max-height: 50vh;
        margin-top: 15px;
    }
    
    .slide.active {
        max-width: 900px;
        gap: 30px;
        min-height: 30vh;
    }
    
    .banner-text {
        padding-right: 20px;
    }
    
    .image-container {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 40vh;
        max-height: 45vh;
        padding: 30px 0 25px;
        margin-top: 10px;
    }
    
    .slide.active {
        display: block;
        text-align: center;
        padding: 0 15px;
    }
    
    .banner-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .banner-image {
        margin: 0 auto;
    }
    
    .image-container {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .banner-title {
        font-size: 2em;
    }
    
    .banner-subtitle {
        font-size: 1em;
        margin-bottom: 16px;
        max-width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .btn-hero {
        padding: 12px 16px;
        justify-content: center;
    }
    
    .banner-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-top: 20px;
        max-width: 100%;
    }
    
    .stat-item {
        padding: 8px 4px;
    }
    
    .stat-number {
        font-size: 1.4em;
    }
    
    .stat-label {
        font-size: 0.7em;
    }
    
    .section-header {
        margin-bottom: 24px;
        padding: 20px 16px;
    }
    
    .section-title {
        font-size: 1.5em;
        margin-bottom: 8px;
    }
    
    .section-badge {
        font-size: 0.65em;
        padding: 3px 10px;
    }
    
    .section-subtitle {
        font-size: 0.9em;
    }
    
    .view-all-btn {
        font-size: 0.8em;
        padding: 6px 14px;
        margin-top: 12px;
    }
    
    .floating-card {
        display: none;
    }
    
    .banner-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9em;
    }
    
    .banner-nav.prev {
        left: 10px;
    }
    
    .banner-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 35vh;
        max-height: 40vh;
        padding: 20px 0 15px;
        margin-top: 8px;
    }
    
    .slide.active {
        padding: 0 10px;
    }
    
    .banner-title {
        font-size: 1.6em;
    }
    
    .banner-subtitle {
        font-size: 0.9em;
    }
    
    .section-header {
        margin-bottom: 20px;
        padding: 16px 12px;
    }
    
    .section-title {
        font-size: 1.3em;
        margin-bottom: 6px;
    }
    
    .section-badge {
        font-size: 0.6em;
        padding: 2px 8px;
    }
    
    .section-subtitle {
        font-size: 0.85em;
    }
    
    .view-all-btn {
        font-size: 0.75em;
        padding: 5px 12px;
        margin-top: 10px;
    }
    
    .banner-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 15px;
    }
    
    .stat-item {
        padding: 10px 6px;
    }
    
    .stat-number {
        font-size: 1.2em;
    }
    
    .stat-label {
        font-size: 0.65em;
    }
    
    .image-container {
        max-width: 220px;
    }
}

/* ===============================
   MODERN HEADER STYLES
   =============================== */

/* Header */
.header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: translateY(-1px);
}

.logo-img {
    width: auto;
    height: auto;
    max-height: 40px;
}

.logo-text {
    font-size: 1.4em;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
}

/* Search Container */
.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-box {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-box:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.search-box:focus-within {
    background: white;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: none;
    background: transparent;
    color: #374151;
    font-size: 0.95em;
    outline: none;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #667eea;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #5a67d8;
    transform: translateY(-50%) scale(1.05);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-selector select,
.currency-selector select {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #374151;
    padding: 8px 12px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.language-selector select:hover,
.currency-selector select:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.language-selector select option,
.currency-selector select option {
    background: white;
    color: #374151;
}

/* Cart Link */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.cart-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    color: #667eea;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: 600;
    border: 2px solid white;
}

/* User Menu */
.user-menu {
    position: relative;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #667eea;
    border: 1px solid #667eea;
    border-radius: 25px;
    color: white;
    padding: 10px 16px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.login-btn:hover {
    background: #5a67d8;
    border-color: #5a67d8;
    transform: translateY(-1px);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    padding: 8px 0;
    min-width: 200px;
    /* opacity: 0; */
    display: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-size: 0.9em;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #667eea;
    text-decoration: none;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: #6b7280;
}

.dropdown-item:hover i {
    color: #667eea;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

/* Instance Selector Styles */
.instance-selector {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
    position: relative;
    z-index: 1001;
}

.instance-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.instance-label i {
    color: #667eea;
    font-size: 14px;
}

.instance-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1001;
}

.instance-select:hover {
    border-color: #667eea;
    background: white;
}

.instance-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

/* Ensure instance selector doesn't interfere with dropdown */
.instance-selector:hover,
.instance-selector:focus-within {
    background: #f8fafc;
}

.instance-selector .instance-select:focus {
    background: white;
}

.instance-select option {
    padding: 8px;
    background: white;
    color: #374151;
}

/* Modern Category Navigation */
.category-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    position: sticky;
    top: 70px;
    z-index: 99;
    padding: 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    overflow: visible !important;
}

.category-list {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    /* overflow-x: auto; */
    overflow-y: visible !important;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    /* height: 60px; */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-list::-webkit-scrollbar {
    display: none;
}

.category-item {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: visible !important;
}

.category-link {
    display: flex;
    align-items: normal;
    gap: 10px;
    padding: 0 24px 0 24px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    font-size: 0.95em;
    background: transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    margin: 10px 0px;
}

.category-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.category-link:hover::before {
    transform: translateX(0);
}

.category-link:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.category-link i {
    font-size: 1.1em;
    width: 18px;
    text-align: center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 1;
}

.category-link span {
    position: relative;
    z-index: 1;
    line-height: normal;
}

/* Simple Dropdown */
.subcategory-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    padding: 8px 0;
    min-width: 180px;
    /* opacity: 0; */
    /* visibility: hidden; */
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
  display: none; 
}

/* Show dropdown on hover */
.category-item:hover .subcategory-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* Simple dropdown links */
.subcategory-dropdown a {
    display: block;
    padding: 10px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.2s ease;
}

.subcategory-dropdown a:hover {
    background: #f8fafc;
    color: #667eea;
}

/* Calculator Styles (Shared) */
.cloud-calculator, .onprem-calculator {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-header h3 {
    font-size: 2em;
    color: #1e293b;
    margin-bottom: 10px;
}

.calculator-header p {
    color: #64748b;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.toggle-label:hover {
    border-color: #667eea;
    background: #f8fafc;
}

.toggle-label input[type="radio"] {
    margin: 0;
}

.toggle-label input[type="radio"]:checked + span {
    color: #667eea;
    font-weight: 600;
}

.discount {
    color: #10b981;
    font-weight: 700;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.config-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.config-section h4 {
    font-size: 1.2em;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-section h4 i {
    color: #667eea;
    font-size: 1.1em;
}

.config-row {
    margin-bottom: 20px;
}

.config-row:last-child {
    margin-bottom: 0;
}

.config-row label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.config-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

.config-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.config-select:hover {
    border-color: #cbd5e0;
}

.pricing-summary {
    display: flex;
    justify-content: center;
}

.summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    min-width: 400px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
}

.summary-header h4 {
    font-size: 1.3em;
    margin: 0;
}

.price-display {
    text-align: right;
}

.price-amount {
    font-size: 2.5em;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.price-period {
    font-size: 1em;
    opacity: 0.8;
}

.summary-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.summary-actions {
    display: flex;
    gap: 12px;
}

.btn-large {
    padding: 14px 24px;
    font-size: 1.1em;
    font-weight: 600;
    flex: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .billing-toggle {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .summary-card {
        min-width: 100%;
        margin: 0 10px;
    }
    
    .summary-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .summary-actions {
        flex-direction: column;
    }
    
    .price-amount {
        font-size: 2em;
    }
}

/* On-Premise Calculator Specific Styles */
.summary-card.onprem {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
    min-width: 400px;
}

.summary-card.onprem .summary-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-card.onprem .detail-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-card.onprem .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.summary-card.onprem .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

/* Environment Type Specific Styling */
.config-select option[value="dev"] {
    background: #dcfce7;
    color: #166534;
}

.config-select option[value="staging"] {
    background: #fef3c7;
    color: #92400e;
}

.config-select option[value="production"] {
    background: #fee2e2;
    color: #991b1b;
}

.config-select option[value="ha"] {
    background: #ede9fe;
    color: #5b21b6;
}

/* Category Hero Section */
.category-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 36px 0 24px 0;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.category-header {
    position: relative;
    z-index: 2;
}

/* Breadcrumb Navigation */
.category-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: white;
    text-decoration: none;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8em;
}

.breadcrumb-current {
    color: white;
    font-weight: 500;
}

/* Category Info Layout */
.category-info {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.category-icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-icon {
    font-size: 1.8em;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.category-details {
    flex: 1;
}

.category-title {
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-description {
    font-size: 1em;
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
}

/* Category Statistics */
.category-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.stat-item i {
    font-size: 1.4em;
    color: rgba(255, 255, 255, 0.8);
    width: 24px;
    text-align: center;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 1.2em;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Category Content Spacing */
.category-content {
    padding-top: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-hero {
        padding: 24px 0 18px 0;
        margin-top: 15px;
    }
    
    .category-info {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .category-icon-wrapper {
        width: 50px;
        height: 50px;
        align-self: center;
    }
    
    .category-icon {
        font-size: 1.5em;
    }
    
    .category-title {
        font-size: 1.6em;
    }
    
    .category-description {
        font-size: 0.9em;
        margin-bottom: 12px;
    }
    
    .category-stats {
        gap: 12px;
        justify-content: center;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 10px 12px;
    }
    
    .stat-number {
        font-size: 1em;
    }
    
    .category-breadcrumb {
        justify-content: center;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .category-hero {
        padding: 18px 0 15px 0;
        margin-top: 10px;
    }
    
    .category-stats {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .stat-item {
        width: 100%;
        max-width: 160px;
        justify-content: center;
        padding: 8px 12px;
    }
}



/* Responsive Header */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 0;
    }
    
    .search-container {
        order: 3;
        flex: 1 1 100%;
        margin-top: 12px;
    }
    
    .header-actions {
        gap: 12px;
    }
    
    .language-selector,
    .currency-selector {
        display: none;
    }
    
    .cart-link {
        width: 40px;
        height: 40px;
    }
    
    .login-btn {
        padding: 8px 12px;
        font-size: 0.85em;
    }
    
    .category-nav {
        top: 70px;
    }
    
    .category-list {
        height: 50px;
    }
    
    .category-link {
        padding: 0 16px;
        font-size: 0.85em;
        gap: 8px;
    }
    
    .category-link i {
        font-size: 1em;
        width: 16px;
    }
    
    .subcategory-dropdown {
        min-width: 180px;
        padding: 8px 0;
    }
    
    .subcategory-dropdown a {
        padding: 10px 16px;
        font-size: 0.85em;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2em;
    }
    
    .search-input {
        padding: 10px 40px 10px 16px;
        font-size: 0.9em;
    }
    
    .search-btn {
        width: 32px;
        height: 32px;
        right: 6px;
    }
    
    .cart-link {
        width: 36px;
        height: 36px;
    }
    
    .login-btn {
        padding: 6px 10px;
        font-size: 0.8em;
    }
}

/* MyApps Page Styles */
.btn-action {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-primary-action {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary-action {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.btn-secondary-action:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin: 0 0 12px;
    color: #2c3e50;
}

.empty-state p {
    margin: 0 0 24px;
    font-size: 16px;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.license-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Status badge animations */
.status-badge {
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: scale(1.05);
}

/* Responsive MyApps layout */
@media (max-width: 768px) {
    .myapps-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .myapps-sidebar {
        position: static !important;
        height: auto !important;
    }
    
    .myapps-nav {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 8px !important;
    }
    
    .nav-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center !important;
    }
}

/* Toast animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Dynamic Pricing Styles */
.pricing-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.pricing-model-badge {
    margin-bottom: 12px;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.pricing-formula {
    margin-bottom: 12px;
}

.instance-resources {
    border-top: 1px solid #dee2e6;
    padding-top: 12px;
    margin-top: 12px;
}

.instance-resources i {
    margin-right: 4px;
    color: #6c757d;
}

.instance-resources .ml-2 {
    margin-left: 8px;
}

/* Instance Selection Styles */
#instanceSelectionGroup {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    background: #f8f9fa;
}

#instanceSelect {
    margin-bottom: 8px;
}

/* Enhanced Purchase Card */
.purchase-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.price-section {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.price {
    font-size: 2.5em;
    font-weight: 700;
    color: #2c3e50;
    margin: 8px 0;
}

.price-type {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.4;
}

/* ===============================
   CONTACT PAGE STYLES
   =============================== */

/* Contact Container */
.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Contact Header */
.contact-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.contact-page-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Content Layout */
.contact-page-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Left Column */
.contact-page-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Company Information */
.contact-company-info {
    margin-bottom: 30px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.2rem;
}

.contact-location-icon { background: #2563eb; }
.contact-phone-icon { background: #059669; }
.contact-email-icon { background: #0891b2; }
.contact-hours-icon { background: #d97706; }

.contact-info-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1f2937;
}

.contact-info-content p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    overflow: visible;
    border: 1px solid #e5e7eb;
    max-width: 100%;
}

.contact-form-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 25px 30px;
    border-radius: 16px 16px 0 0;
}

.contact-form-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.contact-form-body {
    padding: 30px;
    overflow: visible;
}

.contact-success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    border: 1px solid #a7f3d0;
}

.contact-close-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #065f46;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 100%;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.contact-form-group.full-width {
    grid-column: 1 / -1;
    width: 100%;
}

.contact-form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-required {
    color: #dc2626;
}

.contact-form-group input,
.contact-form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 120px;
    max-height: 300px;
    overflow-y: auto;
    line-height: 1.5;
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.contact-error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 5px;
    padding: 0;
    background: none;
    border: none;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.contact-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Contact Right Column */
.contact-page-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-benefits-card,
.contact-support-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.contact-card-header {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 20px 25px;
}

.contact-support-card .contact-card-header {
    background: linear-gradient(135deg, #0891b2, #0e7490);
}

.contact-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card-body {
    padding: 25px;
}

.contact-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-benefits-list i {
    color: #059669;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-benefits-list strong {
    color: #1f2937;
    font-weight: 600;
}

.contact-benefits-list span {
    color: #6b7280;
    font-size: 0.9rem;
}

.contact-support-item {
    margin-bottom: 25px;
}

.contact-support-item:last-child {
    margin-bottom: 0;
}

.contact-support-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-support-item p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.contact-chat-btn {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.contact-chat-btn:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

.contact-docs-btn {
    background: #059669;
    color: white;
    border-color: #059669;
}

.contact-docs-btn:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-1px);
}

.contact-faq-btn {
    background: #0891b2;
    color: white;
    border-color: #0891b2;
}

.contact-faq-btn:hover {
    background: #0e7490;
    border-color: #0e7490;
    transform: translateY(-1px);
}

.contact-community-btn {
    background: #d97706;
    color: white;
    border-color: #d97706;
}

.contact-community-btn:hover {
    background: #b45309;
    border-color: #b45309;
    transform: translateY(-1px);
}

/* Contact Page Responsive Design */
@media (max-width: 1024px) {
    .contact-page-content {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }
    
    .contact-page-right {
        order: -1;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-page-container {
        padding: 30px 15px;
        max-width: 100%;
    }
    
    .contact-page-title {
        font-size: 2.5rem;
    }
    
    .contact-page-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form-body {
        padding: 25px 20px;
    }
    
    .contact-card-body {
        padding: 20px;
    }
    
    .contact-info-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .contact-page-title {
        font-size: 2rem;
    }
    
    .contact-page-header {
        margin-bottom: 40px;
    }
    
    .contact-page-content {
        gap: 25px;
    }
    
    .contact-info-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-form-body {
        padding: 20px 15px;
    }
    
    .contact-card-body {
        padding: 15px;
    }
    
    .contact-page-container {
        padding: 20px 10px;
    }
}