:root {
    --black: rgb(0, 0, 0);
    --dark-gray: rgb(82, 82, 82);
    --grey: rgb(133, 133, 133);
    --light-grey: rgb(200, 200, 200);
    --red: rgb(157, 27, 29);
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-gray);
    color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Concrete texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.03) 2px, rgba(255,255,255,.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,.03) 2px, rgba(255,255,255,.03) 4px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Geometric accent lines */
.accent-line {
    position: absolute;
    background-color: var(--red);
    opacity: 0;
    animation: slideIn 0.8s ease-out forwards;
}

.accent-line.top {
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    animation-delay: 0.2s;
}

.accent-line.vertical {
    /* top: 0;
    right: 15%;
    width: 2px;
    height: 100%;
    animation-delay: 0.4s; */
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left;
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Header */
header {
    padding: 2rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.district-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-grey);
}

/* Main content */
main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
}

/* Hero section with dramatic typography */
.hero {
    padding: 4rem 5% 3rem;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--red);
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 300;
    line-height: 1.4;
    max-width: 600px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.hero .cta-button {
    align-self: flex-start;
}

/* Desktop layout: button on the right */
@media (min-width: 769px) {
    .hero {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero-content {
        max-width: 60%;
    }

    .hero .cta-button {
        flex-shrink: 0;
        align-self: center;
    }
}

/* Value proposition section */
.value-section {
    padding: 3rem 5%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.7s forwards;
}

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

.value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    width: 4px;
    height: 100%;
    background: var(--red);
}

.section-header {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.value-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-left: 2rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-left: 2rem;
    margin-top: 2.5rem;
}

.benefit-card {
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInStagger 0.6s ease-out forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.9s; }
.benefit-card:nth-child(2) { animation-delay: 1.0s; }
.benefit-card:nth-child(3) { animation-delay: 1.1s; }
.benefit-card:nth-child(4) { animation-delay: 1.2s; }

@keyframes fadeInStagger {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.4s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(157, 27, 29, 0.3);
    transform: translateX(8px);
}

.benefit-card:hover::before {
    width: 100%;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    filter: grayscale(1) brightness(0.8);
}

.benefit-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.benefit-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--light-grey);
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    text-align: center;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.3s forwards;
}

.cta-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--light-grey);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: var(--red);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(157, 27, 29, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    background: rgb(180, 30, 32);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(157, 27, 29, 0.5);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(0);
}

.cta-tagline {                                                                                                  
    font-size: 0.8rem;                                                                                            
    font-weight: 400;                                                                                           
    color: var(--light-grey);                                                                                   
    margin-top: 2rem;                                                                                           
    font-style: italic;                                                                                         
} 

/* Footer */
footer {
    padding: 2rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: var(--grey);
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .accent-line.vertical {
        display: none;
    }

    header, .hero, .value-section, .cta-section, footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        padding-left: 1rem;
    }

    .section-header, .value-text {
        padding-left: 1rem;
    }

    .value-section::before {
        left: 1.5rem;
    }

    .cta-button {
        padding: 1.25rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 400px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
