/*
  Name: Rachel Gui
  Date: October 16, 2025
  Section: CSE 154 AL
  This is the styles.css file for my personal portfolio website.
  It provides consistent styling across all pages with a modern,
  clean design focused on typography and user experience.
*/

/* Font Face Definitions */

@font-face {
  font-family: 'anthropicSerif';
  src: local('Georgia'), local('Times New Roman'), local('serif');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Haas Unica Pro Regular';
  src: url('https://fonts.cdnfonts.com/css/neue-haas-unica-pro') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Neue Haas Unica Pro Medium';
  src: url('https://fonts.cdnfonts.com/css/neue-haas-unica-pro') format('woff2');
  font-weight: 500;
  font-style: normal;
}

/* Grouped selectors for shared styles */
h1, h2, h3 {
  font-family: 'anthropicSerif', 'Inter', -apple-system, BlinkMacSystemFont, serif;
  font-weight: 500;
  line-height: 1.2;
}

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

/* CSS Variables */
:root {
  --token-b3235550-3757-416d-b131-be21ea4d150a: rgb(71, 71, 71);
  --token-4c03ec57-1526-4855-9bbe-39072bd57075: rgba(58, 60, 66, 0.5);
  --token-7c8a8a8a-8a8a-8a8a-8a8a-8a8a8a8a8a8a: rgb(138, 138, 138);
  --token-ffffff-ffffff-ffffff-ffffff-ffffff: rgb(255, 255, 255);
  --token-000000-000000-000000-000000-000000: rgb(0, 0, 0);
  --token-999999-999999-999999-999999-999999: rgb(153, 153, 153);
  --token-666666-666666-666666-666666-666666: rgb(102, 102, 102);
  --token-333333-333333-333333-333333-333333: rgb(51, 51, 51);
  --token-cccccc-cccccc-cccccc-cccccc-cccccc: rgb(204, 204, 204);
  --token-eeeeee-eeeeee-eeeeee-eeeeee-eeeeee: rgb(238, 238, 238);
  --token-f5f5f5-f5f5f5-f5f5f5-f5f5f5-f5f5f5: rgb(245, 245, 245);
  --token-f8f8f8-f8f8f8-f8f8f8-f8f8f8-f8f8f8: rgb(248, 248, 248);
  --token-fafafa-fafafa-fafafa-fafafa-fafafa: rgb(250, 250, 250);
  --token-fcfcfc-fcfcfc-fcfcfc-fcfcfc-fcfcfc: rgb(252, 252, 252);
  --token-ffffff-ffffff-ffffff-ffffff-ffffff-80: rgba(255, 255, 255, 0.8);
  --token-000000-000000-000000-000000-000000-10: rgba(0, 0, 0, 0.1);
  --token-000000-000000-000000-000000-000000-20: rgba(0, 0, 0, 0.2);
  --token-000000-000000-000000-000000-000000-30: rgba(0, 0, 0, 0.3);
  --token-000000-000000-000000-000000-000000-50: rgba(0, 0, 0, 0.5);
  --token-000000-000000-000000-000000-000000-70: rgba(0, 0, 0, 0.7);
  --token-000000-000000-000000-000000-000000-90: rgba(0, 0, 0, 0.9);

  /* Additional Design-specific tokens */
  --design-text-color: var(--token-b3235550-3757-416d-b131-be21ea4d150a);
  --design-text-alignment: left;
  --design-link-text-color: rgb(0, 153, 255);
  --design-link-text-decoration: underline;
  --design-background-color: #ffffff;
  --design-border-radius: 12px;
  --design-shadow: none;
  --design-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout variables */
  --sidebar-width: 212px;
  --sidebar-padding: 20px;
  --main-content-padding: 40px;
  --mobile-nav-height: 60px;
}

body {
    font-family: '__tiemposText_34e0db', '__tiemposText_Fallback_34e0db', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 31px;
    color: #141413;
    background-color: var(--token-ffffff-ffffff-ffffff-ffffff-ffffff);
    overflow-x: hidden;
}

/* Main Container Layout */
.main-container {
  display: flex;
  min-height: 100vh;
  background-color: var(--token-ffffff-ffffff-ffffff-ffffff-ffffff);
}

/* Sidebar Navigation */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 212px;
  height: 100vh;
  background-color: transparent;
  padding: 20px 0 0 20px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  border-right: none;
}

/* Brand Section */
.brand-section {
  margin-bottom: 60px;
  padding-top: 40px;
}

.brand-name {
  font-family:
    'anthropicSerif',
    'Neue Haas Unica Pro Medium',
    -apple-system,
    BlinkMacSystemFont,
    serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgb(71, 71, 71);
  margin: 0;
  line-height: 1.2;
}

