

/* Hero Banner */
.hero-banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 4rem;
    gap: 0rem;
    position: relative;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.tagline {
    font-size: 1.75rem;
    color: #fff;
    line-height: 1.3;
    font-family: Arial;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18), 0 1px 0 rgba(31,157,39,0.08);
}

.tagline-more {
    font-size: 1rem;
    color: #fff;
    font-family: Arial;
}

.cta-btn {
    display: inline-block;
    background: var(--bs-primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(var(--bs-primary-rgb), 0.3);
}

.cta-btn:hover {
    background: color-mix(in srgb, var(--bs-primary), white 15%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--bs-primary-rgb), 0.4);
}

/* Banner Content Switching */
.banner-content {
    margin-top: 2rem;
}

.banner-content.logged-in {
    text-align: center;
}

.banner-content.logged-out {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Download Gate */
.download-gate {
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    border-radius: 8px;
    border: 1.5px solid var(--primary-color);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    background: var(--background-color);
    max-width: 400px;
    min-width: 280px;
    width: 100%;
    height: 2.5rem;
}

.download-gate:focus-within {
    box-shadow: 0 0 0 3px rgba(31, 157, 39, 0.1);
}

.download-gate .cta-btn {
    border: none;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    height: 2.5rem;
    min-width: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0 1.1rem;
    line-height: 2.5rem;
}

.download-gate .cta-btn.disabled {
    background: #666666;
    color: #999999;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    opacity: 0.6;
}


.download-gate .cta-btn:not(.disabled) {
    background: var(--bs-primary);
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 20px rgba(var(--bs-primary-rgb), 0.3);
    transition: all 0.2s ease;
}

.download-gate .cta-btn:not(.disabled):hover {
    background: color-mix(in srgb, var(--bs-primary), white 15%);
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(var(--bs-primary-rgb), 0.4);
}

.download-gate .email-input {
    padding: 0.0rem 0.8rem;
    border: none;
    border-radius: 0;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
    min-width: 0;
    width: 100%;
    transition: none;
    height: 2.5rem;
}

.download-gate .email-input.extended-input {
    min-width: 180px;
    font-family: 'Arial', 'Helvetica', sans-serif;
    letter-spacing: 0.02em;
}

.download-gate .email-input:focus {
    outline: none;
}

.download-gate .email-input::placeholder {
    color: var(--text-secondary);
}

/* Full-width button when email input is hidden (logged in state) */
.download-gate:has(.email-input[style*="display: none"]) .cta-btn,
.download-gate .email-input[style*="display: none"] ~ .cta-btn {
    width: 100%;
    flex: 1;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
}

/* Alternative approach using JavaScript classes */
.download-gate.logged-in {
    border: 1.5px solid var(--primary-color);
    border-radius: 8px;
}

.download-gate.logged-in .cta-btn {
    width: 100%;
    flex: 1;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    border-radius: 6px;
}

.hero-image {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    overflow: hidden;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.hero-image video {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

/* Info Section */
.info-section {
    background: var(--section-bg, #181e1a);
    padding: 6rem 0;
    border-top: 2px solid var(--bs-primary);
    box-shadow: 0 2px 24px 0 rgba(0,0,0,0.10);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.info-container h2 {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 16px rgba(31,157,39,0.10);
    border: none;
    padding: 0.1em 0.6em;
    display: inline-block;
    background: transparent;
    transition: box-shadow 0.25s, border-color 0.25s;
}

.info-container > p {
    font-size: 1.18rem;
    color: #c0c0c0;
    max-width: 800px;
    margin: 0 auto 3.2rem auto;
    line-height: 1.65;
}

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

.feature {
    background: var(--background-color, #222);
    padding: 2.2rem 2rem 2rem 2rem;
    border-radius: 18px;
    border: 1px solid #999999;
    box-shadow: 0 4px 18px 0 rgba(0,0,0,0.09);
    transition: transform 0.3s cubic-bezier(.4,2,.3,1), border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.feature:hover {
    box-shadow: 0 0 10px 1px var(--bs-primary), 0 8px 22px 0 rgba(31,157,39,0.08);
    border-color: var(--bs-primary);
    transform: translateY(-8px) scale(1.025);
}




.feature h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bs-primary);
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(31,157,39,0.10);
}
.feature p {
    color: white;
    line-height: 1.6;
    font-size: 1.08rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .info-section {
        padding: 3rem 0 2rem 0;
    }
    .features-grid {
        gap: 1.2rem;
        margin-top: 2rem;
    }
    .feature {
        padding: 1.2rem 1rem;
    }

    /* Only adjust font-size or padding for overall site consistency, not layout */
    .download-gate .cta-btn,
    .download-gate .email-input {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}


.waves-box {
    position: absolute;
    width: 100vw;
    height: 50%;
    bottom: 0;
    left: 0;
    z-index: 0;
  }
  .waves-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .waves-box-inner {    
    background-image: 
      url("/img/wave1.svg"),
      url("/img/wave2.svg"),
      url("/img/wave3.svg");
    background-repeat: repeat-x;
    background-size: 1600px 250px;
    background-position: 0 130%, -50px 130%, 500px 130%;
    
    animation: 22s waves linear infinite forwards;
  }
  
  @keyframes waves {
    to {
        background-position: 1600px 130%, 3150px 130%, 5300px 130%;
    }
  }

/* Testimonials Section */
.testimonials-section {
    background: var(--background-color, #1a1a1a);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--bs-primary) 20%, 
        var(--bs-primary) 80%, 
        transparent 100%);
    box-shadow: 0 0 20px rgba(31, 157, 39, 0.3);
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-container h2 {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 0 2px 16px rgba(31, 157, 39, 0.10);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 3rem;
}

.testimonials-track {
    display: flex;
    gap: 2.5rem;
    animation: scroll-testimonials 60s linear infinite;
    width: fit-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1.25rem));
    }
}

.testimonial {
    background: linear-gradient(135deg, 
        rgba(31, 157, 39, 0.03) 0%, 
        rgba(0, 0, 0, 0.4) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(153, 153, 153, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 400px;
    max-width: 400px;
    flex-shrink: 0;
}

.testimonial::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(31, 157, 39, 0.2) 0%, 
        transparent 50%, 
        rgba(31, 157, 39, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    border-color: var(--bs-primary);
    box-shadow: 0 0 30px rgba(31, 157, 39, 0.2), 
                0 8px 30px rgba(0, 0, 0, 0.3);
}

.testimonial:hover::before {
    opacity: 1;
}

.quote-icon {
    font-size: 4rem;
    color: var(--bs-primary);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
    opacity: 0.6;
    text-shadow: 0 2px 10px rgba(31, 157, 39, 0.3);
}

.testimonial-text {
    color: #e0e0e0;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid rgba(153, 153, 153, 0.2);
    padding-top: 1.5rem;
    margin-top: auto;
}

.author-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.author-title {
    font-size: 0.95rem;
    color: var(--bs-primary);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.author-credit {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

/* Responsive Design for Testimonials */
@media (max-width: 1200px) {
    .testimonials-track {
        gap: 2rem;
    }
    
    .testimonial {
        min-width: 350px;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 0;
    }
    
    .testimonials-container {
        padding: 0 1.5rem;
    }
    
    .testimonials-container h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .testimonials-track {
        gap: 1.5rem;
        animation: scroll-testimonials 45s linear infinite;
    }
    
    .testimonial {
        padding: 2rem 1.5rem;
        min-width: 300px;
        max-width: 300px;
    }
    
    .quote-icon {
        font-size: 3rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}
    