/*
Theme Name: NovaOS Pro
Description: Modern Workspace Theme with Full Customization
Version: 2.0
Author: Your Name
Text Domain: novaos-pro
Text Domain: novaos-pro
*/

:root {
  --primary-color: #0ea5e9;
  --secondary-color: #3b82f6;
  --accent-color: #8b5cf6;
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
  --card-bg: rgba(15, 23, 42, 0.8);
  --border-color: rgba(30, 41, 59, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.novaos-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .novaos-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .novaos-container {
    padding: 0 2rem;
  }
}

/* Header */
.novaos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}

.novaos-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.novaos-logo-icon {
  height: 2rem;
  width: 2rem;
  border-radius: 0.75rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.6);
}

.novaos-logo-text {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  color: var(--text-color);
}

.novaos-nav {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .novaos-nav {
    display: flex;
  }
}

/* Buttons */
.novaos-btn {
  border-radius: 9999px;
  border: 1px solid rgba(100, 116, 139, 0.7);
  background-color: rgba(15, 23, 42, 0.6);
  color: rgba(226, 232, 240, 0.9);
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: all 0.2s;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.novaos-btn:hover {
  background-color: rgba(30, 41, 59, 0.8);
}

.novaos-btn-primary {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
  color: #f8fafc;
  font-weight: 500;
  line-height: 1;
  padding: 0.625rem 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.4);
  border: none;
}

.novaos-btn-primary:hover {
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.6);
  transform: translateY(0.125rem);
}

/* Hero Section */
.novaos-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .novaos-hero {
    gap: 2rem;
    margin: 3rem 0;
  }
}

.novaos-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background-color: rgba(15, 23, 42, 0.6);
  color: rgba(203, 213, 225, 0.9);
  width: max-content;
  padding: 0.375rem 0.625rem;
  box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.6);
  font-size: 0.75rem;
  line-height: 1rem;
}

.novaos-hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .novaos-hero-content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.novaos-hero-text {
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .novaos-hero-text {
    gap: 1.25rem;
  }
}

.novaos-hero-title {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1;
  color: #f8fafc;
}

@media (min-width: 640px) {
  .novaos-hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .novaos-hero-title {
    font-size: 3rem;
  }
}

.novaos-hero-description {
  font-size: 1rem;
  color: rgba(203, 213, 225, 0.9);
  max-width: 36rem;
}

@media (min-width: 640px) {
  .novaos-hero-description {
    font-size: 1.125rem;
  }
}

.novaos-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .novaos-hero-actions {
    align-items: flex-end;
  }
}

.novaos-hero-note {
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 1rem;
}

@media (min-width: 640px) {
  .novaos-hero-note {
    font-size: 0.875rem;
  }
}

/* Feature Grid */
.novaos-features {
  margin: 2rem 0;
}

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

.novaos-features-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text-color);
}

@media (min-width: 640px) {
  .novaos-features-title {
    font-size: 1.25rem;
  }
}

.novaos-features-description {
  font-size: 0.875rem;
  color: #94a3b8;
}

@media (min-width: 640px) {
  .novaos-features-description {
    font-size: 1rem;
  }
}

.novaos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .novaos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .novaos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.novaos-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.6);
  transition: all 0.3s;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.novaos-card:hover {
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.7);
  transform: translateY(-2px);
}

.novaos-card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
  gap: 0.75rem;
  z-index: 2;
}

@media (min-width: 640px) {
  .novaos-card-content {
    padding: 1.25rem;
    gap: 1rem;
  }
}

.novaos-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.novaos-card-icon {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.75rem;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.novaos-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: #f8fafc;
}

@media (min-width: 640px) {
  .novaos-card-title {
    font-size: 1.125rem;
  }
}

.novaos-card-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .novaos-card-desc {
    font-size: 0.875rem;
  }
}

.novaos-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: auto;
}

@media (min-width: 640px) {
  .novaos-card-footer {
    font-size: 0.875rem;
  }
}

.novaos-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Footer */
.novaos-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .novaos-footer {
    flex-direction: row;
    align-items: center;
    padding-top: 1.5rem;
  }
}

.novaos-footer-text {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1rem;
}

@media (min-width: 640px) {
  .novaos-footer-text {
    font-size: 0.875rem;
  }
}

.novaos-footer-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1rem;
}

