/* PhotoEdit Pro CSS - Dark Theme Professional Interface */

:root {
    /* Dark theme colors */
    --background: #0a0a0a;
    --foreground: #ffffff;
    --card: #151515;
    --card-foreground: #ffffff;
    --popover: #151515;
    --popover-foreground: #ffffff;
    --primary: #3b82f6;
    --primary-foreground: #ffffff;
    --secondary: #1f2937;
    --secondary-foreground: #ffffff;
    --muted: #1f2937;
    --muted-foreground: #9ca3af;
    --accent: #1f2937;
    --accent-foreground: #ffffff;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --border: #2a2a2a;
    --input: #2a2a2a;
    --ring: #3b82f6;
    --radius: 0.5rem;

    /* Dark theme gradients */
    --dark-primary: #0f0f0f;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2a2a2a;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background: var(--background);
  color: var(--foreground);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-width: 320px;
  overflow-x: hidden;
}

/* Layout */
.app {
  display: flex;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .app {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}

@media (max-width: 1024px) {
  .mobile-overlay {
    display: none !important;
  }
}

.mobile-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 20rem;
  width: 100%;
  text-align: center;
}

.mobile-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.mobile-card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* Sidebar */
.sidebar {
  width: 4rem;
  min-width: 4rem;
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .sidebar {
    width: 100%;
    min-width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 0.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tool-button {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.tool-button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.tool-button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Top Bar */
.top-bar {
  height: 4rem;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-left h1 {
  font-size: 1.25rem;
  font-weight: 600;
}

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

/* Canvas Area */
.canvas-area {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}

.canvas-container {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

@media (max-width: 1024px) {
  .canvas-area {
    padding: 1rem;
  }
  
  .canvas-container {
    min-height: 250px;
  }
}

.image-canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.image-canvas:active {
  cursor: grabbing;
}

.upload-area {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
  border-radius: 0.75rem;
  transition: border-color 0.3s;
  cursor: pointer;
}

.upload-area:hover {
  border-color: var(--primary);
}

.upload-area.dragover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.upload-content {
  text-align: center;
}

.upload-icon {
  width: 4rem;
  height: 4rem;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.upload-content p {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.canvas-controls {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

.btn-control {
  background: rgba(36, 40, 51, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  color: var(--secondary-foreground);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-control:hover {
  background: rgba(36, 40, 51, 0.9);
}

/* Project Bar */
.project-bar {
  height: 6rem;
  background: var(--card);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.project-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.project-tabs {
  background: var(--card);
  border-radius: var(--radius);
  padding: 0.25rem;
  display: flex;
}

.project-tab {
  padding: 0.5rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  color: var(--muted-foreground);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.project-tab:hover {
  background: hsl(var(--primary) / 0.1);
}

.project-tab.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.project-thumbnails {
  display: flex;
  gap: 0.5rem;
}

.project-thumb {
  width: 4rem;
  height: 3rem;
  border-radius: var(--radius);
}

.gradient-1 { background: linear-gradient(135deg, #ec4899, #a855f7); }
.gradient-2 { background: linear-gradient(135deg, #3b82f6, #10b981); }
.gradient-3 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.gradient-4 { background: linear-gradient(135deg, #f59e0b, #ec4899); }

.hide-project-btn {
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.2s;
}

.hide-project-btn:hover {
  color: var(--foreground);
}

/* Properties Panel */
.properties-panel {
  width: 20rem;
  min-width: 20rem;
  background: var(--card);
  border-left: 1px solid var(--border);
  overflow-y: auto;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .properties-panel {
    width: 100%;
    min-width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
    max-height: 50vh;
  }
}

.properties-header {
  padding: 1.5rem 1.5rem 0;
}

.tab-buttons {
  background: var(--card);
  border-radius: var(--radius);
  padding: 0.25rem;
  display: flex;
}

.tab-button {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  color: var(--muted-foreground);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-button:hover {
  color: var(--foreground);
}

.tab-button.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.properties-content {
  padding: 1.5rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Histogram Section */
.histogram-section {
  margin-bottom: 1.5rem;
}

.histogram-section h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.histogram-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.histogram-canvas {
  width: 100%;
  height: 5rem;
  border-radius: var(--radius);
}

/* Preview Section */
.preview-section {
  margin-bottom: 1.5rem;
}

.preview-section h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.image-preview {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.preview-content {
  width: 100%;
  height: 6rem;
  background: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.preview-content span {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Adjustments Section */
.adjustments-section {
  margin-bottom: 1.5rem;
}

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

.adjustments-header h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.reset-btn {
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.reset-btn:hover {
  color: var(--foreground);
}

.adjustment-control {
  margin-bottom: 1.5rem;
}

.adjustment-control label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.slider {
  width: 100%;
  height: 8px;
  background: var(--dark-tertiary);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: var(--primary);
  height: 16px;
  width: 16px;
  border-radius: 50%;
  border: 2px solid var(--primary-foreground);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  background: var(--primary);
  height: 16px;
  width: 16px;
  border-radius: 50%;
  border: 2px solid var(--primary-foreground);
  cursor: pointer;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Info Tab */
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.info-card h3 {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.info-card p, .info-card div {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-primary:hover:not(:disabled) {
  background: hsl(var(--primary) / 0.9);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-secondary:hover:not(:disabled) {
  background: hsl(var(--secondary) / 0.8);
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover:not(:disabled) {
  background: var(--secondary);
  color: var(--foreground);
}

.btn-ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Ad Slots */
.ad-slot {
  background: linear-gradient(135deg, var(--dark-secondary), var(--dark-primary));
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  transition: all 0.3s;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.ad-slot:hover {
  border-color: var(--primary);
}

.ad-1, .ad-2 { width: 3rem; height: 3rem; }
.ad-3 { width: 8rem; height: 2rem; }
.ad-4, .ad-5 { width: 100%; height: 3rem; }
.ad-6 { width: 6rem; height: 3rem; }
.ad-7, .ad-10 { width: 100%; height: 4rem; }
.ad-8, .ad-9 { width: 100%; height: 3rem; }

@media (max-width: 1024px) {
  .ad-1, .ad-2 { width: 2rem; height: 2rem; }
  .ad-3 { width: 6rem; height: 2rem; }
  .ad-4, .ad-5 { height: 2rem; }
  .ad-6 { width: 4rem; height: 2rem; }
  .ad-7, .ad-10 { height: 3rem; }
  .ad-8, .ad-9 { height: 2rem; }
}

/* Homepage Styles */
.homepage {
    min-height: 100vh;
    background: var(--background);
    color: var(--foreground);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s;
}

.header.scrolled {
    background: rgba(21, 21, 21, 0.95);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo svg {
    color: var(--primary);
}

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

.nav a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--foreground);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-primary), var(--dark-secondary));
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--foreground), var(--muted-foreground));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

/* Tools Section */
.tools-section {
    padding: 6rem 0;
    background: var(--background);
}

.tools-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tools-section > .container > p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tool-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.tool-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tool-icon {
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tool-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--dark-secondary);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--muted-foreground);
}

/* Footer */
.footer {
    background: var(--dark-primary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.link-group h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: var(--muted-foreground);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.link-group a:hover {
    color: var(--foreground);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--muted-foreground);
}

/* Back to Home Button */
.back-home-btn {
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1rem;
    width: 100%;
    justify-content: center;
}

.back-home-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Filter App Specific Styles */
.filter-app .filters-panel {
    padding: 1.5rem;
    background: var(--card);
    border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
    .filter-app .filters-panel {
        padding: 1rem;
    }
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.filter-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-card:hover,
.filter-card.active {
    border-color: var(--primary);
    background: var(--primary);
}

.filter-preview {
    margin-bottom: 0.5rem;
}

.filter-thumbnail {
    width: 100%;
    height: 60px;
    border-radius: 4px;
}

.filter-card h4 {
    font-size: 0.875rem;
    margin: 0;
}

.filter-categories {
    margin-bottom: 2rem;
}

.filter-categories h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.filter-category {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-bottom: 0.5rem;
}

.filter-category:hover,
.filter-category.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* Background Remover Specific Styles */
.bg-remover-app .bg-options-panel {
    padding: 1.5rem;
    background: var(--card);
    border-top: 1px solid var(--border);
}

.bg-tools {
    margin-bottom: 2rem;
}

.bg-tools h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.bg-tool {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-bottom: 0.5rem;
}

.bg-tool:hover,
.bg-tool.active {
    background: var(--primary);
    border-color: var(--primary);
}

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

.bg-preset {
    height: 60px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.bg-preset:hover,
.bg-preset.active {
    border-color: var(--primary);
}

.transparency-pattern {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, #ccc 25%, transparent 25%), 
        linear-gradient(-45deg, #ccc 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #ccc 75%), 
        linear-gradient(-45deg, transparent 75%, #ccc 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-radius: var(--radius);
}

.custom-bg {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-bg label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.bg-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem;
    border-radius: var(--radius);
}

/* Additional Ad Slots */
.ad-hero { width: 300px; height: 250px; }
.ad-tools-top, .ad-tools-bottom { width: 100%; height: 3rem; margin: 2rem 0; }
.ad-features { width: 100%; height: 4rem; margin: 2rem 0; }
.ad-footer { width: 200px; height: 2rem; }

/* Coming Soon Pages */
.coming-soon {
    min-height: 100vh;
    background: var(--background);
    color: var(--foreground);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.coming-soon-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.coming-soon-content p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.features-preview {
    margin: 2rem 0;
}

.features-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-preview li {
    padding: 0.5rem 0;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
    
    .top-bar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .top-bar-left,
    .top-bar-right {
        flex: 1;
        min-width: 200px;
    }
    
    .toolbar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .project-bar {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }
    
    .project-bar-left {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .canvas-area {
        padding: 0.5rem;
    }
    
    .properties-content {
        padding: 1rem;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .top-bar {
        padding: 0.5rem;
    }
    
    .canvas-area {
        padding: 0.25rem;
    }
    
    .tool-card {
        padding: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}