/* Portfolio CSS - Adapted from Bespoke styles */
:root {
  --duke-900: #00153a;
  --duke-800: #012169;
  --duke-600: #153a8a;
  --duke-300: #6f8bc9;
  --duke-200: #9fb2e6;
  --duke-100: #d9e2ff;
  --gator-500: #fa4616;
  --gator-300: #ff7a57;
  --ink: #0b0e1a;
  --radius-lg: 16px;
}

* { 
  box-sizing: border-box; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--duke-800);
  background: linear-gradient(180deg, var(--duke-900) 0%, #022048 100%);
  min-height: 100vh;
}

.portfolio-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */
.portfolio-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.brand-logo {
  width: 40px;
  height: 40px;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 10px 16px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.nav-link:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

.nav-link.active {
  background: white;
  color: var(--duke-800);
  border-color: white;
}

/* Main Content */
.portfolio-main {
  flex: 1;
}

.portfolio-section {
  display: none;
  animation: fadeIn 0.3s ease;
}

.portfolio-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 60px;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
  font-weight: 800;
  color: white;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin: 0 0 60px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Venture Grid */
.venture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.venture-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.venture-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.venture-card.retail-card:hover {
  border-color: var(--gator-500);
  box-shadow: 0 8px 32px rgba(250, 70, 22, 0.2);
}

.venture-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.venture-card h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.venture-card p {
  color: rgba(255,255,255,0.8);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.venture-btn {
  background: var(--gator-500);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.venture-btn:hover {
  background: var(--gator-300);
  transform: translateY(-1px);
}

.coming-soon {
  opacity: 0.7;
  cursor: default;
}

.coming-soon:hover {
  transform: none;
  background: rgba(255,255,255,0.06);
}

.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Retail Demo Section */
.retail-demo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px 32px;
  backdrop-filter: blur(20px);
}

.demo-header {
  text-align: center;
  margin-bottom: 40px;
}

.demo-header h2 {
  color: white;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.demo-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin: 0;
}

/* Demo Navigation */
.demo-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-tab {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 10px 16px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.demo-tab:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}

.demo-tab.active {
  background: var(--gator-500);
  color: white;
  border-color: var(--gator-500);
}

/* Demo Content */
.demo-content {
  position: relative;
  min-height: 400px;
}

.demo-panel {
  display: none;
  animation: slideIn 0.3s ease;
}

.demo-panel.active {
  display: block;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Demo Hero */
.demo-hero {
  text-align: center;
  padding: 40px 20px;
}

.demo-hero h3 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.demo-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin: 0 0 40px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.value-showcase {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 12px 16px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.value-icon {
  font-size: 1.2rem;
}

/* Products Showcase */
.products-showcase h3 {
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.category-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gator-500);
}

.category-item.active {
  background: rgba(250, 70, 22, 0.1);
  border-color: var(--gator-500);
}

.category-item h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.category-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin: 0;
}

.product-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
}

.product-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.product-image {
  width: 100%;
  height: 120px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  margin-bottom: 12px;
  object-fit: cover;
}

.product-title {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.product-price {
  color: var(--gator-300);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

/* Privacy Showcase */
.privacy-showcase h3 {
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 32px 0;
  text-align: center;
}

.privacy-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.metric-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
}

.metric-value {
  color: var(--gator-300);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.metric-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

.privacy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
}

.feature-item h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.feature-item p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.4;
}

/* AI Showcase */
.ai-showcase h3 {
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 32px 0;
  text-align: center;
}

.ai-demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.ai-chat-demo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 80%;
}

.chat-message.user {
  background: var(--gator-500);
  color: white;
  margin-left: auto;
  text-align: right;
}

.chat-message.ai {
  background: rgba(255,255,255,0.1);
  color: white;
  margin-right: auto;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ai-feature h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.ai-feature p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-size: 0.9rem;
}

/* Demo Footer */
.demo-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.demo-footer p {
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.demo-footer a {
  color: var(--gator-300);
  text-decoration: none;
  font-weight: 600;
}

.demo-footer a:hover {
  color: white;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  color: white;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.about-content > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 60px 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.principle {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}

.principle h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.principle p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .portfolio-nav {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

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

  .demo-nav {
    flex-direction: column;
    align-items: center;
  }

  .ai-demo-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .privacy-metrics {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}