@media (min-width: 640px) {
  .novaos-footer-nav {
    font-size: 0.875rem;
  }
}

.novaos-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.novaos-footer-link:hover {
  color: #cbd5e1;
}

.novaos-divider {
  height: 0.75rem;
  width: 1px;
  background-color: #1e293b;
}

/* Background effects */
.novaos-bg-effects {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.novaos-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
}

.novaos-bg-circle-1 {
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  height: 28rem;
  width: 28rem;
  background: linear-gradient(to top right, rgba(14, 165, 233, 0.2), rgba(139, 92, 246, 0.1), rgba(217, 70, 239, 0.2));
}

.novaos-bg-circle-2 {
  bottom: -10rem;
  right: -2.5rem;
  height: 22rem;
  width: 22rem;
  background: linear-gradient(to top left, rgba(52, 211, 153, 0.15), rgba(34, 211, 238, 0.05), rgba(14, 165, 233, 0.15));
}

/* Utility classes */
.novaos-status-dot {
  display: inline-flex;
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 50%;
}

.novaos-text-gradient {
  background: linear-gradient(to bottom right, #7dd3fc, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.novaos-avatar-group {
  display: inline-flex;
  overflow: hidden;
  margin-left: -0.5rem;
}

.novaos-avatar {
  display: inline-flex;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 50%;
  border: 1px solid #0f172a;
  background-color: #1e293b;
}

/* Card hover effects */
.novaos-card:hover .novaos-card-header > div:last-child {
  color: #cbd5e1 !important;
}

/* Modal Styles */
.novaos-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.novaos-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
}

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

.novaos-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.novaos-modal-close {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
}

.novaos-modal-body {
  padding: 0;
  height: 70vh;
}

.novaos-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Customizer Controls */
.novaos-customizer-preview {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.novaos-customizer-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .novaos-modal-content {
    width: 95%;
    height: 80vh;
  }
  
  .novaos-hero-title {
    font-size: 2rem !important;
  }
}
/* Card link styles */
.novaos-card.has-link {
    cursor: pointer;
}

.novaos-card.has-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.7);
}

.novaos-card.no-link {
    cursor: pointer;
    opacity: 0.8;
}

.novaos-card.no-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Make footer links look better */
.novaos-footer-link {
    text-decoration: none;
    color: inherit;
}

.novaos-footer-link:hover {
    color: var(--primary-color);
}
/* FIX: Card links */
.novaos-card.has-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.novaos-card.has-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.7);
    text-decoration: none;
    color: inherit;
}

.novaos-card.no-link {
    cursor: pointer;
    opacity: 0.7;
}

.novaos-card.no-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* FIX: Button links */
.novaos-btn[href] {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.novaos-btn-primary[href] {
    text-decoration: none;
    color: #f8fafc;
}

.novaos-btn-primary[href]:hover {
    color: #f8fafc;
    text-decoration: none;
}

/* Page content styles */
.novaos-page-content {
    min-height: 60vh;
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.page-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: #f1f5f9;
    margin: 2rem 0 1rem 0;
}
/* Card link styles */
.novaos-card.has-link {
    cursor: pointer;
}

.novaos-card.has-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.7);
}

.novaos-card.no-link {
    cursor: pointer;
    opacity: 0.8;
}

.novaos-card.no-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Make footer links look better */
.novaos-footer-link {
    text-decoration: none;
    color: inherit;
}

.novaos-footer-link:hover {
    color: var(--primary-color);
}
/* Dynamic Cards Styles */
.novaos-card-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 6px;
}

.novaos-grid-list {
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
}

.novaos-grid-list .novaos-card {
    border-radius: 0.75rem;
}

/* Card management styles */
.novaos-card-management {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1rem 0;
}

.novaos-card-management h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

/* Responsive cards */
@media (max-width: 768px) {
    .novaos-grid {
        grid-template-columns: 1fr;
    }
    
    .novaos-card-logo {
        width: 20px;
        height: 20px;
    }
}

/* Custom card colors */
.novaos-card-icon {
    transition: all 0.3s ease;
}

.novaos-card:hover .novaos-card-icon {
    transform: scale(1.1);
}

/* Add card button */
.novaos-add-card {
    border: 2px dashed var(--border-color) !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 120px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.novaos-add-card:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color);
    background: rgba(14, 165, 233, 0.05) !important;
}