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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #111c4e;
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 40px;
}

/* Color Variables */
:root {
    --blue: #111c4e;
    --red: #ec2d1f;
    --light-blue: #eaf6f7;
    --white: #ffffff;
}

/* Banner */
.banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--red);
    z-index: 300; /* above navbar */
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.banner-text {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-image { display: none; }

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 68, 56, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.placeholder-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: 12px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.placeholder-note span {
    font-weight: 500;
    margin-bottom: 4px;
}

.placeholder-note small {
    font-size: 10px;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 0 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile fix */
@media (max-width: 767px) {
    .visual-section {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Headline Section */
.headline-section {
    text-align: center;
    padding: 40px 0 12px;
}

.headline {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 16px;
    line-height: 1.2;
}

.sub-headline {
    font-size: 16px;
    color: var(--blue);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Visual Section */
.visual-section {
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.phone-mockup {
    perspective: 1000px;
    margin: 0 auto; /* ensure centering */
}

.phone-frame {
    width: 150px;
    height: 300px;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    position: relative;
}

.phone-frame::before { content: none; }

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(17, 28, 78, 0.1);
    color: var(--blue);
    text-align: center;
}

.screenshot-placeholder span {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.screenshot-placeholder small {
    font-size: 10px;
    opacity: 0.7;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 28px 0 36px;
}

.primary-cta {
    background-color: var(--red);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 68, 56, 0.3);
}

.primary-cta:hover {
    background-color: #e6392a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 68, 56, 0.4);
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background-color: var(--light-blue);
    margin: 0 -16px;
}

.testimonials-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 32px;
}

.testimonials-carousel {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(17, 28, 78, 0.1);
    margin: 0 16px;
}

.testimonial-content p {
    font-size: 16px;
    color: var(--blue);
    margin-bottom: 20px;
    line-height: 1.5;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.author-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 12px;
    color: var(--blue);
    opacity: 0.7;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.carousel-btn {
    background-color: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background-color: #0d1540;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--blue);
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.dot.active {
    opacity: 1;
}

/* Responsive Design */
@media (min-width: 768px) {
    body {
        padding-top: 56px;
    }
    .banner {
        height: 56px;
    }
    
    .banner-text {
        font-size: 16px;
    }
    
    .headline-section {
        padding: 50px 0 12px;
    }
    
    .main-content {
        padding: 0 24px;
    }
    
    .headline {
        font-size: 36px;
    }
    
    .sub-headline {
        font-size: 18px;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
    
    .primary-cta {
        font-size: 20px;
        padding: 20px 40px;
    }
    
    .testimonials-section {
        margin: 0 -24px;
        padding: 80px 0;
    }
    
    .testimonials-title {
        font-size: 32px;
    }
    
    .testimonials-carousel {
        max-width: 600px;
    }
    
    .testimonial-card {
        padding: 32px;
        margin: 0 24px;
    }
}

@media (min-width: 1024px) {
    body {
        padding-top: 64px;
    }
    .banner {
        height: 64px;
    }
    
    .banner-text {
        font-size: 18px;
    }
    
    .headline-section {
        padding: 60px 0 12px;
    }
    
    .main-content {
        padding: 0 32px;
    }
    
    .headline {
        font-size: 44px;
    }
    
    .sub-headline {
        font-size: 20px;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .testimonials-section {
        margin: 0 -32px;
        padding: 100px 0;
    }
    
    .testimonials-carousel {
        max-width: 800px;
    }
    
    .testimonial-card {
        padding: 40px;
        margin: 0 32px;
    }
}
