/* CivicWire Specific Styles */
html, body{
    overflow-x: hidden;
}

/* Hero Section with Video Background */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 1000px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Lora', serif;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Demo Section */
.demo-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 2rem;
    color: #1a1a1a;
}

.demo-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.demo-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-family: 'Lora', serif;
}

.demo-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.demo-preview-area {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.demo-placeholder {
    margin-bottom: 2rem;
}

.demo-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #1a1a1a;
}

.demo-placeholder h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.demo-placeholder p {
    color: #666;
    font-size: 1rem;
}

.demo-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 200px;
}

.demo-button.primary {
    background: #ffd700;
    color: #1a1a1a;
}

.demo-button.primary:hover {
    background: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.demo-button.secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.demo-button.secondary:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}

/* Counter Section */
.counter-section {
    background: linear-gradient(135deg, #071424 0%, #143955 50%, #071424 100%);
    padding: 5rem 2rem;
    color: white;
}

.counter-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.counter-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #ffd700;
    font-family: 'Lora', serif;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.counter-item {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.counter-item:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.counter-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.counter-number:after{
    content: "+";
    margin-left:2px;
}

.counter-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #071424 0%, #143955 50%, #071424 100%);
    padding: 5rem 2rem;
    color: white;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #ffd700;
    font-family: 'Lora', serif;
}

.quote-wall {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.quote-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
    text-align: center;
}

.quote-item.active {
    opacity: 1;
    transform: translateX(0);
}

.quote-text {
    font-size: 1.3rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 2rem;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quote-author {
    display: block;
    text-align: center;
}

.author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-headshot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    flex-shrink: 0;
}

.author-details {
    text-align: left;
}

.author-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.author-title {
    display: block;
    font-size: 0.9rem;
    color: #b0b0b0;
    font-style: normal;
}

.quote-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.quote-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-nav-btn.active,
.quote-nav-btn:hover {
    background: #ffd700;
    transform: scale(1.2);
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 2rem;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: gold;
    font-family: 'Lora', serif;
}

.pipeline-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.pipeline-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(to bottom, #ffd700, #ffed4a);
    z-index: 1;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #071424 0%, #143955 50%, #071424 100%);
    padding: 5rem 2rem;
    color: white;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.benefit-icon {
    font-size: 1.5rem;
    color: #ffd700;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #e0e0e0;
    margin: 0;
}

/* Use Cases Section */
.use-cases-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 2rem;
}

.use-cases-container {
    max-width: 1200px;
    margin: 0 auto;
}

.use-cases-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    overflow-x: scroll;
}

.use-case-tile {
    flex: 0 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    width: 300px;
}

.use-case-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.use-case-headline {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.use-case-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.use-case-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.use-case-link:hover {
    color: #ffed4a;
    text-decoration: underline;
}

/* Matrix Sections */
.matrix-section,
.competitive-section {
    background: linear-gradient(135deg, #071424 0%, #143955 50%, #071424 100%);
    padding: 5rem 2rem;
    color: white;
}

.matrix-container,
.competitive-container {
    max-width: 1200px;
    margin: 0 auto;
}

.matrix-table-wrapper,
.competitive-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-matrix-table,
.competitive-matrix-table {
    width: 100%;
    min-width: 800px;
    background: white;
    color: #1a1a1a;
    border-collapse: collapse;
}

.feature-matrix-table th,
.feature-matrix-table td,
.competitive-matrix-table th,
.competitive-matrix-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.feature-matrix-table th,
.competitive-matrix-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a;
}

.feature-matrix-table td:first-child,
.competitive-matrix-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.civicwire-column {
    background: rgba(255, 215, 0, 0.1) !important;
    font-weight: 600;
}

.total-row {
    background: #f8f9fa;
    font-weight: 600;
}

.matrix-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.value-high,
.value-moderate {
    font-size: 1.2rem;
}

/* Conversion Section */
.conversion-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 2rem;
}

.conversion-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.conversion-ctas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.cta-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cta-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.cta-item p {
    color: #666;
    margin-bottom: 1.5rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    /*font-size: 1rem;*/
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.cta-button.primary {
    background: #ffd700;
    color: #1a1a1a;
}

.cta-button.primary:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: #1a1a1a;
    color: white;
}

.cta-button.secondary:hover {
    background: #333;
    transform: translateY(-2px);
}

.cta-button.tertiary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.cta-button.tertiary:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}

/* Lead Gen Form */
.lead-gen-form {
    background: rgba(255, 215, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.lead-gen-form h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.lead-gen-form p {
    color: #666;
    margin-bottom: 1.5rem;
}

.zapier-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.zapier-input {
    flex: 1;
    min-width: 300px;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
}

.zapier-input:focus {
    outline: none;
    border-color: #ffd700;
}

.zapier-button {
    padding: 1rem 2rem;
    background: #ffd700;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zapier-button:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

/* Sticky CTA */
.sticky-cta-button {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}

.sticky-cta-button.show {
    opacity: 1;
}

.sticky-cta-button button {
    background: #ffd700;
    color: #1a1a1a;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sticky-cta-button button:hover {
    background: #ffed4a;
    transform: scale(1.05);
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fade-in 0.8s ease forwards;
}

@keyframes countUp {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Toast Notifications */
.success-toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: #4CAF50;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.success-toast.show {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pipeline-steps {
        flex-direction: column;
    }
    
    .pipeline-steps::before {
        left: 30px;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .author-details {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .counter-section-title,
    .demo-title,
    .testimonials-title,
    .section-title {
        font-size: 2rem;
        
    }
    .section-title{
        color: gold;
    }
    .counter-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .demo-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-button {
        width: 100%;
        max-width: 300px;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .demo-preview-area {
        padding: 2rem;
    }
    
    .pipeline-steps::before {
        display: none;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .conversion-ctas {
        grid-template-columns: 1fr;
    }
    
    .zapier-form {
        flex-direction: column;
    }
    
    .zapier-input {
        min-width: auto;
    }
    
    .sticky-cta-button {
        bottom: 2rem;
        right: 1rem;
        top: auto;
        transform: none;
    }
    
    .success-toast {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .matrix-table-wrapper,
    .competitive-table-wrapper {
        margin: 0 -1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        color: gold;
    }
    
    .counter-grid {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}



#testimonial-subtitle1{
    font-family: 'Inter' sans-serif;
    color:#b6b6b6;
    font-size: 1rem;
    margin-top: -30px;
}


#rapidlyExpandingCoverage{
    font-family: 'Inter' sans-serif;
    margin-top: 40px;
    font-style: italic;
    font-size: 1rem;
    font-weight: lighter;
}