/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* 🎨 Design Tokens */
  :root {
    /* Colors */
    --primary: #008080;
    --primary-dark: #006666;
    --secondary: #003366;
    --secondary-dark: #002244;
    --accent: #F5F5DC;
    --accent-light: #FFFDD0;
    --text-dark: #002244; /* Adjusted for better contrast */
    --text-light: #FAFAFA;
    --white: #FFFFFF;
  
    /* Neutral scale */
    --gray-95: #F2F2F2;
    --gray-90: #E6E6E6;
    --gray-80: #CCCCCC;
    --gray-60: #999999;
    --gray-40: #666666;
    --gray-20: #333333;
  
    /* Shadows */
    --shadow-color: rgba(0, 0, 0, 0.15);
  
    /* Typography */
    --font-family: 'Inter', sans-serif;
    --fs-xl: 3.5rem;   /* Hero heading */
    --fs-lg: 2.5rem;   /* Section titles */
    --fs-md: 1.5rem;   /* Subtitles */
    --fs-base: 1rem;   /* Body */
    --fs-sm: 0.9rem;   /* Labels / small text */
  
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-medium: 500;
  
    /* Layout */
    --container-width: 1200px;
    --space-xxl: 120px;
    --space-xl: 80px;
    --space-lg: 40px;
    --space-md: 20px;
    --space-sm: 10px;
  
    /* Radius */
    --radius-lg: 20px;
    --radius-md: 15px;
    --radius-sm: 8px;
    --radius-full: 50%;
  
    /* Transitions */
    --transition: all 0.3s ease;
  }
  
  /* Base */
  body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    min-height: 100vh;
  }
  
  .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
  }
  
  /* Header */
  header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow-color);
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    font-weight: var(--fw-extrabold);
    color: var(--text-dark);
  }
  
  /* Logo */
  .logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-md);
    filter: drop-shadow(0 0 8px rgba(245, 245, 220, 0.4));
    transition: var(--transition);
  }
  
  .logo-image:hover {
    filter: drop-shadow(0 0 12px rgba(245, 245, 220, 0.6));
    transform: scale(1.05);
  }
  .logo-text {
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(102, 102, 93, 0.4);
  }
  .ai-badge {
    background: var(--secondary);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: var(--fs-sm);
    margin-left: 4px;
  }
  
  /* Navigation */
  .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: var(--fw-medium);
    transition: var(--transition);
  }
  .nav-links a:hover {
    color: var(--accent);
  }
  
  .nav-links a.active {
    color: var(--primary);
    font-weight: var(--fw-bold);
  }
  
  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
  }
  
  .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Hero */
  .hero {
    padding: var(--space-xxl) 0 var(--space-xl);
    text-align: center;
    color: var(--accent);
    position: relative;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245, 245, 220, 0.1), transparent 70%);
    pointer-events: none;
  }
  .hero h1 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-md);
    background: linear-gradient(45deg, var(--accent), var(--accent-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(245, 245, 220, 0.25);
  }
  .hero p {
    font-size: 1.25rem;
    margin: 0 auto var(--space-lg);
    opacity: 0.9;
    max-width: 600px;
  }
  
  /* Buttons */
  .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn {
    padding: 15px 30px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
  }
  .btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: var(--accent);
    border-color: var(--accent);
  }
  .btn-secondary {
    background: rgba(245, 245, 220, 0.15);
    color: var(--accent);
    border-color: rgba(245, 245, 220, 0.5);
  }
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
  
  /* Section Title */
  .section-title {
    text-align: center;
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-xl);
    color: var(--secondary);
  }
  
  /* Community Feeds Section */
  .feeds-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.05), rgba(0, 51, 102, 0.05));
    overflow: hidden;
  }
  
  .feeds-header {
    text-align: center;
    margin-bottom: var(--space-lg);
  }
  
  .feeds-subtitle {
    font-size: 1.1rem;
    color: var(--gray-40);
    margin-top: 0.5rem;
    opacity: 0.8;
  }
  
  /* Loading State */
  .feeds-loading {
    text-align: center;
    padding: 3rem 0;
    color: var(--gray-60);
  }
  
  .spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border: 4px solid var(--gray-90);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Feeds Container */
  .feeds-container {
    position: relative;
    width: 100%;
  }
  
  .feeds-row {
    display: flex;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--gray-90);
  }
  
  .feeds-row::-webkit-scrollbar {
    height: 8px;
  }
  
  .feeds-row::-webkit-scrollbar-track {
    background: var(--gray-90);
    border-radius: 4px;
  }
  
  .feeds-row::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
  }
  
  .feeds-row::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  }
  
  /* Feed Card */
  .feed-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
  }
  
  .feed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.2);
  }
  
  .feed-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--gray-95);
  }
  
  .feed-card-content {
    padding: 1rem;
    background: var(--white);
  }
  
  .feed-card-prompt {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
    min-height: 2.8rem;
  }
  
  .feed-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-60);
  }
  
  .feed-card-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  
  .feed-card-likes {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary);
    font-weight: var(--fw-medium);
  }
  
  /* Empty & Error States */
  .feeds-empty,
  .feeds-error {
    text-align: center;
    padding: 3rem 0;
    color: var(--gray-60);
  }
  
  .feeds-empty i,
  .feeds-error i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
  }
  
  .feeds-error {
    color: #d32f2f;
  }
  
  .feeds-empty p,
  .feeds-error p {
    font-size: 1.1rem;
  }

  /* Features */
  .features {
    padding: var(--space-xl) 0;
    background: var(--white);
  }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: var(--space-xl);
  }
  .feature-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(0, 128, 128, 0.1);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.1);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
  }
  .feature-card:hover { transform: translateY(-10px); }
  .feature-icon {
    width: 80px; height: 80px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-full);
    font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    box-shadow: 0 0 20px rgba(0, 128, 128, 0.3);
  }
  .feature-card h3 { font-size: var(--fs-md); margin-bottom: var(--space-sm); }
  .feature-card p { opacity: 0.8; }
  
  /* Showcase */
  .showcase {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: var(--accent);
  }
  .showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--space-xl);
  }
  .showcase-item {
    background: rgba(245, 245, 220, 0.1);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 245, 220, 0.25);
    box-shadow: 0 0 15px rgba(0, 128, 128, 0.25);
    animation: fadeInUp 0.6s ease forwards;
  }
  
  /* How It Works */
  .how-it-works {
    padding: var(--space-xl) 0;
    background: var(--gray-95);
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: var(--space-xl);
  }
  .step {
    text-align: center;
    padding: var(--space-lg);
    animation: fadeInUp 0.6s ease forwards;
  }
  .step-number {
    width: 60px; height: 60px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    box-shadow: 0 0 15px rgba(0, 128, 128, 0.3);
  }
  
  /* CTA */
  .cta-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
    color: var(--accent);
  }
  .cta-section h2 { font-size: var(--fs-lg); margin-bottom: var(--space-md); }
  .cta-section p { font-size: 1.2rem; margin-bottom: var(--space-lg); opacity: 0.9; }
  
  /* Footer */
  footer {
    background: var(--gray-40);
    color: var(--white);
    padding: var(--space-lg) 0;
    text-align: center;
  }
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .social-links {
    display: flex; gap: 1rem;
  }
  .social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  .social-links a:hover { color: var(--primary); }
  
  /* Responsive */
  @media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    /* Feeds Section Mobile */
    .feeds-section {
      padding: var(--space-lg) 0;
    }
    
    .feeds-subtitle {
      font-size: 1rem;
      padding: 0 1rem;
    }
    
    .feed-card {
    }
    
    .feed-card-image {
    }
    
    .feed-card-prompt {
      font-size: 0.85rem;
    }
    
    .feeds-row {
      padding: 0.5rem 0;
    }
    .feeds-row ::-webkit-scrollbar {
      display: none;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
      display: flex;
    }
    
    .nav-links {
      position: fixed;
      top: 70px;
      right: -100%;
      width: 280px;
      height: calc(100vh - 70px);
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      flex-direction: column;
      padding: 2rem;
      gap: 0;
      box-shadow: -5px 0 20px var(--shadow-color);
      transition: right 0.3s ease;
      z-index: 999;
    }
    
    .nav-links.active {
      right: 0;
    }
    
    .nav-links li {
      border-bottom: 1px solid var(--gray-90);
      padding: 1rem 0;
    }
    
    .nav-links li:last-child {
      border-bottom: none;
    }
    
    .nav-links a {
      display: block;
      font-size: 1.1rem;
    }
    
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; justify-content: center; }
    .footer-content { flex-direction: column; text-align: center; }
  }
  
  /* Image Loading States */
  img {
    transition: opacity 0.3s ease;
  }
  
  img[loading="lazy"] {
    opacity: 0;
  }
  
  img.loaded {
    opacity: 1;
  }
  
  .image-wrapper {
    position: relative;
    background: var(--gray-90);
    overflow: hidden;
  }
  
  .image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
    z-index: 1;
  }
  
  .image-wrapper img.loaded + .image-wrapper::before {
    display: none;
  }
  
  @keyframes shimmer {
    0% {
      left: -100%;
    }
    100% {
      left: 100%;
    }
  }

  /* Animation */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  