.back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #999999;
  font-family:
    'anthropicSerif',
    'Neue Haas Unica Pro Regular',
    -apple-system,
    BlinkMacSystemFont,
    serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
}

.back-button:hover {
  color: #666666;
  transform: translateX(-4px);
}

.back-arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.back-button:hover .back-arrow {
  transform: translateX(-2px);
}

.back-text {
  font-size: 14px;
  line-height: 1.4;
}

.brand-name {
  font-family:
    'anthropicSerif',
    'Neue Haas Unica Pro Medium',
    -apple-system,
    BlinkMacSystemFont,
    serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgb(71, 71, 71);
  margin: 0;
  line-height: 1.2;
}

/* Sidebar Navigation */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #999999;
  font-family:
    'anthropicSerif',
    'Neue Haas Unica Pro Regular',
    -apple-system,
    BlinkMacSystemFont,
    serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}

.nav-link:hover .nav-text {
  color: #666666;
}

.nav-link.active .nav-text {
  color: #000000;
  font-weight: 500;
}

.nav-link.active {
  color: #000000;
  font-weight: 500;
  transform: translateX(8px);
  position: relative;
}

.nav-link.active:after {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background-color: #000000;
  border-radius: 2px;
  opacity: 0.8;
}

.nav-link:active {
  transform: translateX(12px);
  transition: transform 0.1s ease;
  color: #333333;
}

