/**
 * REFACTORING NOTE: Standalone HTML Landing Page with Purple Design System
 * 
 * This is a standalone HTML file that works when opened directly (file:// or http://).
 * It includes all landing page features with the unified purple color scheme.
 * 
 * For full React app functionality (project creation, editing, etc.), run: npm run dev
 */

:root {
  /* Purple High-Tech Color Scheme */
  --color-primary: #7357FF;
  --color-primary-dark: #5C3FE8;
  --color-primary-darker: #4A2FD4;
  --color-primary-light: #8F7CFF;
  --color-bg-hero: linear-gradient(135deg, #1C2248 0%, #252A5A 50%, #2F346A 100%);
  --color-bg-dark: #1C2248;
  --color-bg-surface: #252A5A;
  --color-bg-elevated: #2F346A;
  --color-bg-light: #1C2248;
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-secondary: rgba(255, 255, 255, 0.85);
  --color-text-on-dark-tertiary: rgba(255, 255, 255, 0.65);
  --color-text-primary: #ffffff;
  --color-text-secondary: #E2E8F0;
  --color-text-tertiary: #CBD5E1;
  --color-surface-white: rgba(255, 255, 255, 0.05);
  --color-border: rgba(255, 255, 255, 0.15);
  --color-border-dark: rgba(255, 255, 255, 0.1);
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  background: var(--color-bg-hero);
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app-container {
  min-height: 100vh;
}

/* Bubble Navigation */
.bubble-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.bubble-nav.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.bubble-nav-content {
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.bubble-nav-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bubble-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bubble-nav-link {
  color: var(--color-text-on-dark);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.bubble-nav-link:hover {
  color: #8F7CFF;
}

.bubble-nav-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

/* Logo */
.logo-link {
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.logo-image {
  height: 60px;
  width: auto;
  display: block;
}

/* Hero Section */
.hero-section {
  background: var(--color-bg-hero);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(143, 124, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-header {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-2xl);
  z-index: 10;
}

.hero-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.hero-nav-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--color-text-on-dark);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: color var(--transition-base);
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
}

.nav-link:hover {
  color: #8F7CFF;
}

.header-settings-icon {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--color-text-on-dark);
}

.header-settings-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

.header-settings-icon svg {
  width: 20px;
  height: 20px;
}

.hero-content {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  width: 100%;
}

.hero-content-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: var(--spacing-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.hero-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 560px;
}

.hero-headline {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-on-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--spacing-lg);
  text-align: center;
  width: 100%;
}

.money-accent {
  font-style: italic;
}

.hero-subheadline {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-on-dark-secondary);
  line-height: 1.6;
  margin: 0;
  text-align: center;
  max-width: 700px;
  width: 100%;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  background: #7357FF;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xl);
  margin-top: var(--spacing-md);
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: #8F7CFF;
  box-shadow: var(--shadow-xl), 0 0 30px rgba(143, 124, 255, 0.4);
}

/* Product Mockup */
.product-mockup {
  position: relative;
  width: 100%;
  background: var(--color-surface-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.mockup-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.mockup-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.mockup-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
  background: #d1fae5;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
}

.mockup-progress {
  margin-bottom: 1.5rem;
}

.mockup-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
}

.mockup-progress-value {
  font-weight: 600;
  color: #0f172a;
}

.mockup-progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.mockup-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7357FF 0%, #8F7CFF 100%);
  border-radius: 9999px;
  width: 75%;
}

.mockup-sections {
  margin-bottom: 1.5rem;
}

.mockup-section-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

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

.mockup-section-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  flex: 1;
}

.mockup-section-assignee {
  font-size: 0.75rem;
  color: #64748b;
  margin-right: 1rem;
}

.mockup-section-status {
  font-size: 0.75rem;
  font-weight: 500;
}

.mockup-section-status.completed {
  color: #10b981;
}

.mockup-section-status.pending {
  color: #8F7CFF;
}

/* Projects Section */
.projects-section {
  background: var(--color-bg-hero);
  padding: var(--spacing-3xl) var(--spacing-xl);
  min-height: 50vh;
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
}

.projects-header {
  margin-bottom: var(--spacing-2xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.projects-header h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-on-dark);
  letter-spacing: -0.02em;
}

.btn-primary {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #8F7CFF;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card, .workflow-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  backdrop-filter: blur(10px);
}

.feature-card:hover, .workflow-card:hover {
  border-color: #8F7CFF;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-title, .workflow-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.feature-description, .workflow-description {
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.workflow-number {
  font-size: 2rem;
  font-weight: bold;
  color: #8F7CFF;
  margin-bottom: 1rem;
}

.empty-state {
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.2;
}

.empty-state h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
}

.empty-state p {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.empty-state code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content-inner {
    flex-direction: column;
    gap: var(--spacing-2xl);
  }

  .hero-text-container {
    padding-left: 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-header {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .hero-header-inner {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .hero-content-inner {
    padding: var(--spacing-2xl) var(--spacing-md);
    flex-direction: column;
  }

  .hero-text-container {
    padding-left: 0;
    text-align: center;
    align-items: center;
  }

  .hero-headline {
    font-size: var(--font-size-3xl);
  }

  .hero-subheadline {
    font-size: var(--font-size-base);
  }

  .hero-cta {
    align-self: center;
  }

  .projects-section {
    padding: var(--spacing-2xl) var(--spacing-md);
  }

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

  .projects-header {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: stretch;
  }
}

