/* ===================================
   COLOR THEME - Curious Trove (Brand Colors)
   =================================== */
:root {
  /* Brand Colors */
  --lucky-point: #23186c;             /* Deep purple - darkest */
  --persian-pink: #f587c5;            /* Bright pink - accent */
  --purple-heart: #6440d8;            /* Vibrant purple - primary */
  --kimberly: #84749c;                /* Gray-purple - secondary */
  
  /* Primary Colors */
  --primary-dark: #23186c;            /* Lucky Point - main dark */
  --primary: #6440d8;                 /* Purple Heart - main color */
  --primary-accent: #f587c5;          /* Persian Pink - bright accent */
  --primary-light: #F5F5F5;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F5F3F9;              /* Light off-white with purple tint */
  --medium-gray: #84749c;             /* Kimberly - medium gray */
  --dark-text: #23186c;               /* Lucky Point for dark text */
  --border-color: #E5D9F0;            /* Light purple border */
  --border-accent: #6440d8;           /* Purple border accent */
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: var(--light-gray);
  color: var(--dark-text);
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(35, 24, 108, 0.1);
}

.navbar {
  width: 100%;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-dark);
}

.logo {
  height: 55px;
  width: auto;
  display: block;
}

.brand-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}

.nav-link {
  color: var(--primary-dark);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 0;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid transparent;
}

.nav-link:hover {
  text-decoration: underline;
  color: var(--primary-accent);
}

.nav-cta {
  background: var(--primary-accent);
  color: var(--white);
  padding: 10px 24px;
  border: 1px solid var(--primary-accent);
  font-size: 16px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #23186c;
  border-color: #23186c;
  text-decoration: none;
}

/* Main Container */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Sections */
section {
  background: var(--white);
  border-radius: 0;
  padding: 40px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
}

section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-dark);
  text-align: center;
  font-weight: 700;
}

/* Demo Section */
.demo-section {
  border: 2px solid var(--primary);
}

.demo-placeholder {
  background: var(--light-gray);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 60px 20px;
  text-align: center;
  color: var(--medium-gray);
  font-size: 18px;
}

/* Blog Section */
.blog-section {
  border-top: none;
}

.blog-post {
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}

.blog-post:last-child {
  border-bottom: none;
}

.post-title {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.post-category {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: var(--primary-accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
  border: 1px solid var(--primary-accent);
}

.post-category:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--primary-accent);
}

.post-date {
  font-size: 13px;
  color: var(--medium-gray);
  margin-bottom: 15px;
  font-weight: 500;
}

.post-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.post-content p:last-child {
  margin-bottom: 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--medium-gray);
  font-size: 14px;
  border-top: 1px solid var(--border-color);
}

/* ===================================
   LANDING PAGE STYLES
   =================================== */

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 40px;
  background: var(--light-gray);
  border-radius: 0;
  margin-bottom: 40px;
  border: 2px solid var(--primary);
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.hero-section p {
  font-size: 18px;
  color: var(--dark-text);
  margin-bottom: 10px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--primary-dark);
}

.hero-btn.primary {
  background: var(--primary-accent);
  color: var(--white);
  border: 2px solid var(--primary-accent);
}

.hero-btn.primary:hover {
  background: #23186c;
  border-color: #23186c;
  text-decoration: underline;
}

.hero-btn.secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.hero-btn.secondary:hover {
  background: var(--light-gray);
  text-decoration: underline;
}

/* Products Section */
.products-section {
  margin-bottom: 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0;
  padding: 40px;
  text-align: center;
}

.product-card:hover {
  border: 2px solid var(--primary-accent);
}

.product-card h3 {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.product-card p {
  font-size: 16px;
  color: var(--dark-text);
  margin-bottom: 25px;
  line-height: 1.6;
}

.card-link {
  color: var(--primary-accent);
  text-decoration: underline;
  font-weight: 600;
}

.card-link:hover {
  color: #23186c;
}

/* Blog Preview */
.blog-preview-section {
  text-align: center;
  padding: 40px;
  background: var(--light-gray);
  border-radius: 0;
  border: 2px solid var(--primary);
}

.blog-preview-section a {
  color: var(--primary-accent);
  font-weight: 600;
  text-decoration: underline;
  font-size: 18px;
}

.blog-preview-section a:hover {
  color: #23186c;
}

/* ===================================
   PRODUCT PAGE STYLES
   =================================== */

/* Product Hero */
.product-hero {
  text-align: center;
  padding: 50px 40px;
  background: var(--light-gray);
  margin-bottom: 40px;
  border-radius: 0;
  border: 2px solid var(--primary);
}

.product-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.product-subtitle {
  font-size: 20px;
  color: var(--primary-accent);
  margin-bottom: 15px;
  font-weight: 600;
}

.product-description {
  font-size: 16px;
  color: var(--dark-text);
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.status-badge {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-accent);
  color: var(--white);
  border-radius: 0;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--primary-accent);
}

/* Features Section */
.features-section {
  margin-bottom: 40px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature-item {
  padding: 30px;
  background: var(--light-gray);
  border-radius: 0;
  border-left: 4px solid var(--primary-accent);
}

.feature-item h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-item p {
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 15px;
}

/* Use Cases Section */
.use-cases-section {
  background: var(--light-gray);
  padding: 50px;
  border-radius: 0;
  margin-bottom: 40px;
  border: 2px solid var(--primary);
}

.use-cases-section h2 {
  margin-bottom: 30px;
}

.use-cases-section ul {
  list-style: none;
  columns: 2;
  column-gap: 40px;
}

.use-cases-section li {
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
  color: var(--dark-text);
  font-size: 16px;
  line-height: 1.6;
}

.use-cases-section li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-accent);
  font-weight: bold;
  font-size: 20px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 50px;
  background: var(--primary-accent);
  border-radius: 0;
  color: var(--white);
  margin-bottom: 40px;
  border: 2px solid var(--primary-accent);
}

.cta-section h2 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  margin-bottom: 25px;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--white);
  color: var(--primary-accent);
  text-decoration: none;
  border-radius: 0;
  font-weight: 600;
  border: 2px solid var(--white);
}

.cta-button:hover {
  background: transparent;
  color: var(--white);
  text-decoration: underline;
}

/* Blog Styles */
.blog-section h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-weight: 800;
}

.section-subtitle {
  font-size: 18px;
  color: var(--medium-gray);
  margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {  
  .nav-container {
    height: auto;
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }
  
  .nav-menu {
    width: 100%;
    justify-content: center;
    gap: 0;
  }
  
  .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .brand-name {
    font-size: 20px;
  }
  
  .logo {
    height: 40px;
  }
  
  section {
    padding: 30px 20px;
  }
  
  section h2 {
    font-size: 24px;
  }
  
  main {
    padding: 20px 15px;
  }
}
