* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #fff url(bg.jpg) center top no-repeat;
    background-size: cover;
    min-height: 100vh;
}

.container {
    max-width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.sale-banner {
    position: relative;
    display: inline-block;
    background: #01b1b3;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    gap: 0;
    line-height: 1.2;
    font-size: 2.5rem;
    font-family: sans-serif;
    padding: 40px 40px 40px 40px;
    clip-path: polygon(100% 0, 100% 100%, 50% 77%, 0 100%, 0 0, 49% 0);
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.sale-banner .main-text {
    display: block;
    margin-bottom: 5px;
}

.sale-banner .by-owner {
    font-size: 16px;
    padding-bottom: 30px;
    color: #ffffff;
    font-weight: normal;
    display: block;
}

.domain-name {
    padding: 30px 25px;
    font-size: 42px;
    font-weight: bold;
    color: #333;
}

.main-content {
    display: flex;
    padding: 0;
    gap: 20px;
    align-items: flex-start;
}

.benefits-section {
    width: 60%;
    padding: 25px;
}

.benefits-section h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    font-weight: bold;
}

.benefit-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.benefit-label {
    font-weight: bold;
    font-size: 20px;
}

.benefit-text {
    color: #555;
    font-size: 20px;
    flex: 1;
}

.authoritative, .memorable, .unmistakable, .reputation, .prestige, .asset, .advertising { 
    color: #01b1b3; 
}

.sale-details {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #01b1b3;
}

.sale-item {
    margin-bottom: 12px;
    font-size: 20px;
    color: #333;
    line-height: 1.4;
}

.form-section {
    background: white;
    padding: 25px;
    width: 40%;
    margin-top: -200px !important;
    border-left: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-section input,
.form-section textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #f9f9f9;
}

.form-section input:focus,
.form-section textarea:focus {
    outline: none;
    border-color: #01b1b3;
    background: white;
}

.captcha-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

#captchaCanvas {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

#refreshCaptcha {
    background: #01b1b3;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#refreshCaptcha:hover {
    background: #01a1a3;
}

.send-btn {
    background: #01b1b3;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.send-btn:hover {
    background: #01a1a3;
}

.message-area {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.message-area.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #1b6e2e;
}

.message-area.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #84030f;
}

.message-area.loading {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #01b1b3;
}

.message-text {
    margin: 0;
    line-height: 1.4;
}

/* Tablet Responsive - 1024px and below */
@media (max-width: 1024px) {
    .container {
        max-width: 90%;
    }
    .main-content {
        flex-direction: column;
        gap: 20;
    }
    
    .sale-banner {
        font-size: 2rem;
        padding: 35px 35px 35px 35px;
    }
    
    .domain-name {
        font-size: 38px;
        padding: 25px 20px;
    }
    
    .benefits-section {
        width: 100%;
        padding: 20px;
    }
    
    .form-section {
        width: 100%;
        margin-top: 0!important;
        padding: 20px;
    }
    
    .benefit-label,
    .benefit-text {
        font-size: 18px;
    }
    
    .sale-item {
        font-size: 18px;
    }
}

/* Mobile Landscape - 768px and below */
@media (max-width: 768px) {
    .container {
        max-width: 95%;
    }
    
    .main-content {
        flex-direction: column;
        gap: 0;
    }
    
    .benefits-section {
        width: 100%;
        padding: 20px;
    }
    
        .form-section {
        width: 95%;
        margin: auto;
        margin-top: 0 !important;
        margin-bottom: 30px;
        border-left: none;
        border-top: 1px solid #e5e5e5;
        margin-top: 20px !important;
        padding: 20px;
    }
    
    .sale-banner {
        font-size: 1.8rem;
        padding: 25px 25px 25px 25px;
        line-height: 1.1;
    }
    
    .sale-banner .main-text {
        margin-bottom: 8px;
    }
    
    .sale-banner .by-owner {
        font-size: 14px;
        padding-bottom: 15px;
    }
    
    .domain-name {
        font-size: 32px;
        padding: 20px 15px;
        text-align: center;
    }
    
    .benefit-label,
    .benefit-text {
        font-size: 16px;
    }
    
    .sale-item {
        font-size: 16px;
    }
    
    .benefits-section h2 {
        font-size: 20px;
    }
}

/* Mobile Portrait - 480px and below */
@media (max-width: 480px) {
    .container {
        max-width: 98%;
        margin: 0 1%;
    }
    
    .sale-banner {
        font-size: 1.4rem;
        padding: 20px 20px 20px 20px;
        clip-path: polygon(100% 0, 100% 100%, 55% 82%, 0 100%, 0 0, 54% 0);
        line-height: 1.0;
    }
    
    .sale-banner .main-text {
        margin-bottom: 10px;
        letter-spacing: -0.5px;
    }
    
    .sale-banner .by-owner {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .domain-name {
        font-size: 24px;
        padding: 15px 10px;
        text-align: center;
        word-break: break-word;
    }
    
    .benefits-section {
        padding: 15px;
    }
    
    .form-section {
        padding: 15px;
        margin-top: 15px !important;
    }
    
    .benefit-item {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
    }
    
    .benefit-label {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .benefit-text {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .sale-item {
        font-size: 14px;
    }
    
    .benefits-section h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .form-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .form-section input,
    .form-section textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    .form-section textarea {
        rows: 3;
        min-height: 80px;
    }
    
    .captcha-section {
        flex-direction: row;
        gap: 8px;
        align-items: center;
        justify-content: space-between;
    }
    
    #captchaCanvas {
        width: 120px;
        height: 35px;
    }
    
    #refreshCaptcha {
        width: 35px;
        height: 35px;
        padding: 5px;
        font-size: 14px;
    }
    
    .send-btn {
        padding: 12px;
        font-size: 14px;
        margin-top: 15px;
    }
}

/* Very Small Mobile - 320px and below */
@media (max-width: 320px) {
    .sale-banner {
        font-size: 1.2rem;
        padding: 18px 18px 18px 18px;
    }
    
    .sale-banner .main-text {
        letter-spacing: -1px;
    }
    
    .sale-banner .by-owner {
        font-size: 11px;
    }
    
    .domain-name {
        font-size: 20px;
        word-break: break-all;
        padding: 12px 8px;
    }
    
    .benefit-label {
        font-size: 13px;
    }
    
    .benefit-text {
        font-size: 12px;
    }
    
    .sale-item {
        font-size: 13px;
    }
    
    .benefits-section h2 {
        font-size: 16px;
    }
    
    .form-section {
        padding: 12px;
    }
    
    .form-section input,
    .form-section textarea {
        padding: 8px;
        font-size: 13px;
    }
    
    #captchaCanvas {
        width: 100px;
        height: 32px;
    }
    
    #refreshCaptcha {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}