/* 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: #e03830; /* slightly softer red */
    --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: 32px 20px 48px;
    max-width: 480px;
    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 16px;
}

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

.sub-headline {
    font-size: 15px;
    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: 32px 0 32px;
}

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

.phone-frame {
    width: 190px;
    height: 390px;
    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: 16px 0 12px;
}

.primary-cta {
    background-color: var(--red);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(224, 56, 48, 0.25);
    text-decoration: none;
    display: inline-block;
    min-width: 220px;
}

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

/* 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: 17px;
    }
    
    .phone-frame {
        width: 230px;
        height: 470px;
    }
    
    .primary-cta {
        font-size: 18px;
        padding: 16px 36px;
    }
}

@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: 19px;
    }
    
    .phone-frame {
        width: 280px;
        height: 560px;
    }
}
