/* Custom Styles for ProjectionLab Recreation */

:root {
   --faves-blue: #007bff;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #64748b;
    --accent-color: #10b981;
    /*--background-color: #ffffff;*/
    --surface-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Override Pico defaults */
* {
    box-sizing: border-box;
}

body {
   /*background-color: #eee;*/
    margin: 0;
    padding-top: 70px; /* Account for sticky navbar */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    /* color: var(--text-primary); */
}



a[role="button"] {
  --pico-background-color: var(--faves-blue);
}


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

/* Sticky Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--pico-background-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0 1rem;
}


    .waveform-container {
      width: 100%;
      height: 250px;
      background: #10142d;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      overflow: hidden;
      position: relative;
    }
    canvas.waveform {
      width: 100%;
      height: 100%;
      display: block;
    }

/* Hide the dropdown menu on larger screens */
/*@media (min-width: 768px) {
    .navbar details {
        display: none;
    }
}*/

/* Hide regular nav items on smaller screens */
/*@media (max-width: 767px) {
    .navbar ul:last-child li:not(:last-child) {
        display: none;
    }
}*/

/* Hero Section */
.hero {
    /*background: linear-gradient(135deg, var(--surface-color) 0%, #ffffff 100%);*/
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    /*display: grid;*/
    /*grid-template-columns: 1fr 1fr;*/
    /*gap: 4rem;*/
    /*align-items: center;*/
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    /* color: var(--text-primary); */
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    /* color: var(--text-secondary); */
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    /*display: flex;*/
    /*gap: 1rem;*/
    /*flex-wrap: wrap;*/
    text-align: center;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.waveform-placeholder {
    background: #efefef;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin-top: 2rem;
}

.waveform-label {
    color: rgba(0, 0, 0, 0.8);
    font-weight: 600;
    margin: 0;
    padding-top: 1rem;
}

/* Features Section */
.features {
    padding: 2rem 0;
    /*background: var(--surface-color);*/
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    /* color: var(--text-primary); */
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    /*background: #444;*/
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-card h3 {
    /* color: var(--text-primary); */
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    /*color: var(--pico-color);*/
    margin: 0;
}

/* Video Preview */
.video-preview {
    padding: 4rem 0;
}

.video-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    /* color: var(--text-primary); */
    margin-bottom: 3rem;
}

.video-demo {
/*    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;*/
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.demo-form {
    padding: 2rem;
}

.demo-form h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    /* color: var(--text-primary); */
    margin-bottom: 0.5rem;
}

.demo-results {
    background: var(--surface-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-results h3 {
    /* color: var(--text-primary); */
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.result-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.result-label {
    /* color: var(--text-secondary); */
    font-weight: 500;
}

.signup-cta {
  text-align: center;
  margin-top: 2rem;
}

/* CTA Section */
.cta {
    background-color: #eee;
    color: black;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: black;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: black;
}

/* Footer */
footer#app-info {
    background: #111;
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .video-demo {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features h2,
    .video-preview h2 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
  #navbar-signup {
    display: none;
  }
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}