/* Brutalist Design Style with trust-inspiring educational color palette - darker tones */
:root {
    /* Trust and education focused palette - darker tones */
    --primary-color: #1a2530; /* deep dark navy blue - reliability */
    --secondary-color: #f5f5f5; /* off-white */
    --accent-color: #c99428; /* deep gold - premium education */
    --background-color: #f0f0f0; /* light gray background for internal elements */
    --outer-background: #c8c8c8; /* darker gray for outside the container */
    --border-color: #1a2530; /* deep dark navy blue */
    --box-bg: #ffffff; /* white */
    --accent-light: #e0b858; /* muted gold */
    --accent-dark: #a67b1f; /* dark gold */
    --secondary-blue: #2a6d9e; /* darker blue - clarity */
    --tertiary: #d9e6f2; /* light blue-gray */
    --paper-color: #e6eaed; /* cool gray */
    
    --mono-font: 'Chivo Mono', monospace;
    --sans-font: 'Inter', sans-serif;
}

/* Basic Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: var(--sans-font);
    background-color: var(--outer-background);
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 400;
}

body {
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs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yTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    margin: 40px;
    border: 8px solid var(--primary-color);
    position: relative;
    background-color: var(--background-color);
}

/* Top Section Layout */
.top-section {
    display: flex;
    border-bottom: 8px solid var(--primary-color);
    padding-bottom: 30px;
    padding-top: 60px;
    margin-bottom: 0;
    position: relative;
    background-color: var(--background-color);
}

.top-left, .top-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 20px;
}

.top-left {
    border-right: 8px solid var(--primary-color);
}

/* PRECURSOR Tag */
.precursor-tag {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -25px;
    left: 40px;
    font-size: 1.6em;
    font-weight: 900;
    font-family: var(--sans-font);
    letter-spacing: 0.05em;
    z-index: 2;
}

.precursor-tag::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent-color), var(--accent-light));
}

.precursor-icon {
    margin-right: 12px;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    position: relative;
    top: -2px; /* Adjust vertical alignment */
    color: var(--accent-color);
}

.precursor-text {
    display: inline-block;
    line-height: 1;
    font-family: var(--sans-font);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    font-size: 1.05em;
    color: var(--secondary-color);
}

/* Contact button */
.contact-button {
    background-color: var(--secondary-blue);
    color: var(--secondary-color);
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -20px;
    right: 40px;
    font-size: 0.9em;
    font-weight: 500;
    font-family: var(--sans-font);
    letter-spacing: 0.02em;
    z-index: 2;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(26, 37, 48, 0.3);
    height: 34px;
    line-height: 1.15em;
}

.contact-button:hover {
    background-color: #3a7dae;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(26, 37, 48, 0.2);
}

/* Text Styling */
p, h2 {
    margin-bottom: 20px;
    max-width: 100%;
}

/* Learn web dev styling */
#learn-web-dev {
    font-size: 1.4em;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.learn-web-dev-second-line {
    display: block;
    margin-top: 15px;
    font-weight: 400;
    font-size: 0.8em;
}

u {
    text-decoration: none;
    border-bottom: 5px solid var(--accent-color);
    padding-bottom: 2px;
}

/* Editor selection styling */
.editor-selection {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    font-family: var(--mono-font);
    background-color: var(--tertiary);
    border: 1px solid rgba(26, 37, 48, 0.2);
    border-radius: 4px;
    padding: 10px;
}

.right-from {
    font-weight: 500;
    margin-right: 10px;
    font-size: 1.1em;
    color: var(--secondary-blue);
}

.editor-options {
    display: flex;
    align-items: center;
}

.editor-option {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
}

/* Radio button styling */
input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    margin: 0 5px 0 0;
    width: 24px;
    height: 24px;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    background-color: var(--background-color);
}

input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(201, 148, 40, 0.3);
}

input[type="radio"] + label {
    font-size: 1.2em;
    font-weight: 700;
    font-family: var(--mono-font);
    cursor: pointer;
    color: var(--primary-color);
}