.nav-text {
  display: block;
  font-family: 'anthropicSerif', 'Inter', -apple-system, BlinkMacSystemFont, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.nav-styles-preset-1qasfeg {
  color: var(--token-b3235550-3757-416d-b131-be21ea4d150a);
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0;
  font-family:
    'anthropicSerif',
    'Neue Haas Unica Pro Regular',
    -apple-system,
    BlinkMacSystemFont,
    serif;
}

/* Main Content Area */
.main-content {
  flex: 1;
  margin-left: 212px;
  padding: 40px;
  min-height: 100vh;
  background-color: var(--token-ffffff-ffffff-ffffff-ffffff-ffffff);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
  padding: 0px 0 0px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.hero-content {
  max-width: 800px;
  margin: 0;
  padding: 0 40px;
}

.hero-title {
  font-family:
    'anthropicSerif',
    'Neue Haas Unica Pro Regular',
    -apple-system,
    BlinkMacSystemFont,
    serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: #3a3c427a;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.highlight {
  color: #2d2d2d;
  font-weight: 500;
}

.hero-subtitle {
  font-family: 'anthropicSerif', 'Inter', -apple-system, BlinkMacSystemFont, serif;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.detail-item {
  font-family: 'anthropicSerif', 'Inter', -apple-system, BlinkMacSystemFont, serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  line-height: 1.4;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: fit-content;
}

.cta-button:hover {
    background: #5f3dc4;
    transform: translateY(-2px);
}

.arrow {
    font-size: 1.2rem;
}

.hero-meta {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    color: #666;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.appsmith-interface {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.interface-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.interface-title {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.interface-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ff5f57; }
.control-dot.yellow { background: #ffbd2e; }
.control-dot.green { background: #28ca42; }

.interface-content {
    display: flex;
    height: 400px;
}

.sidebar {
    width: 200px;
    background: #f8f9fa;
    padding: 20px;
    border-right: 1px solid #e0e0e0;
}

.sidebar-item {
    padding: 12px 0;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
}

.sidebar-item.active {
    color: #6c5ce7;
    font-weight: 500;
}

.sidebar-item:hover {
    color: #333;
}

.main-content {
    flex: 1;
    padding: 30px;
    background: white;
}

.content-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.form-preview {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-field input,
.form-field select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fafafa;
}

.preview-button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
    margin-top: 10px;
}

/* Section Styles */
.section-title {
  font-family:
    'anthropicSerif',
    'Neue Haas Unica Pro Medium',
    -apple-system,
    BlinkMacSystemFont,
    serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  color: #2d2d2d;
  margin: 0 0 60px 0;
  text-align: center;
}

.section-description {
  font-family: 'anthropicSerif', 'Inter', -apple-system, BlinkMacSystemFont, serif;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 40px 0;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Story Section Styles */
.story-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

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

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: #fff;
}

.ui-mockup {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.mockup-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-right: 1px solid #e0e0e0;
}

.sidebar-header {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.menu-item {
    padding: 10px 0;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-item.active {
    color: #6c5ce7;
    font-weight: 500;
}

.menu-item:hover {
    color: #333;
}

.mockup-main {
    padding: 30px;
    background: #fff;
}

.mockup-header h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.mockup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.deploy-button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
    margin-top: 10px;
}

.deploy-button:hover {
    background: #5f3dc4;
}

/* Setting up Section */
.setting-up-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.icon-item {
    font-size: 3rem;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.icon-item:hover {
    transform: translateY(-5px);
}

.support-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 12px;
}

.support-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.support-section p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Typography Section */
.typography-section {
    padding: 80px 0;
    background: #fff;
}

.typography-showcase {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.font-weights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.weight-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.weight-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
}

.weight-sample {
    color: #666;
    font-size: 1.1rem;
}

.large-text-sample {
    text-align: center;
}

.large-text-sample h1 {
    font-size: 8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.text-hierarchy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.text-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.text-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
}

.text-sample {
    color: #666;
    font-size: 1.1rem;
}

/* Iconography Section */
.iconography-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.large-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.large-icon {
    font-size: 4rem;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
}

.purple-icons {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.purple-icon {
    font-size: 2rem;
    text-align: center;
    padding: 20px;
    background: #6c5ce7;
    color: white;
    border-radius: 8px;
}

/* Color Section */
.color-section {
    padding: 80px 0;
    background: #fff;
}

.color-picker-mockup {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.color-wheel {
    font-size: 8rem;
}

.color-preview {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.color-box {
    width: 100px;
    height: 100px;
    background: #6c5ce7;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.color-sliders {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slider {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.slider label {
    font-size: 0.9rem;
    color: #666;
}

.slider input[type="range"] {
    width: 200px;
}

.color-palette {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

/* Illustrations Section */
.illustrations-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.illustrations-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.illustration-item {
    font-size: 3rem;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
}

/* Components Section */
.components-section {
    padding: 80px 0;
    background: #fff;
}

.components-carousel {
    margin-bottom: 60px;
}

.component-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.component-card {
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
}

.component-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.component-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.preview-button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.preview-button:hover {
    background: #5f3dc4;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #6c5ce7;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #6c5ce7;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.author-avatar {
    font-size: 2rem;
}

.author-name {
    font-weight: 600;
    color: #2c3e50;
}

.author-role {
    font-size: 0.9rem;
    color: #666;
}

/* Error Pages Section */
.error-pages-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.error-showcase {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.error-page {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 12px;
}

.error-illustration {
    font-size: 8rem;
    font-weight: 700;
    color: #6c5ce7;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.error-page h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.error-page p {
    color: #666;
    margin-bottom: 30px;
}

.error-button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
}

.empty-states {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.empty-state {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.empty-state h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0;
}

/* Documentation Section */
.documentation-section {
    padding: 80px 0;
    background: #fff;
}

.doc-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.doc-card {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.doc-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.doc-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.doc-preview {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.code-block {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 6px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
}

.component-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.component-item {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    color: #2c3e50;
}

.token-example {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
}

.token-name {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    color: #2c3e50;
}

.token-value {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 12px;
    color: #6c5ce7;
    font-weight: 600;
}

/* Footer */
.footer {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
}

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

.footer-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.footer-cta {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 40px;
    transition: background 0.3s ease;
}

.footer-cta:hover {
    background: #5f3dc4;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--mobile-nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: none;
  z-index: 1001;
  padding: 16px 20px;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.mobile-nav-brand {
  font-family:
    'anthropicSerif',
    'Neue Haas Unica Pro Medium',
    -apple-system,
    BlinkMacSystemFont,
    serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--token-b3235550-3757-416d-b131-be21ea4d150a);
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--design-transition);
}

.mobile-menu-btn:hover {
  background-color: transparent;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: transparent;
  position: relative;
  transition: var(--design-transition);
}

.mobile-menu-btn span:before,
.mobile-menu-btn span:after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: transparent;
  transition: var(--design-transition);
}

.mobile-menu-btn span:before {
  top: -6px;
}

.mobile-menu-btn span:after {
  top: 6px;
}

.mobile-menu-btn.active span {
  background-color: transparent;
}

.mobile-menu-btn.active span:before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-btn.active span:after {
  transform: rotate(-45deg);
  top: 0;
}

.mobile-nav-menu {
  position: fixed;
  top: var(--mobile-nav-height);
  left: 0;
  right: 0;
  background-color: var(--token-ffffff-ffffff-ffffff-ffffff-ffffff);
  border-bottom: none;
  padding: 20px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
}

.mobile-nav-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: row;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #999999;
  font-family:
    'anthropicSerif',
    'Neue Haas Unica Pro Regular',
    -apple-system,
    BlinkMacSystemFont,
    serif;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.mobile-nav-link:hover .nav-text {
  color: #666666;
}

.mobile-nav-link.active .nav-text {
  color: #000000;
  font-weight: 500;
}

.mobile-nav-link:hover {
  transform: translateX(4px);
}

.mobile-nav-link.active {
  color: #000000;
  font-weight: 500;
  transform: translateX(8px);
  position: relative;
}

.mobile-nav-link.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: #000000;
  border-radius: 1px;
  opacity: 0.8;
}

.mobile-nav-link:active {
  transform: translateX(12px);
  transition: transform 0.1s ease;
  color: #333333;
}

/* Align story navigation colors/animation with main site */
.sidebar .nav-link {
  color: #999999;
}

.sidebar .nav-link .nav-text {
  color: #999999;
  transition: all 0.3s ease;
}

.sidebar .nav-link:hover .nav-text {
  color: #666666;
}

.sidebar .nav-link.active,
.sidebar .nav-link.active .nav-text {
  color: #000000;
  font-weight: 500;
}

.sidebar .nav-link.active {
  transform: translateX(8px);
}

.sidebar .nav-link.active:after {
  background-color: #000000;
  animation: nav-active-pulse 3.2s ease-in-out infinite;
}

.sidebar .nav-link:active {
  transform: translateX(12px);
  color: #333333;
}

.mobile-nav-link {
  color: #999999;
}

.mobile-nav-link .nav-text {
  color: #999999;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover .nav-text {
  color: #666666;
}

.mobile-nav-link.active,
.mobile-nav-link.active .nav-text {
  color: #000000;
  font-weight: 500;
}

.mobile-nav-link.active:after {
  background-color: #000000;
  animation: nav-active-underline 3.2s ease-in-out infinite;
}

.mobile-nav-link:active {
  color: #333333;
}

@keyframes nav-active-pulse {
  0% {
    opacity: 0.45;
    transform: translateY(-50%) scaleY(0.8);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scaleY(1);
  }
  100% {
    opacity: 0.45;
    transform: translateY(-50%) scaleY(0.8);
  }
}

@keyframes nav-active-underline {
  0% {
    opacity: 0.45;
    transform: translateX(-50%) scaleX(0.7);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
  100% {
    opacity: 0.45;
    transform: translateX(-50%) scaleX(0.7);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sidebar {
    width: 180px;
  }

  .main-content {
    margin-left: 180px;
    padding: 30px;
  }
}

@media (max-width: 900px) {
  .sidebar {
    width: 160px;
  }

  .main-content {
    margin-left: 160px;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
    padding-top: calc(60px + 20px);
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding: 40px 0 60px 0;
    min-height: calc(100vh - var(--mobile-nav-height));
  }

  .hero-title {
    font-size:
      clamp(
        24px,
        5vw,
        28px
      );
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav-left, .nav-right {
    gap: 20px;
  }
  
  .ui-mockup {
    grid-template-columns: 1fr;
  }
  
  .mockup-sidebar {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .font-cards {
    grid-template-columns: 1fr;
  }
  
  .large-icons {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .purple-icons {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .component-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .footer-info {
    flex-direction: column;
    gap: 20px;
  }
  
  .color-picker-mockup {
    flex-direction: column;
  }
  
  .illustrations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .error-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .empty-states {
    grid-template-columns: 1fr;
  }
  
  .doc-showcase {
    grid-template-columns: 1fr;
  }
  
  .appsmith-interface {
    max-width: 100%;
  }
  
  .interface-content {
    flex-direction: column;
    height: auto;
  }
  
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Hover Effects */
.component-card:hover {
    transform: translateY(-5px);
}

.doc-card:hover {
    transform: translateY(-3px);
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.error-page:hover {
    transform: translateY(-3px);
}

.empty-state:hover {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-link {
    padding: 10px 0;
    font-size: 15px;
  }

  .nav-link:hover {
    transform: translateX(6px);
  }

  .nav-link.active {
    transform: translateX(10px);
  }

  .nav-link:active {
    transform: translateX(14px);
  }
}

@media (max-width: 1024px) {
  .main-content {
    margin-left: 180px;
    padding: 30px;
  }
  
  .sidebar {
    width: 180px;
  }
}

@media (max-width: 900px) {
  .sidebar {
    width: 160px;
  }
  
  .main-content {
    margin-left: 160px;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .mobile-nav-link {
    padding: 10px 16px;
    font-size: 14px;
  }

  .main-container {
    flex-direction: column;
  }
  
  .sidebar {
    display: none;
  }
  
  .main-content {
    margin-left: 0;
    padding: 20px;
    padding-top: calc(60px + 20px);
  }
  
  .mobile-nav {
    display: flex;
  }
}

@media (max-width: 480px) {
  .mobile-nav-link {
    padding: 12px 20px;
    font-size: 15px;
  }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Brand name as link styles */
.brand-name {
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.brand-name:hover {
    color: rgb(0, 0, 0) !important;
    text-decoration: none !important;
}
