* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #fff;
    background: #f5f5f7;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
}

.content {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 8px;
}

.left-section {
    width: 100%;
    padding: 0;
}

.hero {
    flex: 1;
    padding: 8px;
    background: linear-gradient(135deg, rgba(92, 81, 192, 0.95), rgba(0, 196, 204, 0.95)), 
                url('https://images.unsplash.com/photo-1483058712412-4245e9b90334?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    width: 100%;
}

.domain-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0px;
    word-break: break-word;
    line-height: 1;
    width: 100%;
}

.left-section h1 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1;

}

.seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features {
    margin-top: 8px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.domain-info {
    background: white;
    padding: 12px;
    border-radius: 8px;
    color: #1a1a1a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0;
}

.why-worth {
    padding: 12px;
    background: white;
    border-radius: 8px;
    color: #1a1a1a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0;
}

.worth-content {
    line-height: 1.5;
}

.worth-content p {
    margin-bottom: 8px;
}

.worth-content p:last-child {
    margin-bottom: 0;
}

.why-worth h2, 
.why-worth h3,
.why-worth p,
.why-worth > * {
    margin: 0;
    padding: 0;
}

.traffic {
    background: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0;
}

.stats-header {
    margin-bottom: 4px;
    padding-bottom: 4px;
}

.stats-header h3 {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.stats-subtitle {
    color: #666;
    font-size: 0.9rem;
}

.traffic-chart-container {
    background: white;
    padding: 12px;
    border-radius: 8px;
    height: auto;
    min-height: 200px;
    position: relative;
    margin-top: 8px;
    width: 100%;
    overflow-x: hidden;
}

.info-item {
    margin-bottom: 8px;
    font-weight: 500;
}

.info-item:last-child {
    margin-bottom: 0;
}

.get-domain {
    background: white;
    margin: 8px 0;
    padding: 16px;
    border-radius: 16px;
    color: #1a1a1a;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.get-domain h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price-text {
    margin-bottom: 8px;
}

.regular-price {
    text-decoration: line-through;
    color: #666;
    margin-right: 8px;
    font-weight: normal;
}

.buy-now-price {
    color: #22c55e;
    font-weight: 600;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    gap: 12px;
}

.price-option:hover {
    border-color: #5C51C0;
}

.price-option.selected {
    border-color: #5C51C0;
    background: rgba(92, 81, 192, 0.05);
}

.price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    text-align: right;
}

.benefits {
    margin-top: 16px;
    color: #666;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #007b80;
}

.payment-methods {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-method {
    min-width: 40px;
    height: auto;
    background: #f5f5f7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.payment-method img {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

.form-container {
    display: none;
    margin-top: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    border: 2px solid #e5e7eb;
}

.form-title {
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 1.1em;
    color: #333;
}

.form-group {
    margin-bottom: 12px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 4px;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #5C51C0;
    box-shadow: 0 0 0 3px rgba(92, 81, 192, 0.1);
}

.submit-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #5C51C0, #00c4cc);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: linear-gradient(135deg, #6a5ed4, #00d8e1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 196, 204, 0.2);
}

.submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.alert {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    display: none;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.bottom-text {
    text-align: center;
    color: white;
    font-size: 14px;
    padding: 0;
    grid-column: 1 / -1;
    margin: 0;
}

@media (min-width: 640px) {
    .hero {
        padding: 16px;
    }

    .content {
        padding: 0 16px;
        gap: 16px;
    }
    
    .get-domain {
        padding: 24px;
        width: 100%;
    }

    .features {
        margin-top: 8px;
    }

    .domain-info, .why-worth, .traffic {
        padding: 16px;
    }

    .price {
        width: auto;
        margin-top: 0;
    }

    .payment-methods {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 32px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .content {
        max-width: 1200px;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 32px;
        padding: 0 32px;
        align-items: start;
        flex: 1;
    }
    
    .domain-name {
        font-size: 3.5rem;
        line-height: 0.9;
        margin-top: -10px;
        margin-bottom: -10px;
        
    }
    
    .get-domain {
        position: sticky;
        top: 32px;
        margin: 16px 0 32px 0;
        max-width: 400px;
        padding: 32px;
        height: fit-content;
    }
    
    .features {
        margin-top: 8px;
        gap: 8px;
    }

    .left-section {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .bottom-text {
        margin-top: auto;
        padding-top: 16px;
    }
}

@media (hover: none) {
    .submit-button:hover {
        transform: none;
        box-shadow: none;
    }
    
    .price-option:hover {
        border-color: #e5e7eb;
    }
}