/* Selected radio */
input[name="editor"]:checked + label {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dynamic-editor-name {
    text-decoration: underline;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--mono-font);
}

/* Button styling */
.top-right button {
    padding: 15px 20px;
    margin: 20px 0;
    cursor: pointer;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-family: var(--sans-font);
    font-size: 1em;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 400px;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(26, 37, 48, 0.1);
    border-radius: 4px;
}

.top-right button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(26, 37, 48, 0.15);
    background-color: var(--accent-light);
}

.top-right button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(26, 37, 48, 0.1);
    background-color: var(--accent-dark);
}

.top-right button u {
    border-bottom: 2px solid rgba(26, 37, 48, 0.5);
}

.top-right p {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.top-right a {
    color: var(--secondary-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--accent-color);
    transition: background-color 0.2s;
    padding: 0 2px;
}

.top-right a:hover {
    color: var(--primary-color);
    background-color: var(--accent-light);
}

.price {
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--primary-color);
}

/* Bottom Section Layout */
.bottom-section {
    text-align: center;
    padding: 30px 10px 200px;
    background-color: var(--paper-color);
}

.bottom-section h2 {
    font-size: 1.4em;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 5px solid var(--accent-color);
    white-space: nowrap;
    color: var(--primary-color);
}

.how-it-works-boxes {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.box {
    width: 30%;
    border: 5px solid var(--primary-color);
    padding: 15px;
    position: relative;
    min-height: 110px;
    background-color: var(--background-color);
    margin-bottom: 180px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(26, 37, 48, 0.1);
    border-radius: 4px;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(26, 37, 48, 0.15);
    border-color: var(--secondary-blue);
}

.box:nth-child(2):hover {
    transform: translateY(-5px);
}

.box .number {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--secondary-blue);
    color: var(--secondary-color);
    font-size: 2em;
    font-weight: 900;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(26, 37, 48, 0.2);
}

.box .text {
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
    color: var(--primary-color);
    min-height: 2.5em; /* Reduced height while maintaining content visibility */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gif-placeholder {
    border: 3px dashed var(--primary-color);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: absolute;
    bottom: -190px;
    left: 0;
    width: 100%;
    background-color: var(--tertiary);
    font-size: 1.5em;
    color: var(--primary-color);
    opacity: 0.8;
    border-radius: 4px;
}

/* Media queries for responsiveness */
@media (max-width: 900px) {
    .container {
        margin: 20px;
    }
    
    .top-section {
        flex-direction: column;
    }
    
    .top-left {
        border-right: none;
        border-bottom: 8px solid var(--primary-color);
    }
    
    .how-it-works-boxes {
        flex-direction: column;
        align-items: center;
    }
    
    .box {
        width: 80%;
        margin-bottom: 200px;
    }
    
    .box:last-child {
        margin-bottom: 200px;
    }
}

/* Quote Stripe */
#quote-stripe {
    position: absolute;
    top: -20px;
    left: 350px;
    right: 200px;
    background-color: #fff8f0;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjX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g3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==");
    border: 2px solid rgba(0, 0, 0, 0.45);
    border-radius: 2px;
    padding: 6px 14px;
    height: 34px;
    line-height: 1.15em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9em;
    color: #191919;
    z-index: 1;
    font-family: var(--sans-font);
    box-shadow: 
        0 1px 2px rgba(0,0,0,0.07),
        0 2px 5px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -1px 1px rgba(0,0,0,0.05);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#quote-stripe:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.1),
        0 3px 6px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -1px 1px rgba(0,0,0,0.05);
}

#quote-stripe:active {
    transform: translateY(0px);
    box-shadow: 
        0 1px 2px rgba(0,0,0,0.07),
        0 2px 4px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -1px 1px rgba(0,0,0,0.05);
}

#quote-text {
    font-style: italic;
}

#quote-author {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
}

#quote-author:hover {
    text-decoration: underline;
}

.secondary-text {
    font-weight: 400;
